| Qubit Properties |
The Qubit type exposes the following members.
| Name | Description | |
|---|---|---|
| Bit |
The measured value of a qubit in the computational basis.
This will be Unknown if the qubit has not been measured since it last interacted.
| |
| Entangled |
Whether or not this qubit is entangled.
| |
| Id |
Wire number in Ket vector
| |
| Ket |
State we belong to
| |
| One |
A Complex vector that represents the state |1> in the computational basis.
| |
| Prob1 |
The probability of this qubit being 1.
| |
| State |
The state vector for this qubit, if it is unentangled.
This property will raise an exception if the qubit is entangled.
| |
| Type |
The type of the qubit.
This is only used for noise modeling.
| |
| Zero |
A Complex vector that represents the state |0> in the computational basis.
|