Add a single qubit to the beginning of the register.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister InsertQubitsAtBeginning( IQubit QubitToAppend )
Public Function InsertQubitsAtBeginning ( _ QubitToAppend As IQubit _ ) As IQuantumRegister
public: virtual IQuantumRegister^ InsertQubitsAtBeginning( IQubit^ QubitToAppend ) sealed
- QubitToAppend (IQubit)
- The qubit 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. |