← Atlas

Gates · Rotation gate

RX rotation gate

A parametrized single-qubit rotation about the Bloch-sphere X axis, one of the two generators (with RZ) used to synthesize arbitrary single-qubit unitaries.

Exact & formalUpdated

View frozen graph

A small worked example, computed in your browser. It is not a result from this record's papers.

RX(π/3) on |0⟩

One qubit starting at |0⟩, rotated by π/3 — a third of a half-turn, so the qubit ends up part way between |0⟩ and |1⟩ rather than at either.

q0Step 1 of 1 · RX(π/3)RX(π/3)

Step 1 of 1 · RX(π/3)

Probability of each outcome after this step

  • 075%
  • 125%
Amplitude and phase after this step
OutcomeProbabilityRelative phase
075.0%0
125.0%3π/2

Phases are measured against the largest amplitude. A global phase is not observable, so only the differences carry meaning.

  1. Rotates the qubit by π/3, leaving it 75% likely to read 0 and 25% to read 1 — cos²(π/6) and sin²(π/6). It also leaves a quarter turn of phase between the two halves — the panel prints it as 3π/2, the same angle reached from the other side — and that phase is the whole difference between RX and RY.

    Probability spreads from 1 outcome to 2.

Readout Measuring gives 0 about three times in four. RX and RY at the same angle give exactly these probabilities, so a bar chart cannot tell them apart — the phase panel can.

Open in Studio
  • Steps1
  • Wires1
  • Qubits1
  • Depth1 gate
  • Parameterθ (radians)
  • Papers2
  1. RX(π/2) on q[0]
P(|0⟩) at θ=π/250%
P(|1⟩) at θ=π/250%

References

Exact & formal
  • Unitary / matrix equivalence
  • Direct mathematics
  • Textbook / standard citation
Method
Expand exp(-iθX/2) as a Pauli-basis Taylor series and compare the closed form against the parametrized RX matrix; separately check RX(π) against X up to global phase.
Result
Pass · RX(θ) = cos(θ/2)·I - i·sin(θ/2)·X for all tested θ, and RX(π) = -iX.
OpenQASM 3 standard gate set ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
rotation gatesingle qubitparametrized

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.