Apply the identity operation to the qubit at the specified index.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister OperationIdentity( int Index )
Public Function OperationIdentity ( _ Index As Integer _ ) As IQuantumRegister
public: virtual IQuantumRegister^ OperationIdentity( int Index ) sealed
- Index (Int32)
- Index of the qubit to apply the operation to.
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| IndexOutOfRangeException | Thrown if the index of the qubit
is out of range in the register. |
| NotImplementedException | This method is not yet
implemented. |