Create an identity operation that operates on the specified number of qubits.
| C# | Visual Basic | Visual C++ |
public OperationIdentityN( int Size )
Public Sub New ( _ Size As Integer _ )
public: OperationIdentityN( int Size )
- Size (Int32)
- Number of qubits this identity operator will operate on.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if Size is less than
or equal to 0. |