Definitions for A random-coding based proof for the quantum coding theorem
DefinitionQAlgorithms_Papers_Independent_Advance50_P29The 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.
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P29.AchievableCodeRate
For finite types with decidable equality, an arbitrary function , and a real number , this predicate asserts the existence, for every , of a positive integer and a Hermitian idempotent matrix on the index set with , such that
Here , and the block function is defined, for indexed by , by
where has its sole nonzero entry at . To define , set , , and ; then is the real supremum of over all with a finite family of matrices satisfying . 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 . There is no requirement , no channel assumption on , and no requirement that the rate sequence converge or have its lower limit at least . The first block has length ; an empty makes the required positive-dimensional projections impossible.
QAlgorithms.Papers.Independent.Advance50.P29.CodeProjection
For a finite type with decidable equality, an object of this structure consists of a natural number , a complex matrix , and the conditions
In particular, the dimension field is strictly positive, and the matrix is a Hermitian idempotent with trace equal to that dimension. If is empty, no object satisfies these conditions.
QAlgorithms.Papers.Independent.Advance50.P29.HasFiniteKrausOperation
For finite index types , with decidable equality on , and an arbitrary function , this predicate asserts that there are a natural number and matrices such that
The equality is required on all complex matrices, without a positivity or normalization restriction on . The case is allowed and represents the zero function.
QAlgorithms.Papers.Independent.Advance50.P29.HermitianForm
For a type and a function , this defines the assertion that, for every and every ,
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 , with decidable equality on , and a family of complex matrices , this predicate means
where denotes conjugate transpose and means positive semidefinite. Equivalently, in the positive semidefinite order. The index set may be empty; then the sum is zero and the predicate holds.
QAlgorithms.Papers.Independent.Advance50.P29.MinimalKraus
For finite index types and matrices , this predicate asserts that, for every natural number and every family ,
Thus every finite family producing the same function on all matrices has at least members. No trace bound or normalization condition is required of either family. Empty competing families are included; if is empty, the predicate holds automatically.
QAlgorithms.Papers.Independent.Advance50.P29.NormalizedUnital
For finite index types with decidable equality and any function from complex matrices on to complex matrices on , this defines the proposition
The reciprocals and scalar multiplications are taken in , and are identity matrices. No linearity, positivity, or channel assumption on is included. Empty index types are permitted: the reciprocal of is defined to be , and the identity matrix on an empty index type is also its zero matrix.
QAlgorithms.Papers.Independent.Advance50.P29.UniformKraus
For finite index types and a family of complex matrices , this defines the conjunction of three conditions: for every natural number and every family of matrices of the same shape, equality for every complex matrix on implies ; for every distinct , ; and for every ,
No completeness or trace bound is included. The empty family satisfies these conditions, with both indexed conditions vacuous; if is empty and is nonempty, the last condition is impossible, since its left side is and its right side is positive.
QAlgorithms.Papers.Independent.Advance50.P29.blockCoherentMaximumRate
For finite types with decidable equality, an arbitrary function , and , put and define
where is the matrix unit on . This definition returns
where is indexed by , , and for . The extension is defined by . No channel or linearity assumption on is imposed, and the supremum need not be attained; as a real supremum it is for an empty or unbounded-above set. The denominator is always positive, including , which corresponds to one use; if is empty, the density-matrix set is empty and the value is .
QAlgorithms.Papers.Independent.Advance50.P29.codeAverage
For a finite index type with decidable equality, a matrix and natural number satisfying , , , and , and any real-valued function on complex matrices on , this defines
Here is Haar measure normalized to give the whole unitary group measure , and uses the specified finite-enumeration equivalence . No measurability or integrability assumption on is imposed; the integral is the total Bochner integral, which equals when its integrand is not integrable. Such a cannot exist when is empty.
QAlgorithms.Papers.Independent.Advance50.P29.codeDensity
For a finite type with decidable equality and an object consisting of and satisfying , , , and , this definition returns the matrix
The inverse is taken in ; the structure’s strict positivity condition excludes division by zero.
QAlgorithms.Papers.Independent.Advance50.P29.decoupling
For finite matrix index types , an index type , any family of complex matrices , any natural number , and any complex matrix on , this defines a matrix on by
No normalization, positivity, Hermitian condition, or Kraus completeness condition is imposed on these inputs, and is not required to be related to . In particular, gives the zero matrix; if or is empty, the output has no entries.
QAlgorithms.Papers.Independent.Advance50.P29.exchangeEntropy
For finite types with decidable equality, an arbitrary function , and an arbitrary matrix , put , , and . Define , indexed by , by
The definition returns
No normalization or positivity assumption on , and no channel or linearity assumption on , 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 and any complex matrix , this defines the real number , where . No hypothesis on is imposed. If either index type is empty, the sum is .
QAlgorithms.Papers.Independent.Advance50.P29.krausWeight
For finite index types , any index type , and any family , this defines the real-valued function
No completeness or trace bound is assumed for the family, and these values are not required to sum to . The empty input index type is included: division by zero uses the total real-field convention and gives .
QAlgorithms.Papers.Independent.Advance50.P29.limsupCodeCapacity
For finite types with decidable equality and an arbitrary function , this definition takes the real supremum of all for which there is a sequence of Hermitian idempotents on , with positive integers , satisfying
For this criterion, , the block function is , and is computed as follows: set , , and , then take the real supremum of over finite Kraus representations with . Here is a matrix unit, and the hat denotes application to each block with reference indices fixed. Neither nor a channel condition on is required, and the rate criterion uses an upper limit. All suprema here are real suprema, taking value on empty or unbounded-above sets; in particular, if is empty, there are no required projection sequences and the defined capacity is .
QAlgorithms.Papers.Independent.Advance50.P29.middlePartialTrace
For index types , a finite index type , and any complex matrix indexed by , this defines the matrix on with entries
The same middle index is summed in the row and column coordinates. No positivity or normalization condition on is required, and is arbitrary. If is empty, the resulting matrix is zero.
QAlgorithms.Papers.Independent.Advance50.P29.operationLength
For finite index types and an arbitrary function , this natural number is
If the set is nonempty, this is its least element. No bound on is imposed. The value is permitted and represents the zero function. If there is no such finite representation, the infimum in is defined to be , so the value also includes that case.
QAlgorithms.Papers.Independent.Advance50.P29.recoveredEntanglementFidelity
For finite types with decidable equality, an arbitrary function , and an arbitrary matrix , let , , and , indexed by . This definition is the real supremum
where ranges over functions admitting a finite representation , with and . The extension acts on each reference block: . Neither a density condition on nor a channel condition on is assumed. This is a supremum, with no assertion that a decoder attains it; the real supremum has value for an empty or unbounded-above set.
QAlgorithms.Papers.Independent.Advance50.P29.reducedOperation
For finite index types , with decidable equality wherever required for the matrix constructions, any family , any real , and any natural number , put and , and write , where is applied by functional calculus. Let be the functional-calculus matrix
Set , , and let consist of the words satisfying ; define . The declaration defines the map
The matrices have no completeness or trace-bound hypothesis, so need not have trace ; is unrestricted. Empty sums are zero, division by zero is zero, and . When , and the map is the identity on matrices.
QAlgorithms.Papers.Independent.Advance50.P29.regularizedInformation
For finite index types with decidable equality and any function from complex matrices to complex matrices, this defines the real number
Here is indexed by , , and , where and matrix functions use real continuous functional calculus. For a positive integer , the function is defined entrywise by
where is the matrix with its sole nonzero entry at ; 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 is assumed. The definition uses real suprema and a real limsup without asserting boundedness or convergence, and it only uses positive block lengths .
QAlgorithms.Papers.Independent.Advance50.P29.rotatedDensity
For a finite index type with decidable equality, let consist of a natural number satisfying and a complex matrix on satisfying , , and . Given a unitary matrix on , this defines , where for the specified finite-enumeration equivalence . The positive-dimension requirement excludes an empty and makes a reciprocal of a nonzero number.
QAlgorithms.Papers.Independent.Advance50.P29.stateEntanglementFidelity
For a finite type with decidable equality, an arbitrary function , and an arbitrary matrix , let , using the real square-root function in continuous functional calculus, define , and set . For a matrix indexed by , define the reference-preserving extension by
The definition returns . No hypothesis says that is a density matrix or that 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 , any family , any natural number , and any word , this defines a matrix , whose rows are indexed by functions and columns by functions , by
No assumptions on the matrices are imposed. When , both indexing function spaces are singletons and the empty product is , so the resulting matrix is the matrix with entry , including when , or is empty.
QAlgorithms.Papers.Independent.Advance50.P29.typicalOperation
For finite index types , a family , any real , and any natural number , define , , and . Let
The declaration defines the map on all matrices indexed by as
with output indexed by . There is no normalization or trace bound on , and need not be positive; the logarithm and division are total real functions, with and division by zero equal to zero. An empty typical set gives the zero map. For , the unique empty word satisfies both bounds with equality, and the map is the identity on matrices.
QAlgorithms.Papers.Independent.Advance50.P29.unitaryOn
For a finite index type , let be the equivalence supplied by its finite enumeration. Given any complex unitary matrix indexed by , this defines the complex matrix on whose entries are . Thus both matrix indices are relabeled using that specified equivalence. The definition also includes , in which case the resulting matrix has no entries.
QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalMass
For a finite index type , any function , any real , and any natural number , this defines
Both inequalities selecting the words are non-strict, and the logarithm is the total real logarithm. There is no assumption that is a probability distribution or that is positive. At , the value is , including when is empty; if is empty and , the value is .
QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalProjector
For a finite index type with decidable equality, any complex matrix on , any real , and any natural number , this defines using real continuous functional calculus, where
and with , also evaluated by real continuous functional calculus. No density-matrix, Hermitian, or positivity hypothesis on , and no sign restriction on , is imposed. The spectral interval includes both endpoints. For , the word index type is a singleton, the empty product is , both interval endpoints are , and the resulting matrix is the singleton identity; for empty and positive , the output has no entries.
QAlgorithms.Papers.Independent.Advance50.P29.weakTypicalWords
For a finite index type , any real-valued function , any real , and any natural number , this defines the finite set of words satisfying
The endpoints are included. Neither nonnegativity nor normalization of , nor positivity of , is required; the logarithm is the total real logarithm, with . When , the unique empty word belongs to this set because its product and both bounds equal . When is empty and , there are no words.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.