Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 2 — sampling simulation when U†OU is sparse

Proved
VdNSim.Sparse.theorem_1

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

classical-simulationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-informationweak-simulation

Let ψ\psiψ be a normalized nnn-qubit state, let UUU be unitary, and let OOO be a Hermitian observable of spectral norm at most one. Suppose B=U†OUB=U^\dagger O UB=U†OU is sss-sparse and supplied with column data. Using K≥1K\ge1K≥1 samples from the Born law of ψ\psiψ for each of the paper's two sampling functions, form its estimator o^\widehat oo. For every ε>0\varepsilon>0ε>0,

Pr⁡{∣o^−⟨Uψ∣O∣Uψ⟩∣>ε}≤8sexp⁡ ⁣(−Kε232s4).\Pr\{|\widehat o-\langle U\psi|O|U\psi\rangle|>\varepsilon\}\le8s\exp\!\left(-\frac{K\varepsilon^2}{32s^4}\right).Pr{∣o−⟨Uψ∣O∣Uψ⟩∣>ε}≤8sexp(−32s4Kε2​).

This gives the accuracy guarantee behind Theorem 1's classical simulation claim: the output observable's expectation can be recovered from samples and sparse column data.

Formalization Note This is the paper's explicit estimator, so it cannot inspect the target expectation directly. The finite statement grants sampling and coefficient access associated with CT states and column access associated with ECS operators, but does not assert their polynomial running times or a uniform circuit family. The displayed constant is derived from Theorem 3's proof and Eq. (18), rather than printed in Theorem 1.

Preamble
import Mathlib
import Definitions.Def_VdNSim_Sparse_Model

noncomputable section
open scoped Matrix
Formal statement
namespace VdNSim.Sparse

/-- Theorem 1, p. 2, as the explicit accuracy guarantee of the paper's estimator. -/
theorem theorem_1 {n s K : ℕ} (hK : 0 < K)
    (ψ : Bits n → ℂ) (hψ : ∑ x, prob ψ x = 1)
    (U : Matrix.unitaryGroup (Bits n) ℂ)
    (O : Matrix (Bits n) (Bits n) ℂ)
    (hO : O.IsHermitian) (hO1 : QAlgorithms.specNorm O ≤ 1)
    (hsp : IsSparse s (Matrix.conjTranspose (U : Matrix (Bits n) (Bits n) ℂ) * O *
      (U : Matrix (Bits n) (Bits n) ℂ)))
    (D : ColumnData (Matrix.conjTranspose (U : Matrix (Bits n) (Bits n) ℂ) * O *
      (U : Matrix (Bits n) (Bits n) ℂ)) s)
    {ε : ℝ} (hε : 0 < ε) :
    failProb ψ ψ D K
      (matElem ((U : Matrix (Bits n) (Bits n) ℂ) *ᵥ ψ) O
        ((U : Matrix (Bits n) (Bits n) ℂ) *ᵥ ψ)) ε ≤
      8 * (s : ℝ) * Real.exp (-((K : ℝ) * ε ^ 2) / (32 * (s : ℝ) ^ 4)) := by sorry

end VdNSim.Sparse
Source
Van den Nest, Simulating quantum computers with probabilistic methods, arXiv:0911.1624v3, p. 2, Theorem 1; p. 11, Theorem 3; pp. 12–13, proof; p. 23, Eq. (18)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me