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++
public IQuantumRegister SetAllQubitsTo(
	bool SetTo
Public Function SetAllQubitsTo ( _
	SetTo As Boolean _
) As IQuantumRegister
virtual IQuantumRegister^ SetAllQubitsTo(
	bool SetTo
) sealed
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.LocalSimulation (Module: Cove.LocalSimulation) Version: (