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

Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)