Set the target index of this single qubit operation.
| C# | Visual Basic | Visual C++ |
public void SetTargetQubit( int NewTarget )
Public Sub SetTargetQubit ( _ NewTarget As Integer _ )
public: virtual void SetTargetQubit( int NewTarget ) sealed
- NewTarget (Int32)
[Missing <param> documentation for "NewTarget"]
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if the target
is less than 0. |