Quantum agnostic sample complexity lower bound (information-theoretic)
OpenQAlgorithms.Arunachalam.quantumAgnostic_sample_lower_bound_infoLet be a concept class with . For a distribution on write and . A quantum -agnostic learner using examples is a POVM on copies of that, for every , outputs with with probability at least .
For every there is a constant such that for all , all such , all and , every quantum -agnostic learner for using examples satisfies
with logarithms to base 2.
This is the agnostic analogue of Theorem 7.4.6, again tight up to the factor.
Formalization Note The constant may depend on an upper bound for , and is assumed: for the class has a single concept, which is output with no samples.
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
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
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix a real number with . The theorem asserts that there is a constant , depending only on , such that the following holds for:
- every ;
- every finite concept class of functions ;
- every ;
- all reals with and ;
- every and every family of complex square matrices indexed by the elements of . The matrices act on the space with basis .
The hypotheses are:
- VC dimension. The VC dimension of (that of the supports ) equals , and .
- is a quantum agnostic -learner for using examples. This means:
- is a POVM: each is positive semidefinite and .
- For every probability distribution on (nonnegative, summing to ), we have
- Here , and .
- The state is , with coordinates .
No non-triviality hypothesis on is imposed. VC dimension forces .
The conclusion is
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.