SetQubits Method (SetTo)
Cove - A Practical Quantum Computer Programming Framework
SetQubits Method (SetTo)
Set the qubits starting at the first index to the classical result SetTo.
Declaration Syntax
C#Visual BasicVisual C++
Function SetQubits ( _
	SetTo As ClassicalResult _
) As IQuantumRegister
IQuantumRegister^ SetQubits(
	ClassicalResult^ SetTo
SetTo (ClassicalResult)
The classical result which will be read and the applied to the qubits starting at StartingIndex and in the same order.
Return Value
A reference to the modified register.
ArgumentOutOfRangeExceptionThrown if the length of SetTo exceeds the length of the register. Example: If the register consists of 5 qubits and the length of SetTo is 20 qubits then this exception will be thrown.

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