← Back to section · Quantum Computing

Rotation Gates: The Continuous Family of Single-Qubit Gates

Starting from the three elementary rotations Rx, Ry, and Rz, this article explains where the half-angle comes from, the subtle sense in which Rz and the phase gate differ only by a global phase, and the U parametrization and ZYZ decomposition of an arbitrary single-qubit unitary.

Published 22 November 2026 · 7 min read · PQ Frontier

Rotation Gates: The Continuous Family of Single-Qubit Gates
AI-generated site artwork
Video explainer · Quantum Gates & Circuits

In the overview article, gates such as H, S, and T appeared as fixed pieces on a board, each landing on a discrete set of positions. Real hardware, however, does not execute “pieces” — it executes continuously tunable physical pulses: the duration and phase of a microwave pulse decide through what angle the state turns on the Bloch sphere. The bridge between the abstract gate set and the hardware pulses is the family of single-qubit rotation gates Rx,Ry,RzR_x, R_y, R_z. They replace discrete landing points with a continuous parameter θ\theta, and they are the working language in which compilers internally represent arbitrary single-qubit operations.

The three elementary rotations: Rx, Ry, Rz

A rotation through angle θ\theta about the xx-axis of the Bloch sphere is written

Rx(θ)=cos⁡θ2 I−isin⁡θ2 X=(cos⁡θ2−isin⁡θ2−isin⁡θ2cos⁡θ2)R_x(\theta) = \cos\frac{\theta}{2}\, I - i\sin\frac{\theta}{2}\, X = \begin{pmatrix} \cos\frac{\theta}{2} & -i\sin\frac{\theta}{2} \\ -i\sin\frac{\theta}{2} & \cos\frac{\theta}{2} \end{pmatrix}

and RyR_y, RzR_z follow the same pattern: Ry(θ)=cos⁡θ2I−isin⁡θ2YR_y(\theta) = \cos\frac{\theta}{2} I - i\sin\frac{\theta}{2} Y has an entirely real matrix, while Rz(θ)=diag(e−iθ/2,eiθ/2)R_z(\theta) = \mathrm{diag}(e^{-i\theta/2}, e^{i\theta/2}) only adjusts the relative phase of the two basis states. The familiar Pauli gates are nothing but the angle-π\pi special cases: Rx(π)=−iXR_x(\pi) = -iX, so the XX gate equals a π\pi rotation about the xx-axis up to the global phase −i-i; the HH gate, too, can be written as a combination of rotations, for example a π/2\pi/2 rotation about yy followed by a π\pi rotation about xx (again up to global phase). A rotation about an arbitrary unit axis n^\hat{n} has the unified form Rn^(θ)=cos⁡θ2I−isin⁡θ2 (n^⋅σ⃗)R_{\hat{n}}(\theta) = \cos\frac{\theta}{2} I - i\sin\frac{\theta}{2}\,(\hat{n}\cdot\vec{\sigma}) with σ⃗=(X,Y,Z)\vec{\sigma} = (X, Y, Z). The message of these formulas is that designing a single-qubit gate is, at bottom, the problem of choosing an axis and an angle on a sphere.

Where the half-angle comes from: 4π to come back

The θ/2\theta/2 that appears everywhere in rotation operators is not a notational quirk but deep structure of spin. Single-qubit unitaries form the group SU(2)SU(2) and rotations of the Bloch sphere form SO(3)SO(3); the former is a double cover of the latter: every spatial rotation corresponds to two unitaries, differing by a sign. The consequence is that after a 2π2\pi rotation the state vector does not return to itself but picks up a minus sign, −∣ψ⟩-|\psi\rangle, and only after another 2π2\pi — 4π4\pi in total — is it exactly restored. On its own, that extra overall sign is an unobservable global phase; but once the rotation sits in one arm of an interferometer, or is turned into a controlled gate, the “unobservable” phase difference shows itself — the RzR_z-versus-phase-gate issue of the next section is the everyday version of this effect. The half-angle has a practical reading as well: a rotation written as θ\theta in a circuit corresponds to a genuine rotation through θ\theta on the Bloch sphere, yet the interference terms at the amplitude level involve trigonometric functions of θ/2\theta/2, and the two should not be confused when estimating how errors propagate.

Rz versus the phase gate: one global phase apart

The literature and programming frameworks offer another common single-qubit gate, the phase gate P(λ)=diag(1,eiλ)P(\lambda) = \mathrm{diag}(1, e^{i\lambda}), which shifts only the phase of ∣1⟩|1\rangle by λ\lambda. The gates S=P(π/2)S = P(\pi/2), T=P(π/4)T = P(\pi/4), and Z=P(π)Z = P(\pi) are its special cases. Comparing definitions gives

Rz(λ)=e−iλ/2P(λ),R_z(\lambda) = e^{-i\lambda/2} P(\lambda),

so the two differ only by the global phase e−iλ/2e^{-i\lambda/2}. For an isolated single-qubit gate this makes no difference whatsoever; but making a gate controlled promotes a global phase into a relative one: a controlled-RzR_z and a controlled-PP differ exactly by a PP gate acting on the control qubit, and are physically distinguishable gates. If a compiler swaps RzR_z and PP casually and the result is later controlled somewhere else, it plants phase errors that are hard to hunt down. A related fact: many superconducting platforms implement RzR_z as a virtual gate — no real pulse is issued; instead the phase of the reference frame for subsequent pulses is adjusted in software, costing zero time and introducing almost no error. Virtual RzR_z is possible precisely because the phase bookkeeping is tracked exactly, qubit by qubit; and it establishes the basic economy of modern compilation, in which rotations about the zz-axis are free while rotations about xx and yy cost pulses.

The universal single-qubit gate U and the ZYZ decomposition

Letting the parameters run free, an arbitrary single-qubit unitary (modulo global phase) is exhausted by three real parameters, and frameworks such as IBM’s name it directly the UU gate:

U(θ,φ,λ)=(cos⁡θ2−eiλsin⁡θ2eiφsin⁡θ2ei(φ+λ)cos⁡θ2)U(\theta, \varphi, \lambda) = \begin{pmatrix} \cos\frac{\theta}{2} & -e^{i\lambda}\sin\frac{\theta}{2} \\ e^{i\varphi}\sin\frac{\theta}{2} & e^{i(\varphi+\lambda)}\cos\frac{\theta}{2} \end{pmatrix}

Its companion is the ZYZ decomposition: every single-qubit unitary can be written as U=eiαRz(β)Ry(γ)Rz(δ)U = e^{i\alpha} R_z(\beta) R_y(\gamma) R_z(\delta), that is, as at most three alternating rotations about two orthogonal axes (plus a global phase). This is the same statement as the Euler angles for rigid-body orientation: any attitude on the Bloch sphere can be reached by “turn about zz, turn about yy, turn about zz again.” The ZYZ decomposition is a core compiler tool: whatever exotic single-qubit unitary the algorithm layer hands down, the compiler first splits it into zz–yy–zz segments via ZYZ, then hands the RzR_z segments to virtual gates and translates the RyR_y segment into the hardware’s native pulse gates (such as combinations of X\sqrt{X}), so that every abstract single-qubit gate ends up as a handful of calibrated physical operations. Approximate synthesis in the Solovay–Kitaev sense, and the local-equivalence analysis of multi-qubit gates, are likewise built on this single-qubit parametrization.

From abstract angles to physical pulses

What does the angle θ\theta become on hardware? Take a superconducting qubit: under a resonant microwave drive the qubit precesses at the Rabi frequency, so the pulse duration sets the rotation angle and the carrier phase of the pulse sets the direction of the axis within the xx–yy plane — RxR_x and RyR_y are merely two phase choices of the same pulse. The basic calibration task is to pin down the amplitudes of the ”π\pi pulse” and the ”π/2\pi/2 pulse”: an oversized amplitude makes every rotation systematically overshoot, an undersized one makes them fall short, and such coherent errors accumulate with circuit depth. The pulse envelope also needs shaping (such as DRAG correction) to suppress leakage into higher levels, because a real superconducting qubit is a weakly anharmonic oscillator and the ∣1⟩→∣2⟩|1\rangle \to |2\rangle transition lurks nearby. On trapped-ion and neutral-atom platforms, rotations are realized through the duration and detuning of laser pulses; the physical carrier differs, but the picture “angle = pulse area, axis = pulse phase” is the same. And remember the exceptional status of RzR_z: it corresponds to no pulse at all, only to a bookkeeping adjustment of the reference-frame phase, so it costs nothing in the calibration table. When a compiler prices a stretch of single-qubit gates, it does not count gates — it counts how many segments of x/yx/y rotation need real pulses, which is exactly why arbitrary single-qubit gates are decomposed via ZYZ so that the zz segments absorb as much of the parameter as possible.

Summary

The rotation family turns single-qubit operations from a finite set of pieces into a continuous dial: Rx,Ry,RzR_x, R_y, R_z provide the coordinates, the half-angle records the double-cover structure of spin, the global-phase difference between RzR_z and PP warns that phase bookkeeping must be exact, and the UU gate with the ZYZ decomposition guarantees that any single-qubit unitary can be systematically translated into hardware language. When later articles discuss compilation and fault tolerance, behind the words “an arbitrary single-qubit gate” stands precisely this parametrization.

References

  1. Nielsen, M. A. & Chuang, I. L., Quantum Computation and Quantum Information, Cambridge University Press, 2010. https://www.cambridge.org/9780521635035
  2. McKay, D. C. et al., Efficient Z gates for quantum computing, Phys. Rev. A 96, 022330 (2017). https://arxiv.org/abs/1612.00858
  3. IBM Quantum Documentation (reference for the U, Rx, Ry, and Rz gates). https://docs.quantum.ibm.com

Tags: Rotation GatesSingle-Qubit GatesZYZ DecompositionBloch Sphere