SetAllQubitsTo Method (SetTo)
Cove - A Practical Quantum Computer Programming Framework
SetAllQubitsTo Method (SetTo)
Set all the qubits of the register to the specified value.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister SetAllQubitsTo(
	bool SetTo
Function SetAllQubitsTo ( _
	SetTo As Boolean _
) As IQuantumRegister
IQuantumRegister^ SetAllQubitsTo(
	bool SetTo
SetTo (Boolean)
Value to set the qubits to, true (1) or false (0).
Return Value
A reference to the modified register.
A qubit is measured before it is set, so any other qubits entangled with this one will be effected.

Assembly: Cove.Base (Module: Cove.Base) Version: (