Add a series of qubits to the beginning of the register, in the same order as specified
in the array.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtBeginning( IQubit[] QubitsToAppend )
Public Function InsertQubitsAtBeginning ( _ QubitsToAppend As IQubit() _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtBeginning( array<IQubit^>^ QubitsToAppend ) sealed
- QubitsToAppend (array< IQubit >[]()[])
- The qubits to append. Passing null is valid and has no effect on the register.
A reference to the combined register.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if this insert causes the register to
exceed the maximum allowable size. Also thrown if an element in the array passed is null. |
| NotImplementedException | This method is not yet
implemented. |