Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Entanglement-Assisted Quantum Data Compression

Definition
QAlgorithms_Papers_Independent_Advance50_P41

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

prove2quantum

The objects the formalized statements of Entanglement-Assisted Quantum Data Compression (arXiv:1901.06346) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • ProductPureSource: PDF p.1, (1): data for a countably indexed product-pure source. Valid removes null letters and requires normalized vectors.
  • ProductPureSource.Valid: PDF p.1: supported probabilities are strictly positive; no H(X) premise.
  • ProductPureSource.joint: PDF p.1, (1): the joint pure source vector on A,C.
  • ProductPureSource.adjacent: PDF p.2, Definition 2: nonorthogonality of supported joint vectors.
  • IrreducibleLabel: PDF p.2: the canonical component label is the equivalence closure of nonorthogonality, rather than an arbitrary readable function of X.
  • ProductPureSource.label: PDF p.2, (3): the canonical label y(x).
  • ProductPureSource.componentProbability: PDF p.2: probability of an occupied component.
  • ProductPureSource.conditionalProbability: PDF p.2: conditional component law; division is used only at positive component mass in the structural theorem.
  • ProductPureSource.fiberSpan: PDF p.2: span of a fiber of a labeling h.
  • ProductPureSource.IsDecomposition: PDF p.2, Definition 2: every fiber is nonempty and irreducible, and spans of distinct fibers are orthogonal. Surjectivity excludes empty labels.
  • ProductPureSource.Irreducible: PDF p.2, Definition 2: a nonempty ensemble cannot split orthogonally.
  • ProductPureSource.averageA: PDF pp.1,2: actual average density of A.
  • ProductPureSource.averageAC: PDF pp.1,2: actual average density of AC.
  • ProductPureSource.blockC: PDF p.2: the y diagonal block of the canonical CY marginal. Blocks are subnormalized; their entropies already include -q(y)log q(y).
  • ProductPureSource.blockA: PDF p.2: the y diagonal block of the canonical AY marginal.
  • ProductPureSource.blockAC: PDF p.2: the y diagonal block of the canonical ACY marginal.
  • ProductPureSource.entropyA: PDF p.1: entropy of A in bits.
  • ProductPureSource.entropyY: PDF p.2: Shannon entropy of the canonical finite occupied label Y. For valid sources the orthogonal nonzero component spans imply finite Y, even when X is infinite. This is not an assumption on H(X).
  • ProductPureSource.entropyCY: PDF p.2: entropy of the actual block-diagonal CY marginal, in bits.
  • ProductPureSource.entropyAY: PDF p.2: entropy of the actual block-diagonal AY marginal, in bits.
  • ProductPureSource.entropyACY: PDF p.2: entropy of the actual block-diagonal ACY marginal, in bits.
  • ProductPureSource.quantumCorner: PDF p.2, Theorem 3: communication corner computed from the source.
  • ProductPureSource.entanglementCorner: PDF p.2, Theorem 3: simultaneous entanglement-consumption corner.
  • ProductPureSource.Blind: PDF p.2: blind means identical pure densities, allowing global phases.
  • ProductPureSource.Visible: PDF p.2: visible side information is an orthonormal encoding of X.
  • independentDiscreteLaw: PDF p.1: the actual independent product of two discrete probability laws.
  • productSource: PDF p.1: product source, with A1,A2 regrouped and C1,C2 regrouped.
  • ProductPureSource.wordProbability: PDF p.1: probability of an n-letter memoryless input word.
  • ProductPureSource.wordVector: PDF p.1: the complete A^n C^n pure target, registers grouped by party.
  • PreservedSideQuantumCode: PDF pp.1,2, Section II: arbitrary CPTP encoder and decoder, fixed independently of the inaccessible word; actual positive resource dimensions. The side register is retained by Alice. n is a positive block in sequences.
  • PreservedSideQuantumCode.quantumRate: PDF pp.1,2: quantum cost is the actual log-dimension per source letter.
  • PreservedSideQuantumCode.entanglementRate: PDF p.2: initial consumed entanglement, with no output-ebit subtraction.
  • PreservedSideQuantumCode.input: PDF pp.1,2: source together with Alice's and Bob's Bell halves. The input order is ((A^n,C^n),A0),B0.
  • PreservedSideQuantumCode.output: PDF p.2, (2): actual decoded joint Ahat^n Chat^n state. Bob's B0 is untouched during encoding; Chat^n is untouched during decoding.
  • PreservedSideQuantumCode.fidelity: PDF p.2, (2): average ROOT fidelity of the complete X,A,C output.
  • QuantumCodeSequence: PDF p.2: one code for every positive block length; n indexes length n+1.
  • ProductPureSource.OptimalQuantumCorner: PDF p.2: minimum quantum rate with unlimited initial entanglement and simultaneous attainment of the stated consumption rate. The converse imposes no convergence or bound on the entanglement rate.
  • ProductPureSource.SumRateConverse: PDF pp.4,5: sum-rate weak converse for any successful finite-rate sequence.
  • Extraction: PDF p.3, Definition 4: finite Stinespring isometries, with the input and reconstructed output dimensions A,C fixed.
  • Extraction.letter: PDF p.3: the output state on Ahat,Chat,W for a source letter.
  • Extraction.retained: PDF p.3: discard W, retaining the full reconstructed A,C pair.
  • Extraction.fidelity: PDF p.3: fidelity constraint in Definition 4, including epsilon>=1.
  • Extraction.objective: PDF p.3: I(X:Chat W) as a finite-output Holevo entropy difference. This avoids forming H(X)-H(X|Chat W) on countable alphabets.
  • extractionValues: PDF p.3: the bounded-environment optimization-value set. Its nonemptiness, boundedness, exact maximum and equivalence to arbitrary finite environments are conclusions of definition4_attainment, not assumed source fields.
  • extractionInformation: PDF p.3, Definition 4: real supremum on the compact bounded-environment model. Under Valid and eps>=0 the value set is nonempty and bounded above; this guard is established in the accompanying attainment theorem.
  • IsFiniteRectangularInstrument: PDF p.5, modified model: a finite CP instrument. Joint Kraus normalization makes each branch trace-nonincreasing and the sum trace-preserving.
  • BlindClassicalCode: PDF p.5, Theorem 8 model: Alice receives a blind A-source, extracts its canonical Y locally, and retains Y^n. The instrument acts on A^n A0; its classical outcome alone is sent. Bob decodes his Bell half conditionally. There is no quantum message and no classical-alphabet dimension cap.
  • BlindClassicalCode.classicalRate: PDF p.5: actual classical bits per source letter.
  • BlindClassicalCode.entanglementRate: PDF p.5: actual initial entanglement consumed per source letter.
  • BlindClassicalCode.input: PDF p.5: blind input A^n,A0,B0; only preshared entanglement at Bob.
  • BlindClassicalCode.output: PDF p.5: sum of genuine quantum-instrument branches, decoded using Bob's entangled half; output order Ahat^n,Yhat^n.
  • BlindClassicalCode.target: PDF p.5: complete AY target, with the canonical component word retained.
  • BlindClassicalCode.fidelity: PDF p.5: same average joint root-fidelity criterion as Section II.
  • BlindClassicalAchievable: PDF p.5: actual classical/entanglement rates converge along all positive block lengths; no budget interpretation is substituted.
  • separationPlus: PDF p.5: |+> in the separation example. Reindex the accepted Fin-2 plus state on the Bool computational basis, false=0 and true=1.
  • examplePsi: PDF p.5: source-letter A vectors 0,1,+.
  • separationSideVectors: PDF p.5: original side vectors 0,0,+.
  • exampleModifiedSigma: PDF p.5: transformed side vectors 0,1,+.
  • exampleWeights: PDF p.5: probabilities 1/2-t,1/2-t,2t.
  • separationLaw: PDF p.5: the normalized law on the source's open parameter interval.
  • exampleOriginal: PDF p.5: the original three-letter source.
  • exampleModified: PDF p.5: the three-letter source after the local controlled-NOT.
  • exampleDensity: PDF p.5: a finite coefficient average for the explicit parameter family, including t=0 for computing the one-sided entropy limit.
  • exampleOriginalRate: PDF p.5: (S(A)+S(AC)-S(C))/2 for the original ensemble.
  • exampleModifiedRate: PDF p.5: (S(A)+S(ACprime)-S(Cprime))/2 after controlled-NOT.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_FiniteRegisters
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P44
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P19
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier30_P01

/-!
Khanian and Winter, Entanglement-Assisted Quantum Data Compression,
arXiv:1901.06346v1. PDF pages are used throughout.
Only pinned accepted modules are imported. New definitions are paper-local.
Theorem 6 is deferred: its unrestricted half-spaces conflict with the
actual-dimension operational definition in Section II. No source correction
or net-entanglement convention is imposed here. Compilation is pending.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P41

open Filter
open scoped Topology BigOperators Matrix ComplexConjugate

attribute [local instance] Classical.propDecidable Classical.decEq

namespace Accepted
export QAlgorithms.Papers.Independent.Renew46.P44
  (DiscreteInputLaw discreteStateAverage)
export QAlgorithms.Papers.Independent.Dependency50.P19
  (first associate flip IsIso)
end Accepted

/-- PDF p.1, (1): data for a countably indexed product-pure source.
`Valid` removes null letters and requires normalized vectors. -/
structure ProductPureSource (X A C : Type) where
  law : Accepted.DiscreteInputLaw X
  psi : X → EuclideanSpace ℂ A
  sigma : X → EuclideanSpace ℂ C

variable {X A C : Type} [Fintype A] [Fintype C]

/-- PDF p.1: supported probabilities are strictly positive; no H(X) premise. -/
def ProductPureSource.Valid (s : ProductPureSource X A C) : Prop :=
  (∀ x, 0 < s.law.weight x) ∧
  (∀ x, IsState (s.psi x)) ∧ (∀ x, IsState (s.sigma x))

/-- PDF p.1, (1): the joint pure source vector on A,C. -/
def ProductPureSource.joint (s : ProductPureSource X A C) (x : X) : EuclideanSpace ℂ (A × C) :=
  tensorVec (s.psi x) (s.sigma x)

/-- PDF p.2, Definition 2: nonorthogonality of supported joint vectors. -/
def ProductPureSource.adjacent (s : ProductPureSource X A C) (x z : X) : Prop :=
  inner ℂ (s.joint x) (s.joint z) ≠ 0

/-- PDF p.2: the canonical component label is the equivalence closure of
nonorthogonality, rather than an arbitrary readable function of X. -/
def IrreducibleLabel (s : ProductPureSource X A C) :=
  Quotient (Relation.EqvGen.setoid s.adjacent)

/-- PDF p.2, (3): the canonical label y(x). -/
def ProductPureSource.label (s : ProductPureSource X A C) (x : X) : IrreducibleLabel s :=
  Quotient.mk _ x

/-- PDF p.2: probability of an occupied component. -/
def ProductPureSource.componentProbability (s : ProductPureSource X A C) (y : IrreducibleLabel s) : ℝ :=
  ∑' x, if s.label x = y then s.law.weight x else 0

/-- PDF p.2: conditional component law; division is used only at positive
component mass in the structural theorem. -/
def ProductPureSource.conditionalProbability (s : ProductPureSource X A C) (y : IrreducibleLabel s) (x : X) : ℝ :=
  if s.label x = y then s.law.weight x / s.componentProbability y else 0

/-- PDF p.2: span of a fiber of a labeling h. -/
def ProductPureSource.fiberSpan (s : ProductPureSource X A C) {Y : Type} (h : X → Y) (y : Y) :
    Submodule ℂ (EuclideanSpace ℂ (A × C)) :=
  Submodule.span ℂ {v | ∃ x, h x = y ∧ s.joint x = v}

/-- PDF p.2, Definition 2: every fiber is nonempty and irreducible, and
spans of distinct fibers are orthogonal. Surjectivity excludes empty labels. -/
def ProductPureSource.IsDecomposition (s : ProductPureSource X A C) {Y : Type} (h : X → Y) : Prop :=
  Function.Surjective h ∧
  (∀ y, ∀ u v : {x // h x = y},
    Relation.EqvGen (fun a b : {x // h x = y} => s.adjacent a.val b.val) u v) ∧
  (∀ y z, y ≠ z → ∀ u ∈ s.fiberSpan h y, ∀ v ∈ s.fiberSpan h z,
    inner ℂ u v = 0)

/-- PDF p.2, Definition 2: a nonempty ensemble cannot split orthogonally. -/
def ProductPureSource.Irreducible (s : ProductPureSource X A C) : Prop :=
  ∀ x z, s.label x = s.label z

/-- PDF pp.1,2: actual average density of A. -/
def ProductPureSource.averageA (s : ProductPureSource X A C) : Matrix A A ℂ :=
  Accepted.discreteStateAverage (fun x => pureDensity (s.psi x)) s.law

/-- PDF pp.1,2: actual average density of AC. -/
def ProductPureSource.averageAC (s : ProductPureSource X A C) : Matrix (A × C) (A × C) ℂ :=
  Accepted.discreteStateAverage (fun x => pureDensity (s.joint x)) s.law

/-- PDF p.2: the y diagonal block of the canonical CY marginal.
Blocks are subnormalized; their entropies already include -q(y)log q(y). -/
def ProductPureSource.blockC (s : ProductPureSource X A C) (y : IrreducibleLabel s) : Matrix C C ℂ :=
  Accepted.discreteStateAverage
    (fun x => if s.label x = y then pureDensity (s.sigma x) else 0) s.law

/-- PDF p.2: the y diagonal block of the canonical AY marginal. -/
def ProductPureSource.blockA (s : ProductPureSource X A C) (y : IrreducibleLabel s) : Matrix A A ℂ :=
  Accepted.discreteStateAverage
    (fun x => if s.label x = y then pureDensity (s.psi x) else 0) s.law

/-- PDF p.2: the y diagonal block of the canonical ACY marginal. -/
def ProductPureSource.blockAC (s : ProductPureSource X A C) (y : IrreducibleLabel s) : Matrix (A × C) (A × C) ℂ :=
  Accepted.discreteStateAverage
    (fun x => if s.label x = y then pureDensity (s.joint x) else 0) s.law

/-- PDF p.1: entropy of A in bits. -/
def ProductPureSource.entropyA (s : ProductPureSource X A C) : ℝ := vnEntropy s.averageA

/-- PDF p.2: Shannon entropy of the canonical finite occupied label Y.
For valid sources the orthogonal nonzero component spans imply finite Y,
even when X is infinite. This is not an assumption on H(X). -/
def ProductPureSource.entropyY (s : ProductPureSource X A C) : ℝ :=
  ∑' y : IrreducibleLabel s, -s.componentProbability y * Real.logb 2 (s.componentProbability y)

/-- PDF p.2: entropy of the actual block-diagonal CY marginal, in bits. -/
def ProductPureSource.entropyCY (s : ProductPureSource X A C) : ℝ :=
  ∑' y : IrreducibleLabel s, vnEntropy (s.blockC y)

/-- PDF p.2: entropy of the actual block-diagonal AY marginal, in bits. -/
def ProductPureSource.entropyAY (s : ProductPureSource X A C) : ℝ :=
  ∑' y : IrreducibleLabel s, vnEntropy (s.blockA y)

/-- PDF p.2: entropy of the actual block-diagonal ACY marginal, in bits. -/
def ProductPureSource.entropyACY (s : ProductPureSource X A C) : ℝ :=
  ∑' y : IrreducibleLabel s, vnEntropy (s.blockAC y)

/-- PDF p.2, Theorem 3: communication corner computed from the source. -/
def ProductPureSource.quantumCorner (s : ProductPureSource X A C) : ℝ :=
  (s.entropyA + s.entropyACY - s.entropyCY) / 2

/-- PDF p.2, Theorem 3: simultaneous entanglement-consumption corner. -/
def ProductPureSource.entanglementCorner (s : ProductPureSource X A C) : ℝ :=
  (s.entropyA - s.entropyACY + s.entropyCY) / 2

/-- PDF p.2: blind means identical pure densities, allowing global phases. -/
def ProductPureSource.Blind (s : ProductPureSource X A C) : Prop :=
  ∀ x z, pureDensity (s.sigma x) = pureDensity (s.sigma z)

/-- PDF p.2: visible side information is an orthonormal encoding of X. -/
def ProductPureSource.Visible (s : ProductPureSource X A C) : Prop :=
  ∀ x z, x ≠ z → inner ℂ (s.sigma x) (s.sigma z) = 0

/-- PDF p.1: the actual independent product of two discrete probability laws. -/
def independentDiscreteLaw {X1 X2 : Type} (p : Accepted.DiscreteInputLaw X1)
    (q : Accepted.DiscreteInputLaw X2) : Accepted.DiscreteInputLaw (X1 × X2) where
  weight := fun x => p.weight x.1 * q.weight x.2
  nonnegative := fun x => mul_nonneg (p.nonnegative x.1) (q.nonnegative x.2)
  summable := p.summable.mul_of_nonneg q.summable p.nonnegative q.nonnegative
  total := by
    simpa only [p.total, q.total, one_mul] using
      (p.summable.tsum_mul_tsum q.summable
        (p.summable.mul_of_nonneg q.summable p.nonnegative q.nonnegative)).symm

/-- PDF p.1: product source, with A1,A2 regrouped and C1,C2 regrouped. -/
def productSource {X1 X2 A1 A2 C1 C2 : Type}
    (s : ProductPureSource X1 A1 C1) (t : ProductPureSource X2 A2 C2) :
    ProductPureSource (X1 × X2) (A1 × A2) (C1 × C2) where
  law := independentDiscreteLaw s.law t.law
  psi := fun x => tensorVec (s.psi x.1) (t.psi x.2)
  sigma := fun x => tensorVec (s.sigma x.1) (t.sigma x.2)

/-- PDF p.1: probability of an n-letter memoryless input word. -/
def ProductPureSource.wordProbability (s : ProductPureSource X A C) {n : ℕ} (x : Fin n → X) : ℝ :=
  ∏ i, s.law.weight (x i)

/-- PDF p.1: the complete A^n C^n pure target, registers grouped by party. -/
def ProductPureSource.wordVector (s : ProductPureSource X A C) {n : ℕ} (x : Fin n → X) :
    EuclideanSpace ℂ ((Fin n → A) × (Fin n → C)) :=
  tensorVec (WithLp.toLp 2 fun a => ∏ i, s.psi (x i) (a i))
    (WithLp.toLp 2 fun c => ∏ i, s.sigma (x i) (c i))

/-- PDF pp.1,2, Section II: arbitrary CPTP encoder and decoder, fixed
independently of the inaccessible word; actual positive resource dimensions.
The side register is retained by Alice. n is a positive block in sequences. -/
structure PreservedSideQuantumCode (A C : Type) [Fintype A] [Fintype C] (n : ℕ) where
  K : ℕ
  messageDimension : ℕ
  K_positive : 0 < K
  message_positive : 0 < messageDimension
  message_cap : messageDimension ≤ Fintype.card A ^ n
  encoder : Superop (((Fin n → A) × (Fin n → C)) × Fin K)
    ((Fin n → C) × Fin messageDimension)
  decoder : Superop (Fin messageDimension × Fin K) (Fin n → A)
  encoder_channel : IsChannel encoder
  decoder_channel : IsChannel decoder

/-- PDF pp.1,2: quantum cost is the actual log-dimension per source letter. -/
def PreservedSideQuantumCode.quantumRate {n : ℕ} (P : PreservedSideQuantumCode A C n) : ℝ :=
  Real.logb 2 P.messageDimension / (n : ℝ)

/-- PDF p.2: initial consumed entanglement, with no output-ebit subtraction. -/
def PreservedSideQuantumCode.entanglementRate {n : ℕ} (P : PreservedSideQuantumCode A C n) : ℝ :=
  Real.logb 2 P.K / (n : ℝ)

/-- PDF pp.1,2: source together with Alice's and Bob's Bell halves.
The input order is ((A^n,C^n),A0),B0. -/
def PreservedSideQuantumCode.input {n : ℕ} (P : PreservedSideQuantumCode A C n) (s : ProductPureSource X A C)
    (x : Fin n → X) :
    EuclideanSpace ℂ ((((Fin n → A) × (Fin n → C)) × Fin P.K) × Fin P.K) :=
  letI : NeZero P.K := ⟨Nat.ne_of_gt P.K_positive⟩
  WithLp.toLp 2 fun u => s.wordVector x u.1.1 *
    finiteMaxEntangled (Fin P.K) (u.1.2, u.2)

/-- PDF p.2, (2): actual decoded joint Ahat^n Chat^n state. Bob's B0
is untouched during encoding; Chat^n is untouched during decoding. -/
def PreservedSideQuantumCode.output {n : ℕ} (P : PreservedSideQuantumCode A C n) (s : ProductPureSource X A C)
    (x : Fin n → X) :
    Matrix ((Fin n → A) × (Fin n → C)) ((Fin n → A) × (Fin n → C)) ℂ :=
  Accepted.flip (idTensorSuperop P.decoder
    (Accepted.associate (Accepted.first P.encoder (pureDensity (P.input s x)))))

/-- PDF p.2, (2): average ROOT fidelity of the complete X,A,C output. -/
def PreservedSideQuantumCode.fidelity {n : ℕ} (P : PreservedSideQuantumCode A C n) (s : ProductPureSource X A C) : ℝ :=
  ∑' x : Fin n → X, s.wordProbability x *
    rootFidelity (pureDensity (s.wordVector x)) (P.output s x)

/-- PDF p.2: one code for every positive block length; n indexes length n+1. -/
abbrev QuantumCodeSequence (A C : Type) [Fintype A] [Fintype C] :=
  (n : ℕ) → PreservedSideQuantumCode A C (n + 1)

/-- PDF p.2: minimum quantum rate with unlimited initial entanglement and
simultaneous attainment of the stated consumption rate. The converse imposes
no convergence or bound on the entanglement rate. -/
def ProductPureSource.OptimalQuantumCorner (s : ProductPureSource X A C) (q e : ℝ) : Prop :=
  (∀ P : QuantumCodeSequence A C, ∀ r : ℝ,
    Tendsto (fun n => (P n).fidelity s) atTop (nhds 1) →
    Tendsto (fun n => (P n).quantumRate) atTop (nhds r) → q ≤ r) ∧
  (∃ P : QuantumCodeSequence A C,
    Tendsto (fun n => (P n).fidelity s) atTop (nhds 1) ∧
    Tendsto (fun n => (P n).quantumRate) atTop (nhds q) ∧
    Tendsto (fun n => (P n).entanglementRate) atTop (nhds e))

/-- PDF pp.4,5: sum-rate weak converse for any successful finite-rate sequence. -/
def ProductPureSource.SumRateConverse (s : ProductPureSource X A C) : Prop :=
  ∀ P : QuantumCodeSequence A C, ∀ q e : ℝ,
    Tendsto (fun n => (P n).fidelity s) atTop (nhds 1) →
    Tendsto (fun n => (P n).quantumRate) atTop (nhds q) →
    Tendsto (fun n => (P n).entanglementRate) atTop (nhds e) →
    s.entropyA ≤ q + e

/-- PDF p.3, Definition 4: finite Stinespring isometries, with the input
and reconstructed output dimensions A,C fixed. -/
structure Extraction (A C : Type) [Fintype A] [Fintype C] where
  environmentDimension : ℕ
  environment_positive : 0 < environmentDimension
  isometry : Matrix (A × (C × Fin environmentDimension)) (A × C) ℂ
  isometry_columns : Accepted.IsIso isometry

/-- PDF p.3: the output state on Ahat,Chat,W for a source letter. -/
def Extraction.letter (V : Extraction A C) (s : ProductPureSource X A C) (x : X) :
    Matrix (A × (C × Fin V.environmentDimension)) (A × (C × Fin V.environmentDimension)) ℂ :=
  conjSuperop V.isometry (pureDensity (s.joint x))

/-- PDF p.3: discard W, retaining the full reconstructed A,C pair. -/
def Extraction.retained (V : Extraction A C) (s : ProductPureSource X A C) (x : X) :
    Matrix (A × C) (A × C) ℂ :=
  fun a b => ∑ w, V.letter s x (a.1, (a.2, w)) (b.1, (b.2, w))

/-- PDF p.3: fidelity constraint in Definition 4, including epsilon>=1. -/
def Extraction.fidelity (V : Extraction A C) (s : ProductPureSource X A C) : ℝ :=
  ∑' x, s.law.weight x * rootFidelity (pureDensity (s.joint x)) (V.retained s x)

/-- PDF p.3: I(X:Chat W) as a finite-output Holevo entropy difference.
This avoids forming H(X)-H(X|Chat W) on countable alphabets. -/
def Extraction.objective (V : Extraction A C) (s : ProductPureSource X A C) : ℝ :=
  let rho := fun x => traceLeft (V.letter s x)
  vnEntropy (Accepted.discreteStateAverage rho s.law) -
    ∑' x, s.law.weight x * vnEntropy (rho x)

/-- PDF p.3: the bounded-environment optimization-value set. Its nonemptiness,
boundedness, exact maximum and equivalence to arbitrary finite environments
are conclusions of `definition4_attainment`, not assumed source fields. -/
def extractionValues (s : ProductPureSource X A C) (eps : ℝ) : Set ℝ :=
  {v | ∃ V : Extraction A C,
    V.environmentDimension ≤ Fintype.card A ^ 2 * Fintype.card C ^ 2 ∧
    1 - eps ≤ V.fidelity s ∧ v = V.objective s}

/-- PDF p.3, Definition 4: real supremum on the compact bounded-environment
model. Under Valid and eps>=0 the value set is nonempty and bounded above;
this guard is established in the accompanying attainment theorem. -/
def extractionInformation (s : ProductPureSource X A C) (eps : ℝ) : ℝ :=
  sSup (extractionValues s eps)

/-- PDF p.5, modified model: a finite CP instrument. Joint Kraus normalization
makes each branch trace-nonincreasing and the sum trace-preserving. -/
def IsFiniteRectangularInstrument {I O M : Type} [Fintype I] [Fintype O] [Fintype M]
    (T : M → Superop I O) : Prop :=
  ∃ r : M → ℕ, ∃ B : (m : M) → Fin (r m) → Matrix O I ℂ,
    (∑ m, ∑ j, (B m j)ᴴ * B m j = 1) ∧
    ∀ m rho, T m rho = krausApply (B m) rho

/-- PDF p.5, Theorem 8 model: Alice receives a blind A-source, extracts its
canonical Y locally, and retains Y^n. The instrument acts on A^n A0;
its classical outcome alone is sent. Bob decodes his Bell half conditionally.
There is no quantum message and no classical-alphabet dimension cap. -/
structure BlindClassicalCode (s : ProductPureSource X A Unit) (n : ℕ) where
  K : ℕ
  messageDimension : ℕ
  K_positive : 0 < K
  message_positive : 0 < messageDimension
  labelSize : ℕ
  labelEquivalence : IrreducibleLabel s ≃ Fin (labelSize + 1)
  instrument : Fin messageDimension →
    Superop ((Fin n → A) × Fin K) (Fin n → Fin (labelSize + 1))
  instrument_valid : IsFiniteRectangularInstrument instrument
  decoder : Fin messageDimension → Superop (Fin K) (Fin n → A)
  decoder_channel : ∀ m, IsChannel (decoder m)

/-- PDF p.5: actual classical bits per source letter. -/
def BlindClassicalCode.classicalRate {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n) : ℝ :=
  Real.logb 2 P.messageDimension / (n : ℝ)

/-- PDF p.5: actual initial entanglement consumed per source letter. -/
def BlindClassicalCode.entanglementRate {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n) : ℝ :=
  Real.logb 2 P.K / (n : ℝ)

/-- PDF p.5: blind input A^n,A0,B0; only preshared entanglement at Bob. -/
def BlindClassicalCode.input {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n)
    (x : Fin n → X) : EuclideanSpace ℂ (((Fin n → A) × Fin P.K) × Fin P.K) :=
  letI : NeZero P.K := ⟨Nat.ne_of_gt P.K_positive⟩
  WithLp.toLp 2 fun u => (∏ i, s.psi (x i) (u.1.1 i)) *
    finiteMaxEntangled (Fin P.K) (u.1.2, u.2)

/-- PDF p.5: sum of genuine quantum-instrument branches, decoded using
Bob's entangled half; output order Ahat^n,Yhat^n. -/
def BlindClassicalCode.output {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n)
    (x : Fin n → X) :
    Matrix ((Fin n → A) × (Fin n → Fin (P.labelSize + 1)))
      ((Fin n → A) × (Fin n → Fin (P.labelSize + 1))) ℂ :=
  ∑ m, Accepted.flip (idTensorSuperop (P.decoder m)
    (Accepted.first (P.instrument m) (pureDensity (P.input x))))

/-- PDF p.5: complete AY target, with the canonical component word retained. -/
def BlindClassicalCode.target {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n)
    (x : Fin n → X) :
    EuclideanSpace ℂ ((Fin n → A) × (Fin n → Fin (P.labelSize + 1))) :=
  tensorVec (WithLp.toLp 2 fun a => ∏ i, s.psi (x i) (a i))
    (ket (fun i => P.labelEquivalence (s.label (x i))))

/-- PDF p.5: same average joint root-fidelity criterion as Section II. -/
def BlindClassicalCode.fidelity {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n) : ℝ :=
  ∑' x : Fin n → X, s.wordProbability x *
    rootFidelity (pureDensity (P.target x)) (P.output x)

/-- PDF p.5: actual classical/entanglement rates converge along all positive
block lengths; no budget interpretation is substituted. -/
def BlindClassicalAchievable (s : ProductPureSource X A Unit) (c e : ℝ) : Prop :=
  ∃ P : (n : ℕ) → BlindClassicalCode s (n + 1),
    Tendsto (fun n => (P n).fidelity) atTop (nhds 1) ∧
    Tendsto (fun n => (P n).classicalRate) atTop (nhds c) ∧
    Tendsto (fun n => (P n).entanglementRate) atTop (nhds e)

/-- PDF p.5: |+> in the separation example. Reindex the accepted Fin-2
plus state on the Bool computational basis, false=0 and true=1. -/
def separationPlus : EuclideanSpace ℂ Bool :=
  WithLp.toLp 2 fun b =>
    QAlgorithms.Papers.Independent.Frontier30.P01.plusVector (if b then 1 else 0)

/-- PDF p.5: source-letter A vectors 0,1,+. -/
def examplePsi : Fin 3 → EuclideanSpace ℂ Bool :=
  ![ket false, ket true, separationPlus]

/-- PDF p.5: original side vectors 0,0,+. -/
def separationSideVectors : Fin 3 → EuclideanSpace ℂ Bool :=
  ![ket false, ket false, separationPlus]

/-- PDF p.5: transformed side vectors 0,1,+. -/
def exampleModifiedSigma : Fin 3 → EuclideanSpace ℂ Bool := examplePsi

/-- PDF p.5: probabilities 1/2-t,1/2-t,2t. -/
def exampleWeights (t : ℝ) : Fin 3 → ℝ := ![1 / 2 - t, 1 / 2 - t, 2 * t]

/-- PDF p.5: the normalized law on the source's open parameter interval. -/
def separationLaw (t : Set.Ioo (0 : ℝ) (1 / 2)) : Accepted.DiscreteInputLaw (Fin 3) where
  weight := exampleWeights t.val
  nonnegative := by
    intro i
    have h0 := t.property.1
    have h1 := t.property.2
    fin_cases i <;> simp [exampleWeights] <;> linarith
  summable := (hasSum_fintype _).summable
  total := by
    rw [tsum_fintype]
    simp [exampleWeights, Fin.sum_univ_three] <;> ring

/-- PDF p.5: the original three-letter source. -/
def exampleOriginal (t : Set.Ioo (0 : ℝ) (1 / 2)) : ProductPureSource (Fin 3) Bool Bool :=
  ⟨separationLaw t, examplePsi, separationSideVectors⟩

/-- PDF p.5: the three-letter source after the local controlled-NOT. -/
def exampleModified (t : Set.Ioo (0 : ℝ) (1 / 2)) : ProductPureSource (Fin 3) Bool Bool :=
  ⟨separationLaw t, examplePsi, exampleModifiedSigma⟩

/-- PDF p.5: a finite coefficient average for the explicit parameter family,
including t=0 for computing the one-sided entropy limit. -/
def exampleDensity (t : ℝ) (v : Fin 3 → EuclideanSpace ℂ (Bool × Bool)) :
    Matrix (Bool × Bool) (Bool × Bool) ℂ :=
  ∑ x, (exampleWeights t x : ℂ) • pureDensity (v x)

/-- PDF p.5: (S(A)+S(AC)-S(C))/2 for the original ensemble. -/
def exampleOriginalRate (t : ℝ) : ℝ :=
  let rho := exampleDensity t (fun x => tensorVec (examplePsi x) (separationSideVectors x))
  (vnEntropy (traceRight rho) + vnEntropy rho - vnEntropy (traceLeft rho)) / 2

/-- PDF p.5: (S(A)+S(ACprime)-S(Cprime))/2 after controlled-NOT. -/
def exampleModifiedRate (t : ℝ) : ℝ :=
  let rho := exampleDensity t (fun x => tensorVec (examplePsi x) (exampleModifiedSigma x))
  (vnEntropy (traceRight rho) + vnEntropy rho - vnEntropy (traceLeft rho)) / 2

/-! Definition sanity checks. These do not prove any of the paper's results. -/

example (s : ProductPureSource X A C) (x : X) : s.label x = s.label x := rfl

example (s : ProductPureSource X A C) {y : IrreducibleLabel s} {x : X} (h : s.label x ≠ y) :
    s.conditionalProbability y x = 0 := by
  simp [ProductPureSource.conditionalProbability, h]

example (s : ProductPureSource X A C) (x : Fin 0 → X) : s.wordProbability x = 1 := by
  simp [ProductPureSource.wordProbability]

example {n : ℕ} (P : PreservedSideQuantumCode A C n) (h : P.messageDimension = 1) :
    P.quantumRate = 0 := by
  simp [PreservedSideQuantumCode.quantumRate, h]

example {n : ℕ} (P : PreservedSideQuantumCode A C n) (h : P.K = 1) :
    P.entanglementRate = 0 := by
  simp [PreservedSideQuantumCode.entanglementRate, h]

example {s : ProductPureSource X A Unit} {n : ℕ} (P : BlindClassicalCode s n)
    (h : P.messageDimension = 1) : P.classicalRate = 0 := by
  simp [BlindClassicalCode.classicalRate, h]

example (s : ProductPureSource X A C) :
    s.quantumCorner + s.entanglementCorner = s.entropyA := by
  unfold ProductPureSource.quantumCorner ProductPureSource.entanglementCorner
  ring

example : separationPlus false = ((Real.sqrt 2 / 2 : ℝ) : ℂ) := rfl

example (t : ℝ) : exampleWeights t 2 = 2 * t := rfl

example {X1 X2 : Type} (p : Accepted.DiscreteInputLaw X1)
    (q : Accepted.DiscreteInputLaw X2) (x : X1 × X2) :
    (independentDiscreteLaw p q).weight x = p.weight x.1 * q.weight x.2 := rfl

example (t : Set.Ioo (0 : ℝ) (1 / 2)) :
    (exampleOriginal t).psi = (exampleModified t).psi := rfl

/-! Headline results: one theorem per stated plan node. -/

end QAlgorithms.Papers.Independent.Advance50.P41
Source
Entanglement-Assisted Quantum Data Compression, arXiv:1901.06346v1, https://arxiv.org/abs/1901.06346v1
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalAchievable

For a source sss with label type XXX, finite register index type AAA, and singleton side register, and arbitrary real numbers c,ec,ec,e, this property means that there exists a sequence of codes PnP_nPn​ of block length n+1n+1n+1, for every natural number nnn, such that

F(Pn,s)⟶1,log⁡2Dnn+1⟶c,log⁡2Knn+1⟶e(n→∞),F(P_n,s)\longrightarrow1,\qquad \frac{\log_2 D_n}{n+1}\longrightarrow c,\qquad \frac{\log_2 K_n}{n+1}\longrightarrow e \quad(n\to\infty),F(Pn​,s)⟶1,n+1log2​Dn​​⟶c,n+1log2​Kn​​⟶e(n→∞),

where DnD_nDn​ and KnK_nKn​ are respectively the code’s strictly positive message-dimension and shared-register parameters. Here each code supplies a finite instrument from An+1A^{n+1}An+1 together with one KnK_nKn​ register to a string of source-component labels, and a decoder channel from the other KnK_nKn​ register to An+1A^{n+1}An+1 for each instrument outcome. The component labels are equivalence classes generated by nonzero inner products between s.ψ(y)⊗s.σ(y)s.\psi(y)\otimes s.\sigma(y)s.ψ(y)⊗s.σ(y). For a word xxx, the input amplitudes are Kn−1/21r=t∏i<n+1s.ψ(x(i))(a(i))K_n^{-1/2}\mathbf1_{r=t}\prod_{i<n+1}s.\psi(x(i))(a(i))Kn−1/2​1r=t​∏i<n+1​s.ψ(x(i))(a(i)); the output OxO_xOx​ sums the corresponding instrument-and-decoder branches and retains both the reconstructed register and the label string. The target vector txt_xtx​ has amplitude ∏i<n+1s.ψ(x(i))(a(i))\prod_{i<n+1}s.\psi(x(i))(a(i))∏i<n+1​s.ψ(x(i))(a(i)) on the label string encoding the classes of x(i)x(i)x(i) and amplitude 000 elsewhere. With source probabilities py≥0p_y\ge0py​≥0, ∑ypy=1\sum_y p_y=1∑y​py​=1, the quantity F(Pn,s)F(P_n,s)F(Pn​,s) is

∑x∈Xn+1(∏i<n+1px(i))Re⁡Tr⁡txtx∗ Ox txtx∗,\sum_{x\in X^{n+1}} \left(\prod_{i<n+1}p_{x(i)}\right) \operatorname{Re}\operatorname{Tr} \sqrt{\sqrt{t_xt_x^{*}}\,O_x\,\sqrt{t_xt_x^{*}}},x∈Xn+1∑​(i<n+1∏​px(i)​)ReTrtx​tx∗​​Ox​tx​tx∗​​​,

using continuous functional calculus for the square roots and the total infinite-sum convention. No validity assumption requiring normalized source vectors or strictly positive source probabilities is included, and no separate sign condition on ccc or eee is imposed. Every block length used here is positive.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.classicalRate

For a type XXX, a finite type AAA, a source sss on XXX with nonnegative summable weights totaling one and arbitrary vectors in CA\mathbb C^ACA and C{∗}\mathbb C^{\{\ast\}}C{∗}, a natural block length nnn, and a blind classical code PPP, this defines

log⁡2Dn,\frac{\log_2 D}{n},nlog2​D​,

where D>0D>0D>0 is the code’s message dimension. Such a code also includes a positive shared dimension, a bijection from the quotient of source symbols generated by nonzero overlaps of their joint product vectors to a finite nonempty label set, a finite rectangular Kraus instrument from AnA^nAn and the shared register to nnn labels whose branches jointly satisfy Kraus completeness, and a channel decoder for each message from the other shared register to AnA^nAn, each decoder having a finite Kraus representation with completeness equation. These other fields do not enter the rate formula. No assumption n>0n>0n>0 is made: at n=0n=0n=0, real division by zero makes the defined rate equal to zero.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.entanglementRate

For a source sss with label type XXX and register types AAA and the singleton type, any natural number nnn, and any code PPP of block length nnn for this source, the entanglement rate is the real number

log⁡2Kn,\frac{\log_2 K}{n},nlog2​K​,

where K=P.KK=P.KK=P.K is the code’s strictly positive natural-number parameter. The source includes a nonnegative, summable probability law on XXX and families of complex vectors indexed by AAA and by the singleton type; their normalization is not assumed here. The definition includes n=0n=0n=0, in which case real division by zero gives rate 000.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.fidelity

For a source sss with label type XXX, finite register index type AAA, and singleton side register, any natural number nnn, and any code PPP of block length nnn, write py=s.law.weight(y)p_y=s.\mathrm{law.weight}(y)py​=s.law.weight(y); these weights are nonnegative, summable, and sum to 111, but need not all be strictly positive. For each word x∈Xnx\in X^nx∈Xn, its weight is px=∏i<npx(i)p_x=\prod_{i<n}p_{x(i)}px​=∏i<n​px(i)​. Let K=P.K>0K=P.K>0K=P.K>0, D=P.messageDimension>0D=P.\mathrm{messageDimension}>0D=P.messageDimension>0, L=P.labelSize+1L=P.\mathrm{labelSize}+1L=P.labelSize+1, and let eee identify the equivalence classes generated by nonzero overlaps of the vectors s.ψ(y)⊗s.σ(y)s.\psi(y)\otimes s.\sigma(y)s.ψ(y)⊗s.σ(y) with {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}. Define vx((a,r),t)=K−1/21r=t∏i<ns.ψ(x(i))(a(i))v_x((a,r),t)=K^{-1/2}\mathbf1_{r=t}\prod_{i<n}s.\psi(x(i))(a(i))vx​((a,r),t)=K−1/21r=t​∏i<n​s.ψ(x(i))(a(i)) and tx(a,ℓ)=1∀i, ℓ(i)=e([x(i)])∏i<ns.ψ(x(i))(a(i))t_x(a,\ell)=\mathbf1_{\forall i,\ \ell(i)=e([x(i)])}\prod_{i<n}s.\psi(x(i))(a(i))tx​(a,ℓ)=1∀i, ℓ(i)=e([x(i)])​∏i<n​s.ψ(x(i))(a(i)). Let OxO_xOx​ be obtained from vxvx∗v_xv_x^{*}vx​vx∗​ by applying instrument branch mmm to the AnA^nAn register and first KKK register, applying decoder mmm to the second KKK register, summing over m<Dm<Dm<D, and placing the reconstructed AnA^nAn register before the label register; the instrument branches have finite Kraus families with total completeness sum III, and each decoder is a channel with a finite complete Kraus family. The fidelity is the real sum

∑x∈Xnpx Re⁡Tr⁡txtx∗ Ox txtx∗,\sum_{x\in X^n}p_x\, \operatorname{Re}\operatorname{Tr} \sqrt{\sqrt{t_xt_x^{*}}\,O_x\,\sqrt{t_xt_x^{*}}},x∈Xn∑​px​ReTrtx​tx∗​​Ox​tx​tx∗​​​,

where txtx∗t_xt_x^{*}tx​tx∗​ has entries tx(u)tx(v)‾t_x(u)\overline{t_x(v)}tx​(u)tx​(v)​ and each square root is defined by continuous functional calculus using the real square-root function. The definition does not assume source-vector normalization or summability of this final real-valued series; the total infinite-sum convention assigns 000 if the summands are not summable. Empty products at n=0n=0n=0 equal 111.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.input

For a label type XXX, a finite register index type AAA, a source sss with singleton side register, a natural number nnn, a code PPP for sss of block length nnn, and a word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, let K=P.K>0K=P.K>0K=P.K>0 and write ψy=s.ψ(y)∈CA\psi_y=s.\psi(y)\in\mathbb C^Aψy​=s.ψ(y)∈CA. The input is the complex Euclidean vector indexed by ((a,r),t)((a,r),t)((a,r),t), where a:{0,…,n−1}→Aa:\{0,\ldots,n-1\}\to Aa:{0,…,n−1}→A and r,t∈{0,…,K−1}r,t\in\{0,\ldots,K-1\}r,t∈{0,…,K−1}, whose amplitude is

input⁡P,x((a,r),t)=(∏i=0n−1ψx(i)(a(i))){K−1/2,r=t,0,r≠t.\operatorname{input}_{P,x}((a,r),t) = \left(\prod_{i=0}^{n-1}\psi_{x(i)}(a(i))\right) \begin{cases} K^{-1/2},&r=t,\\ 0,&r\ne t. \end{cases}inputP,x​((a,r),t)=(i=0∏n−1​ψx(i)​(a(i))){K−1/2,0,​r=t,r=t.​

No normalization of the source vectors is required by this declaration. When n=0n=0n=0, the product is 111, so the remaining amplitudes are those of the displayed maximally entangled vector.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode

For a type XXX, a finite type AAA, a source sss consisting of nonnegative summable weights of total mass one, vectors ψx∈CA\psi_x\in\mathbb C^Aψx​∈CA, and vectors σx∈C{∗}\sigma_x\in\mathbb C^{\{\ast\}}σx​∈C{∗}, and a natural block length nnn, a blind classical code consists of positive integers K,DK,DK,D, a natural number ℓ\ellℓ, a bijection from the source’s irreducible-label set to {0,…,ℓ}\{0,\ldots,\ell\}{0,…,ℓ}, instrument branches TmT_mTm​ for m<Dm<Dm<D, and decoder maps DmD_mDm​. The irreducible-label set is the quotient of XXX by the smallest equivalence relation containing the pairs x,zx,zx,z for which ⟨ψx⊗σx,ψz⊗σz⟩≠0\langle\psi_x\otimes\sigma_x,\psi_z\otimes\sigma_z\rangle\ne0⟨ψx​⊗σx​,ψz​⊗σz​⟩=0; this equivalence relation includes reflexivity, symmetry, and transitivity. Each TmT_mTm​ maps matrices on An×{0,…,K−1}A^n\times\{0,\ldots,K-1\}An×{0,…,K−1} to matrices on the set of nnn-tuples of labels in {0,…,ℓ}\{0,\ldots,\ell\}{0,…,ℓ}, and the branches must admit finite rectangular Kraus families Bm,jB_{m,j}Bm,j​ satisfying ∑m,jBm,j†Bm,j=I\sum_{m,j}B_{m,j}^\dagger B_{m,j}=I∑m,j​Bm,j†​Bm,j​=I and Tm(Z)=∑jBm,jZBm,j†T_m(Z)=\sum_jB_{m,j}ZB_{m,j}^\daggerTm​(Z)=∑j​Bm,j​ZBm,j†​ for every matrix ZZZ. Each DmD_mDm​ maps matrices on {0,…,K−1}\{0,\ldots,K-1\}{0,…,K−1} to matrices on AnA^nAn and must have a finite Kraus representation with completeness equation ∑jEm,j†Em,j=I\sum_jE_{m,j}^\dagger E_{m,j}=I∑j​Em,j†​Em,j​=I. The structure imposes no fidelity requirement, no upper bound on K,DK,DK,D, and no normalization requirement on the source vectors. It permits n=0n=0n=0; its label bijection requires a finite, nonempty label set of exactly ℓ+1\ell+1ℓ+1 elements.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.output

For a source sss with label type XXX, finite register index type AAA, and singleton side register, a natural number nnn, a code PPP of block length nnn, and a word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, let K=P.K>0K=P.K>0K=P.K>0, D=P.messageDimension>0D=P.\mathrm{messageDimension}>0D=P.messageDimension>0, and L=P.labelSize+1L=P.\mathrm{labelSize}+1L=P.labelSize+1. Write Tm\mathcal T_mTm​ for the instrument branch indexed by m<Dm<Dm<D, mapping matrices on An×{0,…,K−1}A^n\times\{0,\ldots,K-1\}An×{0,…,K−1} to matrices on {0,…,L−1}n\{0,\ldots,L-1\}^n{0,…,L−1}n, and write Dm\mathcal D_mDm​ for its decoder channel from the remaining KKK-dimensional register to AnA^nAn. Each branch has a finite Kraus expression Tm(Z)=∑jBm,jZBm,j∗\mathcal T_m(Z)=\sum_j B_{m,j}ZB_{m,j}^{*}Tm​(Z)=∑j​Bm,j​ZBm,j∗​, with ∑m,jBm,j∗Bm,j=I\sum_{m,j}B_{m,j}^{*}B_{m,j}=I∑m,j​Bm,j∗​Bm,j​=I, and each decoder has a finite Kraus expression with completeness sum III. Define the vector vvv by v((a,r),t)=K−1/21r=t∏i<ns.ψ(x(i))(a(i))v((a,r),t)=K^{-1/2}\mathbf1_{r=t}\prod_{i<n}s.\psi(x(i))(a(i))v((a,r),t)=K−1/21r=t​∏i<n​s.ψ(x(i))(a(i)), and set Ru,v′=v(u)v(v′)‾R_{u,v'}=v(u)\overline{v(v')}Ru,v′​=v(u)v(v′)​. For label strings ℓ,ℓ′∈{0,…,L−1}n\ell,\ell'\in\{0,\ldots,L-1\}^nℓ,ℓ′∈{0,…,L−1}n and r,t<Kr,t<Kr,t<K, put

Zmℓ,ℓ′(r,t)=Tm ⁣((u,u′)⟼R(u,r),(u′,t))(ℓ,ℓ′),u,u′∈An.Z_m^{\ell,\ell'}(r,t) = \mathcal T_m\!\left( (u,u')\longmapsto R_{(u,r),(u',t)} \right)(\ell,\ell'), \qquad u,u'\in A^n.Zmℓ,ℓ′​(r,t)=Tm​((u,u′)⟼R(u,r),(u′,t)​)(ℓ,ℓ′),u,u′∈An.

The output is the matrix on An×{0,…,L−1}nA^n\times\{0,\ldots,L-1\}^nAn×{0,…,L−1}n with entries

output⁡P,x((a,ℓ),(b,ℓ′))=∑m<DDm(Zmℓ,ℓ′)(a,b).\operatorname{output}_{P,x}((a,\ell),(b,\ell')) = \sum_{m<D}\mathcal D_m(Z_m^{\ell,\ell'})(a,b).outputP,x​((a,ℓ),(b,ℓ′))=m<D∑​Dm​(Zmℓ,ℓ′​)(a,b).

Thus the definition sums the instrument branches, applies the corresponding decoder to the untouched KKK register, and orders the final registers as reconstructed AnA^nAn followed by the label string. It also applies when n=0n=0n=0; source-vector normalization is not assumed.

QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.target

For a source sss with label type XXX, finite register index type AAA, and singleton side register, a natural number nnn, a code PPP of block length nnn, and a word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, let L=P.labelSize+1L=P.\mathrm{labelSize}+1L=P.labelSize+1. The code supplies a bijection eee from the source’s irreducible labels to {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}. These labels are equivalence classes under the equivalence relation generated by pairs y,z∈Xy,z\in Xy,z∈X for which the inner product of s.ψ(y)⊗s.σ(y)s.\psi(y)\otimes s.\sigma(y)s.ψ(y)⊗s.σ(y) and s.ψ(z)⊗s.σ(z)s.\psi(z)\otimes s.\sigma(z)s.ψ(z)⊗s.σ(z) is nonzero; tensor amplitudes are products of the two component amplitudes. If [y][y][y] denotes the class of yyy, the target is the vector on An×{0,…,L−1}nA^n\times\{0,\ldots,L-1\}^nAn×{0,…,L−1}n given by

target⁡P,x(a,ℓ)={∏i<ns.ψ(x(i))(a(i)),ℓ(i)=e([x(i)]) for every i<n,0,otherwise.\operatorname{target}_{P,x}(a,\ell) = \begin{cases} \displaystyle\prod_{i<n}s.\psi(x(i))(a(i)), &\ell(i)=e([x(i)])\text{ for every }i<n,\\ 0,&\text{otherwise}. \end{cases}targetP,x​(a,ℓ)=⎩⎨⎧​i<n∏​s.ψ(x(i))(a(i)),0,​ℓ(i)=e([x(i)]) for every i<n,otherwise.​

No source-vector normalization is assumed. At n=0n=0n=0, both strings are empty and the unique target amplitude is 111.

QAlgorithms.Papers.Independent.Advance50.P41.Extraction.fidelity

For finite types A,CA,CA,C, an extraction with positive environment dimension ddd and isometric matrix VVV, and a source sss on a type XXX with nonnegative summable weights pxp_xpx​ of total mass one and arbitrary vectors ψx,σx\psi_x,\sigma_xψx​,σx​, this defines the real number

∑x∈Xpx Re⁡tr⁡Px RxPx,Px=∣ux⟩⟨ux∣,ux(a,c)=ψx(a)σx(c),\sum_{x\in X}p_x\, \operatorname{Re}\operatorname{tr} \sqrt{\sqrt{P_x}\,R_x\sqrt{P_x}}, \qquad P_x=|u_x\rangle\langle u_x|, \quad u_x(a,c)=\psi_x(a)\sigma_x(c),x∈X∑​px​RetrPx​​Rx​Px​​​,Px​=∣ux​⟩⟨ux​∣,ux​(a,c)=ψx​(a)σx​(c),

where Rx((a,c),(a′,c′))=∑w<d(VPxV†)((a,(c,w)),(a′,(c′,w)))R_x((a,c),(a',c'))=\sum_{w<d}(VP_xV^\dagger)((a,(c,w)),(a',(c',w)))Rx​((a,c),(a′,c′))=∑w<d​(VPx​V†)((a,(c,w)),(a′,(c′,w))), and all matrix square roots use continuous functional calculus. This uses root fidelity without squaring it. No source-vector normalization is assumed. The sum over XXX is the total infinite sum and equals zero if its family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.Extraction.letter

For finite types A,CA,CA,C, an extraction with positive environment dimension ddd and matrix VVV satisfying V†V=IV^\dagger V=IV†V=I, a source sss on any type XXX, and any x∈Xx\in Xx∈X, this defines the matrix

Lx=V∣ux⟩⟨ux∣V†,ux(a,c)=ψx(a)σx(c),L_x=V|u_x\rangle\langle u_x|V^\dagger, \qquad u_x(a,c)=\psi_x(a)\sigma_x(c),Lx​=V∣ux​⟩⟨ux​∣V†,ux​(a,c)=ψx​(a)σx​(c),

on A×(C×{0,…,d−1})A\times(C\times\{0,\ldots,d-1\})A×(C×{0,…,d−1}). Here sss contains vectors ψx∈CA,σx∈CC\psi_x\in\mathbb C^A,\sigma_x\in\mathbb C^Cψx​∈CA,σx​∈CC and nonnegative summable weights of total mass one, although the weights do not enter this definition; ∣ux⟩⟨ux∣|u_x\rangle\langle u_x|∣ux​⟩⟨ux​∣ has entry ux(a,c)ux(a′,c′)‾u_x(a,c)\overline{u_x(a',c')}ux​(a,c)ux​(a′,c′)​. No normalization of ψx\psi_xψx​ or σx\sigma_xσx​ is required, so LxL_xLx​ is not required by this definition to have trace one.

QAlgorithms.Papers.Independent.Advance50.P41.Extraction

For any finite types A,CA,CA,C, an extraction consists of a natural number d>0d>0d>0 and a complex matrix VVV whose columns are indexed by A×CA\times CA×C and whose rows are indexed by A×(C×{0,…,d−1})A\times(C\times\{0,\ldots,d-1\})A×(C×{0,…,d−1}), satisfying

V†V=IA×C.V^\dagger V=I_{A\times C}.V†V=IA×C​.

Thus the columns are orthonormal. The structure imposes no upper bound on ddd and does not require VV†=IVV^\dagger=IVV†=I. Empty AAA or CCC are permitted; in that case the matrix has no rows or columns and the matrix equality is vacuous.

QAlgorithms.Papers.Independent.Advance50.P41.Extraction.objective

For finite types A,CA,CA,C, an extraction with positive environment dimension ddd and matrix VVV satisfying V†V=IV^\dagger V=IV†V=I, and a source sss on a type XXX with nonnegative summable weights pxp_xpx​ of total mass one and arbitrary vectors ψx,σx\psi_x,\sigma_xψx​,σx​, define ux(a,c)=ψx(a)σx(c)u_x(a,c)=\psi_x(a)\sigma_x(c)ux​(a,c)=ψx​(a)σx​(c), Lx=V∣ux⟩⟨ux∣V†L_x=V|u_x\rangle\langle u_x|V^\daggerLx​=V∣ux​⟩⟨ux​∣V†, and the matrix on C×{0,…,d−1}C\times\{0,\ldots,d-1\}C×{0,…,d−1} given by ρx((c,w),(c′,w′))=∑a∈ALx((a,(c,w)),(a,(c′,w′)))\rho_x((c,w),(c',w'))=\sum_{a\in A}L_x((a,(c,w)),(a,(c',w')))ρx​((c,w),(c′,w′))=∑a∈A​Lx​((a,(c,w)),(a,(c′,w′))). The objective is

H ⁣(∑xpxρx)−∑xpxH(ρx),H(Z)=−Re⁡tr⁡f(Z),f(t)=tlog⁡2t,H\!\left(\sum_x p_x\rho_x\right)-\sum_xp_xH(\rho_x), \qquad H(Z)=-\operatorname{Re}\operatorname{tr} f(Z),\quad f(t)=t\log_2t,H(x∑​px​ρx​)−x∑​px​H(ρx​),H(Z)=−Retrf(Z),f(t)=tlog2​t,

with fff applied by matrix continuous functional calculus and the average matrix formed entry by entry. No normalization of the source vectors, and hence no density-matrix condition on the ρx\rho_xρx​, is assumed. Each infinite sum uses the total-sum convention, returning zero for a nonsummable family.

QAlgorithms.Papers.Independent.Advance50.P41.Extraction.retained

For finite types A,CA,CA,C, an extraction with positive environment dimension ddd and matrix VVV satisfying V†V=IV^\dagger V=IV†V=I, a source sss on a type XXX, and x∈Xx\in Xx∈X, this defines the matrix RxR_xRx​ on A×CA\times CA×C by

Rx((a,c),(a′,c′))=∑w=0d−1(V∣ux⟩⟨ux∣V†)((a,(c,w)),(a′,(c′,w))),ux(a,c)=ψx(a)σx(c).R_x((a,c),(a',c'))= \sum_{w=0}^{d-1} \bigl(V|u_x\rangle\langle u_x|V^\dagger\bigr) \bigl((a,(c,w)),(a',(c',w))\bigr), \qquad u_x(a,c)=\psi_x(a)\sigma_x(c).Rx​((a,c),(a′,c′))=w=0∑d−1​(V∣ux​⟩⟨ux​∣V†)((a,(c,w)),(a′,(c′,w))),ux​(a,c)=ψx​(a)σx​(c).

Thus it sums the environment’s diagonal blocks. The source also carries nonnegative summable weights of total mass one, but they are unused here. Its vectors need not be normalized; consequently no trace-one condition on RxR_xRx​ is part of the definition.

QAlgorithms.Papers.Independent.Advance50.P41.IrreducibleLabel

For types X,A,CX,A,CX,A,C and a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, the type of irreducible labels is the quotient of XXX by the smallest equivalence relation containing the relation ⟨vx,vz⟩C≠0\langle v_x,v_z\rangle_{\mathbb C}\ne 0⟨vx​,vz​⟩C​=0, where vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c). Thus two labels represent the same quotient element exactly when they can be connected by a finite sequence of such related pairs, allowing reversal and a sequence of length zero. No validity condition is assumed, and even a label with zero joint vector has its own equivalence class.

QAlgorithms.Papers.Independent.Advance50.P41.IsFiniteRectangularInstrument

For any finite types I,O,MI,O,MI,O,M, and any family TmT_mTm​ of functions from complex I×II\times II×I matrices to complex O×OO\times OO×O matrices, this property means that there exist natural numbers rmr_mrm​, possibly zero, and rectangular complex matrices Bm,jB_{m,j}Bm,j​ with rows indexed by OOO and columns by III, for j<rmj<r_mj<rm​, such that

∑m∈M∑j<rmBm,j†Bm,j=II,Tm(Z)=∑j<rmBm,jZBm,j†\sum_{m\in M}\sum_{j<r_m}B_{m,j}^\dagger B_{m,j}=I_I, \qquad T_m(Z)=\sum_{j<r_m}B_{m,j}ZB_{m,j}^\daggerm∈M∑​j<rm​∑​Bm,j†​Bm,j​=II​,Tm​(Z)=j<rm​∑​Bm,j​ZBm,j†​

for every m∈Mm\in Mm∈M and every complex matrix ZZZ on III, without restricting ZZZ to density matrices. Individual branches need not preserve trace; a branch with rm=0r_m=0rm​=0 is the zero map. Empty index types are allowed, with empty sums equal to zero; if III is nonempty, an empty MMM or OOO makes the completeness equation impossible.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.entanglementRate

For finite types A,CA,CA,C, any natural number nnn, and a code PPP with positive shared dimension KKK, positive message dimension M≤∣A∣nM\le |A|^nM≤∣A∣n, and the encoder and decoder channels specified by the code structure, this defines its entanglement rate as log⁡2(K)/n\log_2(K)/nlog2​(K)/n, with nnn regarded as a real number. The definition includes n=0n=0n=0, where real division by zero gives rate 000, regardless of KKK.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.fidelity

For finite types A,CA,CA,C, a label type XXX, any natural number nnn, a code PPP with positive dimensions K,MK,MK,M, M≤∣A∣nM\le |A|^nM≤∣A∣n, and encoder and decoder channels, and a source sss with nonnegative summable weights pxp_xpx​ totaling 111 and arbitrary vectors ψx,σx\psi_x,\sigma_xψx​,σx​, this defines

F(P,s)=∑x∈Xn(∏i=0n−1px(i))Re⁡tr⁡wxwx† Ox wxwx†,F(P,s)=\sum_{x\in X^n} \left(\prod_{i=0}^{n-1}p_{x(i)}\right) \operatorname{Re}\operatorname{tr} \sqrt{\sqrt{w_xw_x^\dagger}\,O_x\,\sqrt{w_xw_x^\dagger}},F(P,s)=x∈Xn∑​(i=0∏n−1​px(i)​)Retrwx​wx†​​Ox​wx​wx†​​​,

where wx(a,c)=(∏iψx(i)(a(i)))(∏iσx(i)(c(i)))w_x(a,c)=\bigl(\prod_i\psi_{x(i)}(a(i))\bigr)\bigl(\prod_i\sigma_{x(i)}(c(i))\bigr)wx​(a,c)=(∏i​ψx(i)​(a(i)))(∏i​σx(i)​(c(i))), square roots use the continuous functional calculus, and OxO_xOx​ is obtained by adjoining a maximally entangled pair of dimension KKK, encoding the signal, side, and first shared register, then decoding the message with the second shared register while retaining the encoder’s side output. The sum is the total infinite-sum operation over all words, without an additional summability hypothesis; no source-vector normalization is assumed. The definition also includes the empty word when n=0n=0n=0.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.input

For finite types A,CA,CA,C, a label type XXX, any natural number nnn, a code PPP with positive shared dimension KKK and positive message dimension M≤∣A∣nM\le |A|^nM≤∣A∣n, a source sss with a nonnegative summable probability law and vector families ψx,σx\psi_x,\sigma_xψx​,σx​, and a word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, this defines the input vector by

vx(((a,c),h),k)=(∏i=0n−1ψx(i)(a(i)))(∏i=0n−1σx(i)(c(i))){1/K,h=k,0,h≠k,v_x(((a,c),h),k)= \left(\prod_{i=0}^{n-1}\psi_{x(i)}(a(i))\right) \left(\prod_{i=0}^{n-1}\sigma_{x(i)}(c(i))\right) \begin{cases} 1/\sqrt K,&h=k,\\ 0,&h\ne k, \end{cases}vx​(((a,c),h),k)=(i=0∏n−1​ψx(i)​(a(i)))(i=0∏n−1​σx(i)​(c(i))){1/K​,0,​h=k,h=k,​

for a∈Ana\in A^na∈An, c∈Cnc\in C^nc∈Cn, and h,k∈{0,…,K−1}h,k\in\{0,\ldots,K-1\}h,k∈{0,…,K−1}. No normalization of the source vectors is assumed, so the resulting input need not have norm 111; for n=0n=0n=0, the two empty products are 111.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode

For finite types A,CA,CA,C and any natural number nnn, this structure consists of positive natural numbers K,MK,MK,M, satisfying M≤∣A∣nM\le |A|^nM≤∣A∣n, an encoder taking matrices indexed by ((An×Cn)×{0,…,K−1})((A^n\times C^n)\times\{0,\ldots,K-1\})((An×Cn)×{0,…,K−1}) to matrices indexed by Cn×{0,…,M−1}C^n\times\{0,\ldots,M-1\}Cn×{0,…,M−1}, and a decoder taking matrices indexed by {0,…,M−1}×{0,…,K−1}\{0,\ldots,M-1\}\times\{0,\ldots,K-1\}{0,…,M−1}×{0,…,K−1} to matrices indexed by AnA^nAn, where AnA^nAn and CnC^nCn mean coordinate strings of length nnn. Each map must admit a finite Kraus representation X↦∑jEjXEj†X\mapsto\sum_j E_jXE_j^\daggerX↦∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_j E_j^\dagger E_j=I∑j​Ej†​Ej​=I. No fidelity or preservation condition is included. For n=0n=0n=0, the bound forces M=1M=1M=1; if AAA is empty and n>0n>0n>0, the positive message dimension cannot satisfy the bound.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.output

For finite types A,CA,CA,C, a label type XXX, any natural number nnn, a code PPP with positive dimensions K,MK,MK,M, M≤∣A∣nM\le |A|^nM≤∣A∣n, encoder channel E\mathcal EE, and decoder channel D\mathcal DD, a source sss with vector families ψx,σx\psi_x,\sigma_xψx​,σx​, and a word x∈Xnx\in X^nx∈Xn, this defines an output matrix on An×CnA^n\times C^nAn×Cn as follows: form the vector with coordinates (∏iψx(i)(a(i)))(∏iσx(i)(c(i)))δhk/K\bigl(\prod_i\psi_{x(i)}(a(i))\bigr)\bigl(\prod_i\sigma_{x(i)}(c(i))\bigr)\delta_{hk}/\sqrt K(∏i​ψx(i)​(a(i)))(∏i​σx(i)​(c(i)))δhk​/K​, then its outer-product matrix vv†vv^\daggervv†; apply E\mathcal EE to the registers (An,Cn,h)(A^n,C^n,h)(An,Cn,h), leaving register kkk unchanged; regroup the resulting registers as Cn×(M×K)C^n\times(M\times K)Cn×(M×K); apply D\mathcal DD to M×KM\times KM×K, leaving CnC^nCn unchanged; and exchange the final register order to An×CnA^n\times C^nAn×Cn. Applying a map while leaving another register unchanged means applying it separately to each matrix block indexed by that other register’s row and column. No source-vector normalization or output-fidelity condition is assumed.

QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.quantumRate

For finite types A,CA,CA,C, any natural number nnn, and a code PPP with positive shared dimension KKK, positive message dimension M≤∣A∣nM\le |A|^nM≤∣A∣n, and the encoder and decoder channels specified by the code structure, this defines its quantum rate as log⁡2(M)/n\log_2(M)/nlog2​(M)/n, with nnn regarded as a real number. The definition includes n=0n=0n=0, where real division by zero gives rate 000.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Blind

For types X,A,CX,A,CX,A,C, let sss have summable nonnegative real weights totaling one and complex vector families ψx\psi_xψx​ on AAA and σx\sigma_xσx​ on CCC. This predicate means that for every x,z∈Xx,z\in Xx,z∈X, including labels of zero weight, the matrices formed from the side vectors agree:

∀c,c′∈C,σx(c)σx(c′)‾=σz(c)σz(c′)‾.\forall c,c'\in C,\qquad \sigma_x(c)\overline{\sigma_x(c')} =\sigma_z(c)\overline{\sigma_z(c')}.∀c,c′∈C,σx​(c)σx​(c′)​=σz​(c)σz​(c′)​.

It imposes no normalization on these vectors and no condition on the ψx\psi_xψx​ family. In particular, zero side vectors are allowed; if CCC is empty, all these matrix equalities hold vacuously.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Irreducible

For types X,A,CX,A,CX,A,C and a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, irreducibility means that every pair x,z∈Xx,z\in Xx,z∈X has the same class under the equivalence relation generated by nonzero inner products between the joint vectors vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c). Equivalently, every pair is connected by a finite chain allowing reversal, with a length-zero chain permitted. Validity is not assumed. A singleton label type satisfies this condition even if its joint vector is zero; an empty label type is excluded by the source’s weight requirements.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.IsDecomposition

For types X,A,C,YX,A,C,YX,A,C,Y, a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, a function h:X→Yh:X\to Yh:X→Y is a decomposition precisely when it is surjective, every two labels in each fiber are equivalent under the equivalence relation generated within that fiber by nonzero inner products of their joint vectors, and the complex linear spans of distinct fibers are orthogonal. Explicitly, writing vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), for every y≠zy\ne zy=z, every u∈span⁡C{vx:h(x)=y}u\in\operatorname{span}_{\mathbb C}\{v_x:h(x)=y\}u∈spanC​{vx​:h(x)=y}, and every v∈span⁡C{vx:h(x)=z}v\in\operatorname{span}_{\mathbb C}\{v_x:h(x)=z\}v∈spanC​{vx​:h(x)=z}, one has ⟨u,v⟩C=0\langle u,v\rangle_{\mathbb C}=0⟨u,v⟩C​=0. Within-fiber equivalence permits finite chains, reversals, and reflexivity, so the connectivity requirement for a singleton fiber holds without a nonzero self-inner-product. Validity is not assumed.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.OptimalQuantumCorner

For a type XXX, finite types A,CA,CA,C, a source sss consisting of nonnegative summable weights pxp_xpx​ with ∑xpx=1\sum_x p_x=1∑x​px​=1 and arbitrary vectors ψx∈CA,σx∈CC\psi_x\in\mathbb C^A,\sigma_x\in\mathbb C^Cψx​∈CA,σx​∈CC, and real numbers q,eq,eq,e, this property is the conjunction of a lower bound and an attainment assertion. Here a code sequence has, for each n∈Nn\in\mathbb Nn∈N, a code of block length b=n+1b=n+1b=n+1, positive integers Kn,DnK_n,D_nKn​,Dn​ with Dn≤∣A∣bD_n\le |A|^bDn​≤∣A∣b, an encoder from Ab⊗Cb⊗CKnA^b\otimes C^b\otimes\mathbb C^{K_n}Ab⊗Cb⊗CKn​ to Cb⊗CDnC^b\otimes\mathbb C^{D_n}Cb⊗CDn​, and a decoder from CDn⊗CKn\mathbb C^{D_n}\otimes\mathbb C^{K_n}CDn​⊗CKn​ to AbA^bAb. Each encoder and decoder must be a channel, meaning that it acts on every matrix as a finite sum ∑jEjZEj†\sum_j E_j Z E_j^\dagger∑j​Ej​ZEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I. For a word x∈Xbx\in X^bx∈Xb, put wx=(⨂iψxi)⊗(⨂iσxi)w_x=(\bigotimes_i\psi_{x_i})\otimes(\bigotimes_i\sigma_{x_i})wx​=(⨂i​ψxi​​)⊗(⨂i​σxi​​); the code starts with wxw_xwx​ and the shared vector Kn−1/2∑j<Kn∣j,j⟩K_n^{-1/2}\sum_{j<K_n}|j,j\rangleKn−1/2​∑j<Kn​​∣j,j⟩, applies the encoder to the source registers and the first shared register, then applies the decoder to the message and the second shared register, retaining the encoder’s CbC^bCb output and ordering the final registers as Ab,CbA^b,C^bAb,Cb. Denote the resulting matrix by Zn,xZ_{n,x}Zn,x​. Its specified average fidelity is Fn=∑x∈Xb(∏ipxi) R(∣wx⟩⟨wx∣,Zn,x)F_n=\sum_{x\in X^b}(\prod_i p_{x_i})\,\mathcal R(|w_x\rangle\langle w_x|,Z_{n,x})Fn​=∑x∈Xb​(∏i​pxi​​)R(∣wx​⟩⟨wx​∣,Zn,x​), where R(R,S)=Re⁡tr⁡R SR\mathcal R(R,S)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt R\,S\sqrt R}R(R,S)=RetrR​SR​​, using matrix continuous functional calculus. The rates are Qn=log⁡2Dn/bQ_n=\log_2D_n/bQn​=log2​Dn​/b and En=log⁡2Kn/bE_n=\log_2K_n/bEn​=log2​Kn​/b. The lower-bound assertion says that for every such sequence and every real rrr, Fn→1F_n\to1Fn​→1 and Qn→rQ_n\to rQn​→r imply q≤rq\le rq≤r, with no requirement that EnE_nEn​ converge. The attainment assertion says that some such sequence satisfies Fn→1F_n\to1Fn​→1, Qn→qQ_n\to qQn​→q, and En→eE_n\to eEn​→e. These are ordinary limits as n→∞n\to\inftyn→∞; no source-vector normalization or strict positivity of the weights is assumed. The word sums use the total infinite-sum convention, which returns zero for a nonsummable family.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.SumRateConverse

For a type XXX, finite types A,CA,CA,C, and a source sss with nonnegative summable weights pxp_xpx​ of total mass one and arbitrary vectors ψx∈CA,σx∈CC\psi_x\in\mathbb C^A,\sigma_x\in\mathbb C^Cψx​∈CA,σx​∈CC, this property states the following. For every code sequence indexed by n∈Nn\in\mathbb Nn∈N, with block length b=n+1b=n+1b=n+1, positive shared dimension KnK_nKn​, positive message dimension Dn≤∣A∣bD_n\le |A|^bDn​≤∣A∣b, an encoder Ab⊗Cb⊗CKn→Cb⊗CDnA^b\otimes C^b\otimes\mathbb C^{K_n}\to C^b\otimes\mathbb C^{D_n}Ab⊗Cb⊗CKn​→Cb⊗CDn​, and a decoder CDn⊗CKn→Ab\mathbb C^{D_n}\otimes\mathbb C^{K_n}\to A^bCDn​⊗CKn​→Ab, and every pair q,e∈Rq,e\in\mathbb Rq,e∈R, convergence of fidelity to one and of the two rates to q,eq,eq,e implies

H ⁣(∑xpx∣ψx⟩⟨ψx∣)≤q+e.H\!\left(\sum_x p_x|\psi_x\rangle\langle\psi_x|\right)\le q+e.H(x∑​px​∣ψx​⟩⟨ψx​∣)≤q+e.

Here each encoder and decoder acts on every matrix as a finite Kraus sum with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, the rates are log⁡2Dn/b\log_2D_n/blog2​Dn​/b and log⁡2Kn/b\log_2K_n/blog2​Kn​/b, and H(R)=−Re⁡tr⁡f(R)H(R)=-\operatorname{Re}\operatorname{tr} f(R)H(R)=−Retrf(R), with f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t applied by continuous functional calculus. To define fidelity, for each word x∈Xbx\in X^bx∈Xb form wx=(⨂iψxi)⊗(⨂iσxi)w_x=(\bigotimes_i\psi_{x_i})\otimes(\bigotimes_i\sigma_{x_i})wx​=(⨂i​ψxi​​)⊗(⨂i​σxi​​), append Kn−1/2∑j<Kn∣j,j⟩K_n^{-1/2}\sum_{j<K_n}|j,j\rangleKn−1/2​∑j<Kn​​∣j,j⟩, apply the encoder to the source and first shared register and the decoder to the message and second shared register, retaining CbC^bCb; if the resulting matrix on Ab⊗CbA^b\otimes C^bAb⊗Cb is Zn,xZ_{n,x}Zn,x​, fidelity is ∑x(∏ipxi)Re⁡tr⁡∣wx⟩⟨wx∣ Zn,x∣wx⟩⟨wx∣\sum_x(\prod_i p_{x_i})\operatorname{Re}\operatorname{tr}\sqrt{\sqrt{|w_x\rangle\langle w_x|}\,Z_{n,x}\sqrt{|w_x\rangle\langle w_x|}}∑x​(∏i​pxi​​)Retr∣wx​⟩⟨wx​∣​Zn,x​∣wx​⟩⟨wx​∣​​. No normalization of the source vectors, strict positivity of weights, or separate sign conditions on q,eq,eq,e are required. Infinite sums are totalized to zero when their families are not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Valid

For types X,A,CX,A,CX,A,C and a source sss consisting of nonnegative summable real weights pxp_xpx​ with total 111 and complex vectors ψx∈CA,σx∈CC\psi_x\in\mathbb C^A,\sigma_x\in\mathbb C^Cψx​∈CA,σx​∈CC, validity means that every x∈Xx\in Xx∈X satisfies all three conditions px>0p_x>0px​>0, ∥ψx∥=1\|\psi_x\|=1∥ψx​∥=1, and ∥σx∥=1\|\sigma_x\|=1∥σx​∥=1. These conditions apply to every label, with no exceptions for labels of zero probability; in particular, validity disallows such labels.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Visible

For types X,A,CX,A,CX,A,C and a source sss consisting of a nonnegative, summable probability law on XXX and vector families ψx∈CA\psi_x\in\mathbb C^Aψx​∈CA, σx∈CC\sigma_x\in\mathbb C^Cσx​∈CC, being visible means that ⟨σx,σz⟩C=0\langle \sigma_x,\sigma_z\rangle_{\mathbb C}=0⟨σx​,σz​⟩C​=0 for every pair of distinct labels x,z∈Xx,z\in Xx,z∈X. This condition places no restriction on the vectors ψx\psi_xψx​, does not require either vector family to be normalized, and allows zero side vectors; it holds vacuously when XXX has at most one element.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.adjacent

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, two labels x,z∈Xx,z\in Xx,z∈X are adjacent precisely when ⟨vx,vz⟩C≠0\langle v_x,v_z\rangle_{\mathbb C}\ne 0⟨vx​,vz​⟩C​=0, where vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c) and vz(a,c)=ψz(a)σz(c)v_z(a,c)=\psi_z(a)\sigma_z(c)vz​(a,c)=ψz​(a)σz​(c). The weights play no part in this condition, and validity is not assumed. Equal labels are allowed; a label whose joint vector is zero is not adjacent even to itself.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.averageA

For types X,A,CX,A,CX,A,C and a source sss with nonnegative summable weights pxp_xpx​ totaling 111 and complex vectors ψx∈CA,σx∈CC\psi_x\in\mathbb C^A,\sigma_x\in\mathbb C^Cψx​∈CA,σx​∈CC, the average on AAA is the complex matrix with entries (ρ‾A)a,b=∑x∈Xpxψx(a)ψx(b)‾(\overline\rho_A)_{a,b}=\sum_{x\in X}p_x\psi_x(a)\overline{\psi_x(b)}(ρ​A​)a,b​=∑x∈X​px​ψx​(a)ψx​(b)​. The vectors σx\sigma_xσx​ do not enter this formula. Validity is not assumed, so normalization of this matrix is not a requirement of the definition. Each entry uses a total infinite-sum operation, which returns zero if its summand family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.averageAC

For types X,A,CX,A,CX,A,C, let sss consist of real weights px≥0p_x\geq 0px​≥0 with ∑x′px=1\sum'_x p_x=1∑x′​px​=1 and a summable weight family, together with complex coordinate vectors ψx\psi_xψx​ on AAA and σx\sigma_xσx​ on CCC. This definition assigns the matrix on A×CA\times CA×C whose entries are

(averageAC⁡(s))(a,c),(a′,c′)=∑x′px ψx(a)σx(c) ψx(a′)σx(c′)‾.(\operatorname{averageAC}(s))_{(a,c),(a',c')} =\sum'_x p_x\,\psi_x(a)\sigma_x(c)\, \overline{\psi_x(a')\sigma_x(c')}.(averageAC(s))(a,c),(a′,c′)​=x∑′​px​ψx​(a)σx​(c)ψx​(a′)σx​(c′)​.

No normalization of either vector family, and no strict positivity of the weights, is assumed. Each entry uses the total unordered sum, which is zero if its summand family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.blockA

Let sss have label type XXX, finite coordinate types A,CA,CA,C, summable nonnegative real weights pxp_xpx​ totaling one, and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​ on A,CA,CA,C, respectively. Put vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and let [x][x][x] denote the equivalence class generated by nonzero inner products ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0. For every class yyy, this definition assigns

(blockA⁡(s,y))a,a′=∑x′{px ψx(a)ψx(a′)‾,[x]=y,0,[x]≠y.(\operatorname{blockA}(s,y))_{a,a'} =\sum'_x \begin{cases} p_x\,\psi_x(a)\overline{\psi_x(a')},&[x]=y,\\ 0,&[x]\neq y. \end{cases}(blockA(s,y))a,a′​=x∑′​{px​ψx​(a)ψx​(a′)​,0,​[x]=y,[x]=y.​

No normalization of the vectors is assumed, and the weights are not normalized within the class. Each entry is a total unordered sum, with value zero if its summand family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.blockAC

Let sss have label type XXX, finite coordinate types A,CA,CA,C, summable nonnegative real weights pxp_xpx​ totaling one, and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​ on A,CA,CA,C, respectively. Define vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and let [x][x][x] be the equivalence class generated by the relation ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0. For every class yyy, this definition assigns

(blockAC⁡(s,y))(a,c),(a′,c′)=∑x′{px vx(a,c)vx(a′,c′)‾,[x]=y,0,[x]≠y.(\operatorname{blockAC}(s,y))_{(a,c),(a',c')} =\sum'_x \begin{cases} p_x\,v_x(a,c)\overline{v_x(a',c')},&[x]=y,\\ 0,&[x]\neq y. \end{cases}(blockAC(s,y))(a,c),(a′,c′)​=x∑′​{px​vx​(a,c)vx​(a′,c′)​,0,​[x]=y,[x]=y.​

The vector families need not be normalized, and there is no division by the class probability. Each entry uses the total unordered sum, which is zero when its summand family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.blockC

Let sss have label type XXX, finite coordinate types A,CA,CA,C, summable nonnegative real weights pxp_xpx​ totaling one, and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​ on A,CA,CA,C, respectively. Put vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and let [x][x][x] denote the equivalence class generated by the relation ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0, using its reflexive, symmetric, transitive closure. For every such class yyy, this definition assigns the matrix

(blockC⁡(s,y))c,c′=∑x′{px σx(c)σx(c′)‾,[x]=y,0,[x]≠y.(\operatorname{blockC}(s,y))_{c,c'} =\sum'_x \begin{cases} p_x\,\sigma_x(c)\overline{\sigma_x(c')},&[x]=y,\\ 0,&[x]\neq y. \end{cases}(blockC(s,y))c,c′​=x∑′​{px​σx​(c)σx​(c′)​,0,​[x]=y,[x]=y.​

The vectors need not be normalized. The block retains the original weights without dividing by the probability of yyy; the total sum defining an entry is zero if that family is not summable.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.componentProbability

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable weights pxp_xpx​ totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, and an equivalence class yyy of labels, its component probability is ∑x∈X1[x]=ypx\sum_{x\in X}\mathbf 1_{[x]=y}p_x∑x∈X​1[x]=y​px​. Here [x][x][x] is the class under the equivalence relation generated by nonzero inner products between the vectors vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c). The sum ranges over all labels in the class, including zero-weight labels. Validity is not assumed, so a component probability may be zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.conditionalProbability

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable weights pxp_xpx​ totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, a component yyy, and x∈Xx\in Xx∈X, the conditional probability is px/Pyp_x/P_ypx​/Py​ when [x]=y[x]=y[x]=y, and 000 otherwise, where Py=∑z:[z]=ypzP_y=\sum_{z:[z]=y}p_zPy​=∑z:[z]=y​pz​. The classes are generated by nonzero inner products between vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c). No validity or positive-component-mass assumption is imposed. Real division by zero is defined to be zero, so if Py=0P_y=0Py​=0, this function is zero for every xxx.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entanglementCorner

Let sss have label type XXX, finite coordinate types A,CA,CA,C with decidable equality, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Set vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and let [x][x][x] be the equivalence class generated by nonzero inner products between these vectors. Put Ra,a′=∑x′pxψx(a)ψx(a′)‾R_{a,a'}=\sum'_x p_x\psi_x(a)\overline{\psi_x(a')}Ra,a′​=∑x′​px​ψx​(a)ψx​(a′)​, By(u,u′)=∑x′1[x]=ypxvx(u)vx(u′)‾B_y(u,u')=\sum'_x\mathbf1_{[x]=y}p_xv_x(u)\overline{v_x(u')}By​(u,u′)=∑x′​1[x]=y​px​vx​(u)vx​(u′)​, and Cy(c,c′)=∑x′1[x]=ypxσx(c)σx(c′)‾C_y(c,c')=\sum'_x\mathbf1_{[x]=y}p_x\sigma_x(c)\overline{\sigma_x(c')}Cy​(c,c′)=∑x′​1[x]=y​px​σx​(c)σx​(c′)​. This definition assigns

entanglementCorner⁡(s)=H(R)−∑y′H(By)+∑y′H(Cy)2,H(M)=−Re⁡tr⁡ ⁣(f(M)),f(t)=tlog⁡2t,\operatorname{entanglementCorner}(s) =\frac{H(R)-\sum'_y H(B_y)+\sum'_y H(C_y)}2, \qquad H(M)=-\operatorname{Re}\operatorname{tr}\!\left(f(M)\right), \quad f(t)=t\log_2 t,entanglementCorner(s)=2H(R)−∑y′​H(By​)+∑y′​H(Cy​)​,H(M)=−Retr(f(M)),f(t)=tlog2​t,

using continuous functional calculus. The vectors and class blocks need not be normalized, and no sign constraint is imposed on this real number. Each primed sum is total, returning zero when nonsummable; the real logarithm is zero at zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyA

For a source sss with label type XXX, finite coordinate type AAA with decidable equality, coordinate type CCC, summable nonnegative weights pxp_xpx​ totaling one, and vectors ψx,σx\psi_x,\sigma_xψx​,σx​ on A,CA,CA,C, define the matrix RRR by Ra,a′=∑x′pxψx(a)ψx(a′)‾R_{a,a'}=\sum'_x p_x\psi_x(a)\overline{\psi_x(a')}Ra,a′​=∑x′​px​ψx​(a)ψx​(a′)​. This definition assigns the real number

entropyA⁡(s)=−Re⁡tr⁡ ⁣(f(R)),f(t)=tlog⁡2t,\operatorname{entropyA}(s) =-\operatorname{Re}\operatorname{tr}\!\left(f(R)\right), \qquad f(t)=t\log_2 t,entropyA(s)=−Retr(f(R)),f(t)=tlog2​t,

where f(R)f(R)f(R) uses continuous functional calculus. No unit norm or density matrix hypothesis is imposed on the vectors or RRR. The entrywise sums are total sums, equal to zero when nonsummable, and the real logarithm has its total value log⁡20=0\log_2 0=0log2​0=0; an empty coordinate type gives value zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyACY

Let sss have label type XXX, finite coordinate types A,CA,CA,C with decidable equality, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Set vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), let [x][x][x] denote the class generated by nonzero inner products between these vectors, and define By(u,u′)=∑x′1[x]=ypxvx(u)vx(u′)‾B_y(u,u')=\sum'_x\mathbf1_{[x]=y}p_xv_x(u)\overline{v_x(u')}By​(u,u′)=∑x′​1[x]=y​px​vx​(u)vx​(u′)​ for u,u′∈A×Cu,u'\in A\times Cu,u′∈A×C. This definition assigns

entropyACY⁡(s)=∑y′H(By),H(B)=−Re⁡tr⁡ ⁣(f(B)),f(t)=tlog⁡2t,\operatorname{entropyACY}(s)=\sum'_y H(B_y), \qquad H(B)=-\operatorname{Re}\operatorname{tr}\!\left(f(B)\right), \quad f(t)=t\log_2 t,entropyACY(s)=y∑′​H(By​),H(B)=−Retr(f(B)),f(t)=tlog2​t,

using continuous functional calculus. Neither the vectors nor the class blocks are required to be normalized. Entrywise and outer sums are total unordered sums, with value zero when nonsummable, and the real logarithm is zero at zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyAY

Let sss have label type XXX, finite coordinate types A,CA,CA,C with decidable equality as needed for matrix functional calculus, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Let [x][x][x] denote the equivalence class generated by ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0, where vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and put By(a,a′)=∑x′1[x]=ypxψx(a)ψx(a′)‾B_y(a,a')=\sum'_x\mathbf1_{[x]=y}p_x\psi_x(a)\overline{\psi_x(a')}By​(a,a′)=∑x′​1[x]=y​px​ψx​(a)ψx​(a′)​. This definition assigns

entropyAY⁡(s)=∑y′H(By),H(B)=−Re⁡tr⁡ ⁣(f(B)),f(t)=tlog⁡2t,\operatorname{entropyAY}(s)=\sum'_y H(B_y), \qquad H(B)=-\operatorname{Re}\operatorname{tr}\!\left(f(B)\right), \quad f(t)=t\log_2 t,entropyAY(s)=y∑′​H(By​),H(B)=−Retr(f(B)),f(t)=tlog2​t,

where f(B)f(B)f(B) uses continuous functional calculus. No vector normalization is assumed, and the blocks retain their original weights without conditional normalization. Every primed sum is total and equals zero for a nonsummable family; the real logarithm is zero at zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyCY

Let sss have label type XXX, finite coordinate types A,CA,CA,C with decidable equality as needed for matrix functional calculus, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Let [x][x][x] be the class generated by nonzero inner products of the vectors vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and define By(c,c′)=∑x′1[x]=ypxσx(c)σx(c′)‾B_y(c,c')=\sum'_x\mathbf1_{[x]=y}p_x\sigma_x(c)\overline{\sigma_x(c')}By​(c,c′)=∑x′​1[x]=y​px​σx​(c)σx​(c′)​. This definition assigns

entropyCY⁡(s)=∑y′H(By),H(B)=−Re⁡tr⁡ ⁣(f(B)),f(t)=tlog⁡2t,\operatorname{entropyCY}(s)=\sum'_y H(B_y), \qquad H(B)=-\operatorname{Re}\operatorname{tr}\!\left(f(B)\right), \quad f(t)=t\log_2 t,entropyCY(s)=y∑′​H(By​),H(B)=−Retr(f(B)),f(t)=tlog2​t,

using continuous functional calculus. The blocks are not normalized by their class probabilities, and the vectors need not have unit norm. Both entrywise and outer sums use total unordered summation, returning zero for a nonsummable family; the real logarithm is zero at zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyY

Let sss have label type XXX, finite coordinate types A,CA,CA,C, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Define vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and partition XXX by the equivalence relation generated by ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0. For each class yyy, put py=∑x′1[x]=ypxp_y=\sum'_x \mathbf1_{[x]=y}p_xpy​=∑x′​1[x]=y​px​. This definition assigns

entropyY⁡(s)=∑y′−pylog⁡2py.\operatorname{entropyY}(s)=\sum'_y -p_y\log_2 p_y.entropyY(s)=y∑′​−py​log2​py​.

Vector normalization and strictly positive weights are not required. A zero class probability contributes zero because the real logarithm is defined to be zero at zero. The outer sum is a total real unordered sum, so its value is zero if the family is not summable, including when the corresponding nonnegative series diverges.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.fiberSpan

For types X,A,C,YX,A,C,YX,A,C,Y, a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, a function h:X→Yh:X\to Yh:X→Y, and y∈Yy\in Yy∈Y, the fiber span is the complex linear span of all vectors vxv_xvx​ with h(x)=yh(x)=yh(x)=y, where vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c). Thus it consists of finite complex linear combinations of these vectors; no topological closure is taken. Neither validity nor surjectivity of hhh is required, and an empty fiber has span {0}\{0\}{0}.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.joint

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable weights pxp_xpx​ totaling 111 and complex vector families ψx,σx\psi_x,\sigma_xψx​,σx​, and a label x∈Xx\in Xx∈X, the joint vector is the vector on A×CA\times CA×C whose coordinate at (a,c)(a,c)(a,c) is ψx(a)σx(c)\psi_x(a)\sigma_x(c)ψx​(a)σx​(c). This definition does not require the source to be valid, so neither factor nor the resulting vector is required to have norm 111.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.label

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable weights totaling 111 and complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​, and x∈Xx\in Xx∈X, the label assigned to xxx is its equivalence class under the smallest equivalence relation containing all pairs u,vu,vu,v for which ⟨wu,wv⟩C≠0\langle w_u,w_v\rangle_{\mathbb C}\ne 0⟨wu​,wv​⟩C​=0, with wu(a,c)=ψu(a)σu(c)w_u(a,c)=\psi_u(a)\sigma_u(c)wu​(a,c)=ψu​(a)σu​(c). Equivalence allows finite chains, reversals, and reflexivity. The assignment is defined without assuming validity and includes labels of zero weight or zero joint vector.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource

For types X,A,CX,A,CX,A,C, a product pure source consists of real weights pxp_xpx​, indexed by x∈Xx\in Xx∈X, satisfying px≥0p_x\ge 0px​≥0, summability, and ∑x∈Xpx=1\sum_{x\in X}p_x=1∑x∈X​px​=1, together with families of complex coordinate vectors ψx∈CA\psi_x\in\mathbb C^Aψx​∈CA and σx∈CC\sigma_x\in\mathbb C^Cσx​∈CC. The structure imposes no normalization or nonzero condition on these vectors and permits zero weights. No finiteness or countability assumption on X,A,CX,A,CX,A,C is stated. The weight requirements exclude an empty XXX.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.quantumCorner

Let sss have label type XXX, finite coordinate types A,CA,CA,C with decidable equality, summable nonnegative weights pxp_xpx​ totaling one, and arbitrary complex vectors ψx,σx\psi_x,\sigma_xψx​,σx​. Set vx(a,c)=ψx(a)σx(c)v_x(a,c)=\psi_x(a)\sigma_x(c)vx​(a,c)=ψx​(a)σx​(c), and let [x][x][x] be the equivalence class generated by ⟨vx,vz⟩≠0\langle v_x,v_z\rangle\neq0⟨vx​,vz​⟩=0. Define Ra,a′=∑x′pxψx(a)ψx(a′)‾R_{a,a'}=\sum'_x p_x\psi_x(a)\overline{\psi_x(a')}Ra,a′​=∑x′​px​ψx​(a)ψx​(a′)​, By(u,u′)=∑x′1[x]=ypxvx(u)vx(u′)‾B_y(u,u')=\sum'_x\mathbf1_{[x]=y}p_xv_x(u)\overline{v_x(u')}By​(u,u′)=∑x′​1[x]=y​px​vx​(u)vx​(u′)​, and Cy(c,c′)=∑x′1[x]=ypxσx(c)σx(c′)‾C_y(c,c')=\sum'_x\mathbf1_{[x]=y}p_x\sigma_x(c)\overline{\sigma_x(c')}Cy​(c,c′)=∑x′​1[x]=y​px​σx​(c)σx​(c′)​. This definition assigns

quantumCorner⁡(s)=H(R)+∑y′H(By)−∑y′H(Cy)2,H(M)=−Re⁡tr⁡ ⁣(f(M)),f(t)=tlog⁡2t,\operatorname{quantumCorner}(s) =\frac{H(R)+\sum'_y H(B_y)-\sum'_y H(C_y)}2, \qquad H(M)=-\operatorname{Re}\operatorname{tr}\!\left(f(M)\right), \quad f(t)=t\log_2 t,quantumCorner(s)=2H(R)+∑y′​H(By​)−∑y′​H(Cy​)​,H(M)=−Retr(f(M)),f(t)=tlog2​t,

where f(M)f(M)f(M) uses continuous functional calculus. No vector normalization, class normalization, or nonnegativity of the resulting number is required. Primed sums return zero when nonsummable, and the real logarithm is zero at zero.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.wordProbability

For types X,A,CX,A,CX,A,C, a source sss with nonnegative summable label weights pxp_xpx​ totaling 111 and arbitrary signal and side vectors, any natural number nnn, and any word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, this defines its word weight to be ∏i=0n−1px(i)\prod_{i=0}^{n-1}p_{x(i)}∏i=0n−1​px(i)​. The vector families do not enter this definition; when n=0n=0n=0, the unique empty word has weight 111.

QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.wordVector

For types X,A,CX,A,CX,A,C, a source sss with a nonnegative summable probability law on XXX and vector families ψx∈CA\psi_x\in\mathbb C^Aψx​∈CA, σx∈CC\sigma_x\in\mathbb C^Cσx​∈CC, any natural number nnn, and any word x:{0,…,n−1}→Xx:\{0,\ldots,n-1\}\to Xx:{0,…,n−1}→X, this defines a vector indexed by pairs of coordinate strings a:{0,…,n−1}→Aa:\{0,\ldots,n-1\}\to Aa:{0,…,n−1}→A and c:{0,…,n−1}→Cc:\{0,\ldots,n-1\}\to Cc:{0,…,n−1}→C, with coordinates

wx(a,c)=(∏i=0n−1ψx(i)(a(i)))(∏i=0n−1σx(i)(c(i))).w_x(a,c)=\left(\prod_{i=0}^{n-1}\psi_{x(i)}(a(i))\right) \left(\prod_{i=0}^{n-1}\sigma_{x(i)}(c(i))\right).wx​(a,c)=(i=0∏n−1​ψx(i)​(a(i)))(i=0∏n−1​σx(i)​(c(i))).

No normalization is required, and the probability weights do not enter this vector. When n=0n=0n=0, its sole coordinate is 111.

QAlgorithms.Papers.Independent.Advance50.P41.QuantumCodeSequence

For finite types A,CA,CA,C, this is the type of sequences assigning to every natural number nnn a code of block length n+1n+1n+1. Each code has positive dimensions Kn,MnK_n,M_nKn​,Mn​ with Mn≤∣A∣n+1M_n\le |A|^{n+1}Mn​≤∣A∣n+1, an encoder channel from (An+1×Cn+1)×{0,…,Kn−1}(A^{n+1}\times C^{n+1})\times\{0,\ldots,K_n-1\}(An+1×Cn+1)×{0,…,Kn​−1} to Cn+1×{0,…,Mn−1}C^{n+1}\times\{0,\ldots,M_n-1\}Cn+1×{0,…,Mn​−1}, and a decoder channel from {0,…,Mn−1}×{0,…,Kn−1}\{0,\ldots,M_n-1\}\times\{0,\ldots,K_n-1\}{0,…,Mn​−1}×{0,…,Kn​−1} to An+1A^{n+1}An+1; each channel admits a finite Kraus representation whose adjoint-product sum is the identity. No relation between different sequence entries, source, fidelity requirement, or rate convergence is imposed, and every block length is positive.

QAlgorithms.Papers.Independent.Advance50.P41.exampleDensity

For every real ttt and every three complex vectors v0,v1,v2v_0,v_1,v_2v0​,v1​,v2​ indexed by pairs of Booleans, this defines the matrix

ρ=(12−t)∣v0⟩⟨v0∣+(12−t)∣v1⟩⟨v1∣+2t ∣v2⟩⟨v2∣,(∣v⟩⟨v∣)ab=v(a)v(b)‾.\rho=\left(\tfrac12-t\right)|v_0\rangle\langle v_0| +\left(\tfrac12-t\right)|v_1\rangle\langle v_1| +2t\,|v_2\rangle\langle v_2|, \qquad (|v\rangle\langle v|)_{ab}=v(a)\overline{v(b)}.ρ=(21​−t)∣v0​⟩⟨v0​∣+(21​−t)∣v1​⟩⟨v1​∣+2t∣v2​⟩⟨v2​∣,(∣v⟩⟨v∣)ab​=v(a)v(b)​.

There is no restriction on ttt, and the vectors need not be normalized. The coefficients always sum to 111, but may be negative, and the definition does not require the resulting matrix to be positive semidefinite or to have trace 111.

QAlgorithms.Papers.Independent.Advance50.P41.exampleModified

For every real parameter ttt satisfying 0<t<120<t<\tfrac120<t<21​, this defines a product pure source with label set {0,1,2}\{0,1,2\}{0,1,2} and two registers indexed by {false,true}\{\mathrm{false},\mathrm{true}\}{false,true}. Writing ∣0⟩=(1,0)|0\rangle=(1,0)∣0⟩=(1,0), ∣1⟩=(0,1)|1\rangle=(0,1)∣1⟩=(0,1), and ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2∣+⟩=(∣0⟩+∣1⟩)/2​, its label probabilities are p0=p1=12−tp_0=p_1=\tfrac12-tp0​=p1​=21​−t and p2=2tp_2=2tp2​=2t, and both registers have the respective vectors ∣0⟩,∣1⟩,∣+⟩|0\rangle,|1\rangle,|+\rangle∣0⟩,∣1⟩,∣+⟩. The joint vectors are therefore ∣0⟩⊗∣0⟩|0\rangle\otimes|0\rangle∣0⟩⊗∣0⟩, ∣1⟩⊗∣1⟩|1\rangle\otimes|1\rangle∣1⟩⊗∣1⟩, and ∣+⟩⊗∣+⟩|+\rangle\otimes|+\rangle∣+⟩⊗∣+⟩, where tensor-product coordinates multiply. The endpoints t=0t=0t=0 and t=12t=\tfrac12t=21​ are excluded.

QAlgorithms.Papers.Independent.Advance50.P41.exampleModifiedRate

For every real ttt, let ∣0⟩=(1,0)|0\rangle=(1,0)∣0⟩=(1,0), ∣1⟩=(0,1)|1\rangle=(0,1)∣1⟩=(0,1), ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2∣+⟩=(∣0⟩+∣1⟩)/2​, and define

ρt=(12−t)∣00⟩⟨00∣+(12−t)∣11⟩⟨11∣+2t ∣++⟩⟨++∣.\rho_t=\left(\tfrac12-t\right)|00\rangle\langle00| +\left(\tfrac12-t\right)|11\rangle\langle11| +2t\,|++\rangle\langle++|.ρt​=(21​−t)∣00⟩⟨00∣+(21​−t)∣11⟩⟨11∣+2t∣++⟩⟨++∣.

Here ∣uv⟩=∣u⟩⊗∣v⟩|uv\rangle=|u\rangle\otimes|v\rangle∣uv⟩=∣u⟩⊗∣v⟩, and (∣v⟩⟨v∣)ab=v(a)v(b)‾(|v\rangle\langle v|)_{ab}=v(a)\overline{v(b)}(∣v⟩⟨v∣)ab​=v(a)v(b)​. This defines

S(Tr⁡Cρt)+S(ρt)−S(Tr⁡Aρt)2,S(M)=−Re⁡Tr⁡ ⁣[f(M)],f(x)=xlog⁡2x,\frac{S(\operatorname{Tr}_C\rho_t)+S(\rho_t)-S(\operatorname{Tr}_A\rho_t)}2, \qquad S(M)=-\operatorname{Re}\operatorname{Tr}\!\bigl[f(M)\bigr], \quad f(x)=x\log_2x,2S(TrC​ρt​)+S(ρt​)−S(TrA​ρt​)​,S(M)=−ReTr[f(M)],f(x)=xlog2​x,

using the continuous functional calculus for f(M)f(M)f(M); the partial traces sum the matrix entries over the indicated register. Every real ttt is allowed, including 000, 12\tfrac1221​, and values outside that interval, without any density-matrix hypothesis on ρt\rho_tρt​.

QAlgorithms.Papers.Independent.Advance50.P41.exampleModifiedSigma

This defines a family of complex Euclidean vectors indexed by i∈{0,1,2}i\in\{0,1,2\}i∈{0,1,2}, each with Boolean coordinates, by

σ0=∣0⟩,σ1=∣1⟩,σ2=∣0⟩+∣1⟩2,\sigma_0=|0\rangle,\qquad \sigma_1=|1\rangle,\qquad \sigma_2=\frac{|0\rangle+|1\rangle}{\sqrt2},σ0​=∣0⟩,σ1​=∣1⟩,σ2​=2​∣0⟩+∣1⟩​,

where ∣0⟩|0\rangle∣0⟩ has amplitude 111 at false\mathrm{false}false and 000 at true\mathrm{true}true, and ∣1⟩|1\rangle∣1⟩ has the opposite amplitudes.

QAlgorithms.Papers.Independent.Advance50.P41.exampleOriginal

For every real parameter ttt satisfying 0<t<120<t<\tfrac120<t<21​, this defines a product pure source with label set {0,1,2}\{0,1,2\}{0,1,2} and two registers indexed by {false,true}\{\mathrm{false},\mathrm{true}\}{false,true}. Writing ∣0⟩=(1,0)|0\rangle=(1,0)∣0⟩=(1,0), ∣1⟩=(0,1)|1\rangle=(0,1)∣1⟩=(0,1), and ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2∣+⟩=(∣0⟩+∣1⟩)/2​, its label probabilities are p0=p1=12−tp_0=p_1=\tfrac12-tp0​=p1​=21​−t and p2=2tp_2=2tp2​=2t; its first-register vectors are respectively ∣0⟩,∣1⟩,∣+⟩|0\rangle,|1\rangle,|+\rangle∣0⟩,∣1⟩,∣+⟩, and its second-register vectors are respectively ∣0⟩,∣0⟩,∣+⟩|0\rangle,|0\rangle,|+\rangle∣0⟩,∣0⟩,∣+⟩. Thus the joint vector at each label is the tensor product of the corresponding two vectors, with coordinates (u⊗v)(a,c)=u(a)v(c)(u\otimes v)(a,c)=u(a)v(c)(u⊗v)(a,c)=u(a)v(c). The endpoints t=0t=0t=0 and t=12t=\tfrac12t=21​ are excluded.

QAlgorithms.Papers.Independent.Advance50.P41.exampleOriginalRate

For every real ttt, let ∣0⟩=(1,0)|0\rangle=(1,0)∣0⟩=(1,0), ∣1⟩=(0,1)|1\rangle=(0,1)∣1⟩=(0,1), ∣+⟩=(∣0⟩+∣1⟩)/2|+\rangle=(|0\rangle+|1\rangle)/\sqrt2∣+⟩=(∣0⟩+∣1⟩)/2​, and define

ρt=(12−t)∣00⟩⟨00∣+(12−t)∣10⟩⟨10∣+2t ∣++⟩⟨++∣.\rho_t=\left(\tfrac12-t\right)|00\rangle\langle00| +\left(\tfrac12-t\right)|10\rangle\langle10| +2t\,|++\rangle\langle++|.ρt​=(21​−t)∣00⟩⟨00∣+(21​−t)∣10⟩⟨10∣+2t∣++⟩⟨++∣.

Here ∣uv⟩=∣u⟩⊗∣v⟩|uv\rangle=|u\rangle\otimes|v\rangle∣uv⟩=∣u⟩⊗∣v⟩, and (∣v⟩⟨v∣)ab=v(a)v(b)‾(|v\rangle\langle v|)_{ab}=v(a)\overline{v(b)}(∣v⟩⟨v∣)ab​=v(a)v(b)​. This defines the real number

S(Tr⁡Cρt)+S(ρt)−S(Tr⁡Aρt)2,S(M)=−Re⁡Tr⁡ ⁣[f(M)],f(x)=xlog⁡2x,\frac{S(\operatorname{Tr}_C\rho_t)+S(\rho_t)-S(\operatorname{Tr}_A\rho_t)}2, \qquad S(M)=-\operatorname{Re}\operatorname{Tr}\!\bigl[f(M)\bigr], \quad f(x)=x\log_2x,2S(TrC​ρt​)+S(ρt​)−S(TrA​ρt​)​,S(M)=−ReTr[f(M)],f(x)=xlog2​x,

where f(M)f(M)f(M) is evaluated by the continuous functional calculus, (Tr⁡CM)a,a′=∑cM(a,c),(a′,c)(\operatorname{Tr}_C M)_{a,a'}=\sum_cM_{(a,c),(a',c)}(TrC​M)a,a′​=∑c​M(a,c),(a′,c)​, and (Tr⁡AM)c,c′=∑aM(a,c),(a,c′)(\operatorname{Tr}_A M)_{c,c'}=\sum_aM_{(a,c),(a,c')}(TrA​M)c,c′​=∑a​M(a,c),(a,c′)​. The parameter is unrestricted, including values outside [0,12][0,\tfrac12][0,21​]; no density-matrix hypothesis is imposed on ρt\rho_tρt​.

QAlgorithms.Papers.Independent.Advance50.P41.examplePsi

This defines a family of complex Euclidean vectors indexed by i∈{0,1,2}i\in\{0,1,2\}i∈{0,1,2}, each with Boolean coordinates:

ψ0=∣0⟩,ψ1=∣1⟩,ψ2=∣0⟩+∣1⟩2,\psi_0=|0\rangle,\qquad \psi_1=|1\rangle,\qquad \psi_2=\frac{|0\rangle+|1\rangle}{\sqrt2},ψ0​=∣0⟩,ψ1​=∣1⟩,ψ2​=2​∣0⟩+∣1⟩​,

where ∣0⟩|0\rangle∣0⟩ has amplitudes (1,0)(1,0)(1,0) and ∣1⟩|1\rangle∣1⟩ has amplitudes (0,1)(0,1)(0,1) in the coordinate order (false,true)(\mathrm{false},\mathrm{true})(false,true).

QAlgorithms.Papers.Independent.Advance50.P41.exampleWeights

For every real number ttt, this defines the real-valued function on {0,1,2}\{0,1,2\}{0,1,2} with values

wt(0)=12−t,wt(1)=12−t,wt(2)=2t.w_t(0)=\frac12-t,\qquad w_t(1)=\frac12-t,\qquad w_t(2)=2t.wt​(0)=21​−t,wt​(1)=21​−t,wt​(2)=2t.

No restriction on ttt is part of this definition. The values sum to 111 for every ttt, but are all nonnegative only when 0≤t≤120\le t\le\frac120≤t≤21​; negative values are permitted by the function’s type.

QAlgorithms.Papers.Independent.Advance50.P41.extractionInformation

For finite types A,CA,CA,C, a source sss on a type XXX with nonnegative summable weights pxp_xpx​ totaling one and arbitrary vectors ψx,σx\psi_x,\sigma_xψx​,σx​, and any ε∈R\varepsilon\in\mathbb Rε∈R, this defines the real supremum of the following objective values. Choose 1≤d≤∣A∣2∣C∣21\le d\le |A|^2|C|^21≤d≤∣A∣2∣C∣2 and VVV with V†V=IV^\dagger V=IV†V=I, mapping A×CA\times CA×C into A×(C×{0,…,d−1})A\times(C\times\{0,\ldots,d-1\})A×(C×{0,…,d−1}); put ux(a,c)=ψx(a)σx(c)u_x(a,c)=\psi_x(a)\sigma_x(c)ux​(a,c)=ψx​(a)σx​(c), Px=∣ux⟩⟨ux∣P_x=|u_x\rangle\langle u_x|Px​=∣ux​⟩⟨ux​∣, Lx=VPxV†L_x=VP_xV^\daggerLx​=VPx​V†, Rx=tr⁡{0,…,d−1}LxR_x=\operatorname{tr}_{\{0,\ldots,d-1\}}L_xRx​=tr{0,…,d−1}​Lx​, and ρx=tr⁡ALx\rho_x=\operatorname{tr}_A L_xρx​=trA​Lx​, where each partial trace sums entries with equal traced indices. Include the value H(∑xpxρx)−∑xpxH(ρx)H(\sum_xp_x\rho_x)-\sum_xp_xH(\rho_x)H(∑x​px​ρx​)−∑x​px​H(ρx​) precisely when ∑xpxRe⁡tr⁡PxRxPx≥1−ε\sum_xp_x\operatorname{Re}\operatorname{tr}\sqrt{\sqrt{P_x}R_x\sqrt{P_x}}\ge1-\varepsilon∑x​px​RetrPx​​Rx​Px​​​≥1−ε. Here H(Z)=−Re⁡tr⁡f(Z)H(Z)=-\operatorname{Re}\operatorname{tr}f(Z)H(Z)=−Retrf(Z), f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, with matrix functions interpreted by continuous functional calculus. Neither ε≥0\varepsilon\ge0ε≥0 nor source-vector normalization is required; infinite sums return zero when nonsummable. This is a real-valued supremum: the specified convention gives zero for an empty or unbounded-above set of values. In particular, the value is zero when AAA or CCC is empty.

QAlgorithms.Papers.Independent.Advance50.P41.extractionValues

For finite types A,CA,CA,C, a source sss on a type XXX with nonnegative summable weights pxp_xpx​ totaling one and arbitrary vectors ψx,σx\psi_x,\sigma_xψx​,σx​, and any real ε\varepsilonε, this is the set of real numbers vvv obtained as follows: choose a positive integer d≤∣A∣2∣C∣2d\le |A|^2|C|^2d≤∣A∣2∣C∣2 and a matrix V:CA×C→CA×(C×{0,…,d−1})V:\mathbb C^{A\times C}\to\mathbb C^{A\times(C\times\{0,\ldots,d-1\})}V:CA×C→CA×(C×{0,…,d−1}) with V†V=IV^\dagger V=IV†V=I; set ux(a,c)=ψx(a)σx(c)u_x(a,c)=\psi_x(a)\sigma_x(c)ux​(a,c)=ψx​(a)σx​(c), Px=∣ux⟩⟨ux∣P_x=|u_x\rangle\langle u_x|Px​=∣ux​⟩⟨ux​∣, Lx=VPxV†L_x=VP_xV^\daggerLx​=VPx​V†, Rx((a,c),(a′,c′))=∑w<dLx((a,(c,w)),(a′,(c′,w)))R_x((a,c),(a',c'))=\sum_{w<d}L_x((a,(c,w)),(a',(c',w)))Rx​((a,c),(a′,c′))=∑w<d​Lx​((a,(c,w)),(a′,(c′,w))), and ρx((c,w),(c′,w′))=∑aLx((a,(c,w)),(a,(c′,w′)))\rho_x((c,w),(c',w'))=\sum_aL_x((a,(c,w)),(a,(c',w')))ρx​((c,w),(c′,w′))=∑a​Lx​((a,(c,w)),(a,(c′,w′))); require

1−ε≤∑xpxRe⁡tr⁡PxRxPx,v=H ⁣(∑xpxρx)−∑xpxH(ρx).1-\varepsilon\le\sum_xp_x\operatorname{Re}\operatorname{tr}\sqrt{\sqrt{P_x}R_x\sqrt{P_x}}, \qquad v=H\!\left(\sum_xp_x\rho_x\right)-\sum_xp_xH(\rho_x).1−ε≤x∑​px​RetrPx​​Rx​Px​​​,v=H(x∑​px​ρx​)−x∑​px​H(ρx​).

Here H(Z)=−Re⁡tr⁡f(Z)H(Z)=-\operatorname{Re}\operatorname{tr} f(Z)H(Z)=−Retrf(Z), f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, and the matrix functions use continuous functional calculus. No positivity assumption on ε\varepsilonε or normalization assumption on the source vectors is included. Infinite sums are totalized to zero when nonsummable. If AAA or CCC is empty, the bound on the positive integer ddd is impossible, so this set is empty.

QAlgorithms.Papers.Independent.Advance50.P41.independentDiscreteLaw

For any types X1,X2X_1,X_2X1​,X2​ and laws p:X1→Rp:X_1\to\mathbb Rp:X1​→R, q:X2→Rq:X_2\to\mathbb Rq:X2​→R, each nonnegative, summable, and having total sum 111, this constructs the law on X1×X2X_1\times X_2X1​×X2​ whose weight at (x1,x2)(x_1,x_2)(x1​,x2​) is p(x1)q(x2)p(x_1)q(x_2)p(x1​)q(x2​), together with proofs that these weights are nonnegative, summable, and sum to 111. Neither type is assumed finite, individual weights may be zero, and the existence of the supplied laws excludes an empty label type.

QAlgorithms.Papers.Independent.Advance50.P41.productSource

For arbitrary types X1,X2,A1,A2,C1,C2X_1,X_2,A_1,A_2,C_1,C_2X1​,X2​,A1​,A2​,C1​,C2​, let sss have probability weights pxp_xpx​ and vector families ψx,σx\psi_x,\sigma_xψx​,σx​, and let ttt have probability weights qyq_yqy​ and vector families ϕy,τy\phi_y,\tau_yϕy​,τy​; both laws have nonnegative summable weights totaling 111. This constructs a source with labels (x,y)∈X1×X2(x,y)\in X_1\times X_2(x,y)∈X1​×X2​, probability weight pxqyp_xq_ypx​qy​, signal-vector coordinates (ψx⊗ϕy)(a1,a2)=ψx(a1)ϕy(a2)(\psi_x\otimes\phi_y)(a_1,a_2)=\psi_x(a_1)\phi_y(a_2)(ψx​⊗ϕy​)(a1​,a2​)=ψx​(a1​)ϕy​(a2​), and side-vector coordinates (σx⊗τy)(c1,c2)=σx(c1)τy(c2)(\sigma_x\otimes\tau_y)(c_1,c_2)=\sigma_x(c_1)\tau_y(c_2)(σx​⊗τy​)(c1​,c2​)=σx​(c1​)τy​(c2​). No normalization or strict positivity of individual weights is assumed.

QAlgorithms.Papers.Independent.Advance50.P41.separationLaw

For a real parameter ttt satisfying the strict inequalities 0<t<120<t<\frac120<t<21​, this constructs a discrete probability law on {0,1,2}\{0,1,2\}{0,1,2} with weights

pt(0)=12−t,pt(1)=12−t,pt(2)=2t.p_t(0)=\frac12-t,\qquad p_t(1)=\frac12-t,\qquad p_t(2)=2t.pt​(0)=21​−t,pt​(1)=21​−t,pt​(2)=2t.

The constructed law includes proofs that every weight is nonnegative, that the weight family is summable, and that its sum is 111. The parameter restriction excludes both endpoints; in particular, all three displayed weights are strictly positive.

QAlgorithms.Papers.Independent.Advance50.P41.separationPlus

This defines the complex Euclidean vector indexed by the two Boolean values whose amplitude at either value is 1/21/\sqrt21/2​:

v(false)=v(true)=12.v(\mathrm{false})=v(\mathrm{true})=\frac1{\sqrt2}.v(false)=v(true)=2​1​.

Equivalently, it is (∣0⟩+∣1⟩)/2(|0\rangle+|1\rangle)/\sqrt2(∣0⟩+∣1⟩)/2​, where ∣0⟩|0\rangle∣0⟩ and ∣1⟩|1\rangle∣1⟩ have amplitude 111 at false\mathrm{false}false and true\mathrm{true}true respectively and amplitude 000 at the other value.

QAlgorithms.Papers.Independent.Advance50.P41.separationSideVectors

This defines a family of complex Euclidean vectors indexed by i∈{0,1,2}i\in\{0,1,2\}i∈{0,1,2}, each with Boolean coordinates:

σ0=∣0⟩,σ1=∣0⟩,σ2=∣0⟩+∣1⟩2,\sigma_0=|0\rangle,\qquad \sigma_1=|0\rangle,\qquad \sigma_2=\frac{|0\rangle+|1\rangle}{\sqrt2},σ0​=∣0⟩,σ1​=∣0⟩,σ2​=2​∣0⟩+∣1⟩​,

where ∣0⟩|0\rangle∣0⟩ has amplitudes (1,0)(1,0)(1,0) and ∣1⟩|1\rangle∣1⟩ has amplitudes (0,1)(0,1)(0,1) in the coordinate order (false,true)(\mathrm{false},\mathrm{true})(false,true).

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

    Confirmed by the moderator at approval.

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