Quantum PAC learning needs Ω(d/ε + log(1/δ)/ε) quantum examples
OpenQAlgorithms.LearningSurvey.quantumPAC_sampleLowerBoundThis is the optimal lower bound on the quantum sample complexity of PAC learning, with the threshold on the VC dimension that the proof requires.
Let be a concept class of Boolean functions with VC dimension . For a distribution on and , a quantum example is the state . An -quantum PAC learner for with examples is a POVM on copies of the quantum example, with one outcome for every hypothesis , such that for every and 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 PAC learner for uses
examples.
Together with the classical upper bound, this shows that quantum examples give no advantage in the distribution-free PAC model.
Formalization Note The source prints the bound for every ; at small and close to it is false (for two concepts differing at one point, one quantum example measured in the computational basis, with a fair coin when the distinguishing point is not seen, is an -learner). The threshold is the source's own " a sufficiently large constant" from the proof. Ancillas and internal randomness are absorbed into the POVM.
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
namespace QAlgorithms.LearningSurvey
open MeasureTheory QAlgorithms.Learning
/-- survey p.13, Theorem 4.12 ([AW17]): optimal quantum PAC sample-complexity lower bound.
Let `C` be a concept class on `{0,1}^n` with VC dimension `d + 1`. For every `δ ∈ (0, 1/2)` and
`ε ∈ (0, 1/20)`, every `(ε, δ)`-quantum PAC learner for `C` (a POVM on `T` copies of the quantum
example, one outcome per hypothesis, correct for every `c ∈ C` and 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
"`d` a sufficiently large constant", p.13; this is also the run's asymptotic convention). Without
it the printed statement is false: for `C = {c₁, c₂}` differing at one point (VC dimension 1,
`d = 0`), one copy measured in the computational basis, with a fair coin when the distinguishing
point is not seen, is an `(ε, 1/2 − ε/2)`-learner, while `K log(1/δ)/ε → ∞` as `ε → 0`. -/
theorem quantumPAC_sampleLowerBound :
∃ K : ℝ, 0 < K ∧ ∃ d₀ : ℕ, ∀ (n d : ℕ) (C : Finset (Qubits n → Bool)), d₀ ≤ d →
vcDimClass C = d + 1 →
∀ δ ε : ℝ, 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 →
K * ((d : ℝ) / ε + (1 / ε) * 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 .
Here the VC dimension of is computed as follows. Each is replaced by its set of positives . The VC dimension is then the largest size of a set shattered by this family, meaning every subset of arises as for some . Since a shattered set has at most elements, the hypothesis forces ; for smaller the statement is vacuous.
For all reals with and , take every (including ) and every family of complex square matrices. The family is indexed by all functions , not only those in , and each acts on the space with basis . If is a quantum PAC learner for with parameters , then
Being a quantum PAC learner means two things:
- is a POVM. Each is positive semidefinite and .
- Success on every target. For every and every with and ,
The symbols in this condition are defined as follows:
- The error of a hypothesis is .
- The example state has amplitude at and at .
- The -fold tensor power has amplitude at .
- For , this tensor power is the single basis vector of a one-dimensional space.
The constants and are fixed before , , , , , , .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.