Rotates around the X axis by angle θ.
RX is a continuous rotation around the X axis of the Bloch sphere. Unlike the discrete X gate (which is always a full 180° flip), RX lets you choose any angle. At small angles, it gently tilts the qubit toward the equator. At π radians, it becomes the full X gate. This continuous control is essential for variational quantum algorithms where you optimize gate parameters to find the best solution.
RX(θ) = exp(−iθX/2) = cos(θ/2)I − i·sin(θ/2)X. It is a unitary parameterized by a single angle θ. The eigenvalues are exp(±iθ/2). At θ = π, RX(π) = −iX, which is X up to global phase. At θ = 2π, it returns to −I (not I, reflecting the spinor nature of SU(2)). RX is one of three standard rotation gates used in arbitrary state preparation.
Gradually mixes |0⟩ and |1⟩ amplitudes.
At θ = π this becomes the X gate.
Rotates by θ around the X axis. States on the X axis (|+⟩, |−⟩) are unchanged. At θ = π, it becomes the X gate (up to global phase).
A 360° rotation does not return the qubit to its original state — it picks up a minus sign. You need a 720° rotation for a true identity. This is the spinor property of spin-1/2 systems.
Parameterized rotations are the backbone of near-term quantum algorithms. VQE and QAOA circuits are built from layers of RX, RY, and RZ gates with optimizable angles.
What happens when you apply RX(2π) — a full 360° rotation?