Optimal quantum PAC sample complexity lower bound
OpenQAlgorithms.Arunachalam.quantumPAC_sample_lower_bound_optimalLet be a concept class with . A quantum -PAC learner using examples is a POVM , indexed by hypotheses , acting on copies of the quantum example , such that for every and every distribution on it outputs an with with probability at least .
There are absolute constants and such that for all , all such with , all and , every quantum -PAC learner for using examples satisfies
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 and the threshold for "sufficiently large " are quantified before every other object, so they are uniform in , , , and the learner. The logarithm is natural; its base only changes the constant.
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
There exist a real constant and a natural number such that the following holds. Take any , any finite concept class of Boolean functions , and any with such that the VC dimension of equals . Here the VC dimension is that of the family of sets , . Take any reals with and , any , and any family of complex matrices on the space indexed by . The family has one matrix for every Boolean function , not only for .
Suppose is a quantum PAC learner for with parameters using exactly examples, meaning:
- each is positive semidefinite and ;
- for every and every distribution on (nonnegative weights summing to ),
In this condition:
- ;
- is the vector on with amplitude at and at ;
- has amplitude at .
Then
The constants do not depend on , , , , or . The case is included: then the state space is one-dimensional.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.