Overloaded constructor to set the target index as well.

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

- iTargetIndex (Int32)
- The target index

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