§2, p. 2 — every single-qubit unitary is a product of a constant number of Hadamard gates and phase gates Λ(e^{iθ})
ProvedCliffordTApprox.Ancilla.decompositionLet be the Hadamard gate and the phase gate, and let (the bit flip). For every unitary matrix there are real numbers such that
Thus every single-qubit unitary, including its global phase, is a product of seven phase gates and six Hadamard gates in a fixed pattern.
This is the reduction with which the paper passes from the phase gate to an arbitrary single-qubit unitary: an approximation of each phase gate gives an approximation of .
Formalization Note. The equality is exact, between complex matrices on a one-qubit register; the factor equals and carries the global phase. The paper cites the solution to Problem 8.1 of Kitaev–Shen–Vyalyi for this fact and gives no explicit pattern; the pattern above is one admissible choice.
import Mathlib import Definitions.Def_CliffordTApprox_Ancilla_Setting
namespace CliffordTApprox.Ancilla
open QAlgorithms
open QAlgorithms.Papers.Independent.Renew46.P12
/-- §2, p. 2: every single-qubit unitary `U ∈ U(2)` (global phase included) is a product of
Hadamard gates `H` and phase gates `Λ(e^{iθ})`, with a fixed pattern of 7 phase gates and 6
Hadamards: `U = Λ(θ) X Λ(θ) X Λ(φ₁) H Λ(φ₂) H Λ(φ₃)` where `X = H Λ(e^{iπ}) H`. -/
theorem decomposition (U : Matrix (Qubits 1) (Qubits 1) ℂ)
(hU : U ∈ Matrix.unitaryGroup (Qubits 1) ℂ) :
∃ θ φ₁ φ₂ φ₃ : ℝ,
U = phaseGate θ * (oneQubit hadamard * phaseGate Real.pi * oneQubit hadamard) *
phaseGate θ * (oneQubit hadamard * phaseGate Real.pi * oneQubit hadamard) *
phaseGate φ₁ * oneQubit hadamard * phaseGate φ₂ * oneQubit hadamard * phaseGate φ₃ := by sorry
end CliffordTApprox.Ancilla
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.