Angle error to probability error for sin²
ProvedQAlgorithms.Nannicini.sinSq_angle_errorlecture-notesnanniciniquantum-information
This lemma converts an error in an estimated angle into an error in the estimated probability.
Let and put , . For every real ,
It is used to turn the angle precision of phase estimation into the additive error of amplitude estimation.
Preamble
import Definitions.Def_QAlgorithms_Defs_AmplitudeEstimation set_option autoImplicit false
Formal statement
namespace QAlgorithms.Nannicini
/-- Nannicini p.87, Proposition 4.19 (Lem. 7 in Brassard et al. 2002): let `a = sin²θ` and
`ã = sin²θ̃` with `0 ≤ θ, θ̃ ≤ 2π`. Then `|θ − θ̃| ≤ ϵ` implies
`|a − ã| ≤ 2ϵ √(a(1 − a)) + ϵ²`. -/
theorem sinSq_angle_error (θ θt ε : ℝ) (hθ0 : 0 ≤ θ) (hθ1 : θ ≤ 2 * Real.pi)
(hθt0 : 0 ≤ θt) (hθt1 : θt ≤ 2 * Real.pi) (h : |θ - θt| ≤ ε) :
|Real.sin θ ^ 2 - Real.sin θt ^ 2| ≤
2 * ε * Real.sqrt (Real.sin θ ^ 2 * (1 - Real.sin θ ^ 2)) + ε ^ 2 := by
sorry
end QAlgorithms.Nannicini
Source
Giacomo Nannicini, Quantum algorithms for optimizers, 2025, v5; notes dated 9 July 2025, PDF p. 87, Proposition 4.19. https://arxiv.org/pdf/2408.07086v5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Data. Real numbers , and .
Hypotheses.
- .
- .
- . This forces .
Claim.
The square root is the nonnegative real square root, and its argument equals .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.