Quantum agnostic learning needs Ω(d/ε² + log(1/δ)/ε²) quantum examples
OpenQAlgorithms.LearningSurvey.quantumAgnostic_sampleLowerBoundThis is the optimal lower bound on the quantum sample complexity of agnostic learning, with the threshold on the VC dimension that the proof requires.
Let be a concept class of Boolean functions on with VC dimension . For a distribution on write and . An -quantum agnostic learner for with examples is a POVM on copies of such that for every distribution the outcome satisfies with probability at least .
There are an absolute constant and a threshold such that for all , all , every concept class of VC dimension , all and , every -quantum agnostic learner for uses
examples.
It shows that quantum examples give no advantage for agnostic learning either: the bound matches the classical sample complexity up to constants.
Formalization Note The source prints the bound for every ; it is false at (one concept, no examples needed) and at small with close to (for one example measured in the computational basis is an -learner). The threshold is the source's "sufficiently large constant" from the code argument. The learner is proper: its outcomes are the concepts of .
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
namespace QAlgorithms.LearningSurvey
open MeasureTheory QAlgorithms.Learning
/-- survey p.14, Theorem 4.15 ([AW17]): optimal quantum agnostic sample-complexity lower bound.
Let `C` be a concept class on `{0,1}^n` with VC dimension `d`. For every `δ ∈ (0, 1/2)` and
`ε ∈ (0, 1/10)`, every `(ε, δ)`-quantum agnostic learner for `C` (a POVM on `T` copies of
`Σ_{(x,b)} √D(x,b) |x, b⟩` whose outcomes are concepts of `C`, outputting with probability
`≥ 1 − δ` an `h ∈ C` with `err_D(h) ≤ opt_D(C) + ε`, for every distribution `D`) uses
`T = Ω(d/ε² + (1/ε²) log(1/δ))` copies.
Corrected statement (trap 30): the `Ω` carries a threshold `d₀` on `d` (the source's proof needs
the linear code of p.14, which exists for `d` a sufficiently large constant). Without it the
printed statement is false: at `d = 0` the class has at most one concept and `T = 0` suffices; at
`d = 1`, for `C = {c, ¬c}`, one copy measured in the computational basis (output `c` iff the label
agrees with `c`) is an `(ε, 1/2 − ε/2)`-learner, while `K/ε² → ∞` as `ε → 0`. -/
theorem quantumAgnostic_sampleLowerBound :
∃ K : ℝ, 0 < K ∧ ∃ d₀ : ℕ, ∀ (n d : ℕ) (C : Finset (Qubits n → Bool)), d₀ ≤ d →
vcDimClass C = d →
∀ δ ε : ℝ, 0 < δ → δ < 1 / 2 → 0 < ε → ε < 1 / 10 →
∀ (T : ℕ) (M : {c // c ∈ C} →
Matrix (Fin T → Qubits n × Bool) (Fin T → Qubits n × Bool) ℂ),
IsQAgnosticLearner C ε δ T M →
K * ((d : ℝ) / ε ^ 2 + (1 / ε ^ 2) * Real.log (1 / δ)) ≤ (T : ℝ) := by sorry
end QAlgorithms.LearningSurvey
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
There exist a real constant and a threshold such that the following holds for all natural numbers with and every finite concept class of Boolean functions whose VC dimension equals . The VC dimension is defined exactly as above: the largest size of a subset of shattered by the family of positive sets , .
For all reals with and , take every (including ) and every family of complex square matrices. This family is indexed by the elements of , and each matrix acts on the space with basis . If is a quantum agnostic learner for with parameters , then
Being a quantum agnostic learner means two things:
- is a POVM. Each is positive semidefinite and . This forces .
- Success on every distribution. For every with and ,
The symbols in this condition are defined as follows:
- The state has amplitude at each basis vector .
- Its -fold tensor power has amplitude at .
- The error of is .
- The optimal error is , which is a minimum since is finite.
The constants and are fixed before all other quantities.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.