The group-commutator contraction: Solovay–Kitaev's shrinking lemma #
Category: 1-Mathlib (CSD-free; staged as a Mathlib-upstream candidate). BACKLOG #112, the first brick of #74's split.
Two gates near the identity have a group commutator quadratically nearer it. That quadratic
gain is the entire engine of the Solovay–Kitaev recursion: one level of commutators turns an
accuracy δ into an accuracy 2δ², and five words into one.
What is proved #
- ★
norm_mul_sub_mul_comm_le— in any normed ring,‖VW − WV‖ ≤ 2‖V − 1‖·‖W − 1‖. The whole content is the identityVW − WV = (V−1)(W−1) − (W−1)(V−1): the commutator sees only how far the factors are from1, which is why being near the identity is what makes it small; - ★★
CStarRing.norm_groupCommutator_sub_one_le— for unitaries in a C*-algebra,‖VWV⋆W⋆ − 1‖ ≤ 2‖V − 1‖·‖W − 1‖. Unitarity enters exactly twice: to writeVWV⋆W⋆ − 1 = (VW − WV)(V⋆W⋆), and to drop the trailing unitary from the norm; - ★★
CStarRing.norm_groupCommutator_sub_one_le_two_mul_sq— the shrinking lemma as the recursion uses it: both factors withinδof1gives2δ², and ★★CStarRing.norm_groupCommutator_sub_one_lt— the contraction: for0 < δ < 1/2the commutator is strictly closer to1than its factors were; - ★
CStarRing.norm_mul_sub_mul_le— and the companion the recursion needs for its error budget: the product of unitaries is stable,‖AB − A′B′‖ ≤ ‖A − A′‖ + ‖B − B′‖, with ★★CStarRing.norm_groupCommutator_sub_groupCommutator_legiving4εfor the commutator of twoε-approximations.
Honest scope #
⚠️ No gate counts, and no algorithm. This is the shrinking lemma alone. The recursion that
consumes it (#115), the ε-net it starts from (#113) and the decomposition that produces the
commutators in the first place (#114) are separate rows, and the O(log^c(1/ε)) bound is #116.
⚠️ Constants are the stated ones, not optimal. 2 in the contraction and 4 in the
perturbation are what the telescoping gives; no attempt is made to sharpen either, and the
Solovay–Kitaev exponent does not depend on them.
⚠️ The quadratic gain needs δ < 1/2. Above that the bound is weaker than the input and says
nothing — which is why the algorithm needs a base accuracy from the net before it can recurse.
References: C. Dawson, M. Nielsen, The Solovay-Kitaev algorithm, Quantum Inf. Comput. 6 (2006) 81,
Lemma 2 and §3; M. Nielsen, I. Chuang, Quantum Computation and Quantum Information, Appendix 3;
Mathlib.Analysis.CStarAlgebra.Basic (CStarRing.norm_mem_unitary_mul,
CStarRing.norm_mul_mem_unitary); specs/BACKLOG.md #112, #74, #113, #114, #115, #116.
The commutator sees only the distance to the identity #
The shrinking lemma #
★★ The shrinking lemma. Two unitaries within ‖V − 1‖ and ‖W − 1‖ of the identity have a
group commutator within 2‖V − 1‖·‖W − 1‖ of it.
Unitarity is used exactly twice: VWV⋆W⋆ − 1 = (VW − WV)(V⋆W⋆), and the trailing unitary drops out
of the norm.
★★ The shrinking lemma as the recursion uses it: both factors within δ of the identity
gives 2δ².
★★ The contraction. Below δ = 1/2 the commutator of two δ-close unitaries is strictly
closer to the identity than its factors were — the step that makes the Solovay–Kitaev iteration
converge, and the reason the algorithm needs a base accuracy before it can recurse.
Stability: the error budget the recursion needs #
★ A product of unitaries is stable. Replacing each factor by an approximation moves the product by at most the sum of the two errors.
★★ The commutator of two ε-approximations is a 4ε-approximation of the commutator. The
four factors each move by at most ε — the adjoints by norm_star — and the product is stable, so
the error budget the Solovay–Kitaev recursion carries is linear in the input error.