Lemma 12, p. 28 — for φ not an n-bit number, θ after iteration j is the (n − j)-digit rounding of 0.φ_{[j+1:]}, up to a carry, with error ≤ 2^{j−n−1}
ProvedQSVTPhaseEst.BitSearch.lemma_12p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1phase-estimationqsvtquantum-algorithmsrounding
Let be an -bit number with (including ), and consider any run of the loop of phase estimation by QSVT with the exact sign function. Then at the end of every iteration , :
- is an -digit binary fraction, with ;
- there is a carry bit such that
where and is the fractional part of .
Since is a multiple of within half a grid step of , it is a rounding of to binary digits, as the lemma states. It is the induction behind Theorem 7.
Formalization Note "" is encoded as " for every ". The bound is written (with ). At a tie of the rounding either rounding is allowed, as on p. 29.
Preamble
import Mathlib import Definitions.Def_QSVTPhaseEst_BitSearch_Procedure
Formal statement
namespace QSVTPhaseEst.BitSearch
theorem lemma_12 (φ : ℝ) (hφ0 : 0 ≤ φ) (hφ1 : φ < 1) (n : ℕ) (hn : 1 ≤ n)
(hm : ¬ ∃ k : ℕ, φ = (k : ℝ) / 2 ^ n) (b : ℕ → Bool) (hrun : IsLoopRun 0 φ n b) :
∀ j < n,
(∃ k : ℕ, k < 2 ^ (n - j) ∧ thetaAfter n b j = (k : ℝ) / 2 ^ (n - j)) ∧
∃ r : ℕ, r ≤ 1 ∧
|(r : ℝ) + thetaAfter n b j - Int.fract ((2 : ℝ) ^ j * φ)| ≤
((2 : ℝ) ^ (n - j + 1))⁻¹ := by sorry
end QSVTPhaseEst.BitSearch
Source
Martyn, Rossi, Tan & Chuang, A Grand Unification of Quantum Algorithms, arXiv:2105.02859v5, p. 28, Lemma 12 (Appendix B 1 b); proof pp. 28–29
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.