Lemma 2 — Tolerant RAA(t_max, γ) never succeeds when M is empty and ends with a marked element with probability ≥ 1/12 − 3γ otherwise
ProvedQuantumWalkSearch.ApproxRAA.lemma_2Let be a unit vector, a marked set and . Let , and for let be a unitary on with
- , and
- for every , where .
Let be such that whenever , and let be the smallest non-negative integer such that . Then the probability that Tolerant RAA ends with a marked element satisfies
This is the search procedure behind the paper's Theorem 3: only a lower bound on is known, the number of levels is guessed by trying every in turn on the state left over from the previous failed attempt, and the reflection about is available only approximately.
Formalization Note "Always outputs No marked element if is empty" is the statement that the success probability is ; the success probability is defined from the measurement rule of the procedure (see the Tolerant RAA module). The paper's " non-empty" is read as , as in its proof ("we now assume that is non-empty and "): a marked set on which has no weight cannot be found by this procedure. The cost clause ("incurs a cost of order ") and property 1 of are not formalized. The circuits are required only at the precisions .
import Mathlib import Definitions.Def_QuantumWalkSearch_ApproxRAA_Setting import Definitions.Def_QuantumWalkSearch_ApproxRAA_Circuit import Definitions.Def_QuantumWalkSearch_ApproxRAA_Tolerant
namespace QuantumWalkSearch.ApproxRAA
/-- Lemma 2 (p. 15), exact half. Let `ε > 0` with `p_M ≥ ε` whenever `p_M > 0`, and let
`t_max` be the smallest non-negative integer with `3^{t_max} sin⁻¹ √ε ∈ [π/4, 3π/4]`. For every
`0 < γ ≤ 1/40`, if the circuits `R i` satisfy properties 2–3 at `β_i = 18γ/(4π³ i²)`, then
Tolerant RAA(t_max, γ) ends with a marked element with probability `0` if `M` is empty, and
with probability at least `1/12 − 3γ` if `p_M > 0`. (The cost clause is not formalized.) -/
theorem lemma_2 {X : Type*} [Fintype X] [DecidableEq X] {κ : ℕ → Type*}
[∀ i, Fintype (κ i)] [∀ i, DecidableEq (κ i)]
(M : Finset X) (piState : EuclideanSpace ℂ (X × X)) (hπ : ‖piState‖ = 1)
(z : ∀ i, κ i) (R : ∀ i, Matrix (X × X × κ i) (X × X × κ i) ℂ)
(γ : ℝ) (hγ : 0 < γ) (hγ' : γ ≤ 1 / 40) (hR : ApproxReflections piState z R γ)
(ε : ℝ) (hε : 0 < ε) (hεp : 0 < markedWeight M piState → ε ≤ markedWeight M piState)
(tmax : ℕ) (htmax : IsFirstHit (Real.arcsin (Real.sqrt ε)) tmax) :
(M = ∅ → successProb M z R piState tmax = 0) ∧
(0 < markedWeight M piState → 1 / 12 - 3 * γ ≤ successProb M z R piState tmax) := by sorry
end QuantumWalkSearch.ApproxRAA
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.