Two-sided iid quantum hypothesis-testing expansion
OpenQAlgorithms.Papers.Independent.Advance50.P02.testing_iid_secondOrderAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. Let be a normalized quantum state and a comparison operator on the same space, with . Fix . Let and be the centered information variance, and let denote the standard normal quantile. There are constants and , depending only on this fixed pair and error, such that for every ,
The statement includes , singular states and unnormalized comparisons. It supplies the full two-sided logarithmic-remainder testing interface.
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]
/-- Eq.(34), PDF pp.6,19: full support domain, singular rho and unnormalized sigma,
including V=0. Two-sided constants precede n. Source correction. Printed: Definition 1 p.7 prints V=Tr rho(log rho-log sigma)^2; p.19 prints Gaussian density exp(+x^2/2).
Changed: Use centered V=Tr rho(log rho-log sigma)^2-D^2 and the standard normal density exp(-x^2/2).
Why: Section VI identifies s^2 as Var(Z) and uses the standard normal Berry–Esseen theorem. For pure rho and sigma=I/d the likelihood is constant, hence V=0 even when D=log2(d) is nonzero. -/
theorem testing_iid_secondOrder (rho sigma : Mat I) (hrho : QAlgorithms.IsDensityMatrix rho)
(hsigma : sigma.PosSemidef) (hsupport : SupportIncluded rho sigma)
(e : ℝ) (he : 0 < e ∧ e < 1) :
LogarithmicRemainder
(fun n => extendedTestingDivergence e (tensorPower n rho) (tensorPower n sigma))
(fun n => gaussianCenter n (relativeMean rho sigma) (centeredRelativeVariance rho sigma) e) := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For any finite index type with decidable equality, any positive semidefinite complex matrix of trace , any positive semidefinite complex matrix satisfying , and any real , put
Matrix logarithms here use spectral functional calculus with the total scalar convention . Write , and let , where . For , let be the real infimum of over , , and ; define if , and otherwise. There exist a real and a natural number such that every natural satisfies
These inequalities are in the extended reals. No trace normalization of or strict positivity of is assumed, and the bound makes no assertion for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.