Performs a rotation of the target qubit about the x-axis of the Bloch sphere. The angle of rotation is given in first argument (double gamma). The unitary matrix of this operation is:

Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- comp
- Type: Quantum QuantumComputer
The QuantumComputer instance.
- gamma
- Type: System Double
The angle of rotation.
- target
- Type: Quantum RegisterRef
The reference to target qubit.
- control (Optional)
- Type: System Nullable RegisterRef
Optional argument. If given, the method performs controlled gate operation. Destribes the reference to control qubit.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type QuantumComputer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also