Append a single qubit to the register.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtEnd( IQubit QubitToAppend )
Public Function InsertQubitsAtEnd ( _ QubitToAppend As IQubit _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtEnd( IQubit^ QubitToAppend ) sealed
- QubitToAppend (IQubit)
- The qubit to append. Passing null is valid and has no effect on the register.
A reference to the expanded register
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if this insert causes the register to
exceed the maximum allowable size. |
| NotImplementedException | This method is not yet
implemented. |