§3, Eqs. (17),(18),(22): actual Gaussian relative entropy from CM and EM
OpenQAlgorithms.Papers.Independent.Intakenext100.P46.gaussian_relativeEntropyLet and be centered Gaussian density operators on a positive finite number of complete bosonic modes. Use any split into two registers; either register may be empty, so single-mode states are included. The input covariance is and may have pure modes. Suppose the covariance of is , with symplectic and every . Put , , and . The input spectral entropy is finite. The reciprocal partition function is
The independently defined operator divergence satisfies
All logarithms are natural. This evaluates the actual divergence rather than defining it through covariances. If are the symplectic eigenvalues of the input covariance, the independently defined spectral entropy also satisfies
The conclusion identifies the comparison density with its actual normalized Gibbs exponential, rather than assigning an exponential-matrix label only to its covariance.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P46
noncomputable section
namespace QAlgorithms.Papers.Independent.Intakenext100.P46
open scoped BigOperators ENNReal ComplexOrder Matrix
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33 (State IsSeparable)
open QAlgorithms.Papers.Independent.Dependency50.P13
(finiteRelativeEntropy compression entropyWeight)
open QAlgorithms.Papers.Independent.Claimed50.P47
(Occupation bipartiteCharacteristic bipartiteWeyl gaussianStateCharacteristic)
-- These accepted definitions have the same completed Hilbert-space meaning.
open QAlgorithms.Papers.Independent.Next46.P13 (coordinateBasis)
open QAlgorithms.Papers.Independent.Frontier18.P18 (operatorCoeff boundedOperator)
open QAlgorithms.Papers.Independent.Claimed50.P41 (IsDiagonal)
/-- Chen, PDF pp.4–5, (17),(18),(22): actual operator relative entropy equals
the CM/EM expression, including a single mode (one register may be empty).
rho may have pure normal modes. sigma alone is in the
finite exponential chart. The actual Gibbs density and Gaussian spectral entropy
are identified, and both the matrix trace and the normal-mode sum are given. -/
theorem gaussian_relativeEntropy {A B : Type} [Fintype A] [Fintype B]
[Nonempty (A ⊕ B)]
(rho sigma : State (Occupation A × Occupation B))
(alpha : ModeMatrix (A ⊕ B)) (S : ModeMatrix (A ⊕ B)) (g : (A ⊕ B) → ℝ)
(hrho : HasGaussian rho 0 alpha) (hS : IsSymplecticMatrix S)
(hg : ∀ j, 1 / 2 < g j)
(hsigma : HasGaussian sigma 0 (S * normalDiagonal g * S.transpose)) :
let M := emFrom S g
let c := normalization g
let beta := S⁻¹ * alpha * S.transpose⁻¹
densityEntropy rho < ⊤ ∧ HasFiniteEM (joinedCoefficients sigma.coefficients) M ∧
(∃ (Sr : ModeMatrix (A ⊕ B)) (gr : (A ⊕ B) → ℝ),
IsSymplecticMatrix Sr ∧ (∀ j, 1 / 2 ≤ gr j) ∧
alpha = Sr * normalDiagonal gr * Sr.transpose ∧
densityEntropy rho = ENNReal.ofReal (∑ j, bosonic (gr j - 1 / 2))) ∧
0 < c ∧
c = ∏ j, (Real.sqrt ((g j) ^ 2 - 1 / 4))⁻¹ ∧
operatorRelativeEntropy rho sigma = ENNReal.ofReal
(- (densityEntropy rho).toReal + covarianceObjective alpha M c) ∧
operatorRelativeEntropy rho sigma = ENNReal.ofReal
(- (densityEntropy rho).toReal - ∑ j, Real.log (2 * Real.sinh (modeEM (g j) / 2)) +
(∑ j, (beta (Sum.inl j) (Sum.inl j) +
beta (Sum.inr j) (Sum.inr j)) * modeEM (g j)) / 2) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P46
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be finite types such that is nonempty; either or individually may be empty. Write , , on , and . Let be states indexed by . Here a state is a complex coefficient matrix admitting sequences with and , whose every finite quadratic form is real and nonnegative, and whose real diagonal is summable with sum . Let be real matrices indexed by , and let . Assume is invertible and , and for every . Assume and have centered Gaussian characteristics with covariance matrices and , respectively: each covariance is symmetric with positive semidefinite, and, for every real , the coefficient sums defining the characteristic are summable, including each inner sum, and satisfy
Here occupations are joined across , , and the displacement coefficients used in this formula are
For a coefficient matrix , let be a chosen bounded operator on having matrix , or the zero operator if no such bounded operator exists. Define its entropy and the relative entropy of two states by
where is regarded as an extended nonnegative real, the functions of operators use continuous functional calculus, and
The supremum includes the empty orthonormal family . Put
Then , and the joined coefficient matrix has the following finite exponential-matrix representation: it is a density matrix in the coefficient sense above, and there exist an invertible real with , positive numbers , and a surjective complex linear isometry of , such that
where , and, writing , the conjugation here literally means . Moreover, there exist an invertible real and satisfying
Finally, all of the following hold:
Here is the real value of the finite extended entropy, is the real natural logarithm, and its total-function convention includes , so the entropy formula allows .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.