Qubit.StateSet Method

Liquid Quantum Simulator

QubitStateSet Method
Overload List
  Name Description
Public method StateSet(Bit)
Sets the state vector for this qubit to |0> or |1>, if it is unentangled. This method will raise an exception if the qubit is entangled.
Public method StateSet(CVec)
Sets the state vector for this qubit, if it is unentangled. This method will raise an exception if the qubit is entangled.
Public method StateSet(Complex, Complex)
Sets the state vector for this qubit, if it is unentangled. This method will raise an exception if the qubit is entangled.
Public method StateSet(Double, Double, Double, Double)
Sets the state vector for this qubit, if it is unentangled. This method will raise an exception if the qubit is entangled.
Top
See Also