Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Optimal quantum PAC sample complexity lower bound

Open
QAlgorithms.Arunachalam.quantumPAC_sample_lower_bound_optimal

by Goku · Oct 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

arunachalamlecture-notesquantum-information

Let C⊆{c:{0,1}n→{0,1}}C\subseteq\{c:\{0,1\}^n\to\{0,1\}\}C⊆{c:{0,1}n→{0,1}} be a concept class with VC-dim(C)=d+1\mathrm{VC\text{-}dim}(C)=d+1VC-dim(C)=d+1. A quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-PAC learner using TTT examples is a POVM {Mh}\{M_h\}{Mh​}, indexed by hypotheses h:{0,1}n→{0,1}h:\{0,1\}^n\to\{0,1\}h:{0,1}n→{0,1}, acting on TTT copies of the quantum example ∣ψc,D⟩=∑xD(x) ∣x,c(x)⟩|\psi_{c,D}\rangle=\sum_x\sqrt{D(x)}\,|x,c(x)\rangle∣ψc,D​⟩=∑x​D(x)​∣x,c(x)⟩, such that for every c∈Cc\in Cc∈C and every distribution DDD on {0,1}n\{0,1\}^n{0,1}n it outputs an hhh with Pr⁡x∼D[h(x)≠c(x)]≤ε\Pr_{x\sim D}[h(x)\neq c(x)]\le\varepsilonPrx∼D​[h(x)=c(x)]≤ε with probability at least 1−δ1-\delta1−δ.

There are absolute constants C0>0C_0>0C0​>0 and d0d_0d0​ such that for all nnn, all such CCC with d≥d0d\ge d_0d≥d0​, all δ∈(0,1/2)\delta\in(0,1/2)δ∈(0,1/2) and ε∈(0,1/20)\varepsilon\in(0,1/20)ε∈(0,1/20), every quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-PAC learner for CCC using TTT examples satisfies

T ≥ C0(dε+log⁡(1/δ)ε).T\ \ge\ C_0\left(\frac{d}{\varepsilon}+\frac{\log(1/\delta)}{\varepsilon}\right).T ≥ C0​(εd​+εlog(1/δ)​).

Together with the classical upper bound, this shows that quantum examples do not reduce the sample complexity of PAC learning by more than a constant factor.

Formalization Note The constant of the Ω\OmegaΩ and the threshold for "sufficiently large ddd" are quantified before every other object, so they are uniform in nnn, CCC, δ\deltaδ, ε\varepsilonε and the learner. The logarithm is natural; its base only changes the constant.

Preamble
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances
set_option autoImplicit false
Formal statement
namespace QAlgorithms.Arunachalam

open QAlgorithms.Learning

/-- Arunachalam p.175–177, Theorem 7.5.6: let `C` be a concept class with `VC-dim(C) = d + 1`, for
sufficiently large `d`. Then for every `δ ∈ (0, 1/2)` and `ε ∈ (0, 1/20)`, every `(ε, δ)`-PAC
quantum learner for `C` has sample complexity `Ω(d/ε + (1/ε) log(1/δ))`.

The constant `C₀` of the `Ω` and the threshold `d₀` of "sufficiently large `d`" are absolute:
they come before `n`, `C`, `d`, `δ`, `ε` and the learner. -/
theorem quantumPAC_sample_lower_bound_optimal :
    ∃ C₀ : ℝ, 0 < C₀ ∧ ∃ d₀ : ℕ,
      ∀ (n : ℕ) (C : Finset (Qubits n → Bool)) (d : ℕ), vcDimClass C = d + 1 → d₀ ≤ d →
        ∀ δ ε : ℝ, 0 < δ → δ < 1 / 2 → 0 < ε → ε < 1 / 20 →
          ∀ (T : ℕ) (M : (Qubits n → Bool) →
              Matrix (Fin T → Qubits n × Bool) (Fin T → Qubits n × Bool) ℂ),
            IsQPACLearner C ε δ T M →
              C₀ * ((d : ℝ) / ε + Real.log (1 / δ) / ε) ≤ (T : ℝ) := by
  sorry






end QAlgorithms.Arunachalam
Source
Srinivasan Arunachalam, Quantum Algorithms and Learning Theory — Part II, 2018 thesis, ILLC DS-2018-08, PDF p. 175, Theorem 7.5.6. https://ir.cwi.nl/pub/27536/Thesis_S_Arunachalam
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

There exist a real constant C0>0C_0 > 0C0​>0 and a natural number d0d_0d0​ such that the following holds. Take any n∈Nn \in \mathbb{N}n∈N, any finite concept class CCC of Boolean functions c:{0,1}n→{0,1}c : \{0,1\}^n \to \{0,1\}c:{0,1}n→{0,1}, and any d∈Nd \in \mathbb{N}d∈N with d≥d0d \ge d_0d≥d0​ such that the VC dimension of CCC equals d+1d+1d+1. Here the VC dimension is that of the family of sets {x:c(x)=1}\{x : c(x) = 1\}{x:c(x)=1}, c∈Cc \in Cc∈C. Take any reals δ,ε\delta, \varepsilonδ,ε with 0<δ<1/20 < \delta < 1/20<δ<1/2 and 0<ε<1/200 < \varepsilon < 1/200<ε<1/20, any T∈NT \in \mathbb{N}T∈N, and any family (Mh)(M_h)(Mh​) of complex matrices on the space indexed by ({0,1}n×{0,1})T(\{0,1\}^n \times \{0,1\})^T({0,1}n×{0,1})T. The family has one matrix for every Boolean function h:{0,1}n→{0,1}h : \{0,1\}^n \to \{0,1\}h:{0,1}n→{0,1}, not only for h∈Ch \in Ch∈C.

Suppose MMM is a quantum PAC learner for CCC with parameters (ε,δ)(\varepsilon, \delta)(ε,δ) using exactly TTT examples, meaning:

  • each MhM_hMh​ is positive semidefinite and ∑hMh=I\sum_h M_h = I∑h​Mh​=I;
  • for every c∈Cc \in Cc∈C and every distribution DDD on {0,1}n\{0,1\}^n{0,1}n (nonnegative weights summing to 111),
∑h : errD(c,h)≤εRe⁡Tr⁡(Mh ∣ψc,D⊗T⟩⟨ψc,D⊗T∣)  ≥  1−δ.\sum_{h \,:\, \mathrm{err}_D(c,h) \le \varepsilon} \operatorname{Re}\operatorname{Tr}\big(M_h\, |\psi_{c,D}^{\otimes T}\rangle\langle \psi_{c,D}^{\otimes T}|\big) \;\ge\; 1-\delta.h:errD​(c,h)≤ε∑​ReTr(Mh​∣ψc,D⊗T​⟩⟨ψc,D⊗T​∣)≥1−δ.

In this condition:

  • errD(c,h)=∑x:h(x)≠c(x)D(x)\mathrm{err}_D(c,h) = \sum_{x : h(x) \ne c(x)} D(x)errD​(c,h)=∑x:h(x)=c(x)​D(x);
  • ψc,D\psi_{c,D}ψc,D​ is the vector on {0,1}n×{0,1}\{0,1\}^n \times \{0,1\}{0,1}n×{0,1} with amplitude D(x)\sqrt{D(x)}D(x)​ at (x,c(x))(x, c(x))(x,c(x)) and 000 at (x,1−c(x))(x, 1-c(x))(x,1−c(x));
  • ψ⊗T\psi^{\otimes T}ψ⊗T has amplitude ∏i=1Tψ(zi)\prod_{i=1}^T \psi(z_i)∏i=1T​ψ(zi​) at (z1,…,zT)(z_1,\dots,z_T)(z1​,…,zT​).

Then

C0(dε+ln⁡(1/δ)ε)≤T.C_0\left(\frac{d}{\varepsilon} + \frac{\ln(1/\delta)}{\varepsilon}\right) \le T.C0​(εd​+εln(1/δ)​)≤T.

The constants C0,d0C_0, d_0C0​,d0​ do not depend on nnn, CCC, δ\deltaδ, ε\varepsilonε, TTT or MMM. The case T=0T = 0T=0 is included: then the state space is one-dimensional.

Human review
  • Endorsed by Shuze Chen · Oct 13, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 13, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me