Add another register to the beginning of this one.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtBeginning( IQuantumRegister RegisterToAppend )
Public Function InsertQubitsAtBeginning ( _ RegisterToAppend As IQuantumRegister _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtBeginning( IQuantumRegister^ RegisterToAppend ) sealed
- RegisterToAppend (IQuantumRegister)
- Register 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. |
| NotImplementedException | This method is not yet
implemented. |