Overloaded constructor to set the target qubit.
| C# | Visual Basic | Visual C++ |
public OperationReset( int TargetIndex )
Public Sub New ( _ TargetIndex As Integer _ )
public: OperationReset( int TargetIndex )
- TargetIndex (Int32)
- The target index of the operation.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the target
is less than 0. |