Apply the identity operation to the qubits at the specified indexes.
Declaration Syntax
C# | Visual Basic | Visual C++ |
IQuantumRegister OperationIdentity( int[] Indexes )
Function OperationIdentity ( _ Indexes As Integer() _ ) As IQuantumRegister
IQuantumRegister^ OperationIdentity( array<int>^ Indexes )
Parameters
- Indexes (array< Int32 >[]()[])
- Indexes to apply the operation to.
Return Value
A reference to this register after the operation has been applied.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | Thrown if any of the indexes
specified are out of range. |