Append a set of registers to the beginning of this register, in the same order as
the array.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtBeginning( IQuantumRegister[] RegistersToAppend )
Public Function InsertQubitsAtBeginning ( _ RegistersToAppend As IQuantumRegister() _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtBeginning( array<IQuantumRegister^>^ RegistersToAppend ) sealed
- RegistersToAppend (array< IQuantumRegister >[]()[])
- Registers 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. |