Construct an instance of the Rotate X operation, which will rotate a qubit about the
X axis by RotateBy.

Declaration Syntax
public OperationRotateX(
int TargetIndex,
double RotateBy
)
Public Sub New ( _
TargetIndex As Integer, _
RotateBy As Double _
)
public:
OperationRotateX(
int TargetIndex,
double RotateBy
)

Parameters
- TargetIndex (Int32)
- Target index of this operation.
- RotateBy (Double)
- Angle to rotate about the X axis by.

Exceptions
Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown if the target
is less than 0.
|
NotImplementedException | This method is not yet
implemented.
|
Assembly:
Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 1.0.0.0 (1.0.0.0)