Definitions for Strong converse for the classical capacity of optical quantum communication channels
DefinitionQAlgorithms_Papers_Independent_Gap48_P34The objects the formalized statements of Strong converse for the classical capacity of optical quantum communication channels (arXiv:1401.4161) are stated in. Each was checked against the paper by a blind read-back and a moderator.
ModeState: PDF pp.6--7: normalized positive trace-class states, with no energy, Gaussianity, diagonality, product-state, or finite-support restriction.blockCharacteristic: PDF p.3, (6): symmetrically ordered full Weyl characteristic function. The displacement is the accepted normal-ordered oscillator displacement, with vacuum characteristic exp(-sum |z_j|^2/2), hence vacuum covariance I.OpticalChannel: PDF pp.3--4, (5)--(7): the actual phase-insensitive CPTP channel and its identical independent block uses. The complete characteristic law on ALL states fixes the block maps, including their action on entangled inputs; this is not a condition only on Gaussian means or covariance matrices. CPTP means linearity on trace class, trace preservation, and positivity of all finite ancillary matrix amplifications. No optimizer fact is assumed.noiseEnergy: PDF p.5, (18): noise photons produced by the vacuum; not a free energy.outputEnergy: PDF p.5, (18): output photons for thermal input of mean NS.thermalRenyi: PDF p.12, (79): exact thermal Renyi entropy. Used only for alpha>1 and x>=0, where (x+1)^alpha-x^alpha is strictly positive.renyiV: PDF p.13, (84): the printed conservative v, not the exact (81). For x>=0, A=(x+1)^(3/2)-x^(3/2)>=1 and 0<B=sqrt(x+1)-sqrt(x)<=1, so A^2+B^(-2)+1 bounds A^(-1)+B^(-1)+1.renyiK: PDF p.13, (87): K depends only on the actual vacuum output energy.VanishingTail: PDF p.7, (31)--(32): a nonnegative decreasing tail tending to zero. No exponential speed or first-moment bound is part of this condition.photonCutoff: PDF p.6, (30): actual finite-rank number projector. Each coordinate is at most L, and the additional total restriction is sum_j a_j<=L. The Hilbert space on which it acts remains the full completed Fock space.cutoffMass: PDF p.7, (33): retained photon mass Tr(Pi_L rho).OpticalCode: PDF pp.6--7,10: positive message count, arbitrary normalized block codewords, and a fixed normalized collective decoding POVM. Messages are uniform. No reference entanglement, feedback, or input-dependent decoder is included.successProbability: PDF p.10, (65): ordinary average decoding success for a uniform message.photonOccupationConstraint: PDF p.7, (32): constraint on the average state, equivalently the average of the retained masses. No messagewise constraint is imposed.gentleError: PDF pp.10,12, (65),(67),(77): the entire loss is under the outer root.StrongConverseAt: PDF pp.2,12: operational strong converse at a specified threshold. Family index k denotes blocklength k+1, thereby including every positive blocklength. Any eventually uniformly above-threshold rate is allowed; codebooks may vary arbitrarily with blocklength and may contain entanglement.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P30
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P30
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P24
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P54
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P08
/-!
Bardhan, Garcia-Patron, Wilde and Winter, arXiv:1401.4161v3.
Full oscillator spaces, ordinary unassisted classical codes, and bit entropies.
All local definitions have bodies. No Gaussian optimizer or concentration
conclusion is a field of the channel or code definitions.
Source corrections: Lemma 1 uses ceil(n*(NSprime+s)), following (50)--(59),
rather than the printed ceil(n*NSprime+delta2). Theorem 1 and Corollary 1
absorb photon slack and finite rank overhead into an arbitrary positive entropy
slack; a vanishing remainder is enlarged on a finite initial segment.
The printed conservative K in (84),(87) is retained without the false equality
of (84) with (81). Unconditional exponential decay in the abstract is deferred.
Compilation and independent moderation are pending the pipeline handoff.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Gap48.P34
open Filter
open scoped BigOperators Topology
open QAlgorithms.Papers.Independent.Renew46.P30
(HilbertDensity nuclearExpansionTrace mixedLikelihood
TraceClassCPTP multiKet multiDisplacement)
open QAlgorithms.Papers.Independent.Claimed50.P30 (ModeOperator)
open QAlgorithms.Papers.Independent.Dependency50.P24 (logBits)
open QAlgorithms.Papers.Independent.Information100.P54 (thermalEntropy)
open QAlgorithms.Papers.Independent.Claimed50.P08 (codeRate)
attribute [local instance] Classical.propDecidable
attribute [local instance] Classical.decEq
/-- PDF pp.6--7: normalized positive trace-class states, with no energy,
Gaussianity, diagonality, product-state, or finite-support restriction. -/
abbrev ModeState (n : ℕ) := {rho : ModeOperator n // HilbertDensity rho}
/-- PDF p.3, (6): symmetrically ordered full Weyl characteristic function.
The displacement is the accepted normal-ordered oscillator displacement,
with vacuum characteristic exp(-sum |z_j|^2/2), hence vacuum covariance I. -/
def blockCharacteristic {n : ℕ} (rho : ModeOperator n) (z : Fin n → ℂ) : ℂ :=
nuclearExpansionTrace (rho.comp (multiDisplacement z))
/-- PDF pp.3--4, (5)--(7): the actual phase-insensitive CPTP channel and
its identical independent block uses. The complete characteristic law on ALL
states fixes the block maps, including their action on entangled inputs;
this is not a condition only on Gaussian means or covariance matrices.
CPTP means linearity on trace class, trace preservation, and positivity of
all finite ancillary matrix amplifications. No optimizer fact is assumed. -/
structure OpticalChannel where
tau : ℝ
nu : ℝ
tau_nonneg : 0 ≤ tau
noise_valid : |tau - 1| ≤ nu
block : ∀ n : ℕ, ModeOperator n → ModeOperator n
block_cptp : ∀ n, TraceClassCPTP (block n)
characteristic_law : ∀ n (rho : ModeState n) (z : Fin n → ℂ),
blockCharacteristic (block n rho.val) z =
blockCharacteristic rho.val (fun j => (Real.sqrt tau : ℂ) * z j) *
(Real.exp (-nu * (∑ j, Complex.normSq (z j)) / 2) : ℂ)
/-- PDF p.5, (18): noise photons produced by the vacuum; not a free energy. -/
def noiseEnergy (P : OpticalChannel) : ℝ := (P.tau + P.nu - 1) / 2
/-- PDF p.5, (18): output photons for thermal input of mean NS. -/
def outputEnergy (P : OpticalChannel) (NS : ℝ) : ℝ := P.tau * NS + noiseEnergy P
/-- PDF p.12, (79): exact thermal Renyi entropy. Used only for alpha>1
and x>=0, where (x+1)^alpha-x^alpha is strictly positive. -/
def thermalRenyi (alpha x : ℝ) : ℝ :=
logBits ((x + 1) ^ alpha - x ^ alpha) / (alpha - 1)
/-- PDF p.13, (84): the printed conservative v, not the exact (81).
For x>=0, A=(x+1)^(3/2)-x^(3/2)>=1 and
0<B=sqrt(x+1)-sqrt(x)<=1, so A^2+B^(-2)+1 bounds A^(-1)+B^(-1)+1. -/
def renyiV (x : ℝ) : ℝ :=
((x + 1) ^ (3 / 2 : ℝ) - x ^ (3 / 2 : ℝ)) ^ (2 : ℕ) +
((Real.sqrt (x + 1) - Real.sqrt x) ^ (2 : ℕ))⁻¹ + 1
/-- PDF p.13, (87): K depends only on the actual vacuum output energy. -/
def renyiK (x : ℝ) : ℝ := 4 * (logBits (renyiV x)) ^ (2 : ℕ)
/-- PDF p.7, (31)--(32): a nonnegative decreasing tail tending to zero.
No exponential speed or first-moment bound is part of this condition. -/
def VanishingTail (delta : ℕ → ℝ) : Prop :=
(∀ n, 0 ≤ delta n) ∧ Antitone delta ∧ Tendsto delta atTop (nhds 0)
/-- PDF p.6, (30): actual finite-rank number projector. Each coordinate
is at most L, and the additional total restriction is sum_j a_j<=L.
The Hilbert space on which it acts remains the full completed Fock space. -/
def photonCutoff (n L : ℕ) : ModeOperator n :=
∑ a : Fin n → Fin (L + 1),
if (∑ j, (a j).val) ≤ L then
InnerProductSpace.rankOne ℂ (multiKet (fun j => (a j).val))
(multiKet (fun j => (a j).val))
else 0
/-- PDF p.7, (33): retained photon mass Tr(Pi_L rho). -/
def cutoffMass {n : ℕ} (rho : ModeOperator n) (L : ℕ) : ℝ :=
mixedLikelihood (photonCutoff n L) rho
/-- PDF pp.6--7,10: positive message count, arbitrary normalized block
codewords, and a fixed normalized collective decoding POVM. Messages are uniform.
No reference entanglement, feedback, or input-dependent decoder is included. -/
structure OpticalCode (n : ℕ) where
messages : ℕ
messages_pos : 0 < messages
encoder : Fin messages → ModeState n
decoder : Fin messages → ModeOperator n
decoder_positive : ∀ m, ContinuousLinearMap.IsPositive (decoder m)
decoder_complete : (∑ m, decoder m) = 1
/-- PDF p.12: use the imported scalar codeRate with d=messages-1.
The positive message count guarantees d+1=messages, so this is log2(M)/n. -/
example {n : ℕ} (C : OpticalCode n) : C.messages - 1 + 1 = C.messages := by
exact Nat.sub_add_cancel (Nat.succ_le_of_lt C.messages_pos)
/-- PDF p.10, (65): ordinary average decoding success for a uniform message. -/
def successProbability (P : OpticalChannel) {n : ℕ} (C : OpticalCode n) : ℝ :=
(∑ m, mixedLikelihood (C.decoder m) (P.block n (C.encoder m).val)) /
(C.messages : ℝ)
/-- PDF p.7, (32): constraint on the average state, equivalently the
average of the retained masses. No messagewise constraint is imposed. -/
def photonOccupationConstraint {n : ℕ} (C : OpticalCode n) (NS delta : ℝ) : Prop :=
1 - delta ≤ (∑ m, cutoffMass (C.encoder m).val ⌈(n : ℝ) * NS⌉₊) /
(C.messages : ℝ)
/-- PDF pp.10,12, (65),(67),(77): the entire loss is under the outer root. -/
def gentleError (delta1 delta3 : ℝ) : ℝ :=
2 * Real.sqrt (delta1 + 2 * Real.sqrt delta1 + delta3)
/-- PDF pp.2,12: operational strong converse at a specified threshold.
Family index k denotes blocklength k+1, thereby including every positive
blocklength. Any eventually uniformly above-threshold rate is allowed;
codebooks may vary arbitrarily with blocklength and may contain entanglement. -/
def StrongConverseAt (P : OpticalChannel) (NS threshold : ℝ) : Prop :=
∀ (codes : ∀ k : ℕ, OpticalCode (k + 1)) (delta1 : ℕ → ℝ),
VanishingTail delta1 →
(∀ k, photonOccupationConstraint (codes k) NS (delta1 (k + 1))) →
∀ R : ℝ, threshold < R →
(∀ᶠ k in atTop, R ≤ codeRate ((codes k).messages - 1) (k + 1)) →
Tendsto (fun k => successProbability P (codes k)) atTop (nhds 0)
/-- Sanity: vacuum entropy is zero with the continuous 0 log 0 convention. -/
example : thermalEntropy 0 = 0 := by
simp [thermalEntropy]
/-- Sanity: zero input/output tail has no gentle-measurement error. -/
example : gentleError 0 0 = 0 := by
norm_num [gentleError]
/-- Sanity: the identity-channel parameters produce no vacuum noise. -/
example (P : OpticalChannel) (ht : P.tau = 1) (hn : P.nu = 0) (NS : ℝ) :
outputEnergy P NS = NS := by
simp [outputEnergy, noiseEnergy, ht, hn]
/-- Sanity: the cutoff sum has the actual vacuum dyad when L=0;
Fin 1 has a unique value, and all n coordinates are consequently zero. -/
example (n : ℕ) : photonCutoff n 0 =
InnerProductSpace.rankOne ℂ (multiKet (0 : Fin n → ℕ)) (multiKet (0 : Fin n → ℕ)) := by
simp [photonCutoff] <;> rfl
end QAlgorithms.Papers.Independent.Gap48.P34
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Gap48.P34.ModeState
For every natural number , including , a mode state is a bounded complex-linear operator on satisfying three conditions: has a countable nuclear expansion, is positive, and its chosen-expansion trace is . Here a countable nuclear expansion consists of sequences such that converges and the operators sum to in operator norm; the chosen-expansion trace is , using the expansion selected by the definition. Positivity means that is self-adjoint and for every . When , the occupation-label set is a singleton, so is one-dimensional.
QAlgorithms.Papers.Independent.Gap48.P34.OpticalChannel
An optical channel is data consisting of real numbers with and , together with, for every natural number , a function from bounded complex-linear operators on to operators on the same space. Each is additive and complex-homogeneous on trace-class inputs, maps trace-class operators to trace-class operators while preserving their chosen-expansion trace, and preserves positivity of every finite operator block whose entries are trace-class: for every natural number and array , if all entries are trace-class and is real and nonnegative for every , the same holds after applying to every entry. Trace-class means admitting an operator-norm convergent expansion with ; its chosen-expansion trace is for the selected expansion, with trace defined as on operators having no such expansion. For every positive trace-class with chosen-expansion trace , and every , the data must satisfy
Here is a selected bounded operator with occupation-basis coefficients , or zero if no bounded operator has those coefficients, where
All these requirements include , and the block-positivity requirement includes an empty block. No relation between the functions for different is specified beyond their separate characteristic identities.
QAlgorithms.Papers.Independent.Gap48.P34.OpticalCode
For every natural number , an optical code consists of a positive natural number of messages, an encoded operator and a decoder operator on for each , such that each is positive and trace-class with chosen-expansion trace , each is positive, and . All these operators are bounded and complex-linear; positivity means self-adjointness and nonnegative quadratic forms. Trace-class means admitting an operator-norm convergent expansion with , and the normalization uses for the expansion selected by the trace definition. Decoder operators are not required to be trace-class. The case , where is one-dimensional, is included; is excluded.
QAlgorithms.Papers.Independent.Gap48.P34.StrongConverseAt
For an optical channel and arbitrary real numbers , this proposition asserts the following: for every sequence of optical codes on modes and every sequence that is nonnegative, nonincreasing, and converges to zero, if every satisfies
then, for every real , the additional condition that
implies
Here ; each code has , positive trace-class encoders of trace one, and positive bounded decoders summing to ; and . Trace class means existence of an operator-norm sum with summable ; uses the sum from a classically selected expansion, or zero if none exists. The channel supplies , , and maps , for all , that are complex linear on trace-class operators, preserve trace class and this trace, and preserve positive finite operator blocks with trace-class entries. They also satisfy
for every positive trace-class of trace one. The operator is selected to have matrix entries , or is zero if no bounded realization exists, where
The ceiling is a natural-number ceiling, hence zero for nonpositive arguments. No sign restriction is imposed on , or . Code block lengths start at one; the tail conditions also constrain . The rate is exactly , since the natural subtraction in loses nothing when .
QAlgorithms.Papers.Independent.Gap48.P34.VanishingTail
For a sequence , the vanishing-tail property means that for every natural number , that whenever , and that as . The nonnegativity and monotonicity conditions include the index , and the sequence identically equal to zero satisfies the property.
QAlgorithms.Papers.Independent.Gap48.P34.blockCharacteristic
For every natural number , every bounded complex-linear operator on , and every , the block characteristic is the complex number
For occupation labels , is a selected bounded operator with matrix coefficients , if any such bounded operator exists, and is the zero operator otherwise, where
The trace is for a selected expansion converging in operator norm with , and is defined to be if no such expansion exists. No positivity, normalization, or trace-class assumption is imposed on . The case is included, with the empty product of matrix coefficients equal to .
QAlgorithms.Papers.Independent.Gap48.P34.cutoffMass
For any natural number , any bounded complex-linear operator on , and any natural number , the cutoff mass is the real number
Here is the occupation-basis vector and its rank-one operator sends to . The chosen-expansion trace of is for a selected operator-norm convergent expansion satisfying , and is zero if no such expansion exists. No positivity or normalization is required of . The definition includes and , with the latter cutoff equal to the identity on .
QAlgorithms.Papers.Independent.Gap48.P34.gentleError
For arbitrary real numbers , this defines the real number
There are no sign assumptions on either argument. Both square roots are the total real square-root function, which equals zero on negative inputs; in particular, the outer square root is zero whenever its argument is nonpositive.
QAlgorithms.Papers.Independent.Gap48.P34.noiseEnergy
For any optical-channel datum , whose real parameters satisfy and , its noise energy is defined to be the real number
This definition depends only on these two parameters.
QAlgorithms.Papers.Independent.Gap48.P34.outputEnergy
For any optical-channel datum , with real parameters and , and any real number , its output energy at is defined by
There is no assumption that is nonnegative.
QAlgorithms.Papers.Independent.Gap48.P34.photonCutoff
For any natural numbers , the photon cutoff is the bounded operator on defined by
where is the vector equal to at occupation label and elsewhere, and sends to . Both and are included: when , the sole empty occupation label contributes the identity on the one-dimensional space ; when , only the all-zero occupation label contributes.
QAlgorithms.Papers.Independent.Gap48.P34.photonOccupationConstraint
For any natural number , an optical code on , and arbitrary real numbers , this proposition means
The code supplies , positive trace-class encoder operators with , and positive bounded decoder operators summing to , although the decoders do not enter this inequality. The vector is the number-basis vector supported at the occupation tuple . Trace class means existence of an operator-norm expansion with ; is the sum from a classically selected such expansion, or zero when none exists. The notation denotes the least natural number at least , and equals zero for . Neither nor is required to be nonnegative. The constraint concerns the average over messages, rather than a separate inequality for each message, and includes , where the cutoff is zero.
QAlgorithms.Papers.Independent.Gap48.P34.renyiK
For every real number , the quantity is defined by
The fractional powers use the total real-power operation, real square roots of negative numbers are zero, and the reciprocal of zero is zero. The definition includes all real , without a sign restriction.
QAlgorithms.Papers.Independent.Gap48.P34.renyiV
For every real number , the quantity is defined by
The fractional powers use the total real-power operation. No nonnegativity assumption is imposed on ; the real square root is zero on negative arguments, and the reciprocal of zero is zero.
QAlgorithms.Papers.Independent.Gap48.P34.successProbability
For an optical channel , any natural number , and an optical code on modes, this defines
Here the mode Hilbert space is , , and the code supplies a positive integer , encoder operators , and bounded positive decoder operators with . Each is positive and trace class with . In these definitions, trace class means that there exist sequences with and in operator norm; is for the particular such expansion selected by classical choice, and is zero if no expansion exists. An optical channel supplies real numbers and , and maps for every natural , including zero, which are complex linear on trace-class operators, preserve trace class and , and preserve positivity of every finite operator block with trace-class entries. Its additional defining requirement is
for every positive trace-class with and every . Here is a classically selected bounded operator with number-basis matrix entries , or the zero operator if no such bounded operator exists, where
The definition of includes ; its denominator is always nonzero because .
QAlgorithms.Papers.Independent.Gap48.P34.thermalRenyi
For arbitrary real numbers , the thermal Rényi expression is defined as
The powers use the total real-power operation, and the logarithm is the total real logarithm, with and for negative . There are no assumptions on the signs of , , or the logarithm’s argument, and no exclusion of ; division by zero is defined as zero, so .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.