Corollary 3.2
OpenQAlgorithms.Papers.Independent.Extend50.P34.eyd_tail_and_testing_upper_boundsLet be a -dimensional density matrix with decreasing eigenvalues , where . For EYD with and ,
Consequently, for , copies suffice for an -accurate estimate with probability at least , uniformly in . Every closed unitarily invariant property is therefore testable with copies and success probability . These bounds give a general spectrum-testing upper bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
noncomputable section
open scoped Matrix BigOperators
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P34
attribute [local instance] Classical.propDecidable
-- Reuse exact pinned definitions; these are imports, not local declarations.
open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)
open QAlgorithms.Papers.Independent.Advance50.P28 (counts)
/-- Corollary 3.2, arXiv:1501.05028v1, PDF p.29. Preserve the finite-n tail and both consequences. delta≤1/3 prevents a vanishing log(1/delta) rounding bound; universal constants precede state and property. -/
theorem eyd_tail_and_testing_upper_bounds
: (∀ d n : ℕ, 2 ≤ d → 0 < n →
∀ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho →
∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 →
(∑ lambda : Schur.Partition d n, sw rho lambda *
(if epsilon < eydError n (decreasingSpectrum rho) lambda.val then 1 else 0)) ≤
(n+1 : ℝ)^(d*(d+1)/2) * Real.exp (-2*n*epsilon^2)) ∧
(∃ A : ℝ, 0 < A ∧ ∀ d : ℕ, 2 ≤ d →
∀ epsilon delta : ℝ, 0 < epsilon → epsilon < 1 → 0 < delta → delta ≤ 1/3 →
∃ n : ℕ, 0 < n ∧ (n : ℝ) ≤
A*d^2/epsilon^2 * Real.log (d/epsilon) * Real.log (1/delta) ∧
∀ rho : Matrix (Fin d) (Fin d) ℂ, IsDensityMatrix rho →
(∑ lambda : Schur.Partition d n, sw rho lambda *
(if epsilon < eydError n (decreasingSpectrum rho) lambda.val then 1 else 0)) ≤ delta) ∧
(∃ A : ℝ, 0 < A ∧ ∀ d : ℕ, 2 ≤ d →
∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 →
∀ P : Set (Fin d → ℝ), IsSpectralProperty P →
∃ n : ℕ, (n : ℝ) ≤ A*d^2/epsilon^2 * Real.log (d/epsilon) ∧
QuantumTestable d n P epsilon) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P34
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For , let consist of Young diagrams with cells and at most rows. For each such , number its cells by the fixed bijection with , let preserve rows and columns, set , and let project orthogonally onto its range. Define , , , , , and . For a density matrix , meaning a positive semidefinite matrix of trace , let be its decreasing eigenvalue list and put , with missing rows equal to . The declaration asserts all three statements:
In the last statement, is required to be closed, every must have nonnegative coordinates summing to , and must be equivalent to for every and coordinate permutation . The test is a matrix on with positive semidefinite such that, for every density matrix , implies , and for every implies that acceptance is at most . Empty is allowed, in which case the latter universal distance condition is vacuous. The two existential constants named are separate, and the final existential has no explicit positivity requirement.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.