Eqs. (52), (57) — r θmin is within 0.002 of πk and r θmax is within 1.102 of πk + π/2
ProvedQApproxCount.Counting.eqs_52_57groverp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rotation-lemma
Let , , and . Let be the closest integer to , , and let be the closest odd integer to (eqs. (45)–(47), ties broken upward). Then
So rotates the bottom of the bracket to (almost) a multiple of and the top to about a quarter turn further, which is what separates the two ends of the bracket.
Preamble
import Mathlib import Definitions.Def_QApproxCount_Counting_Algorithm
Formal statement
namespace QApproxCount.Counting
/-- Eqs. (52) and (57), p. 9: let `0 < θmin`, `0 < γ ≤ 0.7`, `θmax = (1 + γ) θmin ≤ 0.002`,
and let `k`, `r` be computed by (45)–(47) (`rotK`, `rotR`). Then
`|r θmin - πk| ≤ 0.002` and `|r θmax - (πk + π/2)| ≤ 1.102`. -/
theorem eqs_52_57 (θmin θmax γ : ℝ) (hθmin : 0 < θmin) (hγ : 0 < γ) (hγ1 : γ ≤ 0.7)
(hmax : θmax = (1 + γ) * θmin) (hθmax : θmax ≤ 0.002) :
|(rotR θmin θmax : ℝ) * θmin - Real.pi * (rotK θmin θmax : ℝ)| ≤ 0.002 ∧
|(rotR θmin θmax : ℝ) * θmax - (Real.pi * (rotK θmin θmax : ℝ) + Real.pi / 2)| ≤ 1.102 := by sorry
end QApproxCount.Counting
Source
Aaronson & Rall, Quantum Approximate Counting, Simplified, arXiv:1908.10846v6, p. 9, eqs. (52) and (57) (proof of Lemma 2)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.