Register RotateX Method A Sandcastle Documented Class Library

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:

Namespace: Quantum
Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void RotateX(
	double gamma,
	int target,
	Nullable<int> control = null
)

Parameters

gamma
Type: System Double
The angle of rotation.
target
Type: System Int32
The position of target qubit in register (0 indicates the Least Significant Bit).
control (Optional)
Type: System Nullable Int32 
Optional argument. If given, the method performs a controlled rotation. This argument destribes the control qubit's position.
See Also