Every single-qubit unitary equals a global phase times a z-rotation, a y-rotation and a z-rotation. Consequently every single-qubit unitary can be written as a phase times A X B X C with ABC equal to the identity, the form used to build controlled gates.
Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
For every U∈U(2) there are real numbers α,β,γ,δ such that
one has ABC=I and U=eiαAXBXC. The second form shows that a
controlled-U gate needs only two CNOTs, the single-qubit gates A,B,C on the
target and a phase gate diag(1,eiα) on the control.
Any two distinct orthogonal rotation axes may replace z and y. This is Theorem 4.1
and Corollary 4.2 of Nielsen and Chuang; the controlled-gate
construction is from Barenco et al.
Holds when
RP(θ)=e−iθP/2 for P∈{Y,Z}, as in the notation conventions.
Step 1: reduce to determinant one. Since U is unitary, ∣detU∣=1, so
detU=eiθ for some real θ. Put α=θ/2 and
V=e−iαU. Then detV=e−2iαdetU=1, so V∈SU(2).
Step 2: the form of a special unitary. Let the first column of V be (a,b)T.
It has unit norm, ∣a∣2+∣b∣2=1. The second column is a unit vector
orthogonal to the first. In C2 the orthogonal complement of (a,b)T is spanned
by (−b∗,a∗)T, which is itself a unit vector, so the second column is
λ(−b∗,a∗)T with ∣λ∣=1. Then
detV=λ(∣a∣2+∣b∣2)=λ, and detV=1 forces
λ=1:
V=(ab−b∗a∗).
Step 3: the product of three rotations. With c=cos(γ/2) and
s=sin(γ/2), Rz(ϕ)=diag(e−iϕ/2,eiϕ/2) and
Ry(γ)=(cs−sc). Multiplying out,
This has the form of Step 2 with a=ce−i(β+δ)/2 and
b=sei(β−δ)/2.
Step 4: matching. Choose γ∈[0,π] with cos(γ/2)=∣a∣; then
sin(γ/2)=1−∣a∣2=∣b∣, and both are non-negative. Write
a=∣a∣eiμ and b=∣b∣eiν (if a or b is zero, its phase is
arbitrary). The two linear equations −(β+δ)/2=μ and
(β−δ)/2=ν have the solution β=ν−μ, δ=−μ−ν.
With these values the product in Step 3 equals V, hence
U=eiαRz(β)Ry(γ)Rz(δ).
Step 5: the ABC form. Rotations about the same axis add their angles, so
ABC=Rz(β)Ry(γ/2)Ry(−γ/2)Rz(−2δ+β)Rz(2δ−β)=Rz(β)Rz(−β)=I.
Since XYX=−Y and XZX=−Z, conjugation by X reverses the angle of a y- or
z-rotation: XRy(ϕ)X=Ry(−ϕ) and XRz(ϕ)X=Rz(−ϕ). Hence
XBX=Ry(γ/2)Rz(2δ+β) and
Controlled-U. Apply C to the target, a CNOT from control to target, B to the
target, a second CNOT and A to the target, then diag(1,eiα)
to the control. If the control is ∣0⟩, the target receives ABC=I; if it is
∣1⟩, the target receives AXBXC and the control picks up eiα,
giving eiαAXBXC=U. The argument follows section 4.2 and 4.3 of
Nielsen and Chuang.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Nielsen and Chuang is not openly readable; the decomposition and the A, B, C construction were compared with Barenco et al. (arXiv:quant-ph/9503016) Lemmas 4.1, 4.3, 5.1 and 5.2 (phase on control), which give the same A, B, C. Numerically verified ABC = I and U = e^{i alpha} A X B X C for random angles; gamma in [0, pi] and change of orthogonal axes re-derived by conjugation.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10
Current revision 6eabc68b153787bc. Source file knowledge/records/theorem/zyz-decomposition.md in the content repository (readable there once it is public).