Overloaded constructor to specify the target at time of construction.

C# | Visual Basic | Visual C++ |
public OperationYGate( int TargetIndex )
Public Sub New ( _ TargetIndex As Integer _ )
public: OperationYGate( int TargetIndex )

- TargetIndex (Int32)
- The target index of this operation.

Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the target
is less than 0. |