Set all the qubits of the register to the specified value.
| C# | Visual Basic | Visual 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).
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.