Apply the identity operation to the qubit at the specified index.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationIdentity( int Index )
Function OperationIdentity ( _ Index As Integer _ ) As IQuantumRegister
IQuantumRegister^ OperationIdentity( int Index )
Parameters
- Index (Int32)
- Index of the qubit to apply the operation to.
Return Value
[Missing <returns> documentation for M:Cove.Base.IQuantumRegister.OperationIdentity(System.Int32)]
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | Thrown if the index of the qubit
Return Value A reference to this register after the operation has been applied. |