Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for A random-coding based proof for the quantum coding theorem

Definition
QAlgorithms_Papers_Independent_Advance50_P29

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of A random-coding based proof for the quantum coding theorem (arXiv:0712.2558) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • KrausTraceBound: PDF pp.3–4: a Kraus family for a completely positive trace-nonincreasing operation. The positive-semidefinite defect is exactly sum A_i^dagger A_i <= identity.
  • HasFiniteKrausOperation: PDF pp.2–3: a finite, possibly empty, Kraus representation of a quantum operation.
  • operationLength: PDF p.2: minimum Kraus length, not the length of a possibly redundant supplied list. The empty family represents the zero operation. All uses below are Kraus-representable.
  • MinimalKraus: PDF pp.2,14,16: minimality compares the represented map on every operator.
  • CodeProjection: PDF p.5: a nonzero subspace represented by its orthogonal projection and dimension. The trace fixes the actual rank; no arbitrary scalar is used as the code dimension.
  • codeDensity: PDF pp.4–5: the normalized projection pi_C = Pi_C / dim(C).
  • stateEntanglementFidelity: PDF pp.3–4, (1): squared entanglement fidelity for an endomorphism, evaluated on the canonical normalized purification. Trace-decreasing outputs are never renormalized.
  • recoveredEntanglementFidelity: PDF p.5: optimize over all CPTP decoders J -> I, after fixing the code density. For density inputs and quantum operations the value set is nonempty and bounded in [0,1]; its supremum equals the attained finite-dimensional maximum. No decoder leakage is removed.
  • exchangeEntropy: PDF p.6: entropy exchange in bits, evaluated on the actual reference/output state.
  • AchievableCodeRate: PDF p.6: a single sequence of nonzero codes for every positive block length. The rate condition is the source's limsup, and every real R is permitted.
  • limsupCodeCapacity: PDF p.6: operational capacity is the supremum of achievable rates. For positive-dimensional CPTP channels the rate set contains all nonpositive rates and is bounded above by log2(card I), so the real supremum has no empty/unbounded default.
  • blockCoherentMaximumRate: PDF p.6: normalized optimal coherent information of a positive block. The tensor superoperator acts on every matrix, including entangled densities.
  • regularizedInformation: PDF pp.6–7: regularization, written as a limsup; the headline theorem also asserts convergence to this value, retaining the source's actual limit.
  • unitaryOn: PDF p.11, (12): write a unitary on Fin(card I) in the named coordinate basis I.
  • rotatedDensity: PDF p.11, (12): rotate the fixed normalized code projection by a Haar unitary.
  • codeAverage: PDF p.11, (12): normalized Haar average over the entire unitary group. Each theorem using this integral asserts integrability, preventing a default-zero integral.
  • decoupling: PDF pp.8–10, (10): Kraus decoupling operator in blocks indexed by (input,Kraus). Its i,j block uses A_i^dagger A_j in precisely the printed order.
  • frobeniusSq: PDF p.11: squared Frobenius norm, with no ambient matrix-norm convention.
  • middlePartialTrace: PDF p.8, (8): trace out Qprime, retaining reference R and environment E.
  • NormalizedUnital: PDF p.14: normalized-unital means N(I/card I)=I/card J, also for rectangular channels.
  • UniformKraus: PDF p.14: uniformity includes minimality, Hilbert–Schmidt orthogonality, and equal weights.
  • weakTypicalWords: PDF p.15: the closed weak-typicality probability window.
  • weakTypicalMass: PDF p.15: probability mass of all weakly typical IID words.
  • weakTypicalProjector: PDF pp.15–16: the spectral projector onto ALL eigenspaces in the closed typical window. Continuous functional calculus is valid for this indicator on the finite spectrum. Zero eigenvalues are excluded because the lower endpoint is strictly positive.
  • krausWeight: PDF p.16: Kraus weights with respect to the maximally mixed input.
  • tensorKraus: PDF p.16: product Kraus operator associated to a word, acting on the full tensor space.
  • typicalOperation: PDF pp.16–17: keep exactly the typical Kraus words of the fixed minimal orthogonal list.
  • reducedOperation: PDF p.17: project the typical operation onto the OUTPUT typical subspace of N(pi). The source's input-space label here is a typo; the map's types force output coordinates.
  • HermitianForm: PDF pp.19–20: Hermitian sesquilinearity, conjugate-linear first, with no positivity axiom.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_Measurement
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Defs_SchurUnitaryEnsembles
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P22
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P27
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P48
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P43

/-!
Klesse, arXiv:0712.2558v1. All page references are PDF pages.
Operational capacity is defined independently of coherent information. Entropies are in bits,
fidelities are squared and unconditional, and recovery maps are CPTP into the ambient input.
The false general subspace-average identity on p.4 is deferred in HARD.md.
Compilation and independent moderation are pending the batch handoff.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P29

open QAlgorithms MeasureTheory Filter
open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification coherentInformation singleUseInformation mixed)
open QAlgorithms.Papers.Independent.Information100.P27 (shannon)
open QAlgorithms.Papers.Independent.Dependency50.P48 (wordProbability)
open QAlgorithms.Papers.Independent.Bridge50.P43 (tensorDensity)
open scoped Matrix ComplexConjugate ComplexOrder Topology

attribute [local instance] Classical.propDecidable

variable {I J E L : Type} [Fintype I] [DecidableEq I]
variable [Fintype J] [DecidableEq J] [Fintype E] [DecidableEq E]
variable [Fintype L] [DecidableEq L]

/-!
Accepted-library reuse: `shannon`, `wordProbability`, and `tensorDensity` are imported
without local aliases or wrappers. The remaining source-specific concepts have descriptive
names because the accepted same-short-name objects are different: intrinsic-algebra trace
bounds, Choi operations, classical/exact-correctability codes, cloning fidelity, PPT
achievability, other capacities, Renyi cq information, a fixed unitary/pure-ancilla RE state,
and frequency-typical sets/projectors do not express this paper's definitions.
The exact candidate declarations and type/semantic mismatches are recorded in
ASSESSMENT.json and MODERATION_NOTES.md. No theorem content changes in this repair.
-/

/-- PDF pp.3–4: a Kraus family for a completely positive trace-nonincreasing operation.
The positive-semidefinite defect is exactly sum A_i^dagger A_i <= identity. -/
def KrausTraceBound (A : L → Matrix J I ℂ) : Prop :=
  (1 - ∑ i, (A i)ᴴ * A i).PosSemidef

/-- PDF pp.2–3: a finite, possibly empty, Kraus representation of a quantum operation. -/
def HasFiniteKrausOperation (N : Superop I J) : Prop :=
  ∃ (r : ℕ) (A : Fin r → Matrix J I ℂ),
    KrausTraceBound A ∧ ∀ X, N X = krausApply A X

/-- PDF p.2: minimum Kraus length, not the length of a possibly redundant supplied list.
The empty family represents the zero operation. All uses below are Kraus-representable. -/
def operationLength (N : Superop I J) : ℕ :=
  sInf {r : ℕ | ∃ A : Fin r → Matrix J I ℂ, ∀ X, N X = krausApply A X}

/-- PDF pp.2,14,16: minimality compares the represented map on every operator. -/
def MinimalKraus (A : L → Matrix J I ℂ) : Prop :=
  ∀ (r : ℕ) (B : Fin r → Matrix J I ℂ),
    (∀ X, krausApply A X = krausApply B X) → Fintype.card L ≤ r

/-- PDF p.5: a nonzero subspace represented by its orthogonal projection and dimension.
The trace fixes the actual rank; no arbitrary scalar is used as the code dimension. -/
structure CodeProjection (I : Type) [Fintype I] [DecidableEq I] where
  dimension : ℕ
  positive : 0 < dimension
  le_ambient : dimension ≤ Fintype.card I
  projector : Matrix I I ℂ
  hermitian : projector.IsHermitian
  idempotent : projector * projector = projector
  trace_eq : projector.trace = (dimension : ℂ)

/-- PDF pp.4–5: the normalized projection pi_C = Pi_C / dim(C). -/
def codeDensity (C : CodeProjection I) : Matrix I I ℂ :=
  (C.dimension : ℂ)⁻¹ • C.projector

/-- PDF pp.3–4, (1): squared entanglement fidelity for an endomorphism, evaluated on the
canonical normalized purification. Trace-decreasing outputs are never renormalized. -/
def stateEntanglementFidelity (N : Superop I I) (rho : Matrix I I ℂ) : ℝ :=
  let psi := pureDensity (densityPurification rho)
  (psi * idTensorSuperop (R := I) N psi).trace.re

/-- PDF p.5: optimize over all CPTP decoders J -> I, after fixing the code density.
For density inputs and quantum operations the value set is nonempty and bounded in [0,1];
its supremum equals the attained finite-dimensional maximum. No decoder leakage is removed. -/
def recoveredEntanglementFidelity (N : Superop I J) (rho : Matrix I I ℂ) : ℝ :=
  sSup {f | ∃ D : Superop J I, IsChannel D ∧
    f = stateEntanglementFidelity (D ∘ N) rho}

/-- PDF p.6: entropy exchange in bits, evaluated on the actual reference/output state. -/
def exchangeEntropy (N : Superop I J) (rho : Matrix I I ℂ) : ℝ :=
  vnEntropy (idTensorSuperop (R := I) N (pureDensity (densityPurification rho)))

/-- PDF p.6: a single sequence of nonzero codes for every positive block length.
The rate condition is the source's limsup, and every real R is permitted. -/
def AchievableCodeRate (N : Superop I J) (R : ℝ) : Prop :=
  ∃ C : (t : ℕ) → CodeProjection (Fin (t + 1) → I),
    R ≤ limsup (fun t => Real.logb 2 ((C t).dimension : ℝ) / (t + 1 : ℝ)) atTop ∧
    Tendsto (fun t => recoveredEntanglementFidelity (piSuperop (fun _ : Fin (t + 1) => N))
      (codeDensity (C t))) atTop (nhds 1)

/-- PDF p.6: operational capacity is the supremum of achievable rates.
For positive-dimensional CPTP channels the rate set contains all nonpositive rates and is
bounded above by log2(card I), so the real supremum has no empty/unbounded default. -/
def limsupCodeCapacity (N : Superop I J) : ℝ := sSup {R : ℝ | AchievableCodeRate N R}

/-- PDF p.6: normalized optimal coherent information of a positive block.
The tensor superoperator acts on every matrix, including entangled densities. -/
def blockCoherentMaximumRate (N : Superop I J) (t : ℕ) : ℝ :=
  singleUseInformation (piSuperop (fun _ : Fin (t + 1) => N)) / (t + 1 : ℝ)

/-- PDF pp.6–7: regularization, written as a limsup; the headline theorem also asserts
convergence to this value, retaining the source's actual limit. -/
def regularizedInformation (N : Superop I J) : ℝ := limsup (blockCoherentMaximumRate N) atTop

/-- PDF p.11, (12): write a unitary on Fin(card I) in the named coordinate basis I. -/
def unitaryOn (U : Matrix.unitaryGroup (Fin (Fintype.card I)) ℂ) : Matrix I I ℂ :=
  fun i j => U (Fintype.equivFin I i) (Fintype.equivFin I j)

/-- PDF p.11, (12): rotate the fixed normalized code projection by a Haar unitary. -/
def rotatedDensity (C : CodeProjection I)
    (U : Matrix.unitaryGroup (Fin (Fintype.card I)) ℂ) : Matrix I I ℂ :=
  unitaryOn U * codeDensity C * (unitaryOn U)ᴴ

/-- PDF p.11, (12): normalized Haar average over the entire unitary group.
Each theorem using this integral asserts integrability, preventing a default-zero integral. -/
def codeAverage (C : CodeProjection I) (f : Matrix I I ℂ → ℝ) : ℝ :=
  ∫ U, f (rotatedDensity C U) ∂(Schur.unitaryHaar (Fintype.card I))

/-- PDF pp.8–10, (10): Kraus decoupling operator in blocks indexed by (input,Kraus).
Its i,j block uses A_i^dagger A_j in precisely the printed order. -/
def decoupling (A : L → Matrix J I ℂ) (K : ℕ) (rho : Matrix I I ℂ) :
    Matrix (I × L) (I × L) ℂ :=
  fun p q => (K : ℂ) *
    ((rho * (A p.2)ᴴ * A q.2 * rho) p.1 q.1 -
      (rho * (A p.2)ᴴ * A q.2 * rho).trace * rho p.1 q.1)

/-- PDF p.11: squared Frobenius norm, with no ambient matrix-norm convention. -/
def frobeniusSq (X : Matrix J I ℂ) : ℝ := ∑ i, ∑ j, Complex.normSq (X i j)

/-- PDF p.8, (8): trace out Qprime, retaining reference R and environment E. -/
def middlePartialTrace {R : Type} (X : Matrix (R × (J × E)) (R × (J × E)) ℂ) :
    Matrix (R × E) (R × E) ℂ :=
  fun p q => ∑ j, X (p.1,(j,p.2)) (q.1,(j,q.2))

/-- PDF p.14: normalized-unital means N(I/card I)=I/card J, also for rectangular channels. -/
def NormalizedUnital (N : Superop I J) : Prop := N (mixed I) = mixed J

/-- PDF p.14: uniformity includes minimality, Hilbert–Schmidt orthogonality, and equal weights. -/
def UniformKraus (A : L → Matrix J I ℂ) : Prop :=
  MinimalKraus A ∧
  (∀ i j, i ≠ j → ((A i)ᴴ * A j).trace = 0) ∧
  ∀ i, ((A i)ᴴ * A i).trace.re / (Fintype.card I : ℝ) = (Fintype.card L : ℝ)⁻¹

/-- PDF p.15: the closed weak-typicality probability window. -/
def weakTypicalWords (P : L → ℝ) (epsilon : ℝ) (n : ℕ) : Finset (Fin n → L) :=
  Finset.univ.filter fun w =>
    (2 : ℝ) ^ (-(n : ℝ) * (shannon P + epsilon)) ≤ wordProbability P w ∧
    wordProbability P w ≤ (2 : ℝ) ^ (-(n : ℝ) * (shannon P - epsilon))

/-- PDF p.15: probability mass of all weakly typical IID words. -/
def weakTypicalMass (P : L → ℝ) (epsilon : ℝ) (n : ℕ) : ℝ :=
  ∑ w ∈ weakTypicalWords P epsilon n, wordProbability P w

/-- PDF pp.15–16: the spectral projector onto ALL eigenspaces in the closed typical window.
Continuous functional calculus is valid for this indicator on the finite spectrum.
Zero eigenvalues are excluded because the lower endpoint is strictly positive. -/
def weakTypicalProjector (rho : Matrix I I ℂ) (epsilon : ℝ) (n : ℕ) :
    Matrix (Fin n → I) (Fin n → I) ℂ :=
  cfc (fun x : ℝ => if
    (2 : ℝ) ^ (-(n : ℝ) * (vnEntropy rho + epsilon)) ≤ x ∧
    x ≤ (2 : ℝ) ^ (-(n : ℝ) * (vnEntropy rho - epsilon)) then 1 else 0)
    (tensorDensity rho n)

/-- PDF p.16: Kraus weights with respect to the maximally mixed input. -/
def krausWeight (A : L → Matrix J I ℂ) : L → ℝ :=
  fun i => ((A i)ᴴ * A i).trace.re / (Fintype.card I : ℝ)

/-- PDF p.16: product Kraus operator associated to a word, acting on the full tensor space. -/
def tensorKraus (A : L → Matrix J I ℂ) {n : ℕ} (w : Fin n → L) :
    Matrix (Fin n → J) (Fin n → I) ℂ :=
  fun x y => ∏ t, A (w t) (x t) (y t)

/-- PDF pp.16–17: keep exactly the typical Kraus words of the fixed minimal orthogonal list. -/
def typicalOperation (A : L → Matrix J I ℂ) (epsilon : ℝ) (n : ℕ) :
    Superop (Fin n → I) (Fin n → J) :=
  fun X => ∑ w ∈ weakTypicalWords (krausWeight A) epsilon n,
    tensorKraus A w * X * (tensorKraus A w)ᴴ

/-- PDF p.17: project the typical operation onto the OUTPUT typical subspace of N(pi).
The source's input-space label here is a typo; the map's types force output coordinates. -/
def reducedOperation (A : L → Matrix J I ℂ) (epsilon : ℝ) (n : ℕ) :
    Superop (Fin n → I) (Fin n → J) :=
  fun X => let P := weakTypicalProjector (krausApply A (mixed I)) epsilon n
           P * typicalOperation A epsilon n X * P

/-- PDF pp.19–20: Hermitian sesquilinearity, conjugate-linear first, with no positivity axiom. -/
def HermitianForm (b : Matrix I I ℂ → Matrix I I ℂ → ℂ) : Prop :=
  (∀ V W X, b (V + W) X = b V X + b W X) ∧
  (∀ a V W, b (a • V) W = conj a * b V W) ∧
  (∀ V W X, b V (W + X) = b V W + b V X) ∧
  (∀ a V W, b V (a • W) = a * b V W) ∧
  ∀ V W, b V W = conj (b W V)

/-- Sanity: an empty Kraus list gives the zero operation, without postselection. -/
example (X : Matrix I I ℂ) : krausApply (fun i : Fin 0 => (0 : Matrix J I ℂ)) X = 0 := by
  simp [krausApply]

/-- Sanity: the empty word has probability one; positive n is required in the results. -/
example (P : L → ℝ) (w : Fin 0 → L) : wordProbability P w = 1 := by
  simp [wordProbability]

/-- Sanity: the one-letter IID probability has exactly one factor. -/
example (P : L → ℝ) (w : Fin 1 → L) : wordProbability P w = P (w 0) := by
  simp [wordProbability]

/-- Sanity: the zero-block tensor operator is the scalar identity. -/
example (rho : Matrix I I ℂ) (x y : Fin 0 → I) : tensorDensity rho 0 x y = 1 := by
  simp [tensorDensity]

/-- Sanity: Frobenius square of the zero matrix is zero. -/
example : frobeniusSq (0 : Matrix J I ℂ) = 0 := by simp [frobeniusSq]

/-- Sanity: no Kraus indices gives the zero decoupling matrix. -/
example (rho : Matrix I I ℂ) (K : ℕ) :
    decoupling (fun _ : Fin 0 => (0 : Matrix J I ℂ)) K rho = 0 := by
  ext p q
  exact Fin.elim0 p.2

/-- Sanity: the singleton ambient space admits a one-dimensional normalized code. -/
example : ∃ C : CodeProjection (Fin 1), codeDensity C = (1 : Matrix (Fin 1) (Fin 1) ℂ) := by
  let C : CodeProjection (Fin 1) := {
    dimension := 1
    positive := by decide
    le_ambient := by simp
    projector := 1
    hermitian := by change (1 : Matrix (Fin 1) (Fin 1) ℂ)ᴴ = 1; simp
    idempotent := by simp
    trace_eq := by simp [Matrix.trace] }
  exact ⟨C, by simp [codeDensity, C]⟩

/-- Sanity: an operation which always outputs zero has zero unconditional fidelity. -/
example (rho : Matrix I I ℂ) :
    stateEntanglementFidelity (fun _ => (0 : Matrix I I ℂ)) rho = 0 := by
  change (pureDensity (densityPurification rho) *
    (0 : Matrix (I × I) (I × I) ℂ)).trace.re = 0
  simp

end QAlgorithms.Papers.Independent.Advance50.P29
Source
A random-coding based proof for the quantum coding theorem, arXiv:0712.2558v1, https://arxiv.org/abs/0712.2558v1
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P29.AchievableCodeRate

For finite types I,JI,JI,J with decidable equality, an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, and a real number RRR, this predicate asserts the existence, for every t∈Nt\in\mathbb Nt∈N, of a positive integer Kt≤∣I∣t+1K_t\le |I|^{t+1}Kt​≤∣I∣t+1 and a Hermitian idempotent matrix PtP_tPt​ on the index set It+1I^{t+1}It+1 with Tr⁡Pt=Kt\operatorname{Tr}P_t=K_tTrPt​=Kt​, such that

R≤lim sup⁡t→∞log⁡2Ktt+1,lim⁡t→∞Ft=1.R\le\limsup_{t\to\infty}\frac{\log_2K_t}{t+1}, \qquad \lim_{t\to\infty}F_t=1.R≤t→∞limsup​t+1log2​Kt​​,t→∞lim​Ft​=1.

Here ρt=Pt/Kt\rho_t=P_t/K_tρt​=Pt​/Kt​, and the block function Nt+1N_{t+1}Nt+1​ is defined, for XXX indexed by It+1I^{t+1}It+1, by

Nt+1(X)y,y′=∑x,x′∈It+1Xx,x′∏a=0tN(Exa,xa′)ya,ya′,N_{t+1}(X)_{y,y'} =\sum_{x,x'\in I^{t+1}}X_{x,x'} \prod_{a=0}^{t}N(E_{x_a,x'_a})_{y_a,y'_a},Nt+1​(X)y,y′​=x,x′∈It+1∑​Xx,x′​a=0∏t​N(Exa​,xa′​​)ya​,ya′​​,

where Eu,vE_{u,v}Eu,v​ has its sole nonzero entry 111 at (u,v)(u,v)(u,v). To define FtF_tFt​, set St=cfc⁡(⋅)(ρt)S_t=\operatorname{cfc}(\sqrt{\cdot})(\rho_t)St​=cfc(⋅​)(ρt​), vt(x,a)=(St)axv_t(x,a)=(S_t)_{a x}vt​(x,a)=(St​)ax​, and Ψt=vtvt†\Psi_t=v_tv_t^\daggerΨt​=vt​vt†​; then FtF_tFt​ is the real supremum of Re⁡Tr⁡(Ψt D∘Nt+1^(Ψt))\operatorname{Re}\operatorname{Tr}(\Psi_t\,\widehat{D\circ N_{t+1}}(\Psi_t))ReTr(Ψt​D∘Nt+1​​(Ψt​)) over all D(Y)=∑bBbYBb†D(Y)=\sum_bB_bYB_b^\daggerD(Y)=∑b​Bb​YBb†​ with a finite family of matrices Bb:Jt+1→It+1B_b:J^{t+1}\to I^{t+1}Bb​:Jt+1→It+1 satisfying ∑bBb†Bb=IJt+1\sum_bB_b^\dagger B_b=I_{J^{t+1}}∑b​Bb†​Bb​=IJt+1​. The hat means applying the function to each matrix block while retaining the reference indices. Real suprema of empty or unbounded-above sets have value 000. There is no requirement R≥0R\ge0R≥0, no channel assumption on NNN, and no requirement that the rate sequence converge or have its lower limit at least RRR. The first block has length 111; an empty III makes the required positive-dimensional projections impossible.

QAlgorithms.Papers.Independent.Advance50.P29.CodeProjection

For a finite type III with decidable equality, an object of this structure consists of a natural number KKK, a complex matrix P∈CI×IP\in\mathbb C^{I\times I}P∈CI×I, and the conditions

0<K≤∣I∣,P†=P,P2=P,Tr⁡P=K.0<K\le |I|,\qquad P^\dagger=P,\qquad P^2=P,\qquad \operatorname{Tr}P=K.0<K≤∣I∣,P†=P,P2=P,TrP=K.

In particular, the dimension field is strictly positive, and the matrix is a Hermitian idempotent with trace equal to that dimension. If III is empty, no object satisfies these conditions.

QAlgorithms.Papers.Independent.Advance50.P29.HasFiniteKrausOperation

For finite index types I,JI,JI,J, with decidable equality on III, and an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, this predicate asserts that there are a natural number r≥0r\ge0r≥0 and matrices A0,…,Ar−1∈CJ×IA_0,\ldots,A_{r-1}\in\mathbb C^{J\times I}A0​,…,Ar−1​∈CJ×I such that

II−∑a=0r−1Aa†Aa⪰0andN(X)=∑a=0r−1AaXAa†for every X∈CI×I.I_I-\sum_{a=0}^{r-1}A_a^\dagger A_a\succeq0 \quad\text{and}\quad N(X)=\sum_{a=0}^{r-1}A_aXA_a^\dagger \quad\text{for every }X\in\mathbb C^{I\times I}.II​−a=0∑r−1​Aa†​Aa​⪰0andN(X)=a=0∑r−1​Aa​XAa†​for every X∈CI×I.

The equality is required on all complex matrices, without a positivity or normalization restriction on XXX. The case r=0r=0r=0 is allowed and represents the zero function.

QAlgorithms.Papers.Independent.Advance50.P29.HermitianForm

For a type III and a function b:CI×I×CI×I→Cb:\mathbb C^{I\times I}\times\mathbb C^{I\times I}\to\mathbb Cb:CI×I×CI×I→C, this defines the assertion that, for every V,W,X∈CI×IV,W,X\in\mathbb C^{I\times I}V,W,X∈CI×I and every a∈Ca\in\mathbb Ca∈C,

b(V+W,X)=b(V,X)+b(W,X),b(aV,W)=a‾ b(V,W),b(V,W+X)=b(V,W)+b(V,X),b(V,aW)=a b(V,W),b(V,W)=b(W,V)‾.b(V+W,X)=b(V,X)+b(W,X),\quad b(aV,W)=\overline a\,b(V,W),\quad b(V,W+X)=b(V,W)+b(V,X),\quad b(V,aW)=a\,b(V,W),\quad b(V,W)=\overline{b(W,V)}.b(V+W,X)=b(V,X)+b(W,X),b(aV,W)=ab(V,W),b(V,W+X)=b(V,W)+b(V,X),b(V,aW)=ab(V,W),b(V,W)=b(W,V)​.

Thus the first argument is conjugate-linear, the second is linear, and the form has conjugate symmetry. No positivity or nondegeneracy condition is included.

QAlgorithms.Papers.Independent.Advance50.P29.KrausTraceBound

For finite index types I,J,LI,J,LI,J,L, with decidable equality on III, and a family of complex matrices Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, this predicate means

II−∑ℓ∈LAℓ†Aℓ⪰0,I_I-\sum_{\ell\in L}A_\ell^\dagger A_\ell\succeq0,II​−ℓ∈L∑​Aℓ†​Aℓ​⪰0,

where †\dagger† denotes conjugate transpose and ⪰0\succeq0⪰0 means positive semidefinite. Equivalently, ∑ℓAℓ†Aℓ≤II\sum_\ell A_\ell^\dagger A_\ell\le I_I∑ℓ​Aℓ†​Aℓ​≤II​ in the positive semidefinite order. The index set LLL may be empty; then the sum is zero and the predicate holds.

QAlgorithms.Papers.Independent.Advance50.P29.MinimalKraus

For finite index types I,J,LI,J,LI,J,L and matrices Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, this predicate asserts that, for every natural number r≥0r\ge0r≥0 and every family B0,…,Br−1∈CJ×IB_0,\ldots,B_{r-1}\in\mathbb C^{J\times I}B0​,…,Br−1​∈CJ×I,

(∀X∈CI×I, ∑ℓ∈LAℓXAℓ†=∑a=0r−1BaXBa†) ⟹ ∣L∣≤r.\left(\forall X\in\mathbb C^{I\times I},\ \sum_{\ell\in L}A_\ell XA_\ell^\dagger =\sum_{a=0}^{r-1}B_aXB_a^\dagger\right) \ \Longrightarrow\ |L|\le r.(∀X∈CI×I, ℓ∈L∑​Aℓ​XAℓ†​=a=0∑r−1​Ba​XBa†​) ⟹ ∣L∣≤r.

Thus every finite family producing the same function on all matrices has at least ∣L∣|L|∣L∣ members. No trace bound or normalization condition is required of either family. Empty competing families are included; if LLL is empty, the predicate holds automatically.

QAlgorithms.Papers.Independent.Advance50.P29.NormalizedUnital

For finite index types I,JI,JI,J with decidable equality and any function NNN from complex matrices on III to complex matrices on JJJ, this defines the proposition

N ⁣(∣I∣−11I)=∣J∣−11J.N\!\left(|I|^{-1}\mathbf 1_I\right)=|J|^{-1}\mathbf 1_J.N(∣I∣−11I​)=∣J∣−11J​.

The reciprocals and scalar multiplications are taken in C\mathbb CC, and 1I,1J\mathbf 1_I,\mathbf 1_J1I​,1J​ are identity matrices. No linearity, positivity, or channel assumption on NNN is included. Empty index types are permitted: the reciprocal of 000 is defined to be 000, and the identity matrix on an empty index type is also its zero matrix.

QAlgorithms.Papers.Independent.Advance50.P29.UniformKraus

For finite index types L,I,JL,I,JL,I,J and a family of complex matrices Aℓ:J×I→CA_\ell:J\times I\to\mathbb CAℓ​:J×I→C, this defines the conjunction of three conditions: for every natural number rrr and every family B0,…,Br−1B_0,\ldots,B_{r-1}B0​,…,Br−1​ of matrices of the same shape, equality ∑ℓ∈LAℓXAℓ†=∑h=0r−1BhXBh†\sum_{\ell\in L}A_\ell X A_\ell^\dagger=\sum_{h=0}^{r-1}B_hXB_h^\dagger∑ℓ∈L​Aℓ​XAℓ†​=∑h=0r−1​Bh​XBh†​ for every complex matrix XXX on III implies ∣L∣≤r|L|\le r∣L∣≤r; for every distinct ℓ,h∈L\ell,h\in Lℓ,h∈L, tr⁡(Aℓ†Ah)=0\operatorname{tr}(A_\ell^\dagger A_h)=0tr(Aℓ†​Ah​)=0; and for every ℓ∈L\ell\in Lℓ∈L,

Re⁡tr⁡(Aℓ†Aℓ)∣I∣=1∣L∣.\frac{\operatorname{Re}\operatorname{tr}(A_\ell^\dagger A_\ell)}{|I|}=\frac1{|L|}.∣I∣Retr(Aℓ†​Aℓ​)​=∣L∣1​.

No completeness or trace bound is included. The empty family satisfies these conditions, with both indexed conditions vacuous; if III is empty and LLL is nonempty, the last condition is impossible, since its left side is 000 and its right side is positive.

QAlgorithms.Papers.Independent.Advance50.P29.blockCoherentMaximumRate

For finite types I,JI,JI,J with decidable equality, an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, and t∈Nt\in\mathbb Nt∈N, put ℓ=t+1\ell=t+1ℓ=t+1 and define

Fℓ(X)y,y′=∑x,x′∈IℓXx,x′∏a=0ℓ−1N(Exa,xa′)ya,ya′,F_\ell(X)_{y,y'} =\sum_{x,x'\in I^\ell}X_{x,x'} \prod_{a=0}^{\ell-1}N(E_{x_a,x'_a})_{y_a,y'_a},Fℓ​(X)y,y′​=x,x′∈Iℓ∑​Xx,x′​a=0∏ℓ−1​N(Exa​,xa′​​)ya​,ya′​​,

where Eu,vE_{u,v}Eu,v​ is the matrix unit on III. This definition returns

1ℓsup⁡ρ⪰0Tr⁡ρ=1[S(Fℓ(ρ))−S ⁣(F^ℓ(Ψρ))],\frac1\ell\sup_{\substack{\rho\succeq0\\ \operatorname{Tr}\rho=1}} \left[ S(F_\ell(\rho))-S\!\left(\widehat F_\ell(\Psi_\rho)\right) \right],ℓ1​ρ⪰0Trρ=1​sup​[S(Fℓ​(ρ))−S(Fℓ​(Ψρ​))],

where ρ\rhoρ is indexed by IℓI^\ellIℓ, S(X)=−Re⁡Tr⁡(cfc⁡(x↦xlog⁡2x)(X))S(X)=-\operatorname{Re}\operatorname{Tr}(\operatorname{cfc}(x\mapsto x\log_2x)(X))S(X)=−ReTr(cfc(x↦xlog2​x)(X)), and Ψρ=vρvρ†\Psi_\rho=v_\rho v_\rho^\daggerΨρ​=vρ​vρ†​ for vρ(x,a)=[cfc⁡(⋅)(ρ)]axv_\rho(x,a)=[\operatorname{cfc}(\sqrt{\cdot})(\rho)]_{a x}vρ​(x,a)=[cfc(⋅​)(ρ)]ax​. The extension is defined by F^ℓ(X)(x,y),(x′,y′)=Fℓ([X(x,a),(x′,a′)]a,a′)y,y′\widehat F_\ell(X)_{(x,y),(x',y')}=F_\ell([X_{(x,a),(x',a')}]_{a,a'})_{y,y'}Fℓ​(X)(x,y),(x′,y′)​=Fℓ​([X(x,a),(x′,a′)​]a,a′​)y,y′​. No channel or linearity assumption on NNN is imposed, and the supremum need not be attained; as a real supremum it is 000 for an empty or unbounded-above set. The denominator is always positive, including t=0t=0t=0, which corresponds to one use; if III is empty, the density-matrix set is empty and the value is 000.

QAlgorithms.Papers.Independent.Advance50.P29.codeAverage

For a finite index type III with decidable equality, a matrix PCP_CPC​ and natural number dCd_CdC​ satisfying 0<dC≤∣I∣0<d_C\le |I|0<dC​≤∣I∣, PC†=PCP_C^\dagger=P_CPC†​=PC​, PC2=PCP_C^2=P_CPC2​=PC​, and tr⁡PC=dC\operatorname{tr}P_C=d_CtrPC​=dC​, and any real-valued function fff on complex matrices on III, this defines

∫U(∣I∣)f ⁣(UI(dC−1PC)UI†) dμ(U).\int_{\mathrm U(|I|)} f\!\left(U_I(d_C^{-1}P_C)U_I^\dagger\right)\,d\mu(U).∫U(∣I∣)​f(UI​(dC−1​PC​)UI†​)dμ(U).

Here μ\muμ is Haar measure normalized to give the whole unitary group measure 111, and (UI)i,j=Ue(i),e(j)(U_I)_{i,j}=U_{e(i),e(j)}(UI​)i,j​=Ue(i),e(j)​ uses the specified finite-enumeration equivalence e:I≃{0,…,∣I∣−1}e:I\simeq\{0,\ldots,|I|-1\}e:I≃{0,…,∣I∣−1}. No measurability or integrability assumption on fff is imposed; the integral is the total Bochner integral, which equals 000 when its integrand is not integrable. Such a CCC cannot exist when III is empty.

QAlgorithms.Papers.Independent.Advance50.P29.codeDensity

For a finite type III with decidable equality and an object CCC consisting of K∈NK\in\mathbb NK∈N and P∈CI×IP\in\mathbb C^{I\times I}P∈CI×I satisfying 0<K≤∣I∣0<K\le|I|0<K≤∣I∣, P†=PP^\dagger=PP†=P, P2=PP^2=PP2=P, and Tr⁡P=K\operatorname{Tr}P=KTrP=K, this definition returns the matrix

1KP.\frac1K P.K1​P.

The inverse is taken in C\mathbb CC; the structure’s strict positivity condition excludes division by zero.

QAlgorithms.Papers.Independent.Advance50.P29.decoupling

For finite matrix index types I,JI,JI,J, an index type LLL, any family of complex matrices Aℓ:J×I→CA_\ell:J\times I\to\mathbb CAℓ​:J×I→C, any natural number KKK, and any complex matrix ρ\rhoρ on III, this defines a matrix on I×LI\times LI×L by

D(i,ℓ),(j,h)=K[(ρAℓ†Ahρ)i,j−tr⁡(ρAℓ†Ahρ) ρi,j].D_{(i,\ell),(j,h)} = K\left[ (\rho A_\ell^\dagger A_h\rho)_{i,j} - \operatorname{tr}(\rho A_\ell^\dagger A_h\rho)\,\rho_{i,j} \right].D(i,ℓ),(j,h)​=K[(ρAℓ†​Ah​ρ)i,j​−tr(ρAℓ†​Ah​ρ)ρi,j​].

No normalization, positivity, Hermitian condition, or Kraus completeness condition is imposed on these inputs, and KKK is not required to be related to ρ\rhoρ. In particular, K=0K=0K=0 gives the zero matrix; if III or LLL is empty, the output has no entries.

QAlgorithms.Papers.Independent.Advance50.P29.exchangeEntropy

For finite types I,JI,JI,J with decidable equality, an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, and an arbitrary matrix ρ∈CI×I\rho\in\mathbb C^{I\times I}ρ∈CI×I, put S=cfc⁡(⋅)(ρ)S=\operatorname{cfc}(\sqrt{\cdot})(\rho)S=cfc(⋅​)(ρ), v(i,a)=Saiv(i,a)=S_{a i}v(i,a)=Sai​, and Ψ=vv†\Psi=vv^\daggerΨ=vv†. Define YYY, indexed by I×JI\times JI×J, by

Y(i,b),(j,c)=N ⁣([Ψ(i,a),(j,a′)]a,a′∈I)bc.Y_{(i,b),(j,c)} =N\!\left([\Psi_{(i,a),(j,a')}]_{a,a'\in I}\right)_{b c}.Y(i,b),(j,c)​=N([Ψ(i,a),(j,a′)​]a,a′∈I​)bc​.

The definition returns

−Re⁡Tr⁡ ⁣(cfc⁡(x↦xlog⁡2x)(Y)).-\operatorname{Re}\operatorname{Tr}\!\left( \operatorname{cfc}(x\mapsto x\log_2x)(Y)\right).−ReTr(cfc(x↦xlog2​x)(Y)).

No normalization or positivity assumption on ρ\rhoρ, and no channel or linearity assumption on NNN, is part of this definition. The logarithm and functional calculus are the total operations used by the formula.

QAlgorithms.Papers.Independent.Advance50.P29.frobeniusSq

For finite index types J,IJ,IJ,I and any complex matrix X:J×I→CX:J\times I\to\mathbb CX:J×I→C, this defines the real number ∑j∈J∑i∈I∣Xj,i∣2\sum_{j\in J}\sum_{i\in I}|X_{j,i}|^2∑j∈J​∑i∈I​∣Xj,i​∣2, where ∣z∣2=(Re⁡z)2+(Im⁡z)2|z|^2=(\operatorname{Re}z)^2+(\operatorname{Im}z)^2∣z∣2=(Rez)2+(Imz)2. No hypothesis on XXX is imposed. If either index type is empty, the sum is 000.

QAlgorithms.Papers.Independent.Advance50.P29.krausWeight

For finite index types I,JI,JI,J, any index type LLL, and any family Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, this defines the real-valued function

qℓ=Re⁡tr⁡(Aℓ†Aℓ)∣I∣(ℓ∈L).q_\ell=\frac{\operatorname{Re}\operatorname{tr}(A_\ell^\dagger A_\ell)}{|I|}\qquad(\ell\in L).qℓ​=∣I∣Retr(Aℓ†​Aℓ​)​(ℓ∈L).

No completeness or trace bound is assumed for the family, and these values are not required to sum to 111. The empty input index type III is included: division by zero uses the total real-field convention and gives qℓ=0q_\ell=0qℓ​=0.

QAlgorithms.Papers.Independent.Advance50.P29.limsupCodeCapacity

For finite types I,JI,JI,J with decidable equality and an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, this definition takes the real supremum of all R∈RR\in\mathbb RR∈R for which there is a sequence of Hermitian idempotents PtP_tPt​ on It+1I^{t+1}It+1, with positive integers Kt=Tr⁡Pt≤∣I∣t+1K_t=\operatorname{Tr}P_t\le |I|^{t+1}Kt​=TrPt​≤∣I∣t+1, satisfying

R≤lim sup⁡t→∞log⁡2Ktt+1andFt⟶1.R\le\limsup_{t\to\infty}\frac{\log_2K_t}{t+1} \quad\text{and}\quad F_t\longrightarrow1.R≤t→∞limsup​t+1log2​Kt​​andFt​⟶1.

For this criterion, ρt=Pt/Kt\rho_t=P_t/K_tρt​=Pt​/Kt​, the block function is Nt+1(X)y,y′=∑x,x′Xx,x′∏a=0tN(Exa,xa′)ya,ya′N_{t+1}(X)_{y,y'}=\sum_{x,x'}X_{x,x'}\prod_{a=0}^{t}N(E_{x_a,x'_a})_{y_a,y'_a}Nt+1​(X)y,y′​=∑x,x′​Xx,x′​∏a=0t​N(Exa​,xa′​​)ya​,ya′​​, and FtF_tFt​ is computed as follows: set St=cfc⁡(⋅)(ρt)S_t=\operatorname{cfc}(\sqrt{\cdot})(\rho_t)St​=cfc(⋅​)(ρt​), vt(x,a)=(St)axv_t(x,a)=(S_t)_{a x}vt​(x,a)=(St​)ax​, and Ψt=vtvt†\Psi_t=v_tv_t^\daggerΨt​=vt​vt†​, then take the real supremum of Re⁡Tr⁡(Ψt D∘Nt+1^(Ψt))\operatorname{Re}\operatorname{Tr}(\Psi_t\,\widehat{D\circ N_{t+1}}(\Psi_t))ReTr(Ψt​D∘Nt+1​​(Ψt​)) over finite Kraus representations D(Y)=∑bBbYBb†D(Y)=\sum_bB_bYB_b^\daggerD(Y)=∑b​Bb​YBb†​ with ∑bBb†Bb=IJt+1\sum_bB_b^\dagger B_b=I_{J^{t+1}}∑b​Bb†​Bb​=IJt+1​. Here Eu,vE_{u,v}Eu,v​ is a matrix unit, and the hat denotes application to each block with reference indices fixed. Neither R≥0R\ge0R≥0 nor a channel condition on NNN is required, and the rate criterion uses an upper limit. All suprema here are real suprema, taking value 000 on empty or unbounded-above sets; in particular, if III is empty, there are no required projection sequences and the defined capacity is 000.

QAlgorithms.Papers.Independent.Advance50.P29.middlePartialTrace

For index types R,ER,ER,E, a finite index type JJJ, and any complex matrix XXX indexed by R×(J×E)R\times(J\times E)R×(J×E), this defines the matrix on R×ER\times ER×E with entries

Y(r,e),(r′,e′)=∑j∈JX(r,(j,e)),(r′,(j,e′)).Y_{(r,e),(r',e')}=\sum_{j\in J}X_{(r,(j,e)),(r',(j,e'))}.Y(r,e),(r′,e′)​=j∈J∑​X(r,(j,e)),(r′,(j,e′))​.

The same middle index jjj is summed in the row and column coordinates. No positivity or normalization condition on XXX is required, and RRR is arbitrary. If JJJ is empty, the resulting matrix is zero.

QAlgorithms.Papers.Independent.Advance50.P29.operationLength

For finite index types I,JI,JI,J and an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, this natural number is

inf⁡{r∈N:∃A0,…,Ar−1∈CJ×I, ∀X∈CI×I, N(X)=∑a=0r−1AaXAa†}.\inf\left\{r\in\mathbb N: \exists A_0,\ldots,A_{r-1}\in\mathbb C^{J\times I},\ \forall X\in\mathbb C^{I\times I},\ N(X)=\sum_{a=0}^{r-1}A_aXA_a^\dagger\right\}.inf{r∈N:∃A0​,…,Ar−1​∈CJ×I, ∀X∈CI×I, N(X)=a=0∑r−1​Aa​XAa†​}.

If the set is nonempty, this is its least element. No bound on ∑aAa†Aa\sum_aA_a^\dagger A_a∑a​Aa†​Aa​ is imposed. The value r=0r=0r=0 is permitted and represents the zero function. If there is no such finite representation, the infimum in N\mathbb NN is defined to be 000, so the value 000 also includes that case.

QAlgorithms.Papers.Independent.Advance50.P29.recoveredEntanglementFidelity

For finite types I,JI,JI,J with decidable equality, an arbitrary function N:CI×I→CJ×JN:\mathbb C^{I\times I}\to\mathbb C^{J\times J}N:CI×I→CJ×J, and an arbitrary matrix ρ∈CI×I\rho\in\mathbb C^{I\times I}ρ∈CI×I, let S=cfc⁡(⋅)(ρ)S=\operatorname{cfc}(\sqrt{\cdot})(\rho)S=cfc(⋅​)(ρ), v(i,a)=Saiv(i,a)=S_{a i}v(i,a)=Sai​, and Ψ=vv†\Psi=vv^\daggerΨ=vv†, indexed by I×II\times II×I. This definition is the real supremum

sup⁡DRe⁡Tr⁡ ⁣(Ψ D∘N^(Ψ)),\sup_D\operatorname{Re}\operatorname{Tr}\!\left( \Psi\,\widehat{D\circ N}(\Psi)\right),Dsup​ReTr(ΨD∘N(Ψ)),

where D:CJ×J→CI×ID:\mathbb C^{J\times J}\to\mathbb C^{I\times I}D:CJ×J→CI×I ranges over functions admitting a finite representation D(Y)=∑a=0r−1BaYBa†D(Y)=\sum_{a=0}^{r-1}B_aYB_a^\daggerD(Y)=∑a=0r−1​Ba​YBa†​, with Ba∈CI×JB_a\in\mathbb C^{I\times J}Ba​∈CI×J and ∑aBa†Ba=IJ\sum_aB_a^\dagger B_a=I_J∑a​Ba†​Ba​=IJ​. The extension acts on each reference block: D∘N^(X)(i,u),(j,w)=(D∘N)([X(i,a),(j,b)]a,b)uw\widehat{D\circ N}(X)_{(i,u),(j,w)}=(D\circ N)([X_{(i,a),(j,b)}]_{a,b})_{u w}D∘N(X)(i,u),(j,w)​=(D∘N)([X(i,a),(j,b)​]a,b​)uw​. Neither a density condition on ρ\rhoρ nor a channel condition on NNN is assumed. This is a supremum, with no assertion that a decoder attains it; the real supremum has value 000 for an empty or unbounded-above set.

QAlgorithms.Papers.Independent.Advance50.P29.reducedOperation

For finite index types I,J,LI,J,LI,J,L, with decidable equality wherever required for the matrix constructions, any family Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, any real ϵ\epsilonϵ, and any natural number nnn, put μI=∣I∣−1II\mu_I=|I|^{-1}I_IμI​=∣I∣−1II​ and H=∑ℓ∈LAℓμIAℓ†H=\sum_{\ell\in L}A_\ell\mu_IA_\ell^\daggerH=∑ℓ∈L​Aℓ​μI​Aℓ†​, and write S(Y)=−Re⁡tr⁡[f(Y)]S(Y)=-\operatorname{Re}\operatorname{tr}[f(Y)]S(Y)=−Retr[f(Y)], where f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x is applied by functional calculus. Let PPP be the functional-calculus matrix

P=1[ 2−n(S(H)+ϵ), 2−n(S(H)−ϵ) ](H⊗n),(H⊗n)x,y=∏t=0n−1Hx(t),y(t).P=\mathbf1_{[\,2^{-n(S(H)+\epsilon)},\,2^{-n(S(H)-\epsilon)}\,]}(H^{\otimes n}), \qquad (H^{\otimes n})_{x,y}=\prod_{t=0}^{n-1}H_{x(t),y(t)}.P=1[2−n(S(H)+ϵ),2−n(S(H)−ϵ)]​(H⊗n),(H⊗n)x,y​=t=0∏n−1​Hx(t),y(t)​.

Set qℓ=Re⁡tr⁡(Aℓ†Aℓ)/∣I∣q_\ell=\operatorname{Re}\operatorname{tr}(A_\ell^\dagger A_\ell)/|I|qℓ​=Retr(Aℓ†​Aℓ​)/∣I∣, H(q)=−∑ℓqℓlog⁡2qℓH(q)=-\sum_\ell q_\ell\log_2q_\ellH(q)=−∑ℓ​qℓ​log2​qℓ​, and let T\mathcal TT consist of the words w∈Lnw\in L^nw∈Ln satisfying 2−n(H(q)+ϵ)≤∏tqw(t)≤2−n(H(q)−ϵ)2^{-n(H(q)+\epsilon)}\le\prod_tq_{w(t)}\le2^{-n(H(q)-\epsilon)}2−n(H(q)+ϵ)≤∏t​qw(t)​≤2−n(H(q)−ϵ); define (Aw)x,y=∏t(Aw(t))x(t),y(t)(A_w)_{x,y}=\prod_t(A_{w(t)})_{x(t),y(t)}(Aw​)x,y​=∏t​(Aw(t)​)x(t),y(t)​. The declaration defines the map

X⟼P(∑w∈TAwXAw†)P.X\longmapsto P\left(\sum_{w\in\mathcal T}A_wXA_w^\dagger\right)P.X⟼P(w∈T∑​Aw​XAw†​)P.

The matrices AℓA_\ellAℓ​ have no completeness or trace-bound hypothesis, so HHH need not have trace 111; ϵ\epsilonϵ is unrestricted. Empty sums are zero, division by zero is zero, and log⁡20=0\log_2 0=0log2​0=0. When n=0n=0n=0, P=[1]P=[1]P=[1] and the map is the identity on 1×11\times11×1 matrices.

QAlgorithms.Papers.Independent.Advance50.P29.regularizedInformation

For finite index types I,JI,JI,J with decidable equality and any function NNN from complex I×II\times II×I matrices to complex J×JJ\times JJ×J matrices, this defines the real number

lim sup⁡t→∞1t+1sup⁡ρ⪰0, tr⁡ρ=1[S ⁣(N[t+1](ρ))−S ⁣((id⁡⊗N[t+1])(∣vρ⟩⟨vρ∣))].\limsup_{t\to\infty}\frac{1}{t+1} \sup_{\rho\succeq0,\ \operatorname{tr}\rho=1} \left[ S\!\left(N^{[t+1]}(\rho)\right) - S\!\left((\operatorname{id}\otimes N^{[t+1]})(|v_\rho\rangle\langle v_\rho|)\right) \right].t→∞limsup​t+11​ρ⪰0, trρ=1sup​[S(N[t+1](ρ))−S((id⊗N[t+1])(∣vρ​⟩⟨vρ​∣))].

Here ρ\rhoρ is indexed by It+1I^{t+1}It+1, vρ(a,b)=(ρ)b,av_\rho(a,b)=(\sqrt{\rho})_{b,a}vρ​(a,b)=(ρ​)b,a​, and S(X)=−Re⁡tr⁡(g(X))S(X)=-\operatorname{Re}\operatorname{tr}(g(X))S(X)=−Retr(g(X)), where g(x)=xlog⁡2xg(x)=x\log_2xg(x)=xlog2​x and matrix functions use real continuous functional calculus. For a positive integer sss, the function N[s]N^{[s]}N[s] is defined entrywise by

N[s](X)y,y′=∑a,a′∈IsXa,a′∏i=0s−1N(Eai,ai′)yi,yi′,N^{[s]}(X)_{y,y'}= \sum_{a,a'\in I^s}X_{a,a'}\prod_{i=0}^{s-1}N(E_{a_i,a'_i})_{y_i,y'_i},N[s](X)y,y′​=a,a′∈Is∑​Xa,a′​i=0∏s−1​N(Eai​,ai′​​)yi​,yi′​​,

where Eu,vE_{u,v}Eu,v​ is the matrix with its sole nonzero entry 111 at (u,v)(u,v)(u,v); applying an identity on a reference register means applying this function separately to each matrix block indexed by the reference coordinates. Neither linearity nor any channel property of NNN is assumed. The definition uses real suprema and a real limsup without asserting boundedness or convergence, and it only uses positive block lengths t+1t+1t+1.

QAlgorithms.Papers.Independent.Advance50.P29.rotatedDensity

For a finite index type III with decidable equality, let CCC consist of a natural number dCd_CdC​ satisfying 0<dC≤∣I∣0<d_C\le |I|0<dC​≤∣I∣ and a complex matrix PCP_CPC​ on III satisfying PC†=PCP_C^\dagger=P_CPC†​=PC​, PC2=PCP_C^2=P_CPC2​=PC​, and tr⁡PC=dC\operatorname{tr}P_C=d_CtrPC​=dC​. Given a unitary matrix UUU on {0,…,∣I∣−1}\{0,\ldots,|I|-1\}{0,…,∣I∣−1}, this defines UI(dC−1PC)UI†U_I(d_C^{-1}P_C)U_I^\daggerUI​(dC−1​PC​)UI†​, where (UI)i,j=Ue(i),e(j)(U_I)_{i,j}=U_{e(i),e(j)}(UI​)i,j​=Ue(i),e(j)​ for the specified finite-enumeration equivalence e:I≃{0,…,∣I∣−1}e:I\simeq\{0,\ldots,|I|-1\}e:I≃{0,…,∣I∣−1}. The positive-dimension requirement excludes an empty III and makes dC−1d_C^{-1}dC−1​ a reciprocal of a nonzero number.

QAlgorithms.Papers.Independent.Advance50.P29.stateEntanglementFidelity

For a finite type III with decidable equality, an arbitrary function N:CI×I→CI×IN:\mathbb C^{I\times I}\to\mathbb C^{I\times I}N:CI×I→CI×I, and an arbitrary matrix ρ∈CI×I\rho\in\mathbb C^{I\times I}ρ∈CI×I, let S=cfc⁡(⋅)(ρ)S=\operatorname{cfc}(\sqrt{\cdot})(\rho)S=cfc(⋅​)(ρ), using the real square-root function in continuous functional calculus, define v(i,a)=Saiv(i,a)=S_{a i}v(i,a)=Sai​, and set Ψ(i,a),(j,b)=v(i,a)v(j,b)‾\Psi_{(i,a),(j,b)}=v(i,a)\overline{v(j,b)}Ψ(i,a),(j,b)​=v(i,a)v(j,b)​. For a matrix XXX indexed by I×II\times II×I, define the reference-preserving extension by

N^(X)(i,a),(j,b)=N ⁣([X(i,u),(j,w)]u,w∈I)ab.\widehat N(X)_{(i,a),(j,b)} =N\!\left([X_{(i,u),(j,w)}]_{u,w\in I}\right)_{a b}.N(X)(i,a),(j,b)​=N([X(i,u),(j,w)​]u,w∈I​)ab​.

The definition returns Re⁡Tr⁡(Ψ N^(Ψ))\operatorname{Re}\operatorname{Tr}(\Psi\,\widehat N(\Psi))ReTr(ΨN(Ψ)). No hypothesis says that ρ\rhoρ is a density matrix or that NNN is a channel or a linear function; the same formula applies to zero matrices and empty index types.

QAlgorithms.Papers.Independent.Advance50.P29.tensorKraus

For any index types I,J,LI,J,LI,J,L, any family Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, any natural number nnn, and any word w:{0,…,n−1}→Lw:\{0,\ldots,n-1\}\to Lw:{0,…,n−1}→L, this defines a matrix AwA_wAw​, whose rows are indexed by functions x:{0,…,n−1}→Jx:\{0,\ldots,n-1\}\to Jx:{0,…,n−1}→J and columns by functions y:{0,…,n−1}→Iy:\{0,\ldots,n-1\}\to Iy:{0,…,n−1}→I, by

(Aw)x,y=∏t=0n−1(Aw(t))x(t),y(t).(A_w)_{x,y}=\prod_{t=0}^{n-1}(A_{w(t)})_{x(t),y(t)}.(Aw​)x,y​=t=0∏n−1​(Aw(t)​)x(t),y(t)​.

No assumptions on the matrices are imposed. When n=0n=0n=0, both indexing function spaces are singletons and the empty product is 111, so the resulting matrix is the 1×11\times11×1 matrix with entry 111, including when I,JI,JI,J, or LLL is empty.

QAlgorithms.Papers.Independent.Advance50.P29.typicalOperation

For finite index types I,J,LI,J,LI,J,L, a family Aℓ∈CJ×IA_\ell\in\mathbb C^{J\times I}Aℓ​∈CJ×I, any real ϵ\epsilonϵ, and any natural number nnn, define qℓ=Re⁡tr⁡(Aℓ†Aℓ)/∣I∣q_\ell=\operatorname{Re}\operatorname{tr}(A_\ell^\dagger A_\ell)/|I|qℓ​=Retr(Aℓ†​Aℓ​)/∣I∣, H(q)=−∑ℓ∈Lqℓlog⁡2qℓH(q)=-\sum_{\ell\in L}q_\ell\log_2q_\ellH(q)=−∑ℓ∈L​qℓ​log2​qℓ​, and q(w)=∏t=0n−1qw(t)q(w)=\prod_{t=0}^{n-1}q_{w(t)}q(w)=∏t=0n−1​qw(t)​. Let

Tq,ϵn={w:{0,…,n−1}→L:2−n(H(q)+ϵ)≤q(w)≤2−n(H(q)−ϵ)},(Aw)x,y=∏t=0n−1(Aw(t))x(t),y(t).\mathcal T_{q,\epsilon}^{n} =\left\{w:\{0,\ldots,n-1\}\to L: 2^{-n(H(q)+\epsilon)}\le q(w)\le2^{-n(H(q)-\epsilon)}\right\}, \qquad (A_w)_{x,y}=\prod_{t=0}^{n-1}(A_{w(t)})_{x(t),y(t)}.Tq,ϵn​={w:{0,…,n−1}→L:2−n(H(q)+ϵ)≤q(w)≤2−n(H(q)−ϵ)},(Aw​)x,y​=t=0∏n−1​(Aw(t)​)x(t),y(t)​.

The declaration defines the map on all matrices XXX indexed by InI^nIn as

X⟼∑w∈Tq,ϵnAwXAw†,X\longmapsto\sum_{w\in\mathcal T_{q,\epsilon}^{n}}A_wXA_w^\dagger,X⟼w∈Tq,ϵn​∑​Aw​XAw†​,

with output indexed by JnJ^nJn. There is no normalization or trace bound on AAA, and ϵ\epsilonϵ need not be positive; the logarithm and division are total real functions, with log⁡20=0\log_2 0=0log2​0=0 and division by zero equal to zero. An empty typical set gives the zero map. For n=0n=0n=0, the unique empty word satisfies both bounds with equality, and the map is the identity on 1×11\times11×1 matrices.

QAlgorithms.Papers.Independent.Advance50.P29.unitaryOn

For a finite index type III, let e:I→{0,…,∣I∣−1}e:I\to\{0,\ldots,|I|-1\}e:I→{0,…,∣I∣−1} be the equivalence supplied by its finite enumeration. Given any complex unitary matrix UUU indexed by {0,…,∣I∣−1}\{0,\ldots,|I|-1\}{0,…,∣I∣−1}, this defines the complex matrix on III whose entries are (UI)i,j=Ue(i),e(j)(U_I)_{i,j}=U_{e(i),e(j)}(UI​)i,j​=Ue(i),e(j)​. Thus both matrix indices are relabeled using that specified equivalence. The definition also includes I=∅I=\varnothingI=∅, in which case the resulting matrix has no entries.

QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalMass

For a finite index type LLL, any function P:L→RP:L\to\mathbb RP:L→R, any real ϵ\epsilonϵ, and any natural number nnn, this defines

∑w∈Ln2−n(H(P)+ϵ)≤∏iP(wi)≤2−n(H(P)−ϵ)∏i=0n−1P(wi),H(P)=−∑ℓ∈LP(ℓ)log⁡2P(ℓ).\sum_{\substack{w\in L^n\\ 2^{-n(H(P)+\epsilon)}\le \prod_iP(w_i)\le 2^{-n(H(P)-\epsilon)}}} \prod_{i=0}^{n-1}P(w_i), \qquad H(P)=-\sum_{\ell\in L}P(\ell)\log_2P(\ell).w∈Ln2−n(H(P)+ϵ)≤∏i​P(wi​)≤2−n(H(P)−ϵ)​∑​i=0∏n−1​P(wi​),H(P)=−ℓ∈L∑​P(ℓ)log2​P(ℓ).

Both inequalities selecting the words are non-strict, and the logarithm is the total real logarithm. There is no assumption that PPP is a probability distribution or that ϵ\epsilonϵ is positive. At n=0n=0n=0, the value is 111, including when LLL is empty; if LLL is empty and n>0n>0n>0, the value is 000.

QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalProjector

For a finite index type III with decidable equality, any complex matrix ρ\rhoρ on III, any real ϵ\epsilonϵ, and any natural number nnn, this defines hρ,ϵ,n(ρ⊗n)h_{\rho,\epsilon,n}(\rho^{\otimes n})hρ,ϵ,n​(ρ⊗n) using real continuous functional calculus, where

(ρ⊗n)x,y=∏i=0n−1ρxi,yi,hρ,ϵ,n(s)={1,2−n(S(ρ)+ϵ)≤s≤2−n(S(ρ)−ϵ),0,otherwise,(\rho^{\otimes n})_{x,y}=\prod_{i=0}^{n-1}\rho_{x_i,y_i}, \qquad h_{\rho,\epsilon,n}(s)= \begin{cases} 1,&2^{-n(S(\rho)+\epsilon)}\le s\le 2^{-n(S(\rho)-\epsilon)},\\ 0,&\text{otherwise}, \end{cases}(ρ⊗n)x,y​=i=0∏n−1​ρxi​,yi​​,hρ,ϵ,n​(s)={1,0,​2−n(S(ρ)+ϵ)≤s≤2−n(S(ρ)−ϵ),otherwise,​

and S(ρ)=−Re⁡tr⁡(g(ρ))S(\rho)=-\operatorname{Re}\operatorname{tr}(g(\rho))S(ρ)=−Retr(g(ρ)) with g(s)=slog⁡2sg(s)=s\log_2sg(s)=slog2​s, also evaluated by real continuous functional calculus. No density-matrix, Hermitian, or positivity hypothesis on ρ\rhoρ, and no sign restriction on ϵ\epsilonϵ, is imposed. The spectral interval includes both endpoints. For n=0n=0n=0, the word index type is a singleton, the empty product is 111, both interval endpoints are 111, and the resulting matrix is the singleton identity; for empty III and positive nnn, the output has no entries.

QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalWords

For a finite index type LLL, any real-valued function P:L→RP:L\to\mathbb RP:L→R, any real ϵ\epsilonϵ, and any natural number nnn, this defines the finite set of words w:{0,…,n−1}→Lw:\{0,\ldots,n-1\}\to Lw:{0,…,n−1}→L satisfying

2−n(H(P)+ϵ)≤∏i=0n−1P(wi)≤2−n(H(P)−ϵ),H(P)=−∑ℓ∈LP(ℓ)log⁡2P(ℓ).2^{-n(H(P)+\epsilon)} \le \prod_{i=0}^{n-1}P(w_i) \le 2^{-n(H(P)-\epsilon)}, \qquad H(P)=-\sum_{\ell\in L}P(\ell)\log_2P(\ell).2−n(H(P)+ϵ)≤i=0∏n−1​P(wi​)≤2−n(H(P)−ϵ),H(P)=−ℓ∈L∑​P(ℓ)log2​P(ℓ).

The endpoints are included. Neither nonnegativity nor normalization of PPP, nor positivity of ϵ\epsilonϵ, is required; the logarithm is the total real logarithm, with log⁡20=0\log_2 0=0log2​0=0. When n=0n=0n=0, the unique empty word belongs to this set because its product and both bounds equal 111. When LLL is empty and n>0n>0n>0, there are no words.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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