Definitions for Quantum Reading Capacity
DefinitionQAlgorithms_Papers_Independent_Advance50_P35The objects the formalized statements of Quantum Reading Capacity (arXiv:1107.3500) are stated in. Each was checked against the paper by a blind read-back and a moderator.
TensorCopyBasis: PDF pp.3--4: basis labels for s copies of the COMMON system, including s=0.AssistedRegister: PDF pp.4,8: arbitrary reference Hilbert space, independent of the signal space.CellRegister: PDF pp.4--5: for optical memories, both signal and reference modes are bosonic.Memory: PDF pp.3,8: a finite nonempty ensemble of pairwise distinct CPTP channels. Distinctness is on states, so irrelevant extensions off trace class cannot count.traceClassChannelCopies: PDF pp.3--4,8, (5),(43): tensor power on every block of an entangled input. The recursive slices are trace class on physical inputs; references are untouched.cellOutput: PDF p.8, (43): channel on the signal tensor factors only.finiteMemoryHolevoBits: PDF p.8, (44): chi in bits, using its relative-entropy formula. Zero priors contribute zero even if the corresponding relative entropy is infinite. For normalized finite ensembles this number is finite and bounded by H(prior).transmitterInformation: PDF p.8: conditional information of the one-cell transmitter.memoryEntropy: PDF p.9, (48): marginal Shannon entropy, in bits, with 0 log 0=0.unconstrainedCapacity: PDF pp.8--9, (46): unconstrained optimal VALUE, not an assumed maximum.pureUnassistedValue: PDF p.9, (47): pure, unassisted fixed-s optimal value.pureRegisterValue: PDF pp.9,14: pure-input optimal value on fixed signal/reference registers.signalEnergy: PDF p.4: exact extended mean photon number of the SUM of signal modes. The extended sum records infinite energy instead of silently returning zero.cellTotalPhotonEnergy: PDF pp.13--14, endnote [31]: frozen total photon expectation, with signal modes first and reference modes last in the combined full-Fock register.PureClass: PDF p.9: an energy-INDEPENDENT class of normalized pure inputs on each register.MixtureOf: PDF p.9, (52), interpreted by (56): arbitrary Borel probability mixtures on the SAME registers; component energies need not equal the barycenter energy.pureClassCapacity: PDF p.9, (54): exact-energy pure-class optimum; the supremum is extended.mixtureClassCapacity: PDF p.9, (53): exact AVERAGE energy in the arbitrary-mixture class.EnergyFeasible: PDF p.9: implicit feasibility of pure-class optimization on its energy domain.LossMemory: PDF pp.5,10: binary pure-loss memory; the arbitrary prior includes endpoints.vacuumLossAction: PDF p.5, (13): the frozen full-Fock vacuum attenuator, reindexed from one-mode words to natural photon labels. The environment bypasses readout.lossPrior: PDF pp.5,10: fixed binary priors, independent of every transmitter optimization.lossInformation: PDF pp.8,10: conditional Holevo information for the actual loss-channel outputs.coherentAmplitude: PDF pp.5,10: all coherent product kets, in the full number basis.coherentProductProjector: PDF p.10, (68): coherent projector from its actual ket coefficients.IsClassicalCellTransmitter: PDF pp.5--6, (19)--(22): ALL probability mixtures of coherent products. The measure may be singular, atomic or continuous; no positive density is required. Every coefficient is integrable, preventing a default-zero barycenter integral.quantumReadingCapacity: PDF p.9, (51): quantum capacity at exact TOTAL signal energy n per cell.classicalReadingCapacity: PDF p.10, (65): independently defined classical optimization, not H(xi).classicalTotalCapacity: PDF pp.13--14: independently optimized capacity under the stronger constraint.classicalEigenvalue: PDF p.10, (67): the larger eigenvalue, including arbitrary endpoint priors.classicalFormula: PDF p.10, (66): the scalar expression asserted EQUAL to the optimized capacity.coherentInput: PDF p.10, (72): one signal, no reference, amplitude sqrt(n).classicalSingleRate: PDF pp.6,11, (24)--(25): source-defined classical error-entropy rate. This expression is not the mutual information of every binary measurement.eprAmplitude: PDF pp.6,11--13, (26)--(28): s TMSV pairs, total SIGNAL energy n. Each pair has Schmidt probabilities (n/s)^m/(1+n/s)^(m+1). The signal/reference labels are matched pair by pair, without photon cutoff.eprInput: PDF pp.6,11: actual EPR density, not a covariance placeholder.noonAmplitude: PDF p.12, (74): the n=1 NOON ket (|2,0>+|0,2>)/sqrt(2).noonInput: PDF p.12, (74): normalized two-excitation NOON density; signal mean is ONE.fockInput: PDF p.12, (75): actual number-state projector, natural photon label.orthogonalSqueezedVacuum: PDF p.12: p-squeezed vacuum coefficients. Positive even coefficients mean q is antisqueezed and p squeezed for q=a+a*,p=i(a*-a). Thus real displacement along q is orthogonal to the squeezed axis. xi>=0 is the squeezing magnitude.squeezedAmplitude: PDF p.12: <m|D(alpha)S(xi)|0>, from the actual displacement Fock matrix. For finite real alpha,xi this series converges by the Hilbert inner-product inequality; it is not a covariance-only description.squeezedInput: PDF p.12: unassisted squeezed coherent projector in the full number basis.squeezedValue: PDF p.12/Fig.9: optimization ONLY over the real orthogonally squeezed family, with exact one-photon signal energy alpha^2+sinh(xi)^2=1.eprError: PDF p.5, (15): the optimal binary error for this FIXED transmitter. traceSize is the full nuclear/trace norm; all binary measurements are optimized.eprErrorRate: PDF p.13, (76): the source's error-entropy quantity, not arbitrary measured MI.thetaFinite: PDF p.13, (77): n/s MULTIPLIES (1-sqrt(kappa0)); s>=1 in every result.eprLowerRate: PDF p.13, (78): the scalar guaranteed readable-rate lower bound.thetaLimit: PDF pp.6,13, (33),(79): limiting error bound, not an infinite-copy input state.eprLimitRate: PDF p.13, (79): limiting scalar rate Q_infinity.effectProbability: PDF p.4, (7): Born probability Tr(E rho), with a bounded effect and trace-class rho. The outer trace and inner matrix-vector series converge.binaryMeasuredInformation: PDF p.13: actual mutual information in bits of an equal-prior binary POVM. Unlike (76), it allows an asymmetric induced classical channel.SingleCellAchievable: PDF p.13: existence of a single-cell measurement achieving at least R bits. Such one-cell measurements can be repeated independently across memory cells.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P01
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P39
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P06
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P20
/-!
Quantum Reading Capacity, arXiv:1107.3500v1, PDF pp.3--16.
All registers are completed Hilbert spaces with the full number basis.
Capacities below are the single-cell Holevo optimizations of (46),(51),(65):
identical inputs across different cells and arbitrary collective output detection.
No entanglement across different cells is optimized. Extended relative entropy
makes chi meaningful even when individual output entropies are infinite.
Compilation and independent moderation are pending the batch handoff.
-/
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal NNReal Topology
namespace QAlgorithms.Papers.Independent.Advance50.P35
open QAlgorithms.RealRegisters (Hilbert)
open QAlgorithms.Papers.Independent.Dependency50.P33
(State PureState IsDensity IsBarycenter tensorApply traceSize)
open QAlgorithms.Papers.Independent.Frontier18.P01 (Channel)
open QAlgorithms.Papers.Independent.Frontier18.P07
(extendedRelativeEntropyNats binaryEntropyBits)
open QAlgorithms.Papers.Independent.Dependency50.P39 (displacementMatrix coherentCoefficient)
open QAlgorithms.Papers.Independent.Support50.P20 (IsBinaryEffect)
attribute [local instance] Classical.propDecidable Classical.decEq
/-!
Frozen-name repair: finite-matrix channel powers and effects cannot replace
operations on completed bosonic spaces. TensorCopyBasis allows an arbitrary
basis type, unlike the accepted finite-dimension Register or real-label oracle
Register. finiteMemoryHolevoBits uses extended relative entropy for a fixed
finite memory ensemble, unlike the accepted finite-entropy difference
holevoBits. transmitterInformation applies the stored-channel ensemble to ONE
input, unlike feedback-protocol or finite-channel information.
quantumReadingCapacity and classicalReadingCapacity optimize reading a fixed
channel ensemble at exact signal energy, not transmission of quantum data or
zero-error graph capacities. IsClassicalCellTransmitter and
coherentProductProjector use arbitrary signal/reference mode counts and
coefficient barycenters, whereas Dependency50.P39's same-name objects are
single-mode bounded operators. The frozen coherent coefficients, full-Fock
vacuum dilation, photon expectation and bounded binary effects ARE imported.
No frozen definition is edited, shadowed or silently substituted.
-/
/-- PDF pp.3--4: basis labels for s copies of the COMMON system, including s=0. -/
abbrev TensorCopyBasis (I : Type) (s : ℕ) := Fin s → I
/-- PDF pp.4,8: arbitrary reference Hilbert space, independent of the signal space. -/
abbrev AssistedRegister (I A : Type) (s r : ℕ) := TensorCopyBasis I s × TensorCopyBasis A r
/-- PDF pp.4--5: for optical memories, both signal and reference modes are bosonic. -/
abbrev CellRegister (I : Type) (s r : ℕ) := AssistedRegister I I s r
/-- PDF pp.3,8: a finite nonempty ensemble of pairwise distinct CPTP channels.
Distinctness is on states, so irrelevant extensions off trace class cannot count. -/
structure Memory (I : Type) (k : ℕ) where
nonempty : 0 < k
prior : Fin k → ℝ≥0
mass : ∑ x, prior x = 1
channel : Fin k → Channel I I
distinct : ∀ x y, x ≠ y → ∃ rho : State I,
(channel x).val rho.coefficients ≠ (channel y).val rho.coefficients
/-- PDF pp.3--4,8, (5),(43): tensor power on every block of an entangled input.
The recursive slices are trace class on physical inputs; references are untouched. -/
def traceClassChannelCopies {I : Type} (Phi : Matrix I I ℂ → Matrix I I ℂ) :
(s : ℕ) → Matrix (TensorCopyBasis I s) (TensorCopyBasis I s) ℂ →
Matrix (TensorCopyBasis I s) (TensorCopyBasis I s) ℂ
| 0, X => X
| s + 1, X => fun a b =>
traceClassChannelCopies Phi s
(fun c d => Phi (fun i j => X (Fin.cons i c) (Fin.cons j d)) (a 0) (b 0))
(Fin.tail a) (Fin.tail b)
/-- PDF p.8, (43): channel on the signal tensor factors only. -/
def cellOutput {I A : Type} {s r : ℕ} (Phi : Matrix I I ℂ → Matrix I I ℂ)
(rho : Matrix (AssistedRegister I A s r) (AssistedRegister I A s r) ℂ) :=
tensorApply (traceClassChannelCopies Phi s) rho
/-- PDF p.8, (44): chi in bits, using its relative-entropy formula.
Zero priors contribute zero even if the corresponding relative entropy is infinite.
For normalized finite ensembles this number is finite and bounded by H(prior). -/
def finiteMemoryHolevoBits {J : Type} {k : ℕ} (p : Fin k → ℝ≥0)
(out : Fin k → Matrix J J ℂ) : ℝ≥0∞ :=
(∑ x, (p x : ℝ≥0∞) * extendedRelativeEntropyNats (out x)
(∑ y, ((p y : ℝ) : ℂ) • out y)) / ENNReal.ofReal (Real.log 2)
/-- PDF p.8: conditional information of the one-cell transmitter. -/
def transmitterInformation {I A : Type} {k s r : ℕ} (M : Memory I k)
(rho : Matrix (AssistedRegister I A s r) (AssistedRegister I A s r) ℂ) : ℝ≥0∞ :=
finiteMemoryHolevoBits M.prior (fun x => cellOutput (M.channel x).val rho)
/-- PDF p.9, (48): marginal Shannon entropy, in bits, with 0 log 0=0. -/
def memoryEntropy {I : Type} {k : ℕ} (M : Memory I k) : ℝ :=
-∑ x, (M.prior x : ℝ) * Real.log (M.prior x : ℝ) / Real.log 2
/-- PDF pp.8--9, (46): unconstrained optimal VALUE, not an assumed maximum. -/
def unconstrainedCapacity {I : Type} {k : ℕ} (M : Memory I k) (A : Type) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ, ⨆ rho : State (AssistedRegister I A s.val r),
transmitterInformation M rho.coefficients
/-- PDF p.9, (47): pure, unassisted fixed-s optimal value. -/
def pureUnassistedValue {I : Type} {k : ℕ} (M : Memory I k) (s : ℕ) : ℝ≥0∞ :=
⨆ psi : PureState (CellRegister I s 0), transmitterInformation M psi.val.coefficients
/-- PDF pp.9,14: pure-input optimal value on fixed signal/reference registers. -/
def pureRegisterValue {I : Type} {k : ℕ} (M : Memory I k) (A : Type) (s r : ℕ) : ℝ≥0∞ :=
⨆ psi : PureState (AssistedRegister I A s r), transmitterInformation M psi.val.coefficients
/-- PDF p.4: exact extended mean photon number of the SUM of signal modes.
The extended sum records infinite energy instead of silently returning zero. -/
def signalEnergy {s r : ℕ}
(rho : Matrix (CellRegister ℕ s r) (CellRegister ℕ s r) ℂ) : ℝ≥0∞ :=
∑' a : CellRegister ℕ s r,
ENNReal.ofReal ((∑ i, a.1 i : ℕ) : ℝ) * ENNReal.ofReal (rho a a).re
/-- PDF pp.13--14, endnote [31]: frozen total photon expectation, with
signal modes first and reference modes last in the combined full-Fock register. -/
def cellTotalPhotonEnergy {s r : ℕ}
(rho : Matrix (CellRegister ℕ s r) (CellRegister ℕ s r) ℂ) : ℝ≥0∞ :=
QAlgorithms.Papers.Independent.Support50.P06.totalEnergy (n := s + r)
(fun a b => rho
((fun i => a (Fin.castAdd r i)), (fun j => a (Fin.natAdd s j)))
((fun i => b (Fin.castAdd r i)), (fun j => b (Fin.natAdd s j))))
/-- PDF p.9: an energy-INDEPENDENT class of normalized pure inputs on each register. -/
abbrev PureClass := (s r : ℕ) → Set (PureState (CellRegister ℕ s r))
/-- PDF p.9, (52), interpreted by (56): arbitrary Borel probability mixtures
on the SAME registers; component energies need not equal the barycenter energy. -/
def MixtureOf (P : PureClass) {s r : ℕ} (rho : State (CellRegister ℕ s r)) : Prop :=
∃ mu : ProbabilityMeasure (PureState (CellRegister ℕ s r)),
(∀ᵐ psi ∂(mu : Measure (PureState (CellRegister ℕ s r))), psi ∈ P s r) ∧
IsBarycenter (mu : Measure (PureState (CellRegister ℕ s r)))
(fun psi => psi.val.coefficients) rho.coefficients
/-- PDF p.9, (54): exact-energy pure-class optimum; the supremum is extended. -/
def pureClassCapacity {k : ℕ} (M : Memory ℕ k) (P : PureClass) (n : ℝ) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ,
⨆ psi : {psi : PureState (CellRegister ℕ s.val r) //
psi ∈ P s.val r ∧ signalEnergy psi.val.coefficients = ENNReal.ofReal n},
transmitterInformation M psi.val.val.coefficients
/-- PDF p.9, (53): exact AVERAGE energy in the arbitrary-mixture class. -/
def mixtureClassCapacity {k : ℕ} (M : Memory ℕ k) (P : PureClass) (n : ℝ) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ,
⨆ rho : {rho : State (CellRegister ℕ s.val r) //
MixtureOf P rho ∧ signalEnergy rho.coefficients = ENNReal.ofReal n},
transmitterInformation M rho.val.coefficients
/-- PDF p.9: implicit feasibility of pure-class optimization on its energy domain. -/
def EnergyFeasible (P : PureClass) : Prop :=
∀ n : ℝ, 0 ≤ n → ∃ (s r : ℕ) (psi : PureState (CellRegister ℕ s r)),
1 ≤ s ∧ psi ∈ P s r ∧ signalEnergy psi.val.coefficients = ENNReal.ofReal n
/-- PDF pp.5,10: binary pure-loss memory; the arbitrary prior includes endpoints. -/
structure LossMemory where
kappa0 : ℝ
kappa1 : ℝ
kappa0_mem : kappa0 ∈ Set.Icc (0 : ℝ) 1
kappa1_mem : kappa1 ∈ Set.Icc (0 : ℝ) 1
distinct : kappa0 ≠ kappa1
p : ℝ
p_mem : p ∈ Set.Icc (0 : ℝ) 1
/-- PDF p.5, (13): the frozen full-Fock vacuum attenuator, reindexed from
one-mode words to natural photon labels. The environment bypasses readout. -/
def vacuumLossAction (kappa : ℝ) (rho : Matrix ℕ ℕ ℂ) : Matrix ℕ ℕ ℂ :=
fun a b => QAlgorithms.Papers.Independent.Next46.P32.pureLoss 1 kappa
(fun c d => rho (c 0) (d 0)) (fun _ => a) (fun _ => b)
/-- PDF pp.5,10: fixed binary priors, independent of every transmitter optimization. -/
def lossPrior (p : ℝ) (x : Fin 2) : ℝ≥0 :=
if x = 0 then Real.toNNReal p else Real.toNNReal (1 - p)
/-- PDF pp.8,10: conditional Holevo information for the actual loss-channel outputs. -/
def lossInformation {s r : ℕ} (kappa0 kappa1 p : ℝ)
(rho : Matrix (CellRegister ℕ s r) (CellRegister ℕ s r) ℂ) : ℝ≥0∞ :=
finiteMemoryHolevoBits (lossPrior p) (fun x =>
cellOutput (vacuumLossAction (if x = 0 then kappa0 else kappa1)) rho)
/-- PDF pp.5,10: all coherent product kets, in the full number basis. -/
def coherentAmplitude {s r : ℕ} (alpha : Fin s → ℂ) (beta : Fin r → ℂ)
(a : CellRegister ℕ s r) : ℂ :=
(∏ i, coherentCoefficient (alpha i) (a.1 i)) *
∏ j, coherentCoefficient (beta j) (a.2 j)
/-- PDF p.10, (68): coherent projector from its actual ket coefficients. -/
def coherentProductProjector {s r : ℕ} (alpha : Fin s → ℂ) (beta : Fin r → ℂ) :
Matrix (CellRegister ℕ s r) (CellRegister ℕ s r) ℂ :=
fun a b => coherentAmplitude alpha beta a * star (coherentAmplitude alpha beta b)
/-- PDF pp.5--6, (19)--(22): ALL probability mixtures of coherent products.
The measure may be singular, atomic or continuous; no positive density is required.
Every coefficient is integrable, preventing a default-zero barycenter integral. -/
def IsClassicalCellTransmitter {s r : ℕ}
(rho : Matrix (CellRegister ℕ s r) (CellRegister ℕ s r) ℂ) : Prop :=
∃ mu : ProbabilityMeasure ((Fin s → ℂ) × (Fin r → ℂ)),
IsBarycenter (mu : Measure ((Fin s → ℂ) × (Fin r → ℂ)))
(fun z => coherentProductProjector z.1 z.2) rho
/-- PDF p.9, (51): quantum capacity at exact TOTAL signal energy n per cell. -/
def quantumReadingCapacity (M : LossMemory) (n : ℝ) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ,
⨆ rho : {rho : State (CellRegister ℕ s.val r) //
signalEnergy rho.coefficients = ENNReal.ofReal n},
lossInformation M.kappa0 M.kappa1 M.p rho.val.coefficients
/-- PDF p.10, (65): independently defined classical optimization, not H(xi). -/
def classicalReadingCapacity (M : LossMemory) (n : ℝ) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ,
⨆ rho : {rho : State (CellRegister ℕ s.val r) //
IsClassicalCellTransmitter rho.coefficients ∧ signalEnergy rho.coefficients = ENNReal.ofReal n},
lossInformation M.kappa0 M.kappa1 M.p rho.val.coefficients
/-- PDF pp.13--14: independently optimized capacity under the stronger constraint. -/
def classicalTotalCapacity (M : LossMemory) (n : ℝ) : ℝ≥0∞ :=
⨆ s : {s : ℕ // 1 ≤ s}, ⨆ r : ℕ,
⨆ rho : {rho : State (CellRegister ℕ s.val r) //
IsClassicalCellTransmitter rho.coefficients ∧ cellTotalPhotonEnergy rho.coefficients = ENNReal.ofReal n},
lossInformation M.kappa0 M.kappa1 M.p rho.val.coefficients
/-- PDF p.10, (67): the larger eigenvalue, including arbitrary endpoint priors. -/
def classicalEigenvalue (M : LossMemory) (n : ℝ) : ℝ :=
(1 + Real.sqrt (1 - 4 * M.p * (1 - M.p) *
(1 - Real.exp (-n * (Real.sqrt M.kappa1 - Real.sqrt M.kappa0) ^ 2)))) / 2
/-- PDF p.10, (66): the scalar expression asserted EQUAL to the optimized capacity. -/
def classicalFormula (M : LossMemory) (n : ℝ) : ℝ :=
binaryEntropyBits (classicalEigenvalue M n)
/-- PDF p.10, (72): one signal, no reference, amplitude sqrt(n). -/
def coherentInput (n : ℝ) : Matrix (CellRegister ℕ 1 0) (CellRegister ℕ 1 0) ℂ :=
coherentProductProjector (fun _ => (Real.sqrt n : ℂ)) (fun i => Fin.elim0 i)
/-- PDF pp.6,11, (24)--(25): source-defined classical error-entropy rate.
This expression is not the mutual information of every binary measurement. -/
def classicalSingleRate (M : LossMemory) (n : ℝ) : ℝ :=
1 - binaryEntropyBits ((1 - Real.sqrt (1 -
Real.exp (-n * (Real.sqrt M.kappa0 - Real.sqrt M.kappa1) ^ 2))) / 2)
/-- PDF pp.6,11--13, (26)--(28): s TMSV pairs, total SIGNAL energy n.
Each pair has Schmidt probabilities (n/s)^m/(1+n/s)^(m+1).
The signal/reference labels are matched pair by pair, without photon cutoff. -/
def eprAmplitude (s : ℕ) (n : ℝ) (a : CellRegister ℕ s s) : ℂ :=
if a.1 = a.2 then
(∏ i, Real.sqrt ((n / s) ^ a.1 i / (1 + n / s) ^ (a.1 i + 1)) : ℝ)
else 0
/-- PDF pp.6,11: actual EPR density, not a covariance placeholder. -/
def eprInput (s : ℕ) (n : ℝ) : Matrix (CellRegister ℕ s s) (CellRegister ℕ s s) ℂ :=
fun a b => eprAmplitude s n a * star (eprAmplitude s n b)
/-- PDF p.12, (74): the n=1 NOON ket (|2,0>+|0,2>)/sqrt(2). -/
def noonAmplitude (a : CellRegister ℕ 1 1) : ℂ :=
if (a.1 0 = 2 ∧ a.2 0 = 0) ∨ (a.1 0 = 0 ∧ a.2 0 = 2)
then (1 / Real.sqrt 2 : ℝ) else 0
/-- PDF p.12, (74): normalized two-excitation NOON density; signal mean is ONE. -/
def noonInput : Matrix (CellRegister ℕ 1 1) (CellRegister ℕ 1 1) ℂ :=
fun a b => noonAmplitude a * star (noonAmplitude b)
/-- PDF p.12, (75): actual number-state projector, natural photon label. -/
def fockInput (m : ℕ) : Matrix (CellRegister ℕ 1 0) (CellRegister ℕ 1 0) ℂ :=
fun a b => if a.1 0 = m ∧ b.1 0 = m then 1 else 0
/-- PDF p.12: p-squeezed vacuum coefficients. Positive even coefficients mean
q is antisqueezed and p squeezed for q=a+a*,p=i(a*-a). Thus real displacement
along q is orthogonal to the squeezed axis. xi>=0 is the squeezing magnitude. -/
def orthogonalSqueezedVacuum (xi : ℝ) (m : ℕ) : ℝ :=
if m % 2 = 0 then
Real.sqrt (Nat.factorial m : ℝ) * Real.tanh xi ^ (m / 2) /
(Real.sqrt (Real.cosh xi) * 2 ^ (m / 2) * (Nat.factorial (m / 2) : ℝ))
else 0
/-- PDF p.12: <m|D(alpha)S(xi)|0>, from the actual displacement Fock matrix.
For finite real alpha,xi this series converges by the Hilbert inner-product
inequality; it is not a covariance-only description. -/
def squeezedAmplitude (alpha xi : ℝ) (m : ℕ) : ℂ :=
∑' j : ℕ, displacementMatrix (alpha : ℂ) m j * (orthogonalSqueezedVacuum xi j : ℂ)
/-- PDF p.12: unassisted squeezed coherent projector in the full number basis. -/
def squeezedInput (alpha xi : ℝ) :
Matrix (CellRegister ℕ 1 0) (CellRegister ℕ 1 0) ℂ :=
fun a b => squeezedAmplitude alpha xi (a.1 0) * star (squeezedAmplitude alpha xi (b.1 0))
/-- PDF p.12/Fig.9: optimization ONLY over the real orthogonally squeezed family,
with exact one-photon signal energy alpha^2+sinh(xi)^2=1. -/
def squeezedValue (kappa1 : ℝ) : ℝ≥0∞ :=
⨆ z : {z : ℝ × ℝ // 0 ≤ z.2 ∧ z.1 ^ 2 + Real.sinh z.2 ^ 2 = 1},
lossInformation 0 kappa1 (1 / 2) (squeezedInput z.val.1 z.val.2)
/-- PDF p.5, (15): the optimal binary error for this FIXED transmitter.
traceSize is the full nuclear/trace norm; all binary measurements are optimized. -/
def eprError (kappa0 : ℝ) (s : ℕ) (n : ℝ) : ℝ :=
(1 - (traceSize (cellOutput (vacuumLossAction kappa0) (eprInput s n) -
cellOutput (vacuumLossAction 1) (eprInput s n))).toReal / 2) / 2
/-- PDF p.13, (76): the source's error-entropy quantity, not arbitrary measured MI. -/
def eprErrorRate (kappa0 : ℝ) (s : ℕ) (n : ℝ) : ℝ :=
1 - binaryEntropyBits (eprError kappa0 s n)
/-- PDF p.13, (77): n/s MULTIPLIES (1-sqrt(kappa0)); s>=1 in every result. -/
def thetaFinite (kappa0 : ℝ) (s : ℕ) (n : ℝ) : ℝ :=
1 / (2 * (1 + (n / s) * (1 - Real.sqrt kappa0)) ^ (2 * s))
/-- PDF p.13, (78): the scalar guaranteed readable-rate lower bound. -/
def eprLowerRate (kappa0 : ℝ) (s : ℕ) (n : ℝ) : ℝ :=
1 - binaryEntropyBits (thetaFinite kappa0 s n)
/-- PDF pp.6,13, (33),(79): limiting error bound, not an infinite-copy input state. -/
def thetaLimit (kappa0 n : ℝ) : ℝ :=
Real.exp (-2 * n * (1 - Real.sqrt kappa0)) / 2
/-- PDF p.13, (79): limiting scalar rate Q_infinity. -/
def eprLimitRate (kappa0 n : ℝ) : ℝ :=
1 - binaryEntropyBits (thetaLimit kappa0 n)
/-- PDF p.4, (7): Born probability Tr(E rho), with a bounded effect and
trace-class rho. The outer trace and inner matrix-vector series converge. -/
def effectProbability {J : Type} (E : Hilbert J →L[ℂ] Hilbert J)
(rho : Matrix J J ℂ) : ℝ :=
(∑' i : J, ∑' j : J, (E (lp.single 2 j 1)) i * rho j i).re
/-- PDF p.13: actual mutual information in bits of an equal-prior binary POVM.
Unlike (76), it allows an asymmetric induced classical channel. -/
def binaryMeasuredInformation {J : Type} (E : Hilbert J →L[ℂ] Hilbert J)
(out0 out1 : Matrix J J ℂ) : ℝ :=
let joint : Fin 2 → Fin 2 → ℝ := fun x z =>
let t := effectProbability E (if x = 0 then out0 else out1)
(if z = 0 then t else 1 - t) / 2
∑ x, ∑ z, if joint x z = 0 then 0 else
joint x z * Real.log (joint x z / ((∑ y, joint y z) / 2)) / Real.log 2
/-- PDF p.13: existence of a single-cell measurement achieving at least R bits.
Such one-cell measurements can be repeated independently across memory cells. -/
def SingleCellAchievable (kappa0 : ℝ) (s : ℕ) (n R : ℝ) : Prop :=
∃ E : Hilbert (CellRegister ℕ s s) →L[ℂ] Hilbert (CellRegister ℕ s s),
IsBinaryEffect E ∧ R ≤ binaryMeasuredInformation E
(cellOutput (vacuumLossAction kappa0) (eprInput s n))
(cellOutput (vacuumLossAction 1) (eprInput s n))
/-! Sanity checks pin conventions; no source theorem is proved here. -/
example {I : Type} (Phi : Matrix I I ℂ → Matrix I I ℂ)
(X : Matrix (TensorCopyBasis I 0) (TensorCopyBasis I 0) ℂ) : traceClassChannelCopies Phi 0 X = X := rfl
example {I : Type} {k : ℕ} (M : Memory I k) : 0 < k := M.nonempty
example {I : Type} {s r : ℕ} (psi : PureState (CellRegister I s r)) :
∃ u : Hilbert (CellRegister I s r), ‖u‖ = 1 ∧
psi.val.coefficients = QAlgorithms.Papers.Independent.Dependency50.P33.rankOne u := psi.property
example : binaryEntropyBits 0 = 0 := by simp [binaryEntropyBits]
example : binaryEntropyBits 1 = 0 := by simp [binaryEntropyBits]
example (kappa : ℝ) (s : ℕ) : thetaFinite kappa s 0 = 1 / 2 := by
simp [thetaFinite]
example (kappa : ℝ) : thetaLimit kappa 0 = 1 / 2 := by simp [thetaLimit]
example (kappa n : ℝ) : thetaFinite kappa 1 n =
1 / (2 * (1 + n * (1 - Real.sqrt kappa)) ^ 2) := by simp [thetaFinite]
example (m : ℕ) (a b : CellRegister ℕ 1 0) :
fockInput m a b = if a.1 0 = m ∧ b.1 0 = m then 1 else 0 := rfl
example (a : CellRegister ℕ 1 1) :
noonAmplitude a = if (a.1 0 = 2 ∧ a.2 0 = 0) ∨ (a.1 0 = 0 ∧ a.2 0 = 2)
then ((1 / Real.sqrt 2 : ℝ) : ℂ) else (0 : ℂ) := rfl
example : orthogonalSqueezedVacuum 0 0 = 1 := by
simp [orthogonalSqueezedVacuum]
example (xi : ℝ) : orthogonalSqueezedVacuum xi 1 = 0 := by
simp [orthogonalSqueezedVacuum]
end QAlgorithms.Papers.Independent.Advance50.P35
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P35.AssistedRegister
For any types and natural numbers , this denotes : its elements are pairs , where and . Each tuple of length zero has exactly one possible value, even if its entry type is empty; a positive-length tuple over an empty type has no possible values.
QAlgorithms.Papers.Independent.Advance50.P35.CellRegister
For any type and natural numbers , this denotes , the type of pairs consisting of an ordered -tuple and an ordered -tuple of elements of the same type . Either length may be zero, in which case the corresponding tuple is uniquely determined; if is empty, this register has an element precisely when both lengths are zero.
QAlgorithms.Papers.Independent.Advance50.P35.EnergyFeasible
For a family assigning a set of pure states to every pair of register sizes, this property requires that for every real , there exist natural numbers and and a pure state on such that
A pure state here is a state kernel for some of norm ; being a state also includes a nuclear expansion with summable products of vector norms, real nonnegative finite coordinate quadratic forms, and a summable real diagonal of sum . Thus its energy can equivalently be written . The quantifier includes ; the choices of both register sizes and the pure state may depend on , and no bound on the auxiliary size is required.
QAlgorithms.Papers.Independent.Advance50.P35.IsClassicalCellTransmitter
For any natural numbers , including zero, and any complex matrix indexed by , this property means that there exists a Borel probability measure on such that every matrix entry of the following integrand is integrable and
The argument is not separately required by this definition to satisfy any density condition. Empty products equal , so for the property requires the sole entry of to equal .
QAlgorithms.Papers.Independent.Advance50.P35.LossMemory
This structure consists of three real numbers , together with the requirements
Both endpoints are permitted for each number. In particular, and are allowed despite the requirement that the two -values differ.
QAlgorithms.Papers.Independent.Advance50.P35.Memory
For a type and a natural number , a memory consists of a proof that , nonnegative real numbers indexed by with , and maps satisfying the channel conditions described below, together with the requirement that for every there exists a state on such that . Here a kernel on a type is trace class when there are sequences such that converges and for every . A state on is such a trace-class kernel for which every finite quadratic form , with finite and , has zero imaginary part and nonnegative real part, and whose real diagonal entries are summable with . Each maps trace-class kernels to trace-class kernels, is additive on trace-class kernels, satisfies for every complex and trace-class , and, for every natural number and state on , produces another state through the entrywise amplification
Zero prior weights are permitted, and distinctness is required even for channels assigned zero weight. For , distinctness is vacuous; admits no memory. The amplification condition includes , where there are no input states and hence that condition is vacuous.
QAlgorithms.Papers.Independent.Advance50.P35.MixtureOf
For a family assigning sets of pure states to register sizes, arbitrary natural numbers , and a state on , this property means that there exists a probability measure on the pure states on such that for -almost every , and, for every , the function is integrable and
A state here is a complex kernel with a representation , where and , with every finite coordinate quadratic form real and nonnegative and with summable real diagonal of sum ; pure states additionally have the form for a unit vector . The probability measure uses the inherited Borel structure from the state topology generated by sets , where and is the infimum of over all such representations of , with infimum when there is none. The measure need not be discrete or countably supported, and membership in is required only almost everywhere.
QAlgorithms.Papers.Independent.Advance50.P35.PureClass
This abbreviates the type of families that assign to every pair of natural numbers , including zero, an arbitrary set of pure states on the label set . Here a state is a complex matrix admitting an expansion
such that every finite coordinate quadratic form is real and nonnegative, the real diagonal is summable, and . Such a state is pure precisely when there is a vector with and . There are no additional requirements on the sets ; they may be empty.
QAlgorithms.Papers.Independent.Advance50.P35.SingleCellAchievable
For arbitrary real numbers and any natural number , put , where denotes functions from to . Define the kernel , where
To specify its two output kernels, define the single-coordinate map
Its ordered -coordinate extension is defined recursively by and
For a kernel on , let
The predicate holds exactly when there exists a continuous complex-linear operator on such that , , and both and are nonnegative for every , and such that . Here, for two kernels , is the explicit expression
There are no restrictions on , and is included: then both registers have one label, the amplitude is the empty product , and no channel copies are applied. All expressions use total division, square roots, logarithms, and infinite sums; in particular division by is , the real square root of a nonpositive number is , and no separate convergence or normalization hypothesis is imposed here.
QAlgorithms.Papers.Independent.Advance50.P35.TensorCopyBasis
For any type and natural number , this denotes the type of all functions , equivalently ordered -tuples of elements of . When , it contains exactly the empty tuple, including when is empty; when and is empty, it is empty.
QAlgorithms.Papers.Independent.Advance50.P35.binaryMeasuredInformation
For any type , any continuous complex-linear operator on , and any two complex matrices indexed by , define, using the coordinate vectors ,
The definition assigns
Here for , and for . No positivity, normalization, effect, or summability assumptions are imposed, so the numbers need not be nonnegative. The nested complex sums use the total infinite-sum convention, with nonsummable families assigned ; real division by is , and the real logarithm is total, with and for .
QAlgorithms.Papers.Independent.Advance50.P35.cellOutput
For any types , natural numbers , map , and kernel on , this defines a kernel on the same register by
for and . The maps are defined by and
where denotes prepending an entry to a tuple. No channel, trace-class, positivity, or normalization assumption is imposed. When , the output equals ; when , each auxiliary tuple is the unique empty tuple.
QAlgorithms.Papers.Independent.Advance50.P35.cellTotalPhotonEnergy
For arbitrary natural numbers and any complex matrix indexed by pairs of number strings , this first identifies such a pair with its concatenated -coordinate number string and then defines
Both inner sums take values in . Thus every signal and auxiliary coordinate is included. No density or summability assumption is imposed on . Either register may have zero coordinates, and the value is zero when .
QAlgorithms.Papers.Independent.Advance50.P35.classicalEigenvalue
For any with real parameters , , and , and any real , this defines the real number
There is no assumption . In particular, the value is when or when is either or .
QAlgorithms.Papers.Independent.Advance50.P35.classicalFormula
For any with real parameters , , and , and any real , this defines
The logarithm is the total real logarithm: it is at and equals for nonzero . Thus this formula also applies when . Its value is when or .
QAlgorithms.Papers.Independent.Advance50.P35.classicalReadingCapacity
Let have real parameters with , , and , and let be unrestricted. This defines
as an element of , with natural . Membership in means that for sequences in with , that every finite quadratic form is real and nonnegative, and that the real diagonal entries are summable with sum . The mixture condition requires a Borel probability measure on for which every entry below is integrable and
Empty products equal , and
is evaluated in . The outputs are
The one-coordinate action and its iterates are defined by
and , while
denotes a first coordinate followed by the list . Finally,
The compressions include the empty finite set, and logarithms of matrices use continuous functional calculus with the total real logarithm, for which . The output sums are total complex sums, equal to when nonsummable. An empty admissible supremum is , and extended arithmetic uses . Auxiliary dimension is included, auxiliary energy is unrestricted, and all impose the same zero signal-energy condition.
QAlgorithms.Papers.Independent.Advance50.P35.classicalSingleRate
For any with real parameters , , and , and any real , this defines
The parameter does not occur in the value. The real square root equals on negative arguments, and the real logarithm is total with . Thus negative are included; for every , and the defined value is .
QAlgorithms.Papers.Independent.Advance50.P35.classicalTotalCapacity
For real parameters belonging to , with , , and , and any real , this defines the extended nonnegative number
Here are natural numbers. The density condition requires sequences such that and , requires every finite quadratic form to be real and nonnegative, and requires the real diagonal entries to be summable with sum . The mixture condition means that some Borel probability measure on makes every entry integrable and satisfies
with empty products equal to . The constrained energy includes all signal and auxiliary coordinates:
where all terms and sums are in . The output matrices are
Explicitly, the one-coordinate action is
where
The iteration starts with and satisfies
where means adjoining a first coordinate. The divergence is
Here are coordinate compressions, including the empty compression, and logarithms use continuous functional calculus with the total real logarithm, including . Infinite complex sums use the total convention of returning when nonsummable. Empty admissible suprema equal , and in extended arithmetic. The range includes , and every real imposes zero total energy.
QAlgorithms.Papers.Independent.Advance50.P35.coherentAmplitude
For arbitrary natural numbers , complex arrays and , and a pair of number strings , this defines the complex number
The products are finite and impose no restrictions on the amplitudes or occupations. An empty product is , so if , the value is .
QAlgorithms.Papers.Independent.Advance50.P35.coherentInput
For every real , this defines a matrix on , whose second component is the unique empty list. Identifying an index with its sole signal coordinate , its entries are
The square root is the total real square root, equal to for , and . Consequently, for every the entry is at and elsewhere.
QAlgorithms.Papers.Independent.Advance50.P35.coherentProductProjector
For any natural numbers , including zero, and amplitude lists and , this defines a complex matrix indexed by pairs , where these powers denote spaces of functions on the indicated finite index sets. Put
The matrix entry at is
Empty products equal ; in particular, when , the index set has one element and the sole matrix entry is .
QAlgorithms.Papers.Independent.Advance50.P35.effectProbability
For any type , let be the space of square-summable complex families indexed by , and let have coordinate at and elsewhere. For every continuous complex-linear operator and every complex matrix , this definition assigns the real number
The inner sum over is taken before the outer sum over . There is no assumption that is finite or countable, that is an effect, that is positive or normalized, or that either family being summed is summable. These are total infinite sums: a nonsummable complex family has sum . If is empty, the value is .
QAlgorithms.Papers.Independent.Advance50.P35.eprAmplitude
For every natural number , every real , and every index , this defines the complex number obtained from the real value
Equality means equality in every coordinate. No positivity assumption on or is imposed: real division by zero returns , square roots of negative real numbers return , and zeroth powers equal . When , both lists are empty and the amplitude is for every . When and , the amplitude is for and at every other index.
QAlgorithms.Papers.Independent.Advance50.P35.eprError
For every real and every natural number , this defines
The matrix is indexed by and is the outer product , where
The map leaves the second occupation string as an auxiliary register and acts on the first by
For a matrix on , is the infimum, in , of over all sequences for which this real series is summable and
An empty infimum is ; the subscript “real” converts finite values to real numbers and converts to zero. No positivity or range restrictions are imposed on . Division by zero and square roots of negative reals are zero, and nonsummable complex sums are zero. When , the occupation strings and products are empty, both output maps are the identity, and the defined error is .
QAlgorithms.Papers.Independent.Advance50.P35.eprErrorRate
For every real and natural number , this defines
Here is a matrix on , with and
The quantity is the infimum of over sequences in with summable norm products and for every pair of indices; if no such sequences exist, it is . Its conversion sends to zero. All parameters are unrestricted apart from ; division by zero and negative-argument real square roots are zero, and nonsummable complex sums are zero. The logarithm is the total real logarithm, with and for nonzero real , so the definition does not require . For , it gives and rate zero.
QAlgorithms.Papers.Independent.Advance50.P35.eprInput
For every natural number and real , this defines a complex matrix indexed by and in , with entries
The amplitudes are real values regarded as complex numbers. The definition includes and arbitrary negative , using division by zero equal to and real square roots equal to on negative arguments. For the sole entry is ; for and , the sole nonzero entry is at .
QAlgorithms.Papers.Independent.Advance50.P35.eprLimitRate
For every pair of real numbers , without sign or range restrictions, this defines
The real square root of a negative argument is zero, and the total real logarithm satisfies and for nonzero real . Thus the expression remains defined when . If or , then and the defined rate is zero.
QAlgorithms.Papers.Independent.Advance50.P35.eprLowerRate
For every real and natural number , this defines
No sign or range assumptions are made on , and is included. Division by zero and negative-argument real square roots are zero, while zeroth powers are one. The logarithm is total, with and for nonzero real , so this formula is defined even when . For , and the value is zero.
QAlgorithms.Papers.Independent.Advance50.P35.finiteMemoryHolevoBits
For any type , natural number , nonnegative real weights indexed by , and arbitrary complex kernels on , this defines the extended nonnegative real number
Here is the supremum over all finite subsets of the following quantity for the restricted matrices :
where , regarded as an extended nonnegative real, and matrix logarithms use the continuous functional calculus. The weights are not required to sum to one, and the kernels are not required to be states. The finite subsets include the empty subset. All sums, products, and division in the outer expression are in , with ; when , the value is zero.
QAlgorithms.Papers.Independent.Advance50.P35.fockInput
For every natural number , including , this defines a complex matrix on a register with one signal mode and no auxiliary modes. The auxiliary occupation string is the unique empty string, so identifying each matrix index with its signal occupation , the definition is
QAlgorithms.Papers.Independent.Advance50.P35.lossInformation
For arbitrary natural numbers , arbitrary real , and any complex kernel on , this defines
with arithmetic in . For , applies the map to each signal coordinate while retaining every auxiliary coordinate. Precisely, define and
For any matrix over , the single-coordinate map used here is
where unless , and otherwise
For arbitrary kernels , is the supremum over finite coordinate sets of
using coordinate compressions and continuous functional calculus of the real natural logarithm. No density, parameter-range, or summability hypotheses are present; natural subtraction is truncated, and nonsummable complex infinite sums take the value zero. When , both output kernels equal , and the two weights are not required to be a probability distribution.
QAlgorithms.Papers.Independent.Advance50.P35.lossPrior
For any real and , this defines a nonnegative real weight by
No assumption that is made in this definition. The two weights sum to when ; values outside that interval are still accepted and are truncated individually at zero.
QAlgorithms.Papers.Independent.Advance50.P35.memoryEntropy
For any type , natural number , and memory on with labels and prior weights , this defines the real number
The memory data require , , and , and also supply maps that preserve trace-class kernels, are complex-linear on trace-class kernels, and preserve states under every finite auxiliary amplification; every two distinct labels must have different outputs on some state. Explicitly, trace class means admitting with and summable . A state is such a kernel with real nonnegative quadratic forms on every finite coordinate subset and summable real diagonal of sum one. The auxiliary amplification on an -element register is , and state preservation is required for every , including the vacuous zero-dimensional case. Only the prior weights enter the displayed value. Zero weights are permitted and contribute zero, with the real logarithm defined at zero as zero.
QAlgorithms.Papers.Independent.Advance50.P35.mixtureClassCapacity
For a natural number , a memory on with alternatives, a family of sets of pure states, and any real , this defines
The memory includes , nonnegative priors summing to , and maps on matrices over , pairwise distinguishable on some state. Each map preserves kernels representable as , with square-summable vectors and , is additive and complex homogeneous on those kernels, and preserves states under every finite blockwise identity extension. A state is a kernel admitting such a representation, with real nonnegative finite coordinate quadratic forms and summable real diagonal of sum ; a pure state is one of the form with . Being a mixture of means that a Borel probability measure on pure states gives full measure and satisfies, for every coordinate pair , integrability of and . The Borel structure comes from the topology generated by balls , where is the infimum of the expansion costs , or if no expansion exists. The signal energy is . The outputs apply recursively to the signal coordinates only: with ,
Here is the supremum over finite coordinate compressions of when , and otherwise; logarithms use continuous functional calculus of the real natural logarithm. Suprema and information values lie in . The mixing measure may have non-discrete support, and only its barycenter must satisfy the specified energy equality; its individual pure components need not have that energy. Zero auxiliary size and zero priors are allowed, negative imposes zero energy, and an empty admissible collection contributes supremum zero.
QAlgorithms.Papers.Independent.Advance50.P35.noonAmplitude
For every index , this defines the complex number
The nonzero value is the positive real number regarded as a complex number.
QAlgorithms.Papers.Independent.Advance50.P35.noonInput
This defines a complex matrix indexed by pairs of single-mode occupation numbers. Identifying an index with , its entries are
Thus all four entries connecting the two indicated indices, including the two off-diagonal entries, equal . This is the outer product of the amplitude function that equals at those two indices and zero elsewhere.
QAlgorithms.Papers.Independent.Advance50.P35.orthogonalSqueezedVacuum
For every real number , without a sign restriction, and every natural number , this defines the real coefficient
Here denotes natural-number division, which is exact in the even branch. In particular, ; the denominator is nonzero for every real .
QAlgorithms.Papers.Independent.Advance50.P35.pureClassCapacity
For a natural number , a memory on with alternatives, a family of sets of pure states, and any real , this defines
Here includes , nonnegative real priors with sum , and maps on complex matrices over ; for distinct alternatives , some state has different images under . Each map preserves the class of kernels admitting expansions with square-summable vectors and , is additive and complex homogeneous on that class, and its blockwise extension by every finite identity register takes states to states. A state is such a kernel whose finite coordinate quadratic forms are real and nonnegative and whose real diagonal is summable with sum ; a pure state additionally equals for a unit vector . Writing , the required energy is . The output applies to all signal coordinates and leaves the auxiliary coordinates untouched: explicitly, set and
For kernels , is the supremum over all finite coordinate sets of
where are coordinate compressions and is continuous functional calculus applied to the real natural logarithm. All outer suprema and the weighted information expression are evaluated in . Auxiliary size is unrestricted and may be zero; the energy constraint is equality, negative imposes zero energy, zero priors are allowed, and an empty admissible collection has supremum zero.
QAlgorithms.Papers.Independent.Advance50.P35.pureRegisterValue
For any types , natural numbers , and memory on with labels, this defines
A pure state on is a state kernel admitting for some of norm one. A state kernel on any type is a trace-class kernel whose finite-coordinate quadratic forms are real and nonnegative and whose real diagonal is summable with sum one; trace class means an expansion with and summable . The memory supplies , nonnegative weights summing to one, and maps preserving trace-class kernels and complex-linear on them, such that for every finite auxiliary dimension the amplification preserves states; every pair of distinct labels is distinguished on some state, irrespective of zero prior weights. The copy maps satisfy and
For kernels on , is the supremum over finite of if , and otherwise; restrictions are by coordinates, logarithms use continuous functional calculus, and . Arithmetic and the supremum are in , with . Both register lengths are fixed and may be zero, with a unique tuple in each zero-length factor. If is empty, there are no pure states and the value is zero; otherwise the supremum may be infinite.
QAlgorithms.Papers.Independent.Advance50.P35.pureUnassistedValue
For any type , natural numbers , and memory on with labels, this defines
The second tuple in is uniquely empty. A pure state here is a state kernel for which some satisfies and . More generally, a state kernel on a type admits an expansion with and summable , has real nonnegative quadratic forms on every finite coordinate subset, and has summable real diagonal of sum one; admitting just that expansion is the trace-class condition. The memory requires , nonnegative weights summing to one, and maps preserving trace-class kernels and complex-linear on them, whose every finite auxiliary amplification preserves states; distinct labels must be distinguished by some state, including labels of zero weight. The copy maps are given by and
The divergence is the supremum over finite of when , and otherwise, with coordinate restrictions, continuous functional calculus, and . Arithmetic and the supremum take values in , with and empty supremum zero. The length is fixed and may be zero, in which case both tuple factors are singletons and the copy map is the identity.
QAlgorithms.Papers.Independent.Advance50.P35.quantumReadingCapacity
Let consist of real parameters satisfying , , and , and let be any real number. This defines an extended nonnegative real number
Here all suprema range over natural and all matrices satisfying the displayed conditions. For an index set , consists of matrices admitting sequences with and , for which every finite quadratic form is real and nonnegative, and for which the real diagonal entries form a summable family with sum . The signal energy is
with the sum and products taken in . To specify literally, define a one-coordinate matrix action by
where
Its action on coordinates is the recursion and, for ,
where means adjoining as the first coordinate. The output entries are
For arbitrary matrices on the same index set,
where are coordinate compressions and the matrix logarithms use continuous functional calculus with the total real logarithm, including . Finite includes the empty set. The infinite complex sums in the output construction use the total summation convention, giving when nonsummable. The supremum of an empty admissible family is , and extended arithmetic includes . There is no restriction : every imposes zero signal energy; is allowed, and no energy constraint is imposed on the auxiliary coordinates.
QAlgorithms.Papers.Independent.Advance50.P35.signalEnergy
For arbitrary natural numbers and any complex matrix indexed by pairs , where and , this defines the extended nonnegative real number
The outer sum includes every signal and auxiliary number string. No positivity, normalization, or summability hypothesis is imposed on ; negative real diagonal entries contribute zero, and the result may be . The auxiliary occupations do not enter the occupation factor. Zero values of and are allowed; when , the value is zero.
QAlgorithms.Papers.Independent.Advance50.P35.squeezedAmplitude
For every pair of real numbers and every natural number , this defines the complex amplitude
where
All real factors are regarded as complex numbers where necessary. Neither real parameter is restricted, and is included. The infinite sum is the total complex sum: if its summands are not summable, its value is zero.
QAlgorithms.Papers.Independent.Advance50.P35.squeezedInput
For every real , this defines a complex matrix on one signal mode with no auxiliary modes. Identifying its indices with natural numbers , its entries are
where the amplitudes are explicitly
The parameters have no sign restrictions. Each infinite complex sum takes the value zero if its summands are not summable; the definition imposes no separate normalization hypothesis.
QAlgorithms.Papers.Independent.Advance50.P35.squeezedValue
For every real , this defines an extended nonnegative real number by
Here , with
The one-mode map appearing here has entries
For arbitrary matrices indexed by , the quantity used above means
where are the coordinate restrictions, matrix logarithms use continuous functional calculus, and . The finite subsets include the empty subset. There is no restriction on , and both signs of are permitted by the constraint. Real square roots of negative arguments are zero; complex infinite sums are zero when not summable. All displayed suprema and arithmetic defining the value are taken in .
QAlgorithms.Papers.Independent.Advance50.P35.thetaFinite
For every real and every natural number , this defines the real number
There are no sign or range restrictions on the real parameters, and is permitted. Real division by zero and square roots of negative arguments are zero, and a zeroth power is one, including . Consequently, gives ; if and the parenthesized base is zero, the defined value is zero.
QAlgorithms.Papers.Independent.Advance50.P35.thetaLimit
For every pair of real numbers , without sign or range restrictions, this defines
The real square root is zero for negative arguments. The defined value is positive, equals whenever or , and is not required by the definition to be at most one.
QAlgorithms.Papers.Independent.Advance50.P35.traceClassChannelCopies
For any type and any map , this defines maps on kernels indexed by ordered -tuples from , recursively by
where , , and means the tuple obtained by prepending to . Both and the kernel are arbitrary; no linearity, positivity, trace-class, or normalization hypothesis is imposed on or . At , the indexing type consists of the unique empty tuple and the operation is the identity.
QAlgorithms.Papers.Independent.Advance50.P35.transmitterInformation
For types , natural numbers , a memory on with labels, and an arbitrary complex kernel on , this defines
Here supplies , nonnegative weights summing to one, and maps that preserve trace-class kernels, are complex-linear on those kernels, and whose amplifications on every finite auxiliary register map states to states; for every distinct pair of labels, some state on has different images under their maps, including when either label has zero weight. A trace-class kernel on any type has an expansion with and convergent ; a state additionally has every finite quadratic form real and nonnegative and has summable real diagonal with sum one. The finite amplification of sends to , for every natural auxiliary dimension, including zero. The copy maps obey and
For kernels on , is the supremum over finite of if , and otherwise; are coordinate restrictions, matrix logarithms use continuous functional calculus, and . The result lies in , where zero weight times infinite divergence is zero. Neither nor must be positive, and itself need not be a state.
QAlgorithms.Papers.Independent.Advance50.P35.unconstrainedCapacity
For any types , natural number , and memory on with labels, this defines the extended nonnegative supremum
The memory consists of , nonnegative summing to one, and maps preserving trace-class kernels and complex-linear on them, with state-preserving amplification on every finite auxiliary register; each pair of distinct labels is distinguished by some state, regardless of its prior weights. A kernel on a type is trace class if for sequences in with summable ; it is a state if, additionally, all finite-coordinate quadratic forms are real and nonnegative and its real diagonal is summable with sum one. The finite amplification sends to , including the vacuous auxiliary dimension zero. The copy maps satisfy and
For output kernels, is the supremum over finite coordinate sets of when , and otherwise, using continuous functional calculus and . The outer arithmetic is in , with . The auxiliary length is allowed, is fixed rather than optimized over, and no energy restriction is imposed. An empty state-indexed supremum is zero; in particular, gives value zero, while still permits the unique auxiliary tuple at . The supremum may be infinite.
QAlgorithms.Papers.Independent.Advance50.P35.vacuumLossAction
For any real and arbitrary complex matrix indexed by , this identifies each natural-number index with a one-coordinate number string, mixes with the kernel that is at the pair of zero environment strings and elsewhere, and sums over the common environment output index. Explicitly, the resulting matrix has entries
where the real coefficient is
In this formula a summand failing its indicated conditions is zero. Natural-number subtraction is truncated at zero. There are no restrictions , no density assumption on , and no summability hypotheses; real square roots and the nested complex infinite sums retain their total-function meanings, so a nonsummable complex family has sum zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.