Definitions for The multi-mode quantum Entropy Power Inequality
DefinitionQAlgorithms_Papers_Independent_Advance50_P22The objects the formalized statements of The multi-mode quantum Entropy Power Inequality (arXiv:1408.6410) are stated in. Each was checked against the paper by a blind read-back and a moderator.
InterleavedCoordinateVector: PDF p.2, (5): real interleaved displacement coordinates.JointIndex: PDF p.2, (7): completed tensor-product number basis of K n-mode systems.independentInput: PDF p.2: independent subsystems, allowing all correlations within a subsystem.subsystemWeylTrace: PDF pp.2,4, (25): full joint characteristic trace, not just first moments.Scattering: PDF pp.2,4, (7),(8),(26): the exact noiseless Gaussian scattering channel. The CPTP map acts on the entire joint trace class, including correlated inputs. Its complete Weyl action, together with the CCR constraint, specifies the actual Gaussian channel equivalently to the scattering dilation, not merely its means. No energy preservation, gauge symmetry, or invertibility of individual blocks.determinantWeight: PDF p.3, (9): absolute determinant weight; singular blocks have weight zero.inputNoise: PDF p.3, (12): inverses are evaluated only for nonsingular blocks.translateDensity: PDF p.3, (13): D_x=exp(i x^T Delta^{-1} R), with physical mean shift +x. The coherent amplitude is (x_Q+i x_P)/sqrt(2).anisotropicHeat: PDF pp.3,5, (11)--(14): the additive-noise semigroup itself, as a convergent Gaussian average of displacement conjugations. Used only for positive-definite gamma or gamma=0, exactly the input/output noises occurring in this paper. At t=0 or gamma=0 it is the identity. The classical displacement covariance is tgamma/2, hence the quantum full-anticommutator covariance increment is tgamma.displacementDivergence: PDF p.4, (19): the displacement relative-entropy function, extended-valued.MatrixFisherRegular: PDF p.4, (19): finite neighborhood and genuine twice Frechet differentiability. No default derivative or conversion of infinite relative entropy is accepted.matrixFisher: PDF p.4, (19): the entire displacement Hessian on MatrixFisherRegular.evolvedInputEntropyNats: PDF p.3, (15): real finite-entropy input along its explicitly defined flow.EntropyClocks: PDF p.3, (15): the clock equations, including the right derivative at zero. Existence, time divergence, and lower bounds are conclusions, not fields here.outputTime: PDF p.4, (17): local output time, including the all-zero-weight case.evolvedInputs: PDF pp.3--4: actual independent evolved inputs at arbitrary local times.scatteringEntropyPowerRatio: PDF p.3, (10): finite-entropy rate evaluated on the physical output state.generalizedHusimi: PDF p.5, (30): overlap definition with denominator (2*pi)^n. The seed is the constructed centered Gaussian of physical covariance Gamma.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Next46_P17
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P49
/-!
De Palma, Mari, Lloyd and Giovannetti, arXiv:1408.6410v2.
Full completed number-basis spaces; no photon cutoff. Covariances are full
anticommutators with [Q,P]=i, interleaved coordinates, vacuum covariance I.
Accepted paper imports are pinned library modules. All new definitions are local.
Reuse audit: the frozen same-short-name declarations are different interfaces.
Dependency50.P10.Phase is a grouped index, not real interleaved coordinates;
Support50.P29.jointCharacteristic is a reflected bipartite Weyl pairing;
Frontier18.P14.displace acts on two-mode vectors, not n-mode density kernels;
Gap20.P04.inputEntropy is conditional finite-register entropy in bits;
Next46.P27.entropyRate and Gap20.P07.QuantumSource.entropyRate are respectively
an infinitesimal entropy rate and a block-source entropy rate. Distinct local
names below retain this paper's actual formulas; none is an exact reuse.
Printed Eq.(6) omits i. Changed: use [Q,P]=i, as fixed by the physical
uncertainty condition Gamma >= ± i Delta on p.5 and by the Weyl formulas.
Independent moderation of this source correction is pending.
Eq.(20) is explicitly deferred. Source corrections and finite derivative domains
are recorded in the accompanying audit. Compilation is pending batch handoff.
-/
noncomputable section
open Filter MeasureTheory
open scoped BigOperators ENNReal Topology
namespace QAlgorithms.Papers.Independent.Advance50.P22
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Dependency50.P33
(State IsDensity IsTraceClassChannel)
open QAlgorithms.Papers.Independent.Frontier18.P07
(extendedEntropyNats extendedRelativeEntropyNats)
open QAlgorithms.Papers.Independent.Claimed50.P19
(FockIndex DensityKernel Cov PhysicalCovariance FiniteMeanEnergy
productWeyl weylArgument multimodeWeylTrace)
open QAlgorithms.Papers.Independent.Frontier30.P08
(QuadratureIndex interleavedSymplecticForm)
open QAlgorithms.Papers.Independent.Next46.P17
(bosonicEntropyPower conjugateCoefficient firstMoments quadratureCovariance
gaussianCoefficient gaussification)
open QAlgorithms.Papers.Independent.Information100.P49 (symplecticEntropy)
/-- PDF p.2, (5): real interleaved displacement coordinates. -/
abbrev InterleavedCoordinateVector (n : ℕ) := QuadratureIndex n → ℝ
/-- PDF p.2, (7): completed tensor-product number basis of K n-mode systems. -/
abbrev JointIndex (n K : ℕ) := Fin K → FockIndex n
/-- PDF p.2: independent subsystems, allowing all correlations within a subsystem. -/
def independentInput {n K : ℕ} (rho : Fin K → DensityKernel n) :
Matrix (JointIndex n K) (JointIndex n K) ℂ :=
fun i j => ∏ a, rho a (i a) (j a)
/-- PDF pp.2,4, (25): full joint characteristic trace, not just first moments. -/
def subsystemWeylTrace {n K : ℕ}
(X : Matrix (JointIndex n K) (JointIndex n K) ℂ)
(k : Fin K → InterleavedCoordinateVector n) : ℂ :=
∑' i, ∑' j, X i j * ∏ a, productWeyl (weylArgument (k a)) (j a) (i a)
/-- PDF pp.2,4, (7),(8),(26): the exact noiseless Gaussian scattering channel.
The CPTP map acts on the entire joint trace class, including correlated inputs.
Its complete Weyl action, together with the CCR constraint, specifies the actual
Gaussian channel equivalently to the scattering dilation, not merely its means.
No energy preservation, gauge symmetry, or invertibility of individual blocks.
-/
structure Scattering (n K : ℕ) where
block : Fin K → Cov n
ccr : (∑ a, block a * interleavedSymplecticForm n * (block a).transpose) =
interleavedSymplecticForm n
channel : Matrix (JointIndex n K) (JointIndex n K) ℂ → DensityKernel n
cptp : IsTraceClassChannel channel
weyl : ∀ (rho : State (JointIndex n K)) (q : InterleavedCoordinateVector n),
multimodeWeylTrace (channel rho.coefficients) q =
subsystemWeylTrace rho.coefficients (fun a => (block a).transpose.mulVec q)
/-- PDF p.3, (9): absolute determinant weight; singular blocks have weight zero. -/
def determinantWeight {n : ℕ} (M : Cov n) : ℝ := |M.det| ^ (1 / (n : ℝ))
/-- PDF p.3, (12): inverses are evaluated only for nonsingular blocks. -/
def inputNoise {n : ℕ} (M : Cov n) : Cov n :=
if M.det = 0 then 0 else determinantWeight M • (M⁻¹ * (M⁻¹).transpose)
/-- PDF p.3, (13): D_x=exp(i x^T Delta^{-1} R), with physical mean shift +x.
The coherent amplitude is (x_Q+i x_P)/sqrt(2). -/
def translateDensity {n : ℕ} (x : InterleavedCoordinateVector n) (rho : DensityKernel n) : DensityKernel n :=
conjugateCoefficient
(productWeyl (fun j => ((x (j, 0) : ℂ) + Complex.I * (x (j, 1) : ℂ)) /
(Real.sqrt 2 : ℂ))) rho
/-- PDF pp.3,5, (11)--(14): the additive-noise semigroup itself, as a convergent
Gaussian average of displacement conjugations. Used only for positive-definite
gamma or gamma=0, exactly the input/output noises occurring in this paper.
At t=0 or gamma=0 it is the identity. The classical displacement covariance is
t*gamma/2, hence the quantum full-anticommutator covariance increment is t*gamma.
-/
def anisotropicHeat {n : ℕ} (gamma : Cov n) (t : ℝ)
(rho : DensityKernel n) : DensityKernel n :=
if 0 < t ∧ gamma.PosDef then fun i j =>
∫ x : InterleavedCoordinateVector n,
(((Real.pi * t) ^ n * Real.sqrt gamma.det)⁻¹ *
Real.exp (-(∑ r, ∑ s, x r * gamma⁻¹ r s * x s) / t) : ℝ) •
translateDensity x rho i j
else rho
/-- PDF p.4, (19): the displacement relative-entropy function, extended-valued. -/
def displacementDivergence {n : ℕ} (rho : DensityKernel n) (x : InterleavedCoordinateVector n) : ℝ≥0∞ :=
extendedRelativeEntropyNats rho (translateDensity x rho)
/-- PDF p.4, (19): finite neighborhood and genuine twice Frechet differentiability.
No default derivative or conversion of infinite relative entropy is accepted. -/
def MatrixFisherRegular {n : ℕ} (rho : DensityKernel n) : Prop :=
(∀ᶠ x in 𝓝 (0 : InterleavedCoordinateVector n), displacementDivergence rho x ≠ ⊤) ∧
(∀ᶠ x in 𝓝 (0 : InterleavedCoordinateVector n),
DifferentiableAt ℝ (fun y => (displacementDivergence rho y).toReal) x) ∧
DifferentiableAt ℝ
(fderiv ℝ (fun y => (displacementDivergence rho y).toReal)) (0 : InterleavedCoordinateVector n)
/-- PDF p.4, (19): the entire displacement Hessian on MatrixFisherRegular. -/
def matrixFisher {n : ℕ} (rho : DensityKernel n) : Cov n :=
fun i j => fderiv ℝ
(fderiv ℝ (fun y => (displacementDivergence rho y).toReal)) (0 : InterleavedCoordinateVector n)
(Pi.single i 1) (Pi.single j 1)
/-- PDF p.3, (15): real finite-entropy input along its explicitly defined flow. -/
def evolvedInputEntropyNats {n K : ℕ} (M : Fin K → Cov n)
(rho : Fin K → DensityKernel n) (a : Fin K) (t : ℝ) : ℝ :=
(extendedEntropyNats (anisotropicHeat (inputNoise (M a)) t (rho a))).toReal
/-- PDF p.3, (15): the clock equations, including the right derivative at zero.
Existence, time divergence, and lower bounds are conclusions, not fields here. -/
def EntropyClocks {n K : ℕ} (M : Fin K → Cov n)
(rho : Fin K → DensityKernel n) (clock : Fin K → ℝ → ℝ) : Prop :=
∀ a, clock a 0 = 0 ∧ ∀ tau : ℝ, 0 ≤ tau →
0 ≤ clock a tau ∧ HasDerivWithinAt (clock a)
(Real.exp (evolvedInputEntropyNats M rho a (clock a tau) / (n : ℝ))) (Set.Ici 0) tau
/-- PDF p.4, (17): local output time, including the all-zero-weight case. -/
def outputTime {n K : ℕ} (M : Fin K → Cov n) (times : Fin K → ℝ) : ℝ :=
∑ a, determinantWeight (M a) * times a
/-- PDF pp.3--4: actual independent evolved inputs at arbitrary local times. -/
def evolvedInputs {n K : ℕ} (M : Fin K → Cov n)
(rho : Fin K → DensityKernel n) (times : Fin K → ℝ) : Fin K → DensityKernel n :=
fun a => anisotropicHeat (inputNoise (M a)) (times a) (rho a)
/-- PDF p.3, (10): finite-entropy rate evaluated on the physical output state. -/
def scatteringEntropyPowerRatio {n K : ℕ} (C : Scattering n K)
(rho : Fin K → DensityKernel n) (times : Fin K → ℝ) : ℝ :=
(∑ a, determinantWeight (C.block a) *
Real.exp (evolvedInputEntropyNats C.block rho a (times a) / (n : ℝ))) /
Real.exp ((extendedEntropyNats
(C.channel (independentInput (evolvedInputs C.block rho times)))).toReal / (n : ℝ))
/-- PDF p.5, (30): overlap definition with denominator (2*pi)^n.
The seed is the constructed centered Gaussian of physical covariance Gamma. -/
def generalizedHusimi {n : ℕ} (Gamma : Cov n) (rho : DensityKernel n)
(x : InterleavedCoordinateVector n) : ℝ :=
((2 * Real.pi) ^ n)⁻¹ *
(∑' i, ∑' j, rho i j * translateDensity x (gaussianCoefficient Gamma 0) j i).re
example {n : ℕ} (rho : DensityKernel n) (i j : FockIndex n) :
independentInput (fun _ : Fin 1 => rho) (fun _ => i) (fun _ => j) = rho i j := by
simp [independentInput, Fin.prod_univ_succ]
example {n : ℕ} (rho : DensityKernel n) (h : MatrixFisherRegular rho) :
∀ᶠ x in 𝓝 (0 : InterleavedCoordinateVector n), displacementDivergence rho x ≠ ⊤ := h.1
example {n : ℕ} (Gamma : Cov n) (x : InterleavedCoordinateVector n) :
generalizedHusimi Gamma (0 : DensityKernel n) x = 0 := by
simp [generalizedHusimi]
example {n : ℕ} (M : Cov n) (h : M.det = 0) : inputNoise M = 0 := by
simp [inputNoise, h]
example {n : ℕ} (rho : DensityKernel n) (gamma : Cov n) :
anisotropicHeat gamma 0 rho = rho := by simp [anisotropicHeat]
example {n : ℕ} (rho : DensityKernel n) (gamma : Cov n) (t : ℝ)
(h : ¬ gamma.PosDef) : anisotropicHeat gamma t rho = rho := by
simp [anisotropicHeat, h]
example {n K : ℕ} (M : Fin K → Cov n) : outputTime M 0 = 0 := by
simp [outputTime]
example : symplecticEntropy 1 = 0 := by
simp [QAlgorithms.Papers.Independent.Information100.P49.symplecticEntropy,
QAlgorithms.Papers.Independent.Information100.P49.thermalEntropy]
end QAlgorithms.Papers.Independent.Advance50.P22
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P22.EntropyClocks
For arbitrary natural numbers , real matrices on , complex matrices on , and real functions , indexed by , this predicate means that every satisfies
The derivative is taken within , so at it is a right derivative; there is no requirement at negative . Here
with the integral taken entry by entry. Translation means , where
For a matrix on ,
where and is the total continuous functional calculus of the total real logarithm, with and for negative . The conversion sends to ; thus infinite entropy makes the displayed derivative equal to . No density or normalization hypotheses are imposed on the input matrices. Complex sums and Bochner integrals use value when not summable or not integrable. If , the predicate is vacuously true. If , division by is , so the required derivative is at every .
QAlgorithms.Papers.Independent.Advance50.P22.InterleavedCoordinateVector
For every natural number , this abbreviates the real vector space of functions , with coordinates and for each . Thus there are coordinates, indexed in pairs. The case is included: the coordinate set is empty and there is exactly one such function, the zero vector.
QAlgorithms.Papers.Independent.Advance50.P22.JointIndex
For all natural numbers and , this abbreviates the set of functions assigning to every a function . Equivalently, an index is an array of natural numbers indexed by and , with no upper bound on its entries. If either or , this index set has exactly one element.
QAlgorithms.Papers.Independent.Advance50.P22.MatrixFisherRegular
For every natural number and every complex matrix on , this is the following regularity condition at the zero vector of , where . Define
with
For finite , restrict to matrices and set
where is the total real continuous functional calculus for , and conversion to a real number sends a finite value to itself and to . The condition requires that be finite throughout some neighborhood of , that be differentiable over at every point of some neighborhood of , and that the function , taking values in continuous real linear maps, itself be differentiable at . The two neighborhoods need not initially be the same. No density or positivity assumption on is part of this condition; the nested sums use zero for nonsummable complex families, and the supremum includes the empty finite set. For , the domain consists only of zero, is zero, and the condition holds.
QAlgorithms.Papers.Independent.Advance50.P22.Scattering
For arbitrary natural numbers , write , , and . An object of this structure consists of real matrices on , one for each , and a function from complex matrices on to complex matrices on , together with the following requirements. First,
Second, preserves trace-class matrices and is additive and complex homogeneous on them: whenever are trace class, and whenever and is trace class. Here a matrix on an index set is trace class precisely when there exist sequences with and for all . For every natural number and every density matrix on , the matrix
must be a density matrix on . On any index set , a density matrix means a trace-class matrix such that, for every finite and every , is real and nonnegative, the family is summable, and its sum is ; a state is such a matrix together with these properties. Finally, for every state on and every ,
where
These nested sums carry no additional summability requirement and use the totalized complex sum, which is zero for a nonsummable family. No positivity or invertibility condition is separately imposed on the . The parameters may be zero: for and the first requirement is impossible because it asserts ; for it is an equality of empty matrices. The requirement involving is vacuous because there is no density matrix on the empty index set.
QAlgorithms.Papers.Independent.Advance50.P22.anisotropicHeat
For every natural number , every real matrix on , every real , and every complex matrix on , this defines unless both and is positive definite. When both conditions hold, its entries are
with Lebesgue measure in the real coordinates, where
and
There is no assumption that is a density matrix or that the displayed sums and integrals are convergent: nonsummable complex families have totalized sum zero, and the Bochner integral is zero when its integrand is not integrable. In particular, every , and every that is not positive definite, gives exactly the input matrix. The case is included, with empty products equal to , empty quadratic sum zero, and empty determinant .
QAlgorithms.Papers.Independent.Advance50.P22.determinantWeight
For every natural number and every real matrix indexed by in both directions, this defines the real number
using real exponentiation and real division. There is no symmetry, positivity, or invertibility assumption. When and , the value is . When , the matrix is empty, its determinant is , and the totalized division makes the value .
QAlgorithms.Papers.Independent.Advance50.P22.displacementDivergence
For every natural number , every complex matrix on , and every real vector indexed by , this defines a value as follows. Form the matrix with
where
For every finite subset , let and be the restrictions of and to rows and columns in . Then
where finite nonnegative real values are viewed in , the kernels are those of matrix multiplication on complex column vectors, and denotes applying the total real continuous functional calculus for the function to . No positivity, normalization, trace-class, or summability assumption is imposed on . The nested sums use zero for nonsummable complex families; the supremum includes the empty subset, whose contribution is zero. The case is included: there is only the zero displacement, translation leaves unchanged, and the divergence is zero.
QAlgorithms.Papers.Independent.Advance50.P22.evolvedInputEntropyNats
For arbitrary natural numbers , a family of real matrices indexed by , a family of complex matrices indexed by , an index , and , this definition assigns the real number
Here unless both and is positive definite; when both conditions hold, its entries are
The translation is , where
For any matrix on a label set , the extended nonnegative number is
where is the principal submatrix on , , and is the total continuous functional calculus for the real logarithm. The real logarithm has and for . The map takes a finite extended nonnegative number to its real value and takes to . No density, positivity, normalization, or convergence assumptions are imposed on . Complex sums and Bochner integrals are total, taking value when not summable or not integrable, respectively. Neither nor is required to be positive: if there is no possible index , and if the exponent is under total real division.
QAlgorithms.Papers.Independent.Advance50.P22.evolvedInputs
For arbitrary natural numbers , real matrices on , complex matrices on , and arbitrary real times , indexed by , this definition returns the family , where
The integral is entrywise, and
with
No density, normalization, positivity, or convergence condition is imposed on the input matrices. The infinite complex sums and Bochner integrals take value when not summable or not integrable. In particular, leaves that input unchanged; for , a singular also leaves it unchanged. The definition includes , with total division , and , when the returned family is empty.
QAlgorithms.Papers.Independent.Advance50.P22.generalizedHusimi
For every natural number , arbitrary real matrix on , arbitrary complex matrix on , and real coordinate vector , this definition assigns
Here
where and . The displacement matrix used in these formulas is
The integral uses Euclidean volume and is taken entrywise. No symmetry, positive definiteness, physical covariance condition, or density condition is imposed on or , and no integrability or summability is required. Complex sums and Bochner integrals have their total value when not summable or not integrable. The case is included: the coordinate index set is empty, the Fock index set has one element, and all finite products and the factors equal .
QAlgorithms.Papers.Independent.Advance50.P22.independentInput
For arbitrary natural numbers and a family of complex matrices whose rows and columns are indexed by , this defines a complex matrix on arrays and by
No positivity, normalization, trace-class, or summability condition is imposed on the input matrices. For , the row and column index sets are singletons and the sole entry is the empty product . For , each input matrix has one entry, and the output has the single entry equal to the product of those entries.
QAlgorithms.Papers.Independent.Advance50.P22.inputNoise
For every natural number and every real matrix indexed by , this defines the real matrix
The exponent is a real exponent and uses real division. No assumptions on are required; in particular, a singular matrix is explicitly assigned the zero matrix. When , and , so the second branch applies and returns the unique empty matrix.
QAlgorithms.Papers.Independent.Advance50.P22.matrixFisher
For every natural number and every complex matrix on , this defines a real matrix indexed by . To specify it, set
where
For each finite , let be the restrictions of to , and define
Here is the total real continuous functional calculus for , and equals when finite and equals when . If is at and elsewhere, the defined entry is
where both derivatives are Fréchet derivatives over . No differentiability, finiteness, density, or regularity hypothesis is required to define this matrix: each Fréchet derivative uses the totalized value zero at a point where its function is not differentiable. The nested complex sums likewise use zero for nonsummable families, and the supremum includes the empty finite set. When , the resulting matrix is empty.
QAlgorithms.Papers.Independent.Advance50.P22.outputTime
For arbitrary natural numbers , a family of real matrices indexed by , and arbitrary real numbers , indexed by , this definition assigns
The power is a real power, and no nonnegativity is required of the times. For , a singular matrix contributes weight . If , the sum is . If , each matrix is empty, its determinant is , total division gives , and every weight is , so the result is .
QAlgorithms.Papers.Independent.Advance50.P22.scatteringEntropyPowerRatio
For arbitrary natural numbers , a scattering datum , complex input matrices on , and arbitrary real times , indexed by , this definition assigns
Here and are the blocks and matrix map supplied by , and , with if and otherwise. On ,
where and
The entropy used here is
for a matrix on , where , is the total continuous functional calculus, and the real logarithm has and for . The conversion sends to . To specify the assumptions contained in , write and . Its real blocks satisfy . A matrix on any label set is called nuclear here if for with ; it is a density matrix here if it is nuclear, every finite quadratic form is real and nonnegative, and its real diagonal is summable with sum . The map sends nuclear matrices on to nuclear matrices on , is additive on pairs of nuclear matrices, is complex homogeneous on nuclear matrices, and, for every and density matrix on , makes the matrix
a density matrix; the case admits no such . Finally, for every density matrix on and every real , requires
where each double infinite sum is nested in the displayed index order. The supplied themselves need not be density matrices, and the times need not be nonnegative. Complex sums and Bochner integrals use their total value when not summable or not integrable. The denominator is always a positive real number. If , total division by gives , all weights are , and the ratio is ; if , it is whenever such a scattering datum exists.
QAlgorithms.Papers.Independent.Advance50.P22.subsystemWeylTrace
For arbitrary natural numbers , put and . Given any complex matrix on and real coordinate vectors for , this defines the complex number
where, for natural numbers and ,
The infinite sums are nested in the displayed order, with no summability hypothesis; a nonsummable complex family has totalized sum zero. Empty products equal . In particular, if or , is a singleton and the value is the sole entry of .
QAlgorithms.Papers.Independent.Advance50.P22.translateDensity
For every natural number , every real vector indexed by , and every complex matrix on , this defines a complex matrix by
where
No density, positivity, trace-class, or convergence condition on is required. The two infinite sums are nested in the displayed order, using zero for a nonsummable complex family. If , is a singleton, the product defining is , and the result is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.