Qubit Properties

Liquid Quantum Simulator

Qubit Properties

The Qubit type exposes the following members.

Properties
  Name Description
Public property 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.
Public property Entangled
Whether or not this qubit is entangled.
Public property Id
Wire number in Ket vector
Public property Ket
State we belong to
Public property Static member One
A Complex vector that represents the state |1> in the computational basis.
Public property Prob1
The probability of this qubit being 1.
Public property State
The state vector for this qubit, if it is unentangled. This property will raise an exception if the qubit is entangled.
Public property Type
The type of the qubit. This is only used for noise modeling.
Public property Static member Zero
A Complex vector that represents the state |0> in the computational basis.
Top
See Also