Exact Pauli/binomial information spectrum
OpenQAlgorithms.Papers.Independent.Advance50.P02.pauli_binomial_spectrumAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. For the Pauli example let and . The nontrivial NS arrays are and . Additional zero- entries do not affect the spectrum; the reference is not normalized here. For , define with , and . Then
At the spectrum is . For , the cutoff changes from to at . The formula permits exact finite-block evaluation.
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]
/-- Appendix A, PDF pp.24--25: exact spectrum with strict positive-p branch and
p=0 treated separately. For n=1 the atom boundary is epsilon=1-p, as follows
from the displayed Bernoulli rescaling (the plan's epsilon=p check was incorrect). -/
theorem pauli_binomial_spectrum (p e : ℝ) (hp : 0 ≤ p ∧ p < 1/2)
(he : 0 ≤ e ∧ e < 1) (n : ℕ) :
(p = 0 → classicalSpectrumDivergence e (weightPower n (pauliP p)) (weightPower n (pauliQ p)) =
((-(n : ℝ) : ℝ) : EReal)) ∧
(0 < p → classicalSpectrumDivergence e (weightPower n (pauliP p)) (weightPower n (pauliQ p)) =
(((binomialCutoff n p e : ℝ)*logTwo ((1-p)/p) +
n*logTwo (1/(2*(1-p))) : ℝ) : EReal)) := 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 all real numbers satisfying and , and every natural number , including zero, define functions on by and , and define their product weights on words by and . Write , using the total real logarithm, for which , and define the extended-real quantity
Then both implications hold:
where is the largest with , defaulting to if that set is empty. All displayed finite values are regarded as extended real numbers. Empty products equal ; in particular, when , the asserted value is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.