Append another register to this one.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtEnd( IQuantumRegister RegisterToAppend )
Public Function InsertQubitsAtEnd ( _ RegisterToAppend As IQuantumRegister _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtEnd( IQuantumRegister^ RegisterToAppend ) sealed
Parameters
- RegisterToAppend (IQuantumRegister)
- Register to append. Passing null is valid and has no effect on the register.
Return Value
A reference to the combined register.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if this insert causes the register to
exceed the maximum allowable size. |
NotImplementedException | This method is not yet
implemented. |