Definitions for The classical capacity of quantum thermal noise channels to within 1.45 bits
DefinitionQAlgorithms_Papers_Independent_Bridge50_P28The objects the formalized statements of The classical capacity of quantum thermal noise channels to within 1.45 bits (arXiv:1207.0256) are stated in. Each was checked against the paper by a blind read-back and a moderator.
thermalNoiseChannelKernel: PDF p.1: coefficient adapter for the accepted thermal beam-splitter channel. The environment has photon mean NE; lambda is intensity transmissivity. On trace class boundedOperator has its unique bounded realization.quantumLimitedAmplifierKernel: PDF p.2 and p.3 note [19]: accepted vacuum amplifier, intensity gain G. Its countable Kraus operators have amplitude parameter sqrt(G), including G=1. Trace-norm convergence is part of the accepted physical channel construction.FiniteCollectivePOVM: PDF p.1: finite-outcome collective decoding on a complete Hilbert space. Positive bounded effects sum to the identity. Finite additivity suffices for the finite message alphabet; there is no finite photon-number cutoff.PhotonConstrainedClassicalCode: PDF p.1: an unassisted n-use classical code, with positive n and M. Signals are arbitrary normalized mixed states, possibly entangled across uses. One decoder is fixed before the unknown message.photonCodeAverageInput: PDF p.1: uniform-message average block input. No per-message energy cap.photonCodeSuccessProbability: PDF p.1: uniform-message success using the actual memoryless channel. The trace-class/bounded pairing converges even for infinite-rank signal states.codeWithinBudget: PDF p.1: mean input energy only. The fixed input basis weight is summed across the block and averaged over messages; an infinite expectation stays infinity. For the oscillator the weight is the photon number j itself.classicalPhotonRateAchievable: PDF p.1: rates in bits/use with vanishing uniform-message average error. For each positive error and rate slack, all sufficiently large positive lengths admit one code satisfying the SAME average input budget. No feedback, shared entanglement, product-state restriction, or energy cap after the channel.classicalPhotonCapacityBits: PDF p.1: operational classical capacity as an extended nonnegative supremum. Empty rate sets give zero; unbounded sets give infinity. Neither g nor a scalar capacity bound appears in this definition.coherentSignalRateBits: PDF pp.1--2, Eq.(1) and Theorem 1: Holevo's coherent-signal rate in bits. The accepted g uses natural logarithms and 0 log 0=0.thermalUpperBoundBits: PDF p.2, Eq.(3): finite numerical upper bound, not a capacity definition.thermalBoundGapNats: PDF p.2, Lemma 1: the numerical upper-minus-lower gap in nats. Source limit and strict derivative claims use Y>0, and X>0 where stated.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P26
/-!
König--Smith, arXiv:1207.0256v1, PDF pp.1--3.
Full countable Fock spaces; arbitrary mixed and entangled block signals;
unassisted classical communication; uniform-message average error and mean block
photon energy. Capacity is an operational extended supremum, independently of g.
Only pinned accepted library modules are imported. Compilation is pending.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Bridge50.P28
open Filter
open scoped BigOperators NNReal ENNReal Topology
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33
(State IsTraceClass IsTraceClassChannel)
open QAlgorithms.Papers.Independent.Frontier18.P18
(operatorCoeff boundedOperator)
open QAlgorithms.Papers.Independent.Claimed50.P35
(traceClassChannelPower tracePair)
open QAlgorithms.Papers.Independent.Gap48.P26 (weightedPhotonExpectation)
open QAlgorithms.Papers.Independent.Claimed50.P39 (g)
/-! The accepted basenames `Support50.P11.codeAverageInput` and
`Dependency50.P23.codeSuccess` / `Dependency50.P45.codeSuccess` describe
finite-dimensional bipartite or assisted codes. Their Fintype requirements and
code types cannot represent this paper's full countable Fock inputs. The two
photon-code definitions below therefore have distinct names and retain the
required trace-class domain; they are not copies of those frozen objects. -/
/-- PDF p.1: coefficient adapter for the accepted thermal beam-splitter channel.
The environment has photon mean NE; lambda is intensity transmissivity.
On trace class boundedOperator has its unique bounded realization. -/
def thermalNoiseChannelKernel (lam NE : ℝ) (X : Matrix ℕ ℕ ℂ) : Matrix ℕ ℕ ℂ :=
operatorCoeff (QAlgorithms.Papers.Independent.Claimed50.P39.thermal lam NE
(boundedOperator X))
/-- PDF p.2 and p.3 note [19]: accepted vacuum amplifier, intensity gain G.
Its countable Kraus operators have amplitude parameter sqrt(G), including G=1.
Trace-norm convergence is part of the accepted physical channel construction. -/
def quantumLimitedAmplifierKernel (G : ℝ) (X : Matrix ℕ ℕ ℂ) : Matrix ℕ ℕ ℂ :=
operatorCoeff (QAlgorithms.Papers.Independent.Claimed50.P39.amplifier G
(boundedOperator X))
/-- PDF p.1: finite-outcome collective decoding on a complete Hilbert space.
Positive bounded effects sum to the identity. Finite additivity suffices for the
finite message alphabet; there is no finite photon-number cutoff. -/
structure FiniteCollectivePOVM (J : Type) (M : ℕ) where
effect : Fin M → Hilbert J →L[ℂ] Hilbert J
positive : ∀ m u, (inner (𝕜 := ℂ) u (effect m u)).im = 0 ∧
0 ≤ (inner (𝕜 := ℂ) u (effect m u)).re
total : (∑ m, effect m) = ContinuousLinearMap.id ℂ (Hilbert J)
/-- PDF p.1: an unassisted n-use classical code, with positive n and M.
Signals are arbitrary normalized mixed states, possibly entangled across uses.
One decoder is fixed before the unknown message. -/
structure PhotonConstrainedClassicalCode (I J : Type) (n : ℕ) where
block_pos : 0 < n
messages : ℕ
messages_pos : 0 < messages
signal : Fin messages → State (Fin n → I)
decoder : FiniteCollectivePOVM (Fin n → J) messages
/-- PDF p.1: uniform-message average block input. No per-message energy cap. -/
def photonCodeAverageInput {I J : Type} {n : ℕ}
(c : PhotonConstrainedClassicalCode I J n) : Matrix (Fin n → I) (Fin n → I) ℂ :=
(1 / (c.messages : ℂ)) • ∑ m, (c.signal m).coefficients
/-- PDF p.1: uniform-message success using the actual memoryless channel.
The trace-class/bounded pairing converges even for infinite-rank signal states. -/
def photonCodeSuccessProbability {I J : Type} {n : ℕ}
(T : Matrix I I ℂ → Matrix J J ℂ)
(c : PhotonConstrainedClassicalCode I J n) : ℝ :=
(∑ m, (tracePair (traceClassChannelPower T n (c.signal m).coefficients)
(operatorCoeff (c.decoder.effect m))).re) / (c.messages : ℝ)
/-- PDF p.1: mean input energy only. The fixed input basis weight is summed
across the block and averaged over messages; an infinite expectation stays
infinity. For the oscillator the weight is the photon number j itself. -/
def codeWithinBudget {I J : Type} {n : ℕ} (weight : I → ℕ) (N : ℝ)
(c : PhotonConstrainedClassicalCode I J n) : Prop :=
weightedPhotonExpectation (fun a : Fin n → I => ∑ t, weight (a t))
(photonCodeAverageInput c) ≤ ENNReal.ofReal ((n : ℝ) * N)
/-- PDF p.1: rates in bits/use with vanishing uniform-message average error.
For each positive error and rate slack, all sufficiently large positive lengths
admit one code satisfying the SAME average input budget. No feedback, shared
entanglement, product-state restriction, or energy cap after the channel. -/
def classicalPhotonRateAchievable {I J : Type} (weight : I → ℕ)
(T : Matrix I I ℂ → Matrix J J ℂ) (N : ℝ) (R : ℝ≥0) : Prop :=
∀ epsilon delta : ℝ, 0 < epsilon → 0 < delta →
∃ n0 : ℕ, 0 < n0 ∧ ∀ n ≥ n0,
∃ c : PhotonConstrainedClassicalCode I J n,
codeWithinBudget weight N c ∧ 1 - epsilon ≤ photonCodeSuccessProbability T c ∧
(R : ℝ) - delta ≤ Real.log (c.messages : ℝ) / Real.log 2 / (n : ℝ)
/-- PDF p.1: operational classical capacity as an extended nonnegative
supremum. Empty rate sets give zero; unbounded sets give infinity. Neither g
nor a scalar capacity bound appears in this definition. -/
def classicalPhotonCapacityBits {I J : Type} (weight : I → ℕ)
(T : Matrix I I ℂ → Matrix J J ℂ) (N : ℝ) : ℝ≥0∞ :=
⨆ R : {R : ℝ≥0 // classicalPhotonRateAchievable weight T N R},
(R.val : ℝ≥0∞)
/-- PDF pp.1--2, Eq.(1) and Theorem 1: Holevo's coherent-signal rate in bits.
The accepted g uses natural logarithms and 0 log 0=0. -/
def coherentSignalRateBits (lam NE N : ℝ) : ℝ :=
(g (lam * N + (1 - lam) * NE) - g ((1 - lam) * NE)) / Real.log 2
/-- PDF p.2, Eq.(3): finite numerical upper bound, not a capacity definition. -/
def thermalUpperBoundBits (lam NE N : ℝ) : ℝ :=
g (lam * N / ((1 - lam) * NE + 1)) / Real.log 2
/-- PDF p.2, Lemma 1: the numerical upper-minus-lower gap in nats.
Source limit and strict derivative claims use Y>0, and X>0 where stated. -/
def thermalBoundGapNats (Y X : ℝ) : ℝ :=
g (X / (Y + 1)) - g (X + Y) + g Y
/-! Sanity examples pin zero-energy/zero-noise boundaries and code domains.
Only definitions are checked here; no source theorem is proved. -/
example (lam NE : ℝ) : coherentSignalRateBits lam NE 0 = 0 := by
simp [coherentSignalRateBits]
example (lam NE : ℝ) : thermalUpperBoundBits lam NE 0 = 0 := by
simp [thermalUpperBoundBits, g]
example (Y : ℝ) : thermalBoundGapNats Y 0 = 0 := by
simp [thermalBoundGapNats, g]
example (X : ℝ) : thermalBoundGapNats 0 X = 0 := by
simp [thermalBoundGapNats, g]
example {I J : Type} {n : ℕ} (c : PhotonConstrainedClassicalCode I J n) :
n ≠ 0 ∧ c.messages ≠ 0 := by
exact ⟨Nat.ne_of_gt c.block_pos, Nat.ne_of_gt c.messages_pos⟩
example (I J : Type) : IsEmpty (PhotonConstrainedClassicalCode I J 0) :=
⟨fun c => (Nat.lt_irrefl 0) c.block_pos⟩
example {J : Type} (d : FiniteCollectivePOVM J 1) :
d.effect 0 = ContinuousLinearMap.id ℂ (Hilbert J) := by
simpa using d.total
example {I J : Type} (X : Matrix I I ℂ) :
weightedPhotonExpectation (fun _ : I => 0) X = 0 := by
simp [weightedPhotonExpectation]
end QAlgorithms.Papers.Independent.Bridge50.P28
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Bridge50.P28.FiniteCollectivePOVM
For any type and natural number , this structure consists of bounded complex-linear operators on , indexed by , such that for every index and every ,
The type need not be finite, countable, or nonempty, and is allowed as a parameter; in that case the last condition requires .
QAlgorithms.Papers.Independent.Bridge50.P28.PhotonConstrainedClassicalCode
For arbitrary types and a natural number , an instance of this structure supplies a proof that , a positive natural number of messages, one state matrix on for every , and bounded complex-linear decoding operators on . Each state matrix has a representation
has real nonnegative quadratic form for every finite and every function , and has a summable real diagonal satisfying . The decoder satisfies and for every , and . Thus there are no instances at or with zero messages; no energy bound is a field of this structure.
QAlgorithms.Papers.Independent.Bridge50.P28.classicalPhotonCapacityBits
For arbitrary types , a function , an arbitrary function , and a real number , this defines an element of as the supremum of all nonnegative real numbers having the following property: for every , there is an integer such that for every integer , one can choose a positive integer , signal matrices on , and bounded complex-linear decoding operators on , with
For each , the signal matrix must have an expansion with and summable , real nonnegative quadratic forms on finite sets, and summable real diagonal summing to one. The decoding operators have real nonnegative quadratic forms and sum to the identity, and is a standard basis vector. The operation is specified by and
Here is embedded in , and nonsummable complex sums are assigned zero. There are no further assumptions on . The supremum is zero if there are no qualifying rates, and it is infinite if the qualifying rates are unbounded.
QAlgorithms.Papers.Independent.Bridge50.P28.classicalPhotonRateAchievable
For arbitrary types , a function , an arbitrary matrix-valued function , a real number , and a nonnegative real rate , this predicate says that for every pair of positive real numbers , there is a positive integer such that for every integer , there exist a positive message count , signal matrices on , and bounded complex-linear decoding operators on , satisfying
Each must admit an expansion , with and summable , must have real nonnegative quadratic forms on all finite sets of indices, and must have summable real diagonal of sum one. Each has real nonnegative quadratic form and , and denotes a standard basis vector. The matrix operation is defined by and
The notation means the nonnegative part of , viewed in ; its sum may be infinite. No channel assumption on or nonnegativity assumption on is present. The error and rate conditions must hold for every positive , with codes allowed to depend on these numbers and on ; nonsummable complex sums in the success expression take the totalized value zero.
QAlgorithms.Papers.Independent.Bridge50.P28.codeWithinBudget
For arbitrary types , a natural number , a function , a real number , and a supplied code with positive block length , positive message count , and signal matrices , this predicate means
Here is regarded as an element of , and the sum on the left is an extended nonnegative sum, so it may be infinite. The code’s signal matrices have countable expansions , with and summable , real nonnegative quadratic forms on finite sets, and summable real diagonals of sum one; its decoder consists of bounded complex-linear operators on with real nonnegative quadratic forms and sum equal to the identity. The weights may be zero, and is unrestricted; when , the right-hand side is zero.
QAlgorithms.Papers.Independent.Bridge50.P28.coherentSignalRateBits
For arbitrary real numbers , put and . This defines the real number
The logarithms are natural logarithms. No positivity or interval restrictions on the three parameters are imposed; the real logarithm is total, including , so the formula also defines a value when , , or their increments by one are nonpositive.
QAlgorithms.Papers.Independent.Bridge50.P28.photonCodeAverageInput
For arbitrary types , a natural number , and a supplied code , this defines the matrix
on the index set , where and are the message count and signal matrices of , and the scalar is taken in . The supplied code requires and . Its signal matrices each admit a coefficient expansion with and summable , have real nonnegative quadratic forms on every finite set of indices, and have summable real diagonals summing to one. The code also supplies bounded complex-linear decoding operators on whose quadratic forms are real and nonnegative and whose sum is the identity.
QAlgorithms.Papers.Independent.Bridge50.P28.photonCodeSuccessProbability
For arbitrary types , a natural number , an arbitrary function from complex matrices on to complex matrices on , and a supplied code with , , signal matrices , and decoding operators , this defines the real number
Here means the functions from to , is the corresponding standard basis vector in , and is defined recursively: has the single entry , while, writing and ,
Each , on , admits an expansion with square-summable vectors and summable , has real nonnegative quadratic forms on finite index sets, and has summable real diagonal summing to one; each is bounded and complex-linear, has real nonnegative quadratic form, and . No channel or linearity assumption is imposed on , and no summability assumption is included for the nested complex sums in this definition; any nonsummable such sum takes the totalized value zero.
QAlgorithms.Papers.Independent.Bridge50.P28.quantumLimitedAmplifierKernel
For an arbitrary real number and arbitrary complex matrix indexed by , let , with standard basis , and choose a bounded complex-linear operator with , if one exists; otherwise set . Put . For each , choose a bounded complex-linear operator with matrix
if such an operator exists, and set otherwise. The definition then chooses an operator for which the family sums to in the following specified sense, if such a exists, and takes otherwise: an operator is called trace class here when there are sequences such that is summable and converges to in operator norm, where sends to ; define
The required summation condition is that , every finite partial sum , and every are trace class, and as the finite sets increase by inclusion. The output matrix has entries . There is no positivity, normalization, trace-class, or parameter-range assumption on the supplied . Real square root and inversion are total, with for and ; the real infimum defining is zero when its defining set is empty.
QAlgorithms.Papers.Independent.Bridge50.P28.thermalBoundGapNats
For arbitrary real numbers , let and . This defines the real number
where all logarithms are natural. No sign restrictions or inequality assertions are included. Division by zero is zero, so when ; real logarithms are total, with , and the formula includes nonpositive logarithm arguments.
QAlgorithms.Papers.Independent.Bridge50.P28.thermalNoiseChannelKernel
For arbitrary real numbers and an arbitrary complex matrix , this defines a complex matrix as follows. Let , and let be its standard basis vectors. Choose a bounded complex-linear operator satisfying for every , if such an operator exists; otherwise set . Define
and, for natural numbers , define
Set
Choose a bounded complex-linear operator whose matrix is , if one exists; otherwise set . The defined output has entries . No restrictions on , or are assumed. Natural-number subtraction is truncated at zero, real square roots of nonpositive numbers are zero, division by zero is zero, and the displayed infinite complex sum has the totalized value zero if it is not summable.
QAlgorithms.Papers.Independent.Bridge50.P28.thermalUpperBoundBits
For arbitrary real numbers , let
This defines the real number
using natural logarithms. There are no parameter-range assumptions. Division by zero is defined to be zero, so if , then and the defined value is zero. The real logarithm is total, with , including when its arguments are nonpositive.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.