Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for On Quantum Fidelities and Channel Capacities

Definition
QAlgorithms_Papers_Independent_Gap48_P29

by Goku · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of On Quantum Fidelities and Channel Capacities (arXiv:quant-ph/9809010) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • Represents: PDF p.2, Eq.(1): an operator-sum representation, with equality on all matrices.
  • FiniteCPMap: PDF pp.1--2: adapt the accepted complete-positivity predicate to unbundled superoperators, preserving its linear map on EVERY matrix and every amplification. No trace constraint is imposed.
  • TraceNonincreasingCPMap: PDF p.2, Eqs.(1)--(2): a CP trace-nonincreasing operation.
  • fe: PDF p.2, Eq.(11), expanded through matrix units to make Fe independent of a chosen Kraus representation. This equals sum_a |Tr(K_a rho)|^2 for every CP map. There is no division by the output trace.
  • operatorFe: PDF p.2, single-operator convention following Eq.(6): Fe(rho,{B}).
  • projectionDimension: PDF pp.2--3: actual range dimension, counting every eigenvalue multiplicity.
  • IsPartialIsometry: PDF p.2: the partial-isometry identity WW†W=W (equivalent to projector initial and final spaces); rectangular matrices permit either order of dimensions.
  • IsMaximalPartialIsometry: PDF p.2: a maximal partial isometry fills the smaller of its two spaces.
  • SourceRegister: PDF p.3: the coordinate index of n tensor factors of a d-dimensional space.
  • BlockQuantumSource: PDF p.3, before Eq.(12): a source is an arbitrary sequence of block density matrices on tensor powers of one nonzero finite single-letter Hilbert space. The unique zero-block state is harmless; all quantitative bounds use positive n.
  • sourceEntropyRate: PDF p.3, Eq.(12): limsup entropy rate. The sequence is bounded between zero and log2(dimension), so the real limsup has no empty/unbounded default.
  • qaepSpectralProjector: PDF p.3, Eq.(19): full spectral projector for the CLOSED typical window.
  • qaepRetainedMass: PDF p.3, Eq.(21): retained probability.
  • QAEP: PDF p.3, Definition 1: all positive spectral windows and all positive mass errors, with the eventual threshold after both tolerances. No iid assumption.
  • typicalRestriction: PDF p.6, Eq.(53): normalized typical restriction; used only with retained mass positive (or eventually positive by QAEP). Its total zero-mass value is zero.
  • IsCompression: PDF p.6, Eq.(50): compression into a projector range, containing the exact projection branch plus another CP branch, and trace preserving overall.
  • SourceTransmissionCode: PDF p.3, Eq.(14): actual physical encoders and decoders, without assistance.
  • SourceTransmissionCode.effective: PDF p.3, Eqs.(13)--(15): decoding after independent channel uses after encoding.
  • Reliable: PDF p.3, Eq.(15): entanglement reliability for a specified source and code.
  • Transmissible: PDF p.3, Eq.(15): existence of a reliable physical code.
  • SubspaceReliable: PDF p.3, Eqs.(16),(18): uniform fidelity on ALL normalized superpositions in a family of subspaces. For channel families this is exactly convergence of Fp to one.
  • subspaceRate: PDF p.3, Eq.(17): limsup logarithmic subspace dimension per use.
  • SubspaceAchievable: PDF p.3, Eqs.(17)--(18): transmitted subspaces in channel-input tensor powers, with a single code acting uniformly on the whole subspace.
  • qe: PDF pp.1,3: entanglement capacity restricted to the paper's QAEP source class. For nonzero finite-dimensional channels the set is nonempty and bounded by log2 c.
  • qs: PDF p.3: subspace capacity, with the source's LIMSUP rate convention. The set is nonempty and bounded for nonzero finite-dimensional channels.
  • ForwardCode: PDF p.11, Eq.(97): arbitrary finitely many forward messages at each block size. Encodings are CP TNI branches summing to a TP channel; each decoder is TP. There is no feedback or pre-shared entanglement in this model.
  • ForwardReliable: PDF p.11, Eq.(98): sum UNNORMALIZED branch fidelities, which includes the branch probabilities, rather than an unweighted average of normalized fidelities.
  • qeForward: PDF p.11: entanglement capacity with forward classical communication.
  • uniformOn: PDF p.9, Corollary 1: uniform state on a nonzero projector range.
  • coherentBlockMaximum: PDF p.12, Eq.(113): maximum over ALL block input densities, including entangled ones. The continuous finite-dimensional objective attains this bounded supremum.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P22

/-!
Statements from Barnum--Knill--Nielsen, arXiv:quant-ph/9809010v1.
All Hilbert spaces are nonzero finite dimensional coordinate spaces. Block registers
are tensor powers of a fixed single-letter space, including correlated sources.
Entropy and logarithms are in bits; fidelity is squared and unrenormalized.
Lemmas 3 and 4 are deferred because their printed estimates are false.
Compilation is pending the explicitly requested batch handoff.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Gap48.P29

open QAlgorithms Filter
open scoped Matrix ComplexConjugate ComplexOrder Topology

open QAlgorithms.Papers.Independent.Information100.P07 (IsProjection)
open QAlgorithms.Papers.Independent.Information100.P67 (squaredFidelity)

/-- PDF p.2, Eq.(1): an operator-sum representation, with equality on all matrices. -/
def Represents {I J : Type*} [Fintype I] {m : ℕ}
    (K : Fin m → Matrix J I ℂ) (A : Superop I J) : Prop :=
  ∀ X, A X = krausApply K X

/-- PDF pp.1--2: adapt the accepted complete-positivity predicate to unbundled
superoperators, preserving its linear map on EVERY matrix and every amplification.
No trace constraint is imposed. -/
def FiniteCPMap {I J : Type*} [Fintype I] [Fintype J] (A : Superop I J) : Prop :=
  ∃ L : Matrix I I ℂ →ₗ[ℂ] Matrix J J ℂ,
    (∀ X, L X = A X) ∧ QAlgorithms.Entanglement.IsCompletelyPositive L

/-- PDF p.2, Eqs.(1)--(2): a CP trace-nonincreasing operation. -/
def TraceNonincreasingCPMap {I J : Type*} [Fintype I] [Fintype J] (A : Superop I J) : Prop :=
  FiniteCPMap A ∧ ∀ X, X.PosSemidef → (A X).trace.re ≤ X.trace.re

/-- PDF p.2, Eq.(11), expanded through matrix units to make Fe independent of a
chosen Kraus representation. This equals sum_a |Tr(K_a rho)|^2 for every CP map.
There is no division by the output trace. -/
def fe {I : Type*} [Fintype I] [DecidableEq I]
    (rho : Matrix I I ℂ) (A : Superop I I) : ℝ :=
  (∑ i, ∑ j, ∑ k, ∑ l,
    rho j i * conj (rho l k) * A (Matrix.single j l 1) i k).re

/-- PDF p.2, single-operator convention following Eq.(6): Fe(rho,{B}). -/
def operatorFe {I : Type*} [Fintype I] (rho B : Matrix I I ℂ) : ℝ :=
  Complex.normSq (B * rho).trace

/-- PDF pp.2--3: actual range dimension, counting every eigenvalue multiplicity. -/
def projectionDimension {I : Type*} [Fintype I] [DecidableEq I]
    (P : Matrix I I ℂ) : ℕ :=
  Module.finrank ℂ (LinearMap.range (Matrix.toEuclideanLin P))

/-- PDF p.2: the partial-isometry identity WW†W=W (equivalent to projector initial
and final spaces); rectangular matrices permit either order of dimensions. -/
def IsPartialIsometry {I J : Type*} [Fintype I] [Fintype J]
    (W : Matrix J I ℂ) : Prop := W * Wᴴ * W = W

/-- PDF p.2: a maximal partial isometry fills the smaller of its two spaces. -/
def IsMaximalPartialIsometry {I J : Type*} [Fintype I] [Fintype J]
    [DecidableEq I] [DecidableEq J] (W : Matrix J I ℂ) : Prop :=
  IsPartialIsometry W ∧ (Wᴴ * W = 1 ∨ W * Wᴴ = 1)

/-- PDF p.3: the coordinate index of n tensor factors of a d-dimensional space. -/
abbrev SourceRegister (d n : ℕ) := Fin n → Fin d

/-- PDF p.3, before Eq.(12): a source is an arbitrary sequence of block density
matrices on tensor powers of one nonzero finite single-letter Hilbert space.
The unique zero-block state is harmless; all quantitative bounds use positive n. -/
structure BlockQuantumSource where
  dimension : ℕ
  dimension_pos : 0 < dimension
  rho : (n : ℕ) → Matrix (SourceRegister dimension n) (SourceRegister dimension n) ℂ
  density : ∀ n, IsDensityMatrix (rho n)

/-- PDF p.3, Eq.(12): limsup entropy rate. The sequence is bounded between zero and
log2(dimension), so the real limsup has no empty/unbounded default. -/
def sourceEntropyRate (S : BlockQuantumSource) : ℝ :=
  Filter.limsup (fun n : ℕ => vnEntropy (S.rho n) / (n : ℝ)) atTop

/-- PDF p.3, Eq.(19): full spectral projector for the CLOSED typical window. -/
def qaepSpectralProjector (S : BlockQuantumSource) (window : ℝ) (n : ℕ) :
    Matrix (SourceRegister S.dimension n) (SourceRegister S.dimension n) ℂ :=
  cfc (fun x : ℝ => if (2 : ℝ) ^ (-(n : ℝ) * (sourceEntropyRate S + window)) ≤ x ∧
      x ≤ (2 : ℝ) ^ (-(n : ℝ) * (sourceEntropyRate S - window)) then 1 else 0) (S.rho n)

/-- PDF p.3, Eq.(21): retained probability. -/
def qaepRetainedMass (S : BlockQuantumSource) (window : ℝ) (n : ℕ) : ℝ :=
  ((qaepSpectralProjector S window n * S.rho n * qaepSpectralProjector S window n).trace).re

/-- PDF p.3, Definition 1: all positive spectral windows and all positive mass
errors, with the eventual threshold after both tolerances. No iid assumption. -/
def QAEP (S : BlockQuantumSource) : Prop :=
  ∀ window > (0 : ℝ), ∀ delta > (0 : ℝ),
    ∀ᶠ n : ℕ in atTop, 1 - delta < qaepRetainedMass S window n

/-- PDF p.6, Eq.(53): normalized typical restriction; used only with retained mass
positive (or eventually positive by QAEP). Its total zero-mass value is zero. -/
def typicalRestriction (S : BlockQuantumSource) (window : ℝ) (n : ℕ) :
    Matrix (SourceRegister S.dimension n) (SourceRegister S.dimension n) ℂ :=
  ((qaepRetainedMass S window n : ℂ)⁻¹) •
    (qaepSpectralProjector S window n * S.rho n * qaepSpectralProjector S window n)

/-- PDF p.6, Eq.(50): compression into a projector range, containing the exact
projection branch plus another CP branch, and trace preserving overall. -/
def IsCompression {I : Type*} [Fintype I] [DecidableEq I]
    (P : Matrix I I ℂ) (C : Superop I I) : Prop :=
  IsChannel C ∧ (∃ G : Superop I I, FiniteCPMap G ∧
    ∀ X, C X = conjSuperop P X + G X) ∧ ∀ X, P * C X * P = C X

/-- PDF p.3, Eq.(14): actual physical encoders and decoders, without assistance. -/
structure SourceTransmissionCode (S : BlockQuantumSource) (c o : ℕ) where
  enc : (n : ℕ) → Superop (SourceRegister S.dimension n) (SourceRegister c n)
  dec : (n : ℕ) → Superop (SourceRegister o n) (SourceRegister S.dimension n)
  enc_channel : ∀ n, IsChannel (enc n)
  dec_channel : ∀ n, IsChannel (dec n)

/-- PDF p.3, Eqs.(13)--(15): decoding after independent channel uses after encoding. -/
def SourceTransmissionCode.effective {S : BlockQuantumSource} {c o : ℕ} (C : SourceTransmissionCode S c o)
    (N : Superop (Fin c) (Fin o)) (n : ℕ) :
    Superop (SourceRegister S.dimension n) (SourceRegister S.dimension n) :=
  C.dec n ∘ piSuperop (fun _ : Fin n => N) ∘ C.enc n

/-- PDF p.3, Eq.(15): entanglement reliability for a specified source and code. -/
def Reliable {S : BlockQuantumSource} {c o : ℕ} (N : Superop (Fin c) (Fin o))
    (C : SourceTransmissionCode S c o) : Prop :=
  Tendsto (fun n => fe (S.rho n) (C.effective N n)) atTop (nhds 1)

/-- PDF p.3, Eq.(15): existence of a reliable physical code. -/
def Transmissible (S : BlockQuantumSource) {c o : ℕ} (N : Superop (Fin c) (Fin o)) : Prop :=
  ∃ C : SourceTransmissionCode S c o, Reliable N C

/-- PDF p.3, Eqs.(16),(18): uniform fidelity on ALL normalized superpositions in
a family of subspaces. For channel families this is exactly convergence of Fp to one. -/
def SubspaceReliable {d : ℕ}
    (P : (n : ℕ) → Matrix (SourceRegister d n) (SourceRegister d n) ℂ)
    (A : (n : ℕ) → Superop (SourceRegister d n) (SourceRegister d n)) : Prop :=
  ∀ epsilon > (0 : ℝ), ∀ᶠ n : ℕ in atTop,
    ∀ psi : EuclideanSpace ℂ (SourceRegister d n), ‖psi‖ = 1 → act (P n) psi = psi →
      1 - epsilon ≤ effectProb (pureDensity psi) (A n (pureDensity psi))

/-- PDF p.3, Eq.(17): limsup logarithmic subspace dimension per use. -/
def subspaceRate {d : ℕ}
    (P : (n : ℕ) → Matrix (SourceRegister d n) (SourceRegister d n) ℂ) : ℝ :=
  Filter.limsup (fun n : ℕ => Real.logb 2 (projectionDimension (P n) : ℝ) / n) atTop

/-- PDF p.3, Eqs.(17)--(18): transmitted subspaces in channel-input tensor powers,
with a single code acting uniformly on the whole subspace. -/
def SubspaceAchievable {c o : ℕ} (N : Superop (Fin c) (Fin o)) (R : ℝ) : Prop :=
  ∃ S : BlockQuantumSource, S.dimension = c ∧ ∃ C : SourceTransmissionCode S c o,
    ∃ P : (n : ℕ) → Matrix (SourceRegister S.dimension n) (SourceRegister S.dimension n) ℂ,
      (∀ n, IsProjection (P n) ∧ 0 < projectionDimension (P n)) ∧
      subspaceRate P = R ∧ SubspaceReliable P (C.effective N)

/-- PDF pp.1,3: entanglement capacity restricted to the paper's QAEP source class.
For nonzero finite-dimensional channels the set is nonempty and bounded by log2 c. -/
def qe {c o : ℕ} (N : Superop (Fin c) (Fin o)) : ℝ :=
  sSup {R : ℝ | ∃ S : BlockQuantumSource, QAEP S ∧ sourceEntropyRate S = R ∧ Transmissible S N}

/-- PDF p.3: subspace capacity, with the source's LIMSUP rate convention. The set
is nonempty and bounded for nonzero finite-dimensional channels. -/
def qs {c o : ℕ} (N : Superop (Fin c) (Fin o)) : ℝ :=
  sSup {R : ℝ | SubspaceAchievable N R}

/-- PDF p.11, Eq.(97): arbitrary finitely many forward messages at each block size.
Encodings are CP TNI branches summing to a TP channel; each decoder is TP.
There is no feedback or pre-shared entanglement in this model. -/
structure ForwardCode (S : BlockQuantumSource) (c o : ℕ) where
  messages : ℕ → ℕ
  enc : (n : ℕ) → Fin (messages n) → Superop (SourceRegister S.dimension n) (SourceRegister c n)
  dec : (n : ℕ) → Fin (messages n) → Superop (SourceRegister o n) (SourceRegister S.dimension n)
  enc_operation : ∀ n m, TraceNonincreasingCPMap (enc n m)
  enc_channel : ∀ n, IsChannel (fun X => ∑ m, enc n m X)
  dec_channel : ∀ n m, IsChannel (dec n m)

/-- PDF p.11, Eq.(98): sum UNNORMALIZED branch fidelities, which includes the
branch probabilities, rather than an unweighted average of normalized fidelities. -/
def ForwardReliable {S : BlockQuantumSource} {c o : ℕ} (N : Superop (Fin c) (Fin o))
    (C : ForwardCode S c o) : Prop :=
  Tendsto (fun n => ∑ m, fe (S.rho n)
    (C.dec n m ∘ piSuperop (fun _ : Fin n => N) ∘ C.enc n m)) atTop (nhds 1)

/-- PDF p.11: entanglement capacity with forward classical communication. -/
def qeForward {c o : ℕ} (N : Superop (Fin c) (Fin o)) : ℝ :=
  sSup {R : ℝ | ∃ S : BlockQuantumSource, QAEP S ∧ sourceEntropyRate S = R ∧
    ∃ C : ForwardCode S c o, ForwardReliable N C}

/-- PDF p.9, Corollary 1: uniform state on a nonzero projector range. -/
def uniformOn {I : Type*} [Fintype I] [DecidableEq I]
    (P : Matrix I I ℂ) : Matrix I I ℂ :=
  ((projectionDimension P : ℂ)⁻¹) • P

/-- PDF p.12, Eq.(113): maximum over ALL block input densities, including entangled
ones. The continuous finite-dimensional objective attains this bounded supremum. -/
def coherentBlockMaximum {c o : ℕ} (N : Superop (Fin c) (Fin o)) (n : ℕ) : ℝ :=
  sSup {r : ℝ | ∃ rho : Matrix (SourceRegister c n) (SourceRegister c n) ℂ,
    IsDensityMatrix rho ∧ QAlgorithms.Papers.Independent.Information100.P22.coherentInformation
      (piSuperop (fun _ : Fin n => N)) rho = r}

/-- Sanity: zero operation has zero unrenormalized entanglement fidelity. -/
example {I : Type*} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ) :
    fe rho (fun _ => 0) = 0 := by simp [fe]

/-- Sanity: the zero Kraus operator is an allowed CP operation, including Fe=0. -/
example {I J : Type*} [Fintype I] [Fintype J] :
    FiniteCPMap (fun _ : Matrix I I ℂ => (0 : Matrix J J ℂ)) := by
  refine ⟨0, (by intro X; rfl), ?_⟩
  intro r X _
  change (0 : Matrix (Fin r × J) (Fin r × J) ℂ).PosSemidef
  exact Matrix.PosSemidef.zero

/-- Sanity: identity is a maximal partial isometry, including equal dimensions. -/
example {I : Type*} [Fintype I] [DecidableEq I] :
    IsMaximalPartialIsometry (1 : Matrix I I ℂ) := by
  simp [IsMaximalPartialIsometry, IsPartialIsometry]

/-- Sanity: Eq.(11) in dimension one is |rho|^2 times the scalar operation. -/
example : fe (1 : Matrix (Fin 1) (Fin 1) ℂ) (fun X => X) = 1 := by
  simp [fe, Matrix.single, Matrix.one_apply]

/-- Sanity: the zero subspace has no uniform-state probability mass. -/
example {I : Type*} [Fintype I] [DecidableEq I] :
    uniformOn (0 : Matrix I I ℂ) = 0 := by simp [uniformOn]

end QAlgorithms.Papers.Independent.Gap48.P29
Source
On Quantum Fidelities and Channel Capacities, arXiv:quant-ph/9809010v1, https://arxiv.org/abs/quant-ph/9809010v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Gap48.P29.BlockQuantumSource

A block quantum source consists of a natural number d>0d>0d>0, together with a complex matrix ρn\rho_nρn​ for every natural number nnn, whose rows and columns are indexed by length-nnn strings over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, and proofs that each ρn\rho_nρn​ is positive semidefinite and has complex trace exactly 111. The family includes n=0n=0n=0, where the register has one element and the trace requirement forces the sole matrix entry to be 111. No compatibility condition between different block lengths is imposed.

QAlgorithms.Papers.Independent.Gap48.P29.FiniteCPMap

For any finite types I,JI,JI,J and any function A:CI×I→CJ×JA:\mathbb C^{I\times I}\to\mathbb C^{J\times J}A:CI×I→CJ×J, this predicate means that there exists a complex-linear map L:CI×I→CJ×JL:\mathbb C^{I\times I}\to\mathbb C^{J\times J}L:CI×I→CJ×J such that L(X)=A(X)L(X)=A(X)L(X)=A(X) for every XXX, and such that every finite amplification of LLL preserves positive semidefiniteness. Explicitly, for every natural number rrr and every positive semidefinite matrix XXX indexed by {0,…,r−1}×I\{0,\ldots,r-1\}\times I{0,…,r−1}×I, the matrix YYY defined by

Y(a,j),(b,j′)=[L ⁣((X(a,i),(b,i′))i,i′∈I)]j,j′Y_{(a,j),(b,j')}= \left[L\!\left((X_{(a,i),(b,i')})_{i,i'\in I}\right)\right]_{j,j'}Y(a,j),(b,j′)​=[L((X(a,i),(b,i′)​)i,i′∈I​)]j,j′​

is positive semidefinite. Empty III, empty JJJ, and r=0r=0r=0 are included; no trace condition is required.

QAlgorithms.Papers.Independent.Gap48.P29.ForwardCode

For a block source SSS, consisting of a positive natural-number dimension ddd and a positive semidefinite trace-one matrix ρn\rho_nρn​ on the register {0,…,d−1}n\{0,\ldots,d-1\}^n{0,…,d−1}n for every natural number nnn, and for arbitrary natural numbers c,oc,oc,o, a forward code consists of a natural-number message count MnM_nMn​ for each nnn, maps En,m\mathcal E_{n,m}En,m​ from source-register matrices to matrices on {0,…,c−1}n\{0,\ldots,c-1\}^n{0,…,c−1}n, and maps Dn,m\mathcal D_{n,m}Dn,m​ from matrices on {0,…,o−1}n\{0,\ldots,o-1\}^n{0,…,o−1}n to source-register matrices, for every m∈{0,…,Mn−1}m\in\{0,\ldots,M_n-1\}m∈{0,…,Mn​−1}. Each En,m\mathcal E_{n,m}En,m​ must equal a complex-linear completely positive map and satisfy

Re⁡tr⁡(En,m(X))≤Re⁡tr⁡(X)(X≥0).\operatorname{Re}\operatorname{tr}(\mathcal E_{n,m}(X)) \le \operatorname{Re}\operatorname{tr}(X) \qquad(X\ge0).Retr(En,m​(X))≤Retr(X)(X≥0).

Complete positivity here means that for every natural number rrr, including r=0r=0r=0, applying the map separately to the matrix blocks indexed by a reference register of size rrr preserves positive semidefiniteness: the output block with reference indices a,ba,ba,b is En,m(Xa,b)\mathcal E_{n,m}(X_{a,b})En,m​(Xa,b​). For every nnn, the sum X↦∑m=0Mn−1En,m(X)X\mapsto\sum_{m=0}^{M_n-1}\mathcal E_{n,m}(X)X↦∑m=0Mn​−1​En,m​(X) must be a channel, and every Dn,m\mathcal D_{n,m}Dn,m​ must be a channel. A channel is a map admitting a finite representation X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. These conditions apply also at n=0n=0n=0. There is no bound on the message counts or any computational resource; although their declared type permits zero, Mn=0M_n=0Mn​=0 cannot satisfy the channel condition on the sum, because the source register is nonempty.

QAlgorithms.Papers.Independent.Gap48.P29.ForwardReliable

For a block source SSS of positive dimension ddd, with positive semidefinite trace-one matrices ρn\rho_nρn​ on {0,…,d−1}n\{0,\ldots,d-1\}^n{0,…,d−1}n, arbitrary natural numbers c,oc,oc,o, an arbitrary function N:Mc(C)→Mo(C)N:M_c(\mathbb C)\to M_o(\mathbb C)N:Mc​(C)→Mo​(C), and a forward code CCC, this defines reliability to mean

lim⁡n→∞∑m=0Mn−1F ⁣(ρn, Dn,m∘N[n]∘En,m)=1,\lim_{n\to\infty} \sum_{m=0}^{M_n-1} F\!\left(\rho_n,\, \mathcal D_{n,m}\circ N^{[n]}\circ\mathcal E_{n,m}\right)=1,n→∞lim​m=0∑Mn​−1​F(ρn​,Dn,m​∘N[n]∘En,m​)=1,

where, for any square matrix ρ\rhoρ and any function A\mathcal AA on matrices of the same size,

F(ρ,A)=Re⁡∑i,j,k,lρj,i ρl,k‾ A(Ej,l)i,k.F(\rho,\mathcal A) =\operatorname{Re}\sum_{i,j,k,l} \rho_{j,i}\,\overline{\rho_{l,k}}\, \mathcal A(E_{j,l})_{i,k}.F(ρ,A)=Rei,j,k,l∑​ρj,i​ρl,k​​A(Ej,l​)i,k​.

The matrix unit Ej,lE_{j,l}Ej,l​ has its only nonzero entry, equal to 111, at (j,l)(j,l)(j,l), and

N[n](X)y,y′=∑x,x′Xx,x′∏i=0n−1N(Exi,xi′)yi,yi′.N^{[n]}(X)_{y,y'} =\sum_{x,x'}X_{x,x'}\prod_{i=0}^{n-1} N(E_{x_i,x_i'})_{y_i,y_i'}.N[n](X)y,y′​=x,x′∑​Xx,x′​i=0∏n−1​N(Exi​,xi′​​)yi​,yi′​​.

The forward code supplies MnM_nMn​ encoder branches En,m\mathcal E_{n,m}En,m​ that are complex-linear completely positive maps with nonincreasing real trace on positive semidefinite inputs, whose sum is a channel, together with a channel Dn,m\mathcal D_{n,m}Dn,m​ for each branch. Complete positivity means preservation of positive semidefiniteness under every finite reference-register amplification, performed block by block; a channel means a finite Kraus sum X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. No channel assumption is imposed on NNN. The limit is along natural block lengths tending to infinity; the families also contain n=0n=0n=0, where products over coordinates are empty products equal to 111.

QAlgorithms.Papers.Independent.Gap48.P29.IsCompression

For any finite index type III with decidable equality, including an empty type, any complex matrix PPP indexed by I×II\times II×I, and any function CCC from such matrices to such matrices, this property is the conjunction of the following requirements: CCC has a finite Kraus representation C(X)=∑a=0m−1KaXKa†C(X)=\sum_{a=0}^{m-1}K_aXK_a^\daggerC(X)=∑a=0m−1​Ka​XKa†​ for every complex matrix XXX, with ∑aKa†Ka=I\sum_aK_a^\dagger K_a=I∑a​Ka†​Ka​=I; there exists a function GGG agreeing on every matrix with a complex-linear map LLL such that, for every natural number rrr and every positive semidefinite matrix XXX on {0,…,r−1}×I\{0,\ldots,r-1\}\times I{0,…,r−1}×I, applying LLL to each I×II\times II×I block of XXX gives a positive semidefinite matrix, and such that C(X)=PXP†+G(X)C(X)=PXP^\dagger+G(X)C(X)=PXP†+G(X) for every XXX; and

PC(X)P=C(X)for every complex matrix X.PC(X)P=C(X)\qquad\text{for every complex matrix }X.PC(X)P=C(X)for every complex matrix X.

In particular, no Hermitian or idempotence hypothesis is imposed on PPP, and the last displayed expression uses PPP on both sides without taking an adjoint. The amplification requirement includes r=0r=0r=0, and the finite Kraus family may have length zero when its normalization equation permits it.

QAlgorithms.Papers.Independent.Gap48.P29.IsMaximalPartialIsometry

For any finite types I,JI,JI,J, both equipped with decidable equality, and any complex matrix W∈CJ×IW\in\mathbb C^{J\times I}W∈CJ×I, this predicate means

WW†W=Wand(W†W=II or WW†=IJ),WW^\dagger W=W \quad\text{and}\quad \bigl(W^\dagger W=I_I\ \text{or}\ WW^\dagger=I_J\bigr),WW†W=Wand(W†W=II​ or WW†=IJ​),

where III_III​ and IJI_JIJ​ are the identity matrices on the respective index types. The disjunction permits either or both identity equations to hold. Empty index types are allowed; if either index type is empty, the unique matrix satisfies the predicate.

QAlgorithms.Papers.Independent.Gap48.P29.IsPartialIsometry

For any finite types I,JI,JI,J and any complex matrix W∈CJ×IW\in\mathbb C^{J\times I}W∈CJ×I, this predicate means precisely

WW†W=W,WW^\dagger W=W,WW†W=W,

where †\dagger† denotes conjugate transpose. Either index type may be empty; in that case the unique matrix of the indicated shape satisfies the equation.

QAlgorithms.Papers.Independent.Gap48.P29.QAEP

For a block source SSS with positive dimension ddd and positive semidefinite, trace-one matrices ρn\rho_nρn​ indexed by nnn-tuples from a ddd-element set, define H(ρ)=−Re⁡tr⁡(f(ρ))H(\rho)=-\operatorname{Re}\operatorname{tr}(f(\rho))H(ρ)=−Retr(f(ρ)), where f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t is applied by functional calculus, and put h=lim sup⁡n→∞H(ρn)/nh=\limsup_{n\to\infty}H(\rho_n)/nh=limsupn→∞​H(ρn​)/n. For w>0w>0w>0, let Pw,nP_{w,n}Pw,n​ select precisely the eigenvalues of ρn\rho_nρn​ in the closed interval [2−n(h+w),2−n(h−w)][2^{-n(h+w)},2^{-n(h-w)}][2−n(h+w),2−n(h−w)]. The property defined here says that for every real w>0w>0w>0 and every real δ>0\delta>0δ>0, there exists a natural-number threshold n0n_0n0​ such that every n≥n0n\ge n_0n≥n0​ satisfies

1−δ<Re⁡tr⁡(Pw,nρnPw,n).1-\delta<\operatorname{Re}\operatorname{tr}(P_{w,n}\rho_nP_{w,n}).1−δ<Retr(Pw,n​ρn​Pw,n​).

The inequality is strict, and the threshold may depend on both www and δ\deltaδ; there is no upper restriction on either positive parameter.

QAlgorithms.Papers.Independent.Gap48.P29.Reliable

Let SSS have positive dimension ddd and positive semidefinite, trace-one source matrices ρn\rho_nρn​; let c,oc,oc,o be natural numbers; let NNN be any function from complex c×cc\times cc×c matrices to complex o×oo\times oo×o matrices; and let CCC provide encoding and decoding maps En,Dn\mathcal E_n,\mathcal D_nEn​,Dn​, each admitting a finite representation T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​ with ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ equal to the input identity. Define Nn(Y)y,y′=∑x,x′Yx,x′∏i=0n−1[N(Exi,xi′)]yi,yi′N_n(Y)_{y,y'}=\sum_{x,x'}Y_{x,x'}\prod_{i=0}^{n-1}[N(E_{x_i,x'_i})]_{y_i,y'_i}Nn​(Y)y,y′​=∑x,x′​Yx,x′​∏i=0n−1​[N(Exi​,xi′​​)]yi​,yi′​​, with the sums over input nnn-tuples and the output entries indexed by output nnn-tuples, and put Tn=Dn∘Nn∘EnT_n=\mathcal D_n\circ N_n\circ\mathcal E_nTn​=Dn​∘Nn​∘En​. This property means

lim⁡n→∞Re⁡∑i,j,k,l(ρn)j,i (ρn)l,k‾ [Tn(Ej,l)]i,k=1,\lim_{n\to\infty}\operatorname{Re}\sum_{i,j,k,l} (\rho_n)_{j,i}\,\overline{(\rho_n)_{l,k}}\, [T_n(E_{j,l})]_{i,k}=1,n→∞lim​Rei,j,k,l∑​(ρn​)j,i​(ρn​)l,k​​[Tn​(Ej,l​)]i,k​=1,

where all four indices range over source nnn-tuples and each Ej,lE_{j,l}Ej,l​ is the corresponding source matrix unit. Equivalently, for every real ε>0\varepsilon>0ε>0, the displayed real expression differs from 111 in absolute value by less than ε\varepsilonε for all sufficiently large nnn. No channel assumption on NNN, asymptotic spectral condition on SSS, or positivity assumption on c,oc,oc,o is included; the defining sequence includes n=0n=0n=0.

QAlgorithms.Papers.Independent.Gap48.P29.Represents

For any finite type III, any type JJJ, any natural number mmm, any family of complex matrices Ka∈CJ×IK_a\in\mathbb C^{J\times I}Ka​∈CJ×I, indexed by 0≤a<m0\le a<m0≤a<m, and any function A:CI×I→CJ×JA:\mathbb C^{I\times I}\to\mathbb C^{J\times J}A:CI×I→CJ×J, this predicate means that

A(X)=∑a=0m−1KaXKa†A(X)=\sum_{a=0}^{m-1}K_aXK_a^\daggerA(X)=a=0∑m−1​Ka​XKa†​

for every complex matrix X∈CI×IX\in\mathbb C^{I\times I}X∈CI×I, where †\dagger† denotes conjugate transpose. No normalization condition on the KaK_aKa​ is imposed. The case m=0m=0m=0 is included and requires A(X)=0A(X)=0A(X)=0 for every XXX.

QAlgorithms.Papers.Independent.Gap48.P29.SourceRegister

For natural numbers d,nd,nd,n, this abbreviates the type of functions from {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} to {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, equivalently length-nnn strings over an alphabet of size ddd. It has dnd^ndn elements. When n=0n=0n=0, it contains exactly the empty function, including when d=0d=0d=0; when d=0d=0d=0 and n>0n>0n>0, it is empty.

QAlgorithms.Papers.Independent.Gap48.P29.SourceTransmissionCode.effective

Let SSS be a block source of positive dimension ddd, let c,oc,oc,o be natural numbers, and let CCC supply encoding and decoding maps En,Dn\mathcal E_n,\mathcal D_nEn​,Dn​ for every nnn, each having a finite Kraus representation T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​ with ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ equal to the input identity. For any function NNN from complex c×cc\times cc×c matrices to complex o×oo\times oo×o matrices and any natural number nnn, the effective function on source-register matrices is defined by

X⟼Dn ⁣(Nn(En(X))),Nn(Y)y,y′=∑x,x′Yx,x′∏i=0n−1[N(Exi,xi′)]yi,yi′,X\longmapsto\mathcal D_n\!\left(N_n(\mathcal E_n(X))\right), \qquad N_n(Y)_{y,y'}=\sum_{x,x'}Y_{x,x'}\prod_{i=0}^{n-1}\bigl[N(E_{x_i,x'_i})\bigr]_{y_i,y'_i},X⟼Dn​(Nn​(En​(X))),Nn​(Y)y,y′​=x,x′∑​Yx,x′​i=0∏n−1​[N(Exi​,xi′​​)]yi​,yi′​​,

where x,x′x,x'x,x′ range over nnn-tuples from a ccc-element set, y,y′y,y'y,y′ over nnn-tuples from an ooo-element set, and Ea,bE_{a,b}Ea,b​ is the c×cc\times cc×c matrix with its sole nonzero entry equal to 111 at (a,b)(a,b)(a,b). No channel or linearity assumption is imposed on NNN. The definition includes c=0c=0c=0, o=0o=0o=0, and n=0n=0n=0; at n=0n=0n=0, the tuple sets are singletons and the empty product is 111, so N0N_0N0​ is the identity on the one-dimensional matrix space.

QAlgorithms.Papers.Independent.Gap48.P29.SourceTransmissionCode

Given a block source SSS of positive dimension ddd, with a positive semidefinite, trace-one matrix ρn\rho_nρn​ for every nnn, and arbitrary natural numbers c,oc,oc,o, this structure consists of encoding functions En\mathcal E_nEn​ from complex matrices on nnn-tuples over a ddd-element set to matrices on nnn-tuples over a ccc-element set, and decoding functions Dn\mathcal D_nDn​ from matrices on nnn-tuples over an ooo-element set to matrices on the source register. For every natural number nnn, each encoding and decoding function must have a finite normalized Kraus representation: a map TTT from an input register to an output register must satisfy T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​ for every complex input matrix XXX, where the KaK_aKa​ are matrices from the input register to the output register and ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ is the input identity. These requirements include n=0n=0n=0, when all tuple registers have one element. No positivity condition is placed separately on ccc or ooo, so zero values are included subject to the required representations existing.

QAlgorithms.Papers.Independent.Gap48.P29.SubspaceAchievable

For natural numbers c,oc,oc,o, an arbitrary function NNN from complex c×cc\times cc×c matrices to complex o×oo\times oo×o matrices, and a real number RRR, this property asserts the existence of a block source SSS whose positive dimension ddd equals ccc, whose matrices ρn\rho_nρn​ are positive semidefinite of trace 111 for every nnn, together with encoding maps En\mathcal E_nEn​, decoding maps Dn\mathcal D_nDn​, and source-register matrices PnP_nPn​. Each encoding and decoding map must have a finite Kraus representation T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​ with ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ equal to the input identity. For every natural number nnn, including zero, Pn†=PnP_n^\dagger=P_nPn†​=Pn​, Pn2=PnP_n^2=P_nPn2​=Pn​, and its range has strictly positive complex dimension rnr_nrn​; moreover,

lim sup⁡n→∞log⁡2rnn=R.\limsup_{n\to\infty}\frac{\log_2 r_n}{n}=R.n→∞limsup​nlog2​rn​​=R.

Define Nn(Y)y,y′=∑x,x′Yx,x′∏i=0n−1[N(Exi,xi′)]yi,yi′N_n(Y)_{y,y'}=\sum_{x,x'}Y_{x,x'}\prod_{i=0}^{n-1}[N(E_{x_i,x'_i})]_{y_i,y'_i}Nn​(Y)y,y′​=∑x,x′​Yx,x′​∏i=0n−1​[N(Exi​,xi′​​)]yi​,yi′​​, where the sums are over ccc-ary input tuples and the entries over ooo-ary output tuples, and put Tn=Dn∘Nn∘EnT_n=\mathcal D_n\circ N_n\circ\mathcal E_nTn​=Dn​∘Nn​∘En​. The remaining requirement is that, for every real ε>0\varepsilon>0ε>0, all sufficiently large nnn satisfy Re⁡tr⁡(∣ψ⟩⟨ψ∣ Tn(∣ψ⟩⟨ψ∣))≥1−ε\operatorname{Re}\operatorname{tr}(|\psi\rangle\langle\psi|\,T_n(|\psi\rangle\langle\psi|))\ge1-\varepsilonRetr(∣ψ⟩⟨ψ∣Tn​(∣ψ⟩⟨ψ∣))≥1−ε simultaneously for every unit vector ψ\psiψ fixed by PnP_nPn​, where the outer product has entries ψiψj‾\psi_i\overline{\psi_j}ψi​ψj​​. The source states have no additional required relationship to PnP_nPn​, and no asymptotic spectral condition or channel hypothesis on NNN is imposed. The equality d=cd=cd=c forces c>0c>0c>0.

QAlgorithms.Papers.Independent.Gap48.P29.SubspaceReliable

For any natural number ddd, a sequence of arbitrary complex matrices PnP_nPn​ indexed by nnn-tuples from a ddd-element set, and a sequence of arbitrary functions AnA_nAn​ from matrices on those registers to matrices on the same registers, this property says that for every real ε>0\varepsilon>0ε>0, there is a natural-number threshold n0n_0n0​ such that, for every n≥n0n\ge n_0n≥n0​ and every complex vector ψ\psiψ on the register satisfying ∥ψ∥=1\|\psi\|=1∥ψ∥=1 and Pnψ=ψP_n\psi=\psiPn​ψ=ψ,

1−ε≤Re⁡tr⁡ ⁣(∣ψ⟩⟨ψ∣ An(∣ψ⟩⟨ψ∣)),1-\varepsilon\le \operatorname{Re}\operatorname{tr}\!\left( |\psi\rangle\langle\psi|\,A_n(|\psi\rangle\langle\psi|) \right),1−ε≤Retr(∣ψ⟩⟨ψ∣An​(∣ψ⟩⟨ψ∣)),

where (∣ψ⟩⟨ψ∣)i,j=ψiψj‾(|\psi\rangle\langle\psi|)_{i,j}=\psi_i\overline{\psi_j}(∣ψ⟩⟨ψ∣)i,j​=ψi​ψj​​ and multiplication by PnP_nPn​ is ordinary matrix-vector multiplication. The threshold is uniform over all such vectors ψ\psiψ. No projection assumption on PnP_nPn​ or channel assumption on AnA_nAn​ is included. At any block length with no unit vector fixed by PnP_nPn​, the vector condition is vacuous; in particular, if d=0d=0d=0, every positive block length has an empty register and the property is vacuous eventually.

QAlgorithms.Papers.Independent.Gap48.P29.TraceNonincreasingCPMap

For any finite types I,JI,JI,J and any function A:CI×I→CJ×JA:\mathbb C^{I\times I}\to\mathbb C^{J\times J}A:CI×I→CJ×J, this predicate means that AAA agrees everywhere with a complex-linear map whose amplification to r×rr\times rr×r blocks preserves positive semidefiniteness for every natural number rrr, including r=0r=0r=0, and that

Re⁡tr⁡(A(X))≤Re⁡tr⁡(X)\operatorname{Re}\operatorname{tr}(A(X)) \le \operatorname{Re}\operatorname{tr}(X)Retr(A(X))≤Retr(X)

for every positive semidefinite X∈CI×IX\in\mathbb C^{I\times I}X∈CI×I. Here amplification applies the map separately to each I×II\times II×I block. The trace inequality is required for all positive semidefinite matrices, without a trace-one restriction. Either index type may be empty.

QAlgorithms.Papers.Independent.Gap48.P29.Transmissible

For a block source SSS of positive dimension ddd, with positive semidefinite, trace-one source matrices ρn\rho_nρn​, natural numbers c,oc,oc,o, and any function NNN from complex c×cc\times cc×c matrices to complex o×oo\times oo×o matrices, this property asserts the existence of encoding maps En\mathcal E_nEn​ from source nnn-tuple matrices to ccc-ary nnn-tuple matrices and decoding maps Dn\mathcal D_nDn​ from ooo-ary nnn-tuple matrices back to source matrices, for every natural number nnn. Each map must have a finite Kraus representation T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​, valid for every matrix XXX, with ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ equal to the input identity. Writing

Nn(Y)y,y′=∑x,x′Yx,x′∏a=0n−1[N(Exa,xa′)]ya,ya′,Tn=Dn∘Nn∘En,N_n(Y)_{y,y'}=\sum_{x,x'}Y_{x,x'}\prod_{a=0}^{n-1}[N(E_{x_a,x'_a})]_{y_a,y'_a}, \qquad T_n=\mathcal D_n\circ N_n\circ\mathcal E_n,Nn​(Y)y,y′​=x,x′∑​Yx,x′​a=0∏n−1​[N(Exa​,xa′​​)]ya​,ya′​​,Tn​=Dn​∘Nn​∘En​,

the required limit is lim⁡n→∞Re⁡∑i,j,k,l(ρn)j,i(ρn)l,k‾[Tn(Ej,l)]i,k=1\lim_{n\to\infty}\operatorname{Re}\sum_{i,j,k,l}(\rho_n)_{j,i}\overline{(\rho_n)_{l,k}}[T_n(E_{j,l})]_{i,k}=1limn→∞​Re∑i,j,k,l​(ρn​)j,i​(ρn​)l,k​​[Tn​(Ej,l​)]i,k​=1, where the four indices range over source nnn-tuples and matrix units have one entry equal to 111 and all others zero. All code requirements include n=0n=0n=0. Neither a channel hypothesis on NNN nor an asymptotic spectral hypothesis on SSS is imposed.

QAlgorithms.Papers.Independent.Gap48.P29.coherentBlockMaximum

For natural numbers c,o,nc,o,nc,o,n, all possibly zero, and an arbitrary function N:Mc(C)→Mo(C)N:M_c(\mathbb C)\to M_o(\mathbb C)N:Mc​(C)→Mo​(C), this defines the block maximum as

sup⁡ρ≥0tr⁡ρ=1[H(N[n](ρ))−H((id⁡⊗N[n])(∣vρ⟩⟨vρ∣))],\sup_{\substack{\rho\ge0\\ \operatorname{tr}\rho=1}} \left[ H\bigl(N^{[n]}(\rho)\bigr) - H\bigl((\operatorname{id}\otimes N^{[n]})(|v_\rho\rangle\langle v_\rho|)\bigr) \right],ρ≥0trρ=1​sup​[H(N[n](ρ))−H((id⊗N[n])(∣vρ​⟩⟨vρ​∣))],

where ρ\rhoρ is indexed by length-nnn strings over {0,…,c−1}\{0,\ldots,c-1\}{0,…,c−1},

(vρ)i,j=(ρ)j,i,(∣vρ⟩⟨vρ∣)a,b=(vρ)a (vρ)b‾.(v_\rho)_{i,j}=\bigl(\sqrt{\rho}\bigr)_{j,i}, \qquad (|v_\rho\rangle\langle v_\rho|)_{a,b} =(v_\rho)_a\,\overline{(v_\rho)_b}.(vρ​)i,j​=(ρ​)j,i​,(∣vρ​⟩⟨vρ​∣)a,b​=(vρ​)a​(vρ​)b​​.

The square root is obtained by continuous functional calculus. For any matrix XXX, H(X)=−Re⁡tr⁡(f(X))H(X)=-\operatorname{Re}\operatorname{tr}(f(X))H(X)=−Retr(f(X)), with f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t applied by continuous functional calculus. The map N[n]N^{[n]}N[n] is defined by

N[n](X)y,y′=∑x,x′Xx,x′∏i=0n−1N(Exi,xi′)yi,yi′,N^{[n]}(X)_{y,y'} =\sum_{x,x'}X_{x,x'}\prod_{i=0}^{n-1}N(E_{x_i,x_i'})_{y_i,y_i'},N[n](X)y,y′​=x,x′∑​Xx,x′​i=0∏n−1​N(Exi​,xi′​​)yi​,yi′​​,

and id⁡⊗N[n]\operatorname{id}\otimes N^{[n]}id⊗N[n] applies N[n]N^{[n]}N[n] separately to each reference-indexed block: its ((a,y),(b,y′))((a,y),(b,y'))((a,y),(b,y′))-entry is N[n](Xa,b)y,y′N^{[n]}(X_{a,b})_{y,y'}N[n](Xa,b​)y,y′​. No channel assumption is imposed on NNN, so the entropy expressions are literally the specified functional-calculus expressions. At n=0n=0n=0, each string register has one element and the coordinate product is 111. If the input register is empty, no trace-one matrix exists. The supremum is taken in R\mathbb RR, returning zero for an empty or unbounded-above set.

QAlgorithms.Papers.Independent.Gap48.P29.fe

For any finite type III equipped with decidable equality, any complex matrix ρ∈CI×I\rho\in\mathbb C^{I\times I}ρ∈CI×I, and any function A:CI×I→CI×IA:\mathbb C^{I\times I}\to\mathbb C^{I\times I}A:CI×I→CI×I, this defines the real number

fe(ρ,A)=Re⁡ ⁣(∑i,j,k,l∈Iρji ρlk‾ [A(Ejl)]ik),f_e(\rho,A)= \operatorname{Re}\!\left( \sum_{i,j,k,l\in I} \rho_{ji}\,\overline{\rho_{lk}}\,[A(E_{jl})]_{ik} \right),fe​(ρ,A)=Re​i,j,k,l∈I∑​ρji​ρlk​​[A(Ejl​)]ik​​,

where EjlE_{jl}Ejl​ has entry 111 at row jjj, column lll, and zero elsewhere. No positivity or normalization assumption on ρ\rhoρ, and no linearity, positivity, or trace assumption on AAA, is imposed. If III is empty, the value is 000.

QAlgorithms.Papers.Independent.Gap48.P29.operatorFe

For any finite type III and arbitrary complex matrices ρ,B∈CI×I\rho,B\in\mathbb C^{I\times I}ρ,B∈CI×I, this defines

fop(ρ,B)=∣tr⁡(Bρ)∣2,f_{\mathrm{op}}(\rho,B) =\left|\operatorname{tr}(B\rho)\right|^2,fop​(ρ,B)=∣tr(Bρ)∣2,

where the squared modulus of z∈Cz\in\mathbb Cz∈C means (Re⁡z)2+(Im⁡z)2(\operatorname{Re}z)^2+(\operatorname{Im}z)^2(Rez)2+(Imz)2. No positivity, normalization, or operator condition is required. If III is empty, the value is 000.

QAlgorithms.Papers.Independent.Gap48.P29.projectionDimension

For any finite type III equipped with decidable equality and any complex matrix P∈CI×IP\in\mathbb C^{I\times I}P∈CI×I, this defines the natural number

dim⁡C{Pv:v∈CI},\dim_{\mathbb C}\{Pv:v\in\mathbb C^I\},dimC​{Pv:v∈CI},

the complex dimension of the range of the linear operator represented by PPP on the Euclidean space CI\mathbb C^ICI. No assumption that PPP is a projection is required. For empty III, this dimension is 000.

QAlgorithms.Papers.Independent.Gap48.P29.qaepRetainedMass

For a block source SSS, consisting of a positive integer dimension ddd and, for every natural number nnn, a positive semidefinite complex matrix ρn\rho_nρn​ of trace 111 indexed by nnn-tuples from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, let h=lim sup⁡n→∞H(ρn)/nh=\limsup_{n\to\infty}H(\rho_n)/nh=limsupn→∞​H(ρn​)/n, where H(ρ)=−Re⁡tr⁡(f(ρ))H(\rho)=-\operatorname{Re}\operatorname{tr}(f(\rho))H(ρ)=−Retr(f(ρ)) and f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t, with matrix functions interpreted by functional calculus. For any real window www and any natural number nnn, let Pw,nP_{w,n}Pw,n​ be the spectral function of ρn\rho_nρn​ whose value at an eigenvalue ttt is 111 exactly when 2−n(h+w)≤t≤2−n(h−w)2^{-n(h+w)}\le t\le2^{-n(h-w)}2−n(h+w)≤t≤2−n(h−w), and is 000 otherwise. The retained mass is defined by

Re⁡tr⁡(Pw,nρnPw,n).\operatorname{Re}\operatorname{tr}(P_{w,n}\rho_nP_{w,n}).Retr(Pw,n​ρn​Pw,n​).

The definition includes n=0n=0n=0, whose register has one element, and imposes no positivity condition on www; both spectral endpoints are included.

QAlgorithms.Papers.Independent.Gap48.P29.qaepSpectralProjector

For a block quantum source SSS with positive alphabet size ddd and positive semidefinite trace-one matrices ρj\rho_jρj​ on length-jjj strings, any real window www, and any natural number nnn, this defines the matrix obtained from ρn\rho_nρn​ by functional calculus with the function

x⟼{1,2−n(s+w)≤x≤2−n(s−w),0,otherwise,s=lim sup⁡j→∞−Re⁡tr⁡(f(ρj))j,f(x)=xlog⁡2x.x\longmapsto \begin{cases} 1,&2^{-n(s+w)}\le x\le 2^{-n(s-w)},\\ 0,&\text{otherwise}, \end{cases} \qquad s=\limsup_{j\to\infty}\frac{-\operatorname{Re}\operatorname{tr}(f(\rho_j))}{j}, \quad f(x)=x\log_2x.x⟼{1,0,​2−n(s+w)≤x≤2−n(s−w),otherwise,​s=j→∞limsup​j−Retr(f(ρj​))​,f(x)=xlog2​x.

Thus it is the orthogonal projection onto the eigenspaces of ρn\rho_nρn​ whose eigenvalues lie in the displayed closed interval, including both endpoints; f(ρj)f(\rho_j)f(ρj​) applies fff to the eigenvalues, with f(0)=0f(0)=0f(0)=0, and the j=0j=0j=0 quotient is 000. No positivity assumption on www is imposed. If w<0w<0w<0 and n>0n>0n>0, the interval is empty and the matrix is zero; if n=0n=0n=0, both bounds are 111, and the matrix is the identity on the one-dimensional empty-string register.

QAlgorithms.Papers.Independent.Gap48.P29.qe

For natural numbers c,oc,oc,o and any function NNN from complex c×cc\times cc×c matrices to complex o×oo\times oo×o matrices, this definition takes the real supremum of all real numbers RRR for which there exists a block source SSS of some positive dimension ddd, with positive semidefinite, trace-one matrices ρn\rho_nρn​, satisfying the following conditions. Define H(ρ)=−Re⁡tr⁡(f(ρ))H(\rho)=-\operatorname{Re}\operatorname{tr}(f(\rho))H(ρ)=−Retr(f(ρ)), where f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t is applied by functional calculus, and require R=lim sup⁡n→∞H(ρn)/nR=\limsup_{n\to\infty}H(\rho_n)/nR=limsupn→∞​H(ρn​)/n. For every real w>0w>0w>0 and δ>0\delta>0δ>0, require, for all sufficiently large nnn, the strict inequality 1−δ<Re⁡tr⁡(Pw,nρnPw,n)1-\delta<\operatorname{Re}\operatorname{tr}(P_{w,n}\rho_nP_{w,n})1−δ<Retr(Pw,n​ρn​Pw,n​), where Pw,nP_{w,n}Pw,n​ selects the eigenvalues of ρn\rho_nρn​ in the closed interval [2−n(R+w),2−n(R−w)][2^{-n(R+w)},2^{-n(R-w)}][2−n(R+w),2−n(R−w)]. Finally, require encoding maps En\mathcal E_nEn​ from source matrices to ccc-ary nnn-tuple matrices and decoding maps Dn\mathcal D_nDn​ from ooo-ary nnn-tuple matrices back to source matrices, each admitting a finite Kraus representation T(X)=∑aKaXKa†T(X)=\sum_aK_aXK_a^\daggerT(X)=∑a​Ka​XKa†​ with ∑aKa†Ka\sum_aK_a^\dagger K_a∑a​Ka†​Ka​ equal to the input identity. With

Nn(Y)y,y′=∑x,x′Yx,x′∏a=0n−1[N(Exa,xa′)]ya,ya′,Tn=Dn∘Nn∘En,N_n(Y)_{y,y'}=\sum_{x,x'}Y_{x,x'}\prod_{a=0}^{n-1}[N(E_{x_a,x'_a})]_{y_a,y'_a}, \qquad T_n=\mathcal D_n\circ N_n\circ\mathcal E_n,Nn​(Y)y,y′​=x,x′∑​Yx,x′​a=0∏n−1​[N(Exa​,xa′​​)]ya​,ya′​​,Tn​=Dn​∘Nn​∘En​,

these maps must satisfy lim⁡n→∞Re⁡∑i,j,k,l(ρn)j,i(ρn)l,k‾[Tn(Ej,l)]i,k=1\lim_{n\to\infty}\operatorname{Re}\sum_{i,j,k,l}(\rho_n)_{j,i}\overline{(\rho_n)_{l,k}}[T_n(E_{j,l})]_{i,k}=1limn→∞​Re∑i,j,k,l​(ρn​)j,i​(ρn​)l,k​​[Tn​(Ej,l​)]i,k​=1, with source-tuple indices and the usual matrix units Ej,lE_{j,l}Ej,l​. The source dimension need not equal ccc; all source and code sequences include n=0n=0n=0, with division by zero interpreted as zero. No channel assumption on NNN is included. The supremum uses the total real supremum operation, which returns zero for an empty or unbounded-above set.

QAlgorithms.Papers.Independent.Gap48.P29.qeForward

For natural numbers c,oc,oc,o, including zero, and an arbitrary function N:Mc(C)→Mo(C)N:M_c(\mathbb C)\to M_o(\mathbb C)N:Mc​(C)→Mo​(C), this defines qeforward(N)q_e^{\mathrm{forward}}(N)qeforward​(N) as the real supremum of all real numbers RRR for which there exist a positive natural-number dimension ddd, positive semidefinite trace-one matrices ρn\rho_nρn​ on Hd,n=C{0,…,d−1}n\mathcal H_{d,n}=\mathbb C^{\{0,\ldots,d-1\}^n}Hd,n​=C{0,…,d−1}n for every natural number nnn, and a forward code satisfying the following conditions. Write

H(X)=−Re⁡tr⁡(f(X)),f(t)=tlog⁡2t,h=lim sup⁡n→∞H(ρn)n,H(X)=-\operatorname{Re}\operatorname{tr}\bigl(f(X)\bigr), \qquad f(t)=t\log_2t, \qquad h=\limsup_{n\to\infty}\frac{H(\rho_n)}{n},H(X)=−Retr(f(X)),f(t)=tlog2​t,h=n→∞limsup​nH(ρn​)​,

where f(X)f(X)f(X) is given by continuous functional calculus. One requires h=Rh=Rh=R, and, for every window w>0w>0w>0 and every δ>0\delta>0δ>0, eventually in nnn,

1−δ<Re⁡tr⁡(Pw,nρnPw,n),Pw,n=1[ 2−n(h+w), 2−n(h−w) ](ρn),1-\delta< \operatorname{Re}\operatorname{tr}(P_{w,n}\rho_nP_{w,n}), \qquad P_{w,n} =\mathbf1_{[\,2^{-n(h+w)},\,2^{-n(h-w)}\,]}(\rho_n),1−δ<Retr(Pw,n​ρn​Pw,n​),Pw,n​=1[2−n(h+w),2−n(h−w)]​(ρn​),

with the indicator applied by functional calculus, including both interval endpoints. The forward code gives message counts MnM_nMn​, complex-linear completely positive encoder branches En,m\mathcal E_{n,m}En,m​ with nonincreasing real trace on positive semidefinite inputs and channel sum ∑mEn,m\sum_m\mathcal E_{n,m}∑m​En,m​, and channel decoders Dn,m\mathcal D_{n,m}Dn,m​, with

lim⁡n→∞∑m=0Mn−1F(ρn,Dn,m∘N[n]∘En,m)=1.\lim_{n\to\infty}\sum_{m=0}^{M_n-1} F(\rho_n,\mathcal D_{n,m}\circ N^{[n]}\circ\mathcal E_{n,m})=1.n→∞lim​m=0∑Mn​−1​F(ρn​,Dn,m​∘N[n]∘En,m​)=1.

Here

F(ρ,A)=Re⁡∑i,j,k,lρj,iρl,k‾A(Ej,l)i,k,N[n](X)y,y′=∑x,x′Xx,x′∏i=0n−1N(Exi,xi′)yi,yi′.F(\rho,\mathcal A)= \operatorname{Re}\sum_{i,j,k,l} \rho_{j,i}\overline{\rho_{l,k}}\mathcal A(E_{j,l})_{i,k}, \qquad N^{[n]}(X)_{y,y'}= \sum_{x,x'}X_{x,x'}\prod_{i=0}^{n-1}N(E_{x_i,x_i'})_{y_i,y_i'}.F(ρ,A)=Rei,j,k,l∑​ρj,i​ρl,k​​A(Ej,l​)i,k​,N[n](X)y,y′​=x,x′∑​Xx,x′​i=0∏n−1​N(Exi​,xi′​​)yi​,yi′​​.

Complete positivity means that every finite reference-register amplification, acting block by block, preserves positive semidefiniteness; a channel is a finite Kraus sum with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. The source dimension need not equal ccc, and NNN is not assumed to be a channel. All families include n=0n=0n=0; division by zero is zero, log⁡20=0\log_2 0=0log2​0=0 in the supplied real-logarithm convention, and empty coordinate products equal 111. The supremum is the real supremum, returning zero if the defining set is empty or unbounded above.

QAlgorithms.Papers.Independent.Gap48.P29.qs

For natural numbers c,oc,oc,o, including zero, and an arbitrary function N:Mc(C)→Mo(C)N:M_c(\mathbb C)\to M_o(\mathbb C)N:Mc​(C)→Mo​(C), this defines qs(N)q_s(N)qs​(N) as the real supremum of the following achievable rates RRR. There must exist a positive integer d=cd=cd=c, density matrices ρn\rho_nρn​ on Hd,n=C{0,…,d−1}n\mathcal H_{d,n}=\mathbb C^{\{0,\ldots,d-1\}^n}Hd,n​=C{0,…,d−1}n for every natural number nnn, encoding channels En:Hd,n→Hc,n\mathcal E_n:\mathcal H_{d,n}\to\mathcal H_{c,n}En​:Hd,n​→Hc,n​, decoding channels Dn:Ho,n→Hd,n\mathcal D_n:\mathcal H_{o,n}\to\mathcal H_{d,n}Dn​:Ho,n​→Hd,n​, and Hermitian idempotent matrices PnP_nPn​ on Hd,n\mathcal H_{d,n}Hd,n​ with positive-dimensional ranges, such that

lim sup⁡n→∞log⁡2dim⁡(ran⁡Pn)n=R\limsup_{n\to\infty}\frac{\log_2\dim(\operatorname{ran}P_n)}{n}=Rn→∞limsup​nlog2​dim(ranPn​)​=R

and, for every ϵ>0\epsilon>0ϵ>0, for all sufficiently large nnn, every unit vector ψ\psiψ satisfying Pnψ=ψP_n\psi=\psiPn​ψ=ψ obeys

1−ϵ≤Re⁡tr⁡ ⁣(∣ψ⟩⟨ψ∣ (Dn∘N[n]∘En)(∣ψ⟩⟨ψ∣)).1-\epsilon\le \operatorname{Re}\operatorname{tr}\!\left( |\psi\rangle\langle\psi|\, (\mathcal D_n\circ N^{[n]}\circ\mathcal E_n) (|\psi\rangle\langle\psi|) \right).1−ϵ≤Retr(∣ψ⟩⟨ψ∣(Dn​∘N[n]∘En​)(∣ψ⟩⟨ψ∣)).

Here a density matrix is positive semidefinite with trace 111, and a channel means a map X↦∑j=0r−1KjXKj†X\mapsto\sum_{j=0}^{r-1}K_jXK_j^\daggerX↦∑j=0r−1​Kj​XKj†​ for some natural number rrr, with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. For a matrix XXX indexed by strings of length nnn, the map used above is defined literally by

N[n](X)y,y′=∑x,x′Xx,x′∏i=0n−1N(Exi,xi′)yi,yi′,N^{[n]}(X)_{y,y'} =\sum_{x,x'}X_{x,x'}\prod_{i=0}^{n-1} N(E_{x_i,x_i'})_{y_i,y_i'},N[n](X)y,y′​=x,x′∑​Xx,x′​i=0∏n−1​N(Exi​,xi′​​)yi​,yi′​​,

where Ea,bE_{a,b}Ea,b​ is the matrix unit. No channel or linearity assumption is imposed on NNN in this definition, and no asymptotic spectral condition is imposed on the chosen ρn\rho_nρn​. The families include n=0n=0n=0, when the string register has one element; real division by zero is defined as zero. The supremum is taken in R\mathbb RR, whose supremum operation returns zero for an empty or unbounded-above set; in particular, when c=0c=0c=0, the requirement d>0d>0d>0 and d=cd=cd=c makes the rate set empty.

QAlgorithms.Papers.Independent.Gap48.P29.sourceEntropyRate

For a block quantum source SSS, consisting of a positive alphabet size ddd and positive semidefinite trace-one matrices ρn\rho_nρn​ indexed by length-nnn strings over that alphabet for every n∈Nn\in\mathbb Nn∈N, this defines the real number

s(S)=lim sup⁡n→∞H(ρn)n,H(ρ)=−Re⁡tr⁡ ⁣(f(ρ)),f(x)=xlog⁡2x,s(S)=\limsup_{n\to\infty}\frac{H(\rho_n)}{n}, \qquad H(\rho)=-\operatorname{Re}\operatorname{tr}\!\left(f(\rho)\right), \qquad f(x)=x\log_2x,s(S)=n→∞limsup​nH(ρn​)​,H(ρ)=−Retr(f(ρ)),f(x)=xlog2​x,

where f(ρ)f(\rho)f(ρ) is formed using continuous functional calculus, applying fff to the eigenvalues of the Hermitian matrix ρ\rhoρ. The logarithm is the total real logarithm, so the value of xlog⁡2xx\log_2xxlog2​x at x=0x=0x=0 is 000. The sequence includes n=0n=0n=0, where real division by zero gives 000; the definition uses a limit superior and does not require convergence of the sequence.

QAlgorithms.Papers.Independent.Gap48.P29.subspaceRate

For any natural number ddd and any sequence of complex matrices PnP_nPn​ indexed by nnn-tuples from a ddd-element set, let rnr_nrn​ be the complex dimension of the range of the linear map v↦Pnvv\mapsto P_nvv↦Pn​v. The real number defined here is

lim sup⁡n→∞log⁡2rnn.\limsup_{n\to\infty}\frac{\log_2 r_n}{n}.n→∞limsup​nlog2​rn​​.

No Hermitian, idempotence, or positive-rank assumption is imposed on the matrices. The logarithm and division use their total real-valued definitions: log⁡20=0\log_2 0=0log2​0=0, and division by zero gives zero, so both zero-rank matrices and the term n=0n=0n=0 are included. The limsup is taken in R\mathbb RR, rather than in an extended-real type. If d=0d=0d=0, all positive-length registers are empty and all their range dimensions are zero.

QAlgorithms.Papers.Independent.Gap48.P29.typicalRestriction

For a block source SSS of positive dimension ddd, with positive semidefinite, trace-one matrices ρn\rho_nρn​ on the nnn-tuple registers, put h=lim sup⁡n→∞H(ρn)/nh=\limsup_{n\to\infty}H(\rho_n)/nh=limsupn→∞​H(ρn​)/n, where H(ρ)=−Re⁡tr⁡(f(ρ))H(\rho)=-\operatorname{Re}\operatorname{tr}(f(\rho))H(ρ)=−Retr(f(ρ)) and f(t)=tlog⁡2tf(t)=t\log_2 tf(t)=tlog2​t is applied by functional calculus. Given any real www and natural number nnn, let Pw,nP_{w,n}Pw,n​ select the eigenvalues of ρn\rho_nρn​ in the closed interval [2−n(h+w),2−n(h−w)][2^{-n(h+w)},2^{-n(h-w)}][2−n(h+w),2−n(h−w)], and set rw,n=Re⁡tr⁡(Pw,nρnPw,n)r_{w,n}=\operatorname{Re}\operatorname{tr}(P_{w,n}\rho_nP_{w,n})rw,n​=Retr(Pw,n​ρn​Pw,n​). The matrix defined here, on the same register as ρn\rho_nρn​, is

(rw,n)−1Pw,nρnPw,n,(r_{w,n})^{-1}P_{w,n}\rho_nP_{w,n},(rw,n​)−1Pw,n​ρn​Pw,n​,

where the real retained mass is embedded in C\mathbb CC before inversion. This definition assumes neither the asymptotic retained-mass property nor w>0w>0w>0 nor rw,n>0r_{w,n}>0rw,n​>0; inversion at zero is defined as zero, so zero retained mass gives the zero matrix. It also includes n=0n=0n=0.

QAlgorithms.Papers.Independent.Gap48.P29.uniformOn

For every finite index type III with decidable equality, possibly empty, and every complex matrix PPP indexed by I×II\times II×I, this defines

uniformOn⁡(P)=(dim⁡Cran⁡(x↦Px))−1P,\operatorname{uniformOn}(P) =\bigl(\dim_{\mathbb C}\operatorname{ran}(x\mapsto Px)\bigr)^{-1}P,uniformOn(P)=(dimC​ran(x↦Px))−1P,

where the natural-number dimension is first regarded as a complex number and inverted in C\mathbb CC. No Hermitian, idempotence, positivity, or nonzero assumption is imposed on PPP. If the range dimension is zero, the inverse is defined as zero and the resulting matrix is zero; this includes the empty index type.

Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me