Ket.Add Method

Liquid Quantum Simulator

KetAdd Method
Overload List
  Name Description
Public method Add(Bit)
Adds a new qubit to the state with a classical Bit value. The new qubit is unentangled and has the provided state. Note that the new qubit is not considered measured.
Public method Add(CVec)
Adds a new qubit to the state with a complex state vector. The new qubit is unentangled and has the provided state.
Public method Add(Int32, Bit)
Adds multiple qubits to the state, all with the same classical Bit value. The new qubits are unentangled and have the provided state. Note that the new qubits are not considered measured.
Top
See Also