Theorem 1.16: Spectrum learning sample complexity
OpenQAlgorithms.Papers.Independent.Extend50.P32.spectrumLearningLet and let be positive semidefinite of trace one, with nonincreasing spectrum . On copies the concrete Keyl experiment draws a weak-Schur shape and then . Its rank- report is , with no renormalization, for . Write , where , and . The full report has . For every , one absolute constant suffices. The positive integer sample count is chosen from before the unknown state or spectrum. The guarantees are expected loss at most and success probability at least , separately for each indicated metric; integer budgets are rounded upward. No runtime or arbitrary-confidence claim is made. For these spectrum statements use EYD: weak Schur sampling followed by the report . For , put . Hellinger squared is , chi-squared is , and KL is . The estimate is the first argument, zero-over-zero terms contribute zero, and positive estimated mass at zero true mass gives infinite divergence. A superscript retains only the first terms, without renormalization.
This is a sample-complexity or risk guarantee for the concrete collective measurement and public decoder; it asserts no gate bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Matrix ComplexOrder Topology
namespace QAlgorithms.Papers.Independent.Extend50.P32
open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)
-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.
open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)
/-- Theorem 1.16, PDF p.6: physical EYD learning, expected error and its
constant-success consequence. The sample count is chosen BEFORE the spectrum;
no confidence amplification or gate complexity is asserted. -/
theorem spectrumLearning : ∃ C : ℝ, 0 < C ∧
∀ (d : ℕ) (hd : 0 < d) (epsilon : ℝ), 0 < epsilon → epsilon < 1 →
∃ (n : ℕ) (hn : 0 < n), n ≤ copyBudget C ((d : ℝ) ^ 2 / epsilon) ∧
∀ (alpha : Fin d → ℝ) (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
(metric : FullMetric),
eydRisk hd hn alpha hAlpha hSorted (fullLoss metric) ≤ ENNReal.ofReal epsilon ∧
ENNReal.ofReal (2 / 3 : ℝ) ≤ eydSuccess hd hn alpha hAlpha hSorted (fullLoss metric) epsilon := by sorry
end QAlgorithms.Papers.Independent.Extend50.P32
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a real constant such that, for every integer and every real , there is an integer , chosen before the distribution or loss is specified, satisfying , with the following property. For every nonincreasing probability vector , define a measure on Young diagrams having cells and at most rows as follows: number the cells by using the chosen finite-set equivalence, let be the permutations preserving each cell’s row and column respectively, and form the permutation-indexed matrix
Let be the orthogonal projection onto its complex range, let have entries , put and , and let have entries on words in . Set . The mass of is , where is diagonal with entry at word . Report , using zero for missing rows. For each of the three losses
the nonnegative extended-real risk is at most and the -measure of the event that the loss is at most is at least . Precisely, real-valued losses are truncated below at zero; KL loss is if some has , and a chi-squared summand with is when and otherwise. Risk means the integral of this loss against . The same works for every such and all three losses, including distributions with zero entries and ; denotes the least natural number above the argument.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.