Quantum and NS classical testing rates agree
OpenQAlgorithms.Papers.Independent.Advance50.P02.testing_ns_ratesAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. Let be arbitrary finite normalized pairs, with full spectral decompositions at every and associated NS distributions . Assume either the number of distinct eigenvalues of is eventually bounded by , or the negative logarithm of its smallest eigenvalue is so bounded. Constants , and the threshold precede . In the second alternative, a supported restriction is allowed only with explicit . For , let optimize liminf actual type-II exponent under limsup actual type-I error at most , and let use liminf type-I error strictly below . Then
The classical problem permits randomized tests and is represented by testing diagonal states. No iid or positive-variance condition is imposed. These equalities transfer the operational rates to classical hypothesis testing.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P02
noncomputable section
open Filter
open scoped BigOperators Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator Topology
namespace QAlgorithms.Papers.Independent.Advance50.P02
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P63
(Mat tensorPower logTwo normalQuantile testingBeta)
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded supportPower)
open QAlgorithms (effectProb)
open QAlgorithms.Papers.Independent.Information100.P06 (Below)
open QAlgorithms.Papers.Independent.Information100.P30 (tensorMap)
open QAlgorithms.Papers.Independent.Information100.P67 (purifiedDistance)
open QAlgorithms.Papers.Independent.Dependency50.P26 (TracePreserving)
open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch)
variable {I J A B X Z : Type} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype X] [DecidableEq X]
[Fintype Z] [DecidableEq Z]
/-- Section VIII, PDF p.23: operational quantum/classical NS equivalence,
under the stated sufficient spectral control, without iid or positive variance. Source correction. Printed: The second spectral alternative p.23 refers to the minimum eigenvalue of sigma_n.
Changed: On a supported restriction use the smallest strictly positive eigenvalue with explicit support inclusion; retain the unrestricted distinct-eigenvalue branch.
Why: The common support restriction removes unused kernel directions and preserves quantum testing rates; discarded NS coordinates have zero P. This avoids treating log(0) as a finite spectral bound. -/
theorem testing_ns_rates (S : PairSequence) (hS : StateSequence S)
(hcontrol : SpectralControl S) (r : ∀ k, PositiveSpectralPresentation (S.rho k))
(s : ∀ k, PositiveSpectralPresentation (S.sigma k)) (e : ℝ) (he : 0 ≤ e ∧ e ≤ 1) :
operationalTestingRate S e false = operationalTestingRate (nsSequence S r s) e false ∧
operationalTestingRate S e true = operationalTestingRate (nsSequence S r s) e true := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let consist of finite registers with decidable equality and density matrices for every , where density means positive semidefinite with trace . Assume either that the number of distinct eigenvalues of is eventually bounded by for some and , or that, eventually, , the least strictly positive eigenvalue of exists and is positive, and for some ; each “eventually” means for all for some natural . For every , choose nonnegative eigenvalue lists and matrices satisfying , , and . Form diagonal matrices on with diagonal entries and , respectively, and let . For any matrix-pair sequence , define as the supremum over effect sequences of
subject to , and define with the condition . The theorem asserts the extended-real equalities
The endpoints are included; an empty admissible set has supremum .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.