Apply the identity operation to a qubit.
| C# | Visual Basic | Visual C++ |
public IQuantumRegister OperationIdentity()
Public Function OperationIdentity As IQuantumRegister
public: virtual IQuantumRegister^ OperationIdentity() sealed
A reference to this register after the operation has been applied.
| Exception | Condition |
|---|---|
| SizeMismatchException | Thrown if the register contains
more than one qubit. |