Definitions for Entanglement-Assisted Quantum Data Compression
DefinitionQAlgorithms_Papers_Independent_Advance50_P41The 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.Validremoves 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 ofdefinition4_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.
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalAchievable
For a source with label type , finite register index type , and singleton side register, and arbitrary real numbers , this property means that there exists a sequence of codes of block length , for every natural number , such that
where and are respectively the code’s strictly positive message-dimension and shared-register parameters. Here each code supplies a finite instrument from together with one register to a string of source-component labels, and a decoder channel from the other register to for each instrument outcome. The component labels are equivalence classes generated by nonzero inner products between . For a word , the input amplitudes are ; the output sums the corresponding instrument-and-decoder branches and retains both the reconstructed register and the label string. The target vector has amplitude on the label string encoding the classes of and amplitude elsewhere. With source probabilities , , the quantity is
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 or is imposed. Every block length used here is positive.
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.classicalRate
For a type , a finite type , a source on with nonnegative summable weights totaling one and arbitrary vectors in and , a natural block length , and a blind classical code , this defines
where 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 and the shared register to labels whose branches jointly satisfy Kraus completeness, and a channel decoder for each message from the other shared register to , each decoder having a finite Kraus representation with completeness equation. These other fields do not enter the rate formula. No assumption is made: at , real division by zero makes the defined rate equal to zero.
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.entanglementRate
For a source with label type and register types and the singleton type, any natural number , and any code of block length for this source, the entanglement rate is the real number
where is the code’s strictly positive natural-number parameter. The source includes a nonnegative, summable probability law on and families of complex vectors indexed by and by the singleton type; their normalization is not assumed here. The definition includes , in which case real division by zero gives rate .
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.fidelity
For a source with label type , finite register index type , and singleton side register, any natural number , and any code of block length , write ; these weights are nonnegative, summable, and sum to , but need not all be strictly positive. For each word , its weight is . Let , , , and let identify the equivalence classes generated by nonzero overlaps of the vectors with . Define and . Let be obtained from by applying instrument branch to the register and first register, applying decoder to the second register, summing over , and placing the reconstructed register before the label register; the instrument branches have finite Kraus families with total completeness sum , and each decoder is a channel with a finite complete Kraus family. The fidelity is the real sum
where has entries 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 if the summands are not summable. Empty products at equal .
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.input
For a label type , a finite register index type , a source with singleton side register, a natural number , a code for of block length , and a word , let and write . The input is the complex Euclidean vector indexed by , where and , whose amplitude is
No normalization of the source vectors is required by this declaration. When , the product is , so the remaining amplitudes are those of the displayed maximally entangled vector.
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode
For a type , a finite type , a source consisting of nonnegative summable weights of total mass one, vectors , and vectors , and a natural block length , a blind classical code consists of positive integers , a natural number , a bijection from the source’s irreducible-label set to , instrument branches for , and decoder maps . The irreducible-label set is the quotient of by the smallest equivalence relation containing the pairs for which ; this equivalence relation includes reflexivity, symmetry, and transitivity. Each maps matrices on to matrices on the set of -tuples of labels in , and the branches must admit finite rectangular Kraus families satisfying and for every matrix . Each maps matrices on to matrices on and must have a finite Kraus representation with completeness equation . The structure imposes no fidelity requirement, no upper bound on , and no normalization requirement on the source vectors. It permits ; its label bijection requires a finite, nonempty label set of exactly elements.
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.output
For a source with label type , finite register index type , and singleton side register, a natural number , a code of block length , and a word , let , , and . Write for the instrument branch indexed by , mapping matrices on to matrices on , and write for its decoder channel from the remaining -dimensional register to . Each branch has a finite Kraus expression , with , and each decoder has a finite Kraus expression with completeness sum . Define the vector by , and set . For label strings and , put
The output is the matrix on with entries
Thus the definition sums the instrument branches, applies the corresponding decoder to the untouched register, and orders the final registers as reconstructed followed by the label string. It also applies when ; source-vector normalization is not assumed.
QAlgorithms.Papers.Independent.Advance50.P41.BlindClassicalCode.target
For a source with label type , finite register index type , and singleton side register, a natural number , a code of block length , and a word , let . The code supplies a bijection from the source’s irreducible labels to . These labels are equivalence classes under the equivalence relation generated by pairs for which the inner product of and is nonzero; tensor amplitudes are products of the two component amplitudes. If denotes the class of , the target is the vector on given by
No source-vector normalization is assumed. At , both strings are empty and the unique target amplitude is .
QAlgorithms.Papers.Independent.Advance50.P41.Extraction.fidelity
For finite types , an extraction with positive environment dimension and isometric matrix , and a source on a type with nonnegative summable weights of total mass one and arbitrary vectors , this defines the real number
where , 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 is the total infinite sum and equals zero if its family is not summable.
QAlgorithms.Papers.Independent.Advance50.P41.Extraction.letter
For finite types , an extraction with positive environment dimension and matrix satisfying , a source on any type , and any , this defines the matrix
on . Here contains vectors and nonnegative summable weights of total mass one, although the weights do not enter this definition; has entry . No normalization of or is required, so is not required by this definition to have trace one.
QAlgorithms.Papers.Independent.Advance50.P41.Extraction
For any finite types , an extraction consists of a natural number and a complex matrix whose columns are indexed by and whose rows are indexed by , satisfying
Thus the columns are orthonormal. The structure imposes no upper bound on and does not require . Empty or 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 , an extraction with positive environment dimension and matrix satisfying , and a source on a type with nonnegative summable weights of total mass one and arbitrary vectors , define , , and the matrix on given by . The objective is
with 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 , 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 , an extraction with positive environment dimension and matrix satisfying , a source on a type , and , this defines the matrix on by
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 is part of the definition.
QAlgorithms.Papers.Independent.Advance50.P41.IrreducibleLabel
For types and a source with nonnegative summable weights totaling and complex vectors , the type of irreducible labels is the quotient of by the smallest equivalence relation containing the relation , where . 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 , and any family of functions from complex matrices to complex matrices, this property means that there exist natural numbers , possibly zero, and rectangular complex matrices with rows indexed by and columns by , for , such that
for every and every complex matrix on , without restricting to density matrices. Individual branches need not preserve trace; a branch with is the zero map. Empty index types are allowed, with empty sums equal to zero; if is nonempty, an empty or makes the completeness equation impossible.
QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.entanglementRate
For finite types , any natural number , and a code with positive shared dimension , positive message dimension , and the encoder and decoder channels specified by the code structure, this defines its entanglement rate as , with regarded as a real number. The definition includes , where real division by zero gives rate , regardless of .
QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.fidelity
For finite types , a label type , any natural number , a code with positive dimensions , , and encoder and decoder channels, and a source with nonnegative summable weights totaling and arbitrary vectors , this defines
where , square roots use the continuous functional calculus, and is obtained by adjoining a maximally entangled pair of dimension , 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 .
QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.input
For finite types , a label type , any natural number , a code with positive shared dimension and positive message dimension , a source with a nonnegative summable probability law and vector families , and a word , this defines the input vector by
for , , and . No normalization of the source vectors is assumed, so the resulting input need not have norm ; for , the two empty products are .
QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode
For finite types and any natural number , this structure consists of positive natural numbers , satisfying , an encoder taking matrices indexed by to matrices indexed by , and a decoder taking matrices indexed by to matrices indexed by , where and mean coordinate strings of length . Each map must admit a finite Kraus representation with . No fidelity or preservation condition is included. For , the bound forces ; if is empty and , the positive message dimension cannot satisfy the bound.
QAlgorithms.Papers.Independent.Advance50.P41.PreservedSideQuantumCode.output
For finite types , a label type , any natural number , a code with positive dimensions , , encoder channel , and decoder channel , a source with vector families , and a word , this defines an output matrix on as follows: form the vector with coordinates , then its outer-product matrix ; apply to the registers , leaving register unchanged; regroup the resulting registers as ; apply to , leaving unchanged; and exchange the final register order to . 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 , any natural number , and a code with positive shared dimension , positive message dimension , and the encoder and decoder channels specified by the code structure, this defines its quantum rate as , with regarded as a real number. The definition includes , where real division by zero gives rate .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Blind
For types , let have summable nonnegative real weights totaling one and complex vector families on and on . This predicate means that for every , including labels of zero weight, the matrices formed from the side vectors agree:
It imposes no normalization on these vectors and no condition on the family. In particular, zero side vectors are allowed; if is empty, all these matrix equalities hold vacuously.
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Irreducible
For types and a source with nonnegative summable weights totaling and complex vectors , irreducibility means that every pair has the same class under the equivalence relation generated by nonzero inner products between the joint vectors . 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 , a source with nonnegative summable weights totaling and complex vectors , a function 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 , for every , every , and every , one has . 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 , finite types , a source consisting of nonnegative summable weights with and arbitrary vectors , and real numbers , this property is the conjunction of a lower bound and an attainment assertion. Here a code sequence has, for each , a code of block length , positive integers with , an encoder from to , and a decoder from to . Each encoder and decoder must be a channel, meaning that it acts on every matrix as a finite sum with . For a word , put ; the code starts with and the shared vector , 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 output and ordering the final registers as . Denote the resulting matrix by . Its specified average fidelity is , where , using matrix continuous functional calculus. The rates are and . The lower-bound assertion says that for every such sequence and every real , and imply , with no requirement that converge. The attainment assertion says that some such sequence satisfies , , and . These are ordinary limits as ; 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 , finite types , and a source with nonnegative summable weights of total mass one and arbitrary vectors , this property states the following. For every code sequence indexed by , with block length , positive shared dimension , positive message dimension , an encoder , and a decoder , and every pair , convergence of fidelity to one and of the two rates to implies
Here each encoder and decoder acts on every matrix as a finite Kraus sum with , the rates are and , and , with applied by continuous functional calculus. To define fidelity, for each word form , append , apply the encoder to the source and first shared register and the decoder to the message and second shared register, retaining ; if the resulting matrix on is , fidelity is . No normalization of the source vectors, strict positivity of weights, or separate sign conditions on are required. Infinite sums are totalized to zero when their families are not summable.
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.Valid
For types and a source consisting of nonnegative summable real weights with total and complex vectors , validity means that every satisfies all three conditions , , and . 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 and a source consisting of a nonnegative, summable probability law on and vector families , , being visible means that for every pair of distinct labels . This condition places no restriction on the vectors , does not require either vector family to be normalized, and allows zero side vectors; it holds vacuously when has at most one element.
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.adjacent
For types , a source with nonnegative summable weights totaling and complex vectors , two labels are adjacent precisely when , where and . 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 and a source with nonnegative summable weights totaling and complex vectors , the average on is the complex matrix with entries . The vectors 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 , let consist of real weights with and a summable weight family, together with complex coordinate vectors on and on . This definition assigns the matrix on whose entries are
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 have label type , finite coordinate types , summable nonnegative real weights totaling one, and complex vectors on , respectively. Put , and let denote the equivalence class generated by nonzero inner products . For every class , this definition assigns
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 have label type , finite coordinate types , summable nonnegative real weights totaling one, and complex vectors on , respectively. Define , and let be the equivalence class generated by the relation . For every class , this definition assigns
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 have label type , finite coordinate types , summable nonnegative real weights totaling one, and complex vectors on , respectively. Put , and let denote the equivalence class generated by the relation , using its reflexive, symmetric, transitive closure. For every such class , this definition assigns the matrix
The vectors need not be normalized. The block retains the original weights without dividing by the probability of ; the total sum defining an entry is zero if that family is not summable.
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.componentProbability
For types , a source with nonnegative summable weights totaling and complex vectors , and an equivalence class of labels, its component probability is . Here is the class under the equivalence relation generated by nonzero inner products between the vectors . 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 , a source with nonnegative summable weights totaling and complex vectors , a component , and , the conditional probability is when , and otherwise, where . The classes are generated by nonzero inner products between . No validity or positive-component-mass assumption is imposed. Real division by zero is defined to be zero, so if , this function is zero for every .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entanglementCorner
Let have label type , finite coordinate types with decidable equality, summable nonnegative weights totaling one, and arbitrary complex vectors . Set , and let be the equivalence class generated by nonzero inner products between these vectors. Put , , and . This definition assigns
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 with label type , finite coordinate type with decidable equality, coordinate type , summable nonnegative weights totaling one, and vectors on , define the matrix by . This definition assigns the real number
where uses continuous functional calculus. No unit norm or density matrix hypothesis is imposed on the vectors or . The entrywise sums are total sums, equal to zero when nonsummable, and the real logarithm has its total value ; an empty coordinate type gives value zero.
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.entropyACY
Let have label type , finite coordinate types with decidable equality, summable nonnegative weights totaling one, and arbitrary complex vectors . Set , let denote the class generated by nonzero inner products between these vectors, and define for . This definition assigns
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 have label type , finite coordinate types with decidable equality as needed for matrix functional calculus, summable nonnegative weights totaling one, and arbitrary complex vectors . Let denote the equivalence class generated by , where , and put . This definition assigns
where 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 have label type , finite coordinate types with decidable equality as needed for matrix functional calculus, summable nonnegative weights totaling one, and arbitrary complex vectors . Let be the class generated by nonzero inner products of the vectors , and define . This definition assigns
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 have label type , finite coordinate types , summable nonnegative weights totaling one, and arbitrary complex vectors . Define , and partition by the equivalence relation generated by . For each class , put . This definition assigns
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 , a source with nonnegative summable weights totaling and complex vectors , a function , and , the fiber span is the complex linear span of all vectors with , where . Thus it consists of finite complex linear combinations of these vectors; no topological closure is taken. Neither validity nor surjectivity of is required, and an empty fiber has span .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.joint
For types , a source with nonnegative summable weights totaling and complex vector families , and a label , the joint vector is the vector on whose coordinate at is . This definition does not require the source to be valid, so neither factor nor the resulting vector is required to have norm .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.label
For types , a source with nonnegative summable weights totaling and complex vectors , and , the label assigned to is its equivalence class under the smallest equivalence relation containing all pairs for which , with . 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 , a product pure source consists of real weights , indexed by , satisfying , summability, and , together with families of complex coordinate vectors and . The structure imposes no normalization or nonzero condition on these vectors and permits zero weights. No finiteness or countability assumption on is stated. The weight requirements exclude an empty .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.quantumCorner
Let have label type , finite coordinate types with decidable equality, summable nonnegative weights totaling one, and arbitrary complex vectors . Set , and let be the equivalence class generated by . Define , , and . This definition assigns
where 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 , a source with nonnegative summable label weights totaling and arbitrary signal and side vectors, any natural number , and any word , this defines its word weight to be . The vector families do not enter this definition; when , the unique empty word has weight .
QAlgorithms.Papers.Independent.Advance50.P41.ProductPureSource.wordVector
For types , a source with a nonnegative summable probability law on and vector families , , any natural number , and any word , this defines a vector indexed by pairs of coordinate strings and , with coordinates
No normalization is required, and the probability weights do not enter this vector. When , its sole coordinate is .
QAlgorithms.Papers.Independent.Advance50.P41.QuantumCodeSequence
For finite types , this is the type of sequences assigning to every natural number a code of block length . Each code has positive dimensions with , an encoder channel from to , and a decoder channel from to ; 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 and every three complex vectors indexed by pairs of Booleans, this defines the matrix
There is no restriction on , and the vectors need not be normalized. The coefficients always sum to , but may be negative, and the definition does not require the resulting matrix to be positive semidefinite or to have trace .
QAlgorithms.Papers.Independent.Advance50.P41.exampleModified
For every real parameter satisfying , this defines a product pure source with label set and two registers indexed by . Writing , , and , its label probabilities are and , and both registers have the respective vectors . The joint vectors are therefore , , and , where tensor-product coordinates multiply. The endpoints and are excluded.
QAlgorithms.Papers.Independent.Advance50.P41.exampleModifiedRate
For every real , let , , , and define
Here , and . This defines
using the continuous functional calculus for ; the partial traces sum the matrix entries over the indicated register. Every real is allowed, including , , and values outside that interval, without any density-matrix hypothesis on .
QAlgorithms.Papers.Independent.Advance50.P41.exampleModifiedSigma
This defines a family of complex Euclidean vectors indexed by , each with Boolean coordinates, by
where has amplitude at and at , and has the opposite amplitudes.
QAlgorithms.Papers.Independent.Advance50.P41.exampleOriginal
For every real parameter satisfying , this defines a product pure source with label set and two registers indexed by . Writing , , and , its label probabilities are and ; its first-register vectors are respectively , and its second-register vectors are respectively . Thus the joint vector at each label is the tensor product of the corresponding two vectors, with coordinates . The endpoints and are excluded.
QAlgorithms.Papers.Independent.Advance50.P41.exampleOriginalRate
For every real , let , , , and define
Here , and . This defines the real number
where is evaluated by the continuous functional calculus, , and . The parameter is unrestricted, including values outside ; no density-matrix hypothesis is imposed on .
QAlgorithms.Papers.Independent.Advance50.P41.examplePsi
This defines a family of complex Euclidean vectors indexed by , each with Boolean coordinates:
where has amplitudes and has amplitudes in the coordinate order .
QAlgorithms.Papers.Independent.Advance50.P41.exampleWeights
For every real number , this defines the real-valued function on with values
No restriction on is part of this definition. The values sum to for every , but are all nonnegative only when ; negative values are permitted by the function’s type.
QAlgorithms.Papers.Independent.Advance50.P41.extractionInformation
For finite types , a source on a type with nonnegative summable weights totaling one and arbitrary vectors , and any , this defines the real supremum of the following objective values. Choose and with , mapping into ; put , , , , and , where each partial trace sums entries with equal traced indices. Include the value precisely when . Here , , with matrix functions interpreted by continuous functional calculus. Neither 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 or is empty.
QAlgorithms.Papers.Independent.Advance50.P41.extractionValues
For finite types , a source on a type with nonnegative summable weights totaling one and arbitrary vectors , and any real , this is the set of real numbers obtained as follows: choose a positive integer and a matrix with ; set , , , , and ; require
Here , , and the matrix functions use continuous functional calculus. No positivity assumption on or normalization assumption on the source vectors is included. Infinite sums are totalized to zero when nonsummable. If or is empty, the bound on the positive integer is impossible, so this set is empty.
QAlgorithms.Papers.Independent.Advance50.P41.independentDiscreteLaw
For any types and laws , , each nonnegative, summable, and having total sum , this constructs the law on whose weight at is , together with proofs that these weights are nonnegative, summable, and sum to . 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 , let have probability weights and vector families , and let have probability weights and vector families ; both laws have nonnegative summable weights totaling . This constructs a source with labels , probability weight , signal-vector coordinates , and side-vector coordinates . No normalization or strict positivity of individual weights is assumed.
QAlgorithms.Papers.Independent.Advance50.P41.separationLaw
For a real parameter satisfying the strict inequalities , this constructs a discrete probability law on with weights
The constructed law includes proofs that every weight is nonnegative, that the weight family is summable, and that its sum is . 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 :
Equivalently, it is , where and have amplitude at and respectively and amplitude at the other value.
QAlgorithms.Papers.Independent.Advance50.P41.separationSideVectors
This defines a family of complex Euclidean vectors indexed by , each with Boolean coordinates:
where has amplitudes and has amplitudes in the coordinate order .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.