Set all the qubits of the register to the specified value.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister SetAllQubitsTo( bool SetTo )
Public Function SetAllQubitsTo ( _ SetTo As Boolean _ ) As IQuantumRegister
public: virtual IQuantumRegister^ SetAllQubitsTo( bool SetTo ) sealed
- 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.