Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Quantum agnostic sample complexity lower bound (information-theoretic)

Open
QAlgorithms.Arunachalam.quantumAgnostic_sample_lower_bound_info

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\ge1VC-dim(C)=d≥1. For a distribution DDD on {0,1}n×{0,1}\{0,1\}^n\times\{0,1\}{0,1}n×{0,1} write errD(h)=Pr⁡(x,b)∼D[h(x)≠b]\mathrm{err}_D(h)=\Pr_{(x,b)\sim D}[h(x)\ne b]errD​(h)=Pr(x,b)∼D​[h(x)=b] and optD(C)=min⁡c∈CerrD(c)\mathrm{opt}_D(C)=\min_{c\in C}\mathrm{err}_D(c)optD​(C)=minc∈C​errD​(c). A quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-agnostic learner using TTT examples is a POVM {Mh}h∈C\{M_h\}_{h\in C}{Mh​}h∈C​ on TTT copies of ∣ψD⟩=∑(x,b)D(x,b) ∣x,b⟩|\psi_D\rangle=\sum_{(x,b)}\sqrt{D(x,b)}\,|x,b\rangle∣ψD​⟩=∑(x,b)​D(x,b)​∣x,b⟩ that, for every DDD, outputs h∈Ch\in Ch∈C with errD(h)≤optD(C)+ε\mathrm{err}_D(h)\le\mathrm{opt}_D(C)+\varepsilonerrD​(h)≤optD​(C)+ε with probability at least 1−δ1-\delta1−δ.

For every δ0∈(0,1/2)\delta_0\in(0,1/2)δ0​∈(0,1/2) there is a constant C0>0C_0>0C0​>0 such that for all nnn, all such CCC, all δ∈(0,δ0]\delta\in(0,\delta_0]δ∈(0,δ0​] and ε∈(0,1/4)\varepsilon\in(0,1/4)ε∈(0,1/4), every quantum (ε,δ)(\varepsilon,\delta)(ε,δ)-agnostic learner for CCC using TTT examples satisfies

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

with logarithms to base 2.

This is the agnostic analogue of Theorem 7.4.6, again tight up to the log⁡(d/ε)\log(d/\varepsilon)log(d/ε) factor.

Formalization Note The constant may depend on an upper bound δ0<1/2\delta_0<1/2δ0​<1/2 for δ\deltaδ, and d≥1d\ge1d≥1 is assumed: for d=0d=0d=0 the class has a single concept, which is output with no samples.

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

open QAlgorithms.Learning


/-- Arunachalam p.169–170, Theorem 7.4.7: let `C` be a concept class with `VC-dim(C) = d`. Then
for every `δ ∈ (0, 1/2)` and `ε ∈ (0, 1/4)`, every `(ε, δ)`-agnostic quantum learner for `C` has
sample complexity `Ω(d/(ε² log(d/ε)) + log(1/δ)/ε²)`.

Recorded corrections (trap 30), as for Theorem 7.4.4: the constant may depend on an upper bound
`δ₀ < 1/2` on `δ`, and `d ≥ 1` (at `d = 0` the class has a single concept, which is output with no
samples). The constant is uniform over `n`, `C`, `d`, `δ ∈ (0, δ₀]` and `ε`. -/
theorem quantumAgnostic_sample_lower_bound_info (δ₀ : ℝ) (hδ₀ : 0 < δ₀) (hδ₀' : δ₀ < 1 / 2) :
    ∃ C₀ : ℝ, 0 < C₀ ∧
      ∀ (n : ℕ) (C : Finset (Qubits n → Bool)) (d : ℕ), vcDimClass C = d → 1 ≤ d →
        ∀ δ ε : ℝ, 0 < δ → δ ≤ δ₀ → 0 < ε → ε < 1 / 4 →
          ∀ (T : ℕ) (M : {c // c ∈ C} →
              Matrix (Fin T → Qubits n × Bool) (Fin T → Qubits n × Bool) ℂ),
            IsQAgnosticLearner C ε δ T M →
              C₀ * ((d : ℝ) / (ε ^ 2 * Real.logb 2 ((d : ℝ) / ε)) +
                  Real.logb 2 (1 / δ) / ε ^ 2) ≤ (T : ℝ) := by
  sorry





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

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

Fix a real number δ0\delta_0δ0​ with 0<δ0<120 < \delta_0 < \tfrac120<δ0​<21​. The theorem asserts that there is a constant C0>0C_0 > 0C0​>0, depending only on δ0\delta_0δ0​, such that the following holds for:

  • every n∈Nn \in \mathbb{N}n∈N;
  • every finite concept class CCC of functions {0,1}n→{0,1}\{0,1\}^n \to \{0,1\}{0,1}n→{0,1};
  • every d∈Nd \in \mathbb{N}d∈N;
  • all reals δ,ε\delta, \varepsilonδ,ε with 0<δ≤δ00 < \delta \le \delta_00<δ≤δ0​ and 0<ε<140 < \varepsilon < \tfrac140<ε<41​;
  • every T∈NT \in \mathbb{N}T∈N and every family (Mc)c∈C(M_c)_{c \in C}(Mc​)c∈C​ of complex square matrices indexed by the elements of CCC. The matrices act on the space with basis ({0,1}n×{0,1})T(\{0,1\}^n \times \{0,1\})^T({0,1}n×{0,1})T.

The hypotheses are:

  1. VC dimension. The VC dimension of CCC (that of the supports {x:c(x)=1}\{x : c(x)=1\}{x:c(x)=1}) equals ddd, and d≥1d \ge 1d≥1.
  2. MMM is a quantum agnostic (ε,δ)(\varepsilon,\delta)(ε,δ)-learner for CCC using TTT examples. This means:
    • MMM is a POVM: each McM_cMc​ is positive semidefinite and ∑c∈CMc=I\sum_{c \in C} M_c = I∑c∈C​Mc​=I.
    • For every probability distribution DDD on {0,1}n×{0,1}\{0,1\}^n \times \{0,1\}{0,1}n×{0,1} (nonnegative, summing to 111), we have
∑h∈C : errD(h)≤optD(C)+εRe⁡Tr⁡ ⁣(Mh ∣ΨD⟩⟨ΨD∣)  ≥  1−δ.\sum_{h \in C \,:\, \mathrm{err}_D(h) \le \mathrm{opt}_D(C) + \varepsilon} \operatorname{Re}\operatorname{Tr}\!\big(M_h\,|\Psi_D\rangle\langle\Psi_D|\big) \;\ge\; 1-\delta.h∈C:errD​(h)≤optD​(C)+ε∑​ReTr(Mh​∣ΨD​⟩⟨ΨD​∣)≥1−δ.
  • Here errD(h)=∑(x,b):h(x)≠bD(x,b)\mathrm{err}_D(h) = \sum_{(x,b) : h(x) \ne b} D(x,b)errD​(h)=∑(x,b):h(x)=b​D(x,b), and optD(C)=inf⁡c∈CerrD(c)\mathrm{opt}_D(C) = \inf_{c \in C} \mathrm{err}_D(c)optD​(C)=infc∈C​errD​(c).
  • The state is ∣ΨD⟩=∣ψD⟩⊗T|\Psi_D\rangle = |\psi_D\rangle^{\otimes T}∣ΨD​⟩=∣ψD​⟩⊗T, with coordinates ∏iD(xi,bi)\prod_i \sqrt{D(x_i,b_i)}∏i​D(xi​,bi​)​.

No non-triviality hypothesis on CCC is imposed. VC dimension ≥1\ge 1≥1 forces ∣C∣≥2|C| \ge 2∣C∣≥2.

The conclusion is

C0(dε2log⁡2(d/ε)+log⁡2(1/δ)ε2)≤T.C_0\left(\frac{d}{\varepsilon^2 \log_2(d/\varepsilon)} + \frac{\log_2(1/\delta)}{\varepsilon^2}\right) \le T.C0​(ε2log2​(d/ε)d​+ε2log2​(1/δ)​)≤T.
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