Theorem 3, p. 11 — sparse matrix-element estimation by sampling
ProvedVdNSim.Sparse.theorem_3Let and be normalized states on a finite computational basis, and let be an -sparse operator of spectral norm at most one, represented by column data . From independent samples of and independent samples of , form the paper's estimator from the sample means of and . For every ,
This is the quantitative accuracy statement underlying the paper's classical approximation of a sparse matrix element.
Formalization Note The paper states polynomial accuracy and an efficient algorithm; the displayed tail follows from its Eq. (18) and the bounds on and . Running time is outside the model. A single sample pair is shared across all ; the argument applies without independence between the -summands. The case is interpreted using Lean's total division, and then both the estimator and target vanish.
import Mathlib import Definitions.Def_VdNSim_Sparse_Model noncomputable section
namespace VdNSim.Sparse
/-- Theorem 3, p. 11, with the sampling estimator and tail derived in its proof. -/
theorem theorem_3 {X : Type*} [Fintype X] [DecidableEq X]
{s K : ℕ} (hK : 0 < K)
(ψ ϕ : X → ℂ) (hψ : ∑ x, prob ψ x = 1) (hϕ : ∑ y, prob ϕ y = 1)
(A : Matrix X X ℂ) (hsp : IsSparse s A)
(hA : QAlgorithms.specNorm A ≤ 1) (D : ColumnData A s)
{ε : ℝ} (hε : 0 < ε) :
failProb ψ ϕ D K (matElem ϕ A ψ) ε ≤
8 * (s : ℝ) * Real.exp (-((K : ℝ) * ε ^ 2) / (32 * (s : ℝ) ^ 4)) := by sorry
end VdNSim.Sparse
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.