Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum Feedback Channels

Definition
QAlgorithms_Papers_Independent_Intakenext100_P50

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

prove2quantum

The objects the formalized statements of Quantum Feedback Channels (arXiv:quant-ph/0209076) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • Feedback: PDF p.1: absent, classical, or unrestricted quantum return communication.
  • tensorFirst: PDF pp.1–2: apply a map on the first register and identity on the second, including its off-diagonal blocks.
  • forward: PDF p.2, Lemma 1: exactly one forward call, with identity on both memories. The input and output ports may have different dimensions.
  • returnRegister: PDF pp.1–2: move Bob's return register F to Alice. Classical feedback dephases F in its distinguished basis; quantum feedback preserves all coherences and correlations. For absent feedback F is one-dimensional, enforced in BowenFeedbackProtocol.Legal.
  • BowenFeedbackProtocol: PDF p.2, §III.A: an n-use causal interaction. Only Alice's maps see the preselected message x. Bob's maps never do. Prelude communication permits resource preparation before the first counted forward use. There is no bound on a, b or f. The external classical message reference is never acted on.
  • BowenFeedbackProtocol.Legal: PDF pp.1–2: every used local operation is CPTP; classical return is dephased by execution, and no feedback has a one-dimensional return register.
  • BowenFeedbackProtocol.prelude: PDF pp.1–2: free local operations and backward communication before use one.
  • BowenFeedbackProtocol.step: PDF p.2, four steps in Lemma 1: encode, apply N once, Bob's processing, return a register, Alice's local processing.
  • BowenFeedbackProtocol.run: PDF pp.2–3: the same memoryless N is used once at each recursive step. Only the first n steps are used by a code.
  • BowenFeedbackProtocol.receiver: PDF p.3, Eqs. (8)–(12): information is in Bob's retained memory, not the joint laboratories. Bob's memory includes all outputs and outcomes he retains.
  • InitialResource: PDF pp.1–2: initial resources are independent of the selected message. Unassisted protocols begin with a product density; assisted protocols may share any density. The prelude can distribute entanglement using quantum feedback.
  • BowenClassicalCode: PDF pp.2–3: a finite classical code with a fixed initial density and a message-independent POVM on Bob's final register.
  • BowenClassicalCode.Legal: PDF pp.1–3: admissibility of the executed classical code.
  • BowenClassicalCode.error: PDF p.3, Theorem 2: the actual average error for uniformly selected block messages. This family satisfies the source's AEP convention.
  • BowenClassicalAchievable: PDF pp.1–3: vanishing-error classical rates, in bits per forward channel use. For each large n one code handles all messages; memories and shared resources may grow with n. Neither an information bound nor the desired converse is assumed.
  • bowenClassicalCapacity: PDF p.1: operational classical capacity. The complete ordered extended-real codomain avoids the empty/unbounded real-supremum default. Zero is included.
  • bowenCqInformation: PDF p.2, Definition 1 and Eqs. (2)–(3): cq mutual information in entropy form, S(sum p_x rho_x) - sum p_x S(rho_x). Used only with normalized densities.
  • BowenInputEnsemble: PDF p.2, Lemma 1: a finite ensemble on input A and arbitrary finite B. The conditional density depends on the message, as the PDF's superscript i requires.
  • bowenConditionalInformation: PDF p.2, Eq. (7), and p.3, Eq. (13): I(M:A_out|B), written as the difference of the two cq Holevo informations. B's marginal is unchanged by N.
  • maxConditionalInformation: PDF pp.2–3: supremal single-use conditional information over every finite message alphabet, normalized prior, conditional density and auxiliary dimension. This is the source's maximum value, with no imposed auxiliary-dimension bound.
  • BowenQuantumCode: PDF p.1: an entanglement-transmission code with k logical qubits. The shared resource is independent of the logical input. The reference in entanglement fidelity is external to the executed protocol, and Bob's maps cannot access it.
  • BowenQuantumCode.Legal: PDF p.1: CPTP quantum encoding and decoding, with the chosen initial resource.
  • BowenQuantumCode.start: PDF p.1: tensor the logical input with an independent shared density, then apply Alice's input encoder while retaining Bob's share untouched.
  • BowenQuantumCode.channel: PDF p.1: the actual end-to-end channel on the k logical qubits, using the same forward N at all n calls and only the permitted return resource.
  • QuantumAchievable: PDF p.1: asymptotic quantum communication with entanglement fidelity tending to one and k/n approaching R from below; rates are qubits per forward use.
  • bowenQuantumCapacity: PDF p.1 and conclusion pp.4–5: operational vanishing-error quantum capacity.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_Ensemble

/-!
Bowen, Quantum Feedback Channels, arXiv:quant-ph/0209076v4.
Paper-local operational definitions: finite memories have arbitrary dimensions, chosen
separately for each code. A single sufficiently large memory holds all retained systems
of a finite protocol; local CPTP maps include ancillas, discarded environments and outcomes.
Capacities and the one-use supremum take values in EReal, avoiding a real-supremum default
on an unbounded set. All entropies and rates use base two.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P50

open QAlgorithms

/-- PDF p.1: absent, classical, or unrestricted quantum return communication. -/
inductive Feedback where
  | none
  | classical
  | quantum
  deriving DecidableEq

/-- PDF pp.1–2: apply a map on the first register and identity on the second,
including its off-diagonal blocks. -/
def tensorFirst {A C B : Type*} (T : Superop A C) : Superop (A × B) (C × B) :=
  fun X p q => T (fun a c => X (a, p.2) (c, q.2)) p.1 q.1

/-- PDF p.2, Lemma 1: exactly one forward call, with identity on both memories.
The input and output ports may have different dimensions. -/
def forward {A B I O : Type*} (N : Superop I O) :
    Superop ((A × I) × B) (A × (O × B)) :=
  fun X p q => N (fun i j => X ((p.1, i), p.2.2) ((q.1, j), q.2.2)) p.2.1 q.2.1

/-- PDF pp.1–2: move Bob's return register F to Alice. Classical feedback dephases F
in its distinguished basis; quantum feedback preserves all coherences and correlations.
For absent feedback F is one-dimensional, enforced in BowenFeedbackProtocol.Legal. -/
def returnRegister {A B F : Type*} [DecidableEq F] (mode : Feedback) :
    Superop (A × (F × B)) ((A × F) × B) :=
  fun X p q => if mode = .classical ∧ p.1.2 ≠ q.1.2 then 0
    else X (p.1.1, (p.1.2, p.2)) (q.1.1, (q.1.2, q.2))

/-- PDF p.2, §III.A: an n-use causal interaction. Only Alice's maps see the
preselected message x. Bob's maps never do. Prelude communication permits resource
preparation before the first counted forward use. There is no bound on a, b or f.
The external classical message reference is never acted on. -/
structure BowenFeedbackProtocol (i o m n : ℕ) where
  a : ℕ
  b : ℕ
  f : ℕ
  a_pos : 0 < a
  b_pos : 0 < b
  f_pos : 0 < f
  bobPrelude : Superop (Fin b) (Fin f × Fin b)
  alicePrelude : Fin m → Superop (Fin a × Fin f) (Fin a)
  encode : ℕ → Fin m → Superop (Fin a) (Fin a × Fin i)
  bob : ℕ → Superop (Fin o × Fin b) (Fin f × Fin b)
  alice : ℕ → Fin m → Superop (Fin a × Fin f) (Fin a)

/-- PDF pp.1–2: every used local operation is CPTP; classical return is dephased
by execution, and no feedback has a one-dimensional return register. -/
def BowenFeedbackProtocol.Legal {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback) : Prop :=
  (mode = .none → P.f = 1) ∧ IsChannel P.bobPrelude ∧
  (∀ x, IsChannel (P.alicePrelude x)) ∧
  (∀ k < n, ∀ x, IsChannel (P.encode k x)) ∧
  (∀ k < n, IsChannel (P.bob k)) ∧
  (∀ k < n, ∀ x, IsChannel (P.alice k x))

/-- PDF pp.1–2: free local operations and backward communication before use one. -/
def BowenFeedbackProtocol.initialStage {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback)
    (x : Fin m) : Superop (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) :=
  fun X => tensorFirst (P.alicePrelude x)
    (returnRegister mode (idTensorSuperop P.bobPrelude X))

/-- PDF p.2, four steps in Lemma 1: encode, apply N once, Bob's processing,
return a register, Alice's local processing. -/
def BowenFeedbackProtocol.step {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback)
    (N : Superop (Fin i) (Fin o)) (k : ℕ) (x : Fin m) :
    Superop (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) :=
  fun X => tensorFirst (P.alice k x)
    (returnRegister mode (idTensorSuperop (P.bob k)
      (forward N (tensorFirst (P.encode k x) X))))

/-- PDF pp.2–3: the same memoryless N is used once at each recursive step.
Only the first n steps are used by a code. -/
def BowenFeedbackProtocol.run {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback)
    (N : Superop (Fin i) (Fin o)) (x : Fin m)
    (X : Matrix (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) ℂ) :
    ℕ → Matrix (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) ℂ
  | 0 => P.initialStage mode x X
  | k + 1 => P.step mode N k x (P.run mode N x X k)

/-- PDF p.3, Eqs. (8)–(12): information is in Bob's retained memory, not the
joint laboratories. Bob's memory includes all outputs and outcomes he retains. -/
def BowenFeedbackProtocol.receiver {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback)
    (N : Superop (Fin i) (Fin o)) (x : Fin m)
    (X : Matrix (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) ℂ) :
    Matrix (Fin P.b) (Fin P.b) ℂ :=
  traceLeft (P.run mode N x X n)

/-- PDF pp.1–2: initial resources are independent of the selected message.
Unassisted protocols begin with a product density; assisted protocols may share
any density. The prelude can distribute entanglement using quantum feedback. -/
def InitialResource {A B : Type*} [Fintype A] [Fintype B]
    (assisted : Bool) (X : Matrix (A × B) (A × B) ℂ) : Prop :=
  IsDensityMatrix X ∧ (assisted = true ∨
    ∃ (s : Matrix A A ℂ) (t : Matrix B B ℂ),
      IsDensityMatrix s ∧ IsDensityMatrix t ∧ X = Matrix.kronecker s t)

/-- PDF pp.2–3: a finite classical code with a fixed initial density and a
message-independent POVM on Bob's final register. -/
structure BowenClassicalCode (i o m n : ℕ) where
  messages_pos : 0 < m
  protocol : BowenFeedbackProtocol i o m n
  initial : Matrix (Fin protocol.a × Fin protocol.b) (Fin protocol.a × Fin protocol.b) ℂ
  decode : Fin m → Matrix (Fin protocol.b) (Fin protocol.b) ℂ

/-- PDF pp.1–3: admissibility of the executed classical code. -/
def BowenClassicalCode.Legal {i o m n : ℕ} (C : BowenClassicalCode i o m n)
    (mode : Feedback) (assisted : Bool) : Prop :=
  C.protocol.Legal mode ∧ InitialResource assisted C.initial ∧ IsPOVM C.decode

/-- PDF p.3, Theorem 2: the actual average error for uniformly selected block
messages. This family satisfies the source's AEP convention. -/
def BowenClassicalCode.error {i o m n : ℕ} (C : BowenClassicalCode i o m n)
    (mode : Feedback) (N : Superop (Fin i) (Fin o)) : ℝ :=
  1 - (m : ℝ)⁻¹ * ∑ x : Fin m,
    effectProb (C.decode x) (C.protocol.receiver mode N x C.initial)

/-- PDF pp.1–3: vanishing-error classical rates, in bits per forward channel use.
For each large n one code handles all messages; memories and shared resources
may grow with n. Neither an information bound nor the desired converse is assumed. -/
def BowenClassicalAchievable {i o : ℕ} (N : Superop (Fin i) (Fin o))
    (mode : Feedback) (assisted : Bool) (R : ℝ) : Prop :=
  ∀ eps > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ n0 : ℕ, 0 < n0 ∧
    ∀ n ≥ n0, ∃ m : ℕ, ∃ C : BowenClassicalCode i o m n,
      C.Legal mode assisted ∧ (R - delta) * n ≤ Real.logb 2 m ∧
      C.error mode N ≤ eps

/-- PDF p.1: operational classical capacity. The complete ordered extended-real
codomain avoids the empty/unbounded real-supremum default. Zero is included. -/
def bowenClassicalCapacity {i o : ℕ} (N : Superop (Fin i) (Fin o))
    (mode : Feedback) (assisted : Bool) : EReal :=
  sSup {v | v = 0 ∨ ∃ R : ℝ, 0 ≤ R ∧ v = (R : EReal) ∧
    BowenClassicalAchievable N mode assisted R}

/-- PDF p.2, Definition 1 and Eqs. (2)–(3): cq mutual information in entropy
form, S(sum p_x rho_x) - sum p_x S(rho_x). Used only with normalized densities. -/
def bowenCqInformation {d m : ℕ} (p : Fin m → ℝ)
    (rho : Fin m → Matrix (Fin d) (Fin d) ℂ) : ℝ :=
  vnEntropy (∑ x, (p x : ℂ) • rho x) - ∑ x, p x * vnEntropy (rho x)

/-- PDF p.2, Lemma 1: a finite ensemble on input A and arbitrary finite B.
The conditional density depends on the message, as the PDF's superscript i requires. -/
structure BowenInputEnsemble (i : ℕ) where
  m : ℕ
  b : ℕ
  m_pos : 0 < m
  b_pos : 0 < b
  prior : Fin m → ℝ
  prior_nonneg : ∀ x, 0 ≤ prior x
  prior_sum : ∑ x, prior x = 1
  rho : Fin m → Matrix (Fin i × Fin b) (Fin i × Fin b) ℂ
  density : ∀ x, IsDensityMatrix (rho x)

/-- PDF p.2, Eq. (7), and p.3, Eq. (13): I(M:A_out|B), written as the
difference of the two cq Holevo informations. B's marginal is unchanged by N. -/
def bowenConditionalInformation {i o : ℕ} (N : Superop (Fin i) (Fin o))
    (E : BowenInputEnsemble i) : ℝ :=
  (vnEntropy (∑ x, (E.prior x : ℂ) • tensorFirst N (E.rho x)) -
    ∑ x, E.prior x * vnEntropy (tensorFirst N (E.rho x))) -
  bowenCqInformation E.prior (fun x => traceLeft (E.rho x))

/-- PDF pp.2–3: supremal single-use conditional information over every finite
message alphabet, normalized prior, conditional density and auxiliary dimension.
This is the source's maximum value, with no imposed auxiliary-dimension bound. -/
def maxConditionalInformation {i o : ℕ} (N : Superop (Fin i) (Fin o)) : EReal :=
  sSup {v | ∃ E : BowenInputEnsemble i, v = (bowenConditionalInformation N E : EReal)}

/-- PDF p.1: an entanglement-transmission code with k logical qubits. The shared
resource is independent of the logical input. The reference in entanglement fidelity
is external to the executed protocol, and Bob's maps cannot access it. -/
structure BowenQuantumCode (i o n : ℕ) where
  k : ℕ
  a0 : ℕ
  a0_pos : 0 < a0
  protocol : BowenFeedbackProtocol i o 1 n
  resource : Matrix (Fin a0 × Fin protocol.b) (Fin a0 × Fin protocol.b) ℂ
  encodeInput : Superop (Qubits k × Fin a0) (Fin protocol.a)
  decode : Superop (Fin protocol.b) (Qubits k)

/-- PDF p.1: CPTP quantum encoding and decoding, with the chosen initial resource. -/
def BowenQuantumCode.Legal {i o n : ℕ} (C : BowenQuantumCode i o n)
    (mode : Feedback) (assisted : Bool) : Prop :=
  C.protocol.Legal mode ∧ InitialResource assisted C.resource ∧
    IsChannel C.encodeInput ∧ IsChannel C.decode

/-- PDF p.1: tensor the logical input with an independent shared density, then
apply Alice's input encoder while retaining Bob's share untouched. -/
def BowenQuantumCode.start {i o n : ℕ} (C : BowenQuantumCode i o n)
    (X : Matrix (Qubits C.k) (Qubits C.k) ℂ) :
    Matrix (Fin C.protocol.a × Fin C.protocol.b) (Fin C.protocol.a × Fin C.protocol.b) ℂ :=
  tensorFirst C.encodeInput (fun p q =>
    X p.1.1 q.1.1 * C.resource (p.1.2, p.2) (q.1.2, q.2))

/-- PDF p.1: the actual end-to-end channel on the k logical qubits, using the
same forward N at all n calls and only the permitted return resource. -/
def BowenQuantumCode.channel {i o n : ℕ} (C : BowenQuantumCode i o n)
    (mode : Feedback) (N : Superop (Fin i) (Fin o)) : Superop (Qubits C.k) (Qubits C.k) :=
  fun X => C.decode (C.protocol.receiver mode N 0 (C.start X))

/-- PDF p.1: asymptotic quantum communication with entanglement fidelity tending
to one and k/n approaching R from below; rates are qubits per forward use. -/
def QuantumAchievable {i o : ℕ} (N : Superop (Fin i) (Fin o))
    (mode : Feedback) (assisted : Bool) (R : ℝ) : Prop :=
  ∀ eps > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ n0 : ℕ, 0 < n0 ∧
    ∀ n ≥ n0, ∃ C : BowenQuantumCode i o n,
      C.Legal mode assisted ∧ (R - delta) * n ≤ C.k ∧
      1 - eps ≤ entanglementFidelity (C.channel mode N)

/-- PDF p.1 and conclusion pp.4–5: operational vanishing-error quantum capacity. -/
def bowenQuantumCapacity {i o : ℕ} (N : Superop (Fin i) (Fin o))
    (mode : Feedback) (assisted : Bool) : EReal :=
  sSup {v | v = 0 ∨ ∃ R : ℝ, 0 ≤ R ∧ v = (R : EReal) ∧
    QuantumAchievable N mode assisted R}

/-! Sanity checks for local definitions; no headline theorem is proved here. -/

example {A B : Type*} (X : Matrix (A × B) (A × B) ℂ) :
    tensorFirst (fun Y : Matrix A A ℂ => Y) X = X := by
  rfl

example {A B I O : Type*} (N : Superop I O)
    (X : Matrix ((A × I) × B) ((A × I) × B) ℂ)
    (p q : A × (O × B)) :
    forward N X p q =
      N (fun i j => X ((p.1, i), p.2.2) ((q.1, j), q.2.2)) p.2.1 q.2.1 := by
  rfl

example {A B F : Type*} [DecidableEq F]
    (X : Matrix (A × (F × B)) (A × (F × B)) ℂ)
    (p q : (A × F) × B) (h : p.1.2 ≠ q.1.2) :
    returnRegister .classical X p q = 0 := by
  simp [returnRegister, h]

example {i o m n : ℕ} (P : BowenFeedbackProtocol i o m n) (mode : Feedback)
    (N : Superop (Fin i) (Fin o)) (x : Fin m)
    (X : Matrix (Fin P.a × Fin P.b) (Fin P.a × Fin P.b) ℂ) :
    P.run mode N x X 0 = P.initialStage mode x X := by
  rfl

example {d : ℕ} (rho : Matrix (Fin d) (Fin d) ℂ) :
    bowenCqInformation (fun _ : Fin 1 => 1) (fun _ => rho) = 0 := by
  simp [bowenCqInformation]

example {i o n : ℕ} (C : BowenQuantumCode i o n) (mode : Feedback)
    (N : Superop (Fin i) (Fin o)) (X : Matrix (Qubits C.k) (Qubits C.k) ℂ) :
    C.channel mode N X = C.decode (traceLeft
      (C.protocol.run mode N 0 (C.start X) n)) := by
  rfl

end QAlgorithms.Papers.Independent.Intakenext100.P50
Source
Quantum Feedback Channels, arXiv:quant-ph/0209076v4, https://arxiv.org/abs/quant-ph/0209076v4
Read-back

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

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenClassicalAchievable

For natural numbers i,oi,oi,o, any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, a mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, a Boolean assisted\mathrm{assisted}assisted, and any real RRR, this predicate says that for every real ε>0\varepsilon>0ε>0 and every real δ>0\delta>0δ>0, there is a natural number n0>0n_0>0n0​>0 such that for every natural number n≥n0n\ge n_0n≥n0​, there are a natural number m>0m>0m>0 and a code with positive register dimensions a,b,fa,b,fa,b,f, an initial matrix XXX on a×ba\times ba×b, decoding matrices MxM_xMx​ on bbb for x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m), and protocol maps Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Apre,x:a×f→aA_{\mathrm{pre},x}:a\times f\to aApre,x​:a×f→a, Ek,x:a→a×iE_{k,x}:a\to a\times iEk,x​:a→a×i, Bk:o×b→f×bB_k:o\times b\to f\times bBk​:o×b→f×b, and Ak,x:a×f→aA_{k,x}:a\times f\to aAk,x​:a×f→a, satisfying

(R−δ)n≤log⁡2m,1−1m∑xRe⁡tr⁡ ⁣(Mx tr⁡AYn(x))≤ε.(R-\delta)n\le\log_2 m, \qquad 1-\frac1m\sum_x\operatorname{Re}\operatorname{tr} \!\left(M_x\,\operatorname{tr}_A Y_n^{(x)}\right)\le\varepsilon.(R−δ)n≤log2​m,1−m1​x∑​Retr(Mx​trA​Yn(x)​)≤ε.

Register arrows here mean maps between square complex matrix spaces. The prelude maps must be channels, and all three round maps must be channels for every k<nk<nk<n and every message xxx; a channel is a map Φ(Z)=∑jKjZKj†\Phi(Z)=\sum_jK_jZK_j^\daggerΦ(Z)=∑j​Kj​ZKj†​ for all ZZZ, for some finite, possibly empty, family with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. If the mode is none, f=1f=1f=1 is required. The matrix XXX must be positive semidefinite with trace 111; if assisted=false\mathrm{assisted}=\mathrm{false}assisted=false, it must also equal s⊗ts\otimes ts⊗t for positive semidefinite trace-one matrices s,ts,ts,t on the two registers. Each MxM_xMx​ must be positive semidefinite and ∑xMx=Ib\sum_xM_x=I_b∑x​Mx​=Ib​. For each xxx, Y0(x)Y_0^{(x)}Y0(x)​ results from applying BpreB_{\mathrm{pre}}Bpre​ to Bob’s register of XXX, returning its fff-register to Alice, and applying Apre,xA_{\mathrm{pre},x}Apre,x​; Yk+1(x)Y_{k+1}^{(x)}Yk+1(x)​ results from successively applying Ek,xE_{k,x}Ek,x​ on Alice, NNN on the emitted register, BkB_kBk​ on Bob’s o×bo\times bo×b registers, returning the fff-register, and applying Ak,xA_{k,x}Ak,x​. All local maps act separately on matrix blocks indexed by the untouched row and column indices. Returning the register regroups a×(f×b)a\times(f\times b)a×(f×b) as (a×f)×b(a\times f)\times b(a×f)×b, and in classical mode zeros entries whose two fff-indices differ; the other modes only regroup. Finally, (tr⁡AY)b,b′=∑aY(a,b),(a,b′)(\operatorname{tr}_A Y)_{b,b'}=\sum_aY_{(a,b),(a,b')}(trA​Y)b,b′​=∑a​Y(a,b),(a,b′)​. The definition imposes no channel assumption on NNN and no nonnegativity assumption on RRR; all required block lengths are positive because n0>0n_0>0n0​>0, and m=1m=1m=1 is allowed.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenClassicalCode.Legal

For natural numbers i,o,m,ni,o,m,ni,o,m,n, a classical code CCC, a feedback mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, and a Boolean assisted\mathrm{assisted}assisted, this predicate is the conjunction of the following requirements. The code itself supplies m>0m>0m>0, a protocol PPP with positive register dimensions a,b,fa,b,fa,b,f, an initial complex matrix X=C.initialX=C.\mathrm{initial}X=C.initial on Fin(a)×Fin(b)\mathrm{Fin}(a)\times\mathrm{Fin}(b)Fin(a)×Fin(b), and decoding matrices Mx=C.decode(x)M_x=C.\mathrm{decode}(x)Mx​=C.decode(x) on Fin(b)\mathrm{Fin}(b)Fin(b) for x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m). The protocol supplies maps on complex matrices: a Bob prelude Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Alice preludes Apre,x:a×f→aA_{\mathrm{pre},x}:a\times f\to aApre,x​:a×f→a, encoders Ek,x:a→a×iE_{k,x}:a\to a\times iEk,x​:a→a×i, Bob operations Bk:o×b→f×bB_k:o\times b\to f\times bBk​:o×b→f×b, and Alice operations Ak,x:a×f→aA_{k,x}:a\times f\to aAk,x​:a×f→a, where a displayed register map denotes a map between the corresponding square matrix spaces. Protocol legality requires f=1f=1f=1 if mode=none\mathrm{mode}=\mathrm{none}mode=none; BpreB_{\mathrm{pre}}Bpre​ and every Apre,xA_{\mathrm{pre},x}Apre,x​ must be channels; and, for every natural number k<nk<nk<n and every x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m), Ek,xE_{k,x}Ek,x​, BkB_kBk​, and Ak,xA_{k,x}Ak,x​ must be channels. Here being a channel means admitting a finite, possibly empty, family of rectangular complex matrices KjK_jKj​ such that ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I and Φ(Z)=∑jKjZKj†\Phi(Z)=\sum_jK_j ZK_j^\daggerΦ(Z)=∑j​Kj​ZKj†​ for every input matrix ZZZ. The initial matrix must be positive semidefinite with trace 111, and either assisted=true\mathrm{assisted}=\mathrm{true}assisted=true or X=s⊗tX=s\otimes tX=s⊗t for positive semidefinite trace-one matrices sss on Alice’s register and ttt on Bob’s register. Finally, every MxM_xMx​ must be positive semidefinite and ∑xMx=Ib\sum_xM_x=I_b∑x​Mx​=Ib​. The numbers i,o,ni,o,ni,o,n may be zero; when n=0n=0n=0, all requirements indexed by k<nk<nk<n are vacuous, while the prelude, resource, and decoding requirements remain.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenClassicalCode.error

For natural numbers i,o,m,ni,o,m,ni,o,m,n, a classical code CCC, a feedback mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, and any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, this definition assigns the real number

1−1m∑x∈Fin(m)Re⁡tr⁡ ⁣(Mx tr⁡AYn(x)).1-\frac1m\sum_{x\in\mathrm{Fin}(m)} \operatorname{Re}\operatorname{tr}\!\left(M_x\,\operatorname{tr}_A Y_n^{(x)}\right).1−m1​x∈Fin(m)∑​Retr(Mx​trA​Yn(x)​).

Here the code supplies m>0m>0m>0, positive protocol register dimensions a,b,fa,b,fa,b,f, an arbitrary initial matrix XXX on Fin(a)×Fin(b)\mathrm{Fin}(a)\times\mathrm{Fin}(b)Fin(a)×Fin(b), decoding matrices MxM_xMx​ on Fin(b)\mathrm{Fin}(b)Fin(b), a Bob prelude Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Alice preludes Apre,x:a×f→aA_{\mathrm{pre},x}:a\times f\to aApre,x​:a×f→a, encoders Ek,x:a→a×iE_{k,x}:a\to a\times iEk,x​:a→a×i, Bob maps Bk:o×b→f×bB_k:o\times b\to f\times bBk​:o×b→f×b, and Alice maps Ak,x:a×f→aA_{k,x}:a\times f\to aAk,x​:a×f→a; these register arrows denote maps between square complex matrix spaces. To obtain Y0(x)Y_0^{(x)}Y0(x)​, apply BpreB_{\mathrm{pre}}Bpre​ to Bob’s register of XXX, return the resulting fff-register to Alice, and apply Apre,xA_{\mathrm{pre},x}Apre,x​ to Alice’s a×fa\times fa×f register. For k≥0k\ge0k≥0, obtain Yk+1(x)Y_{k+1}^{(x)}Yk+1(x)​ from Yk(x)Y_k^{(x)}Yk(x)​ by applying Ek,xE_{k,x}Ek,x​ to Alice’s register, NNN to its emitted iii-register, BkB_kBk​ to Bob’s resulting o×bo\times bo×b register, returning the resulting fff-register to Alice, and applying Ak,xA_{k,x}Ak,x​. Each operation on selected registers is defined by applying its matrix map separately to each block obtained by fixing the row and column indices of the untouched registers; this definition does not assume that those maps are linear. Returning a register regroups a×(f×b)a\times(f\times b)a×(f×b) as (a×f)×b(a\times f)\times b(a×f)×b, and in classical mode additionally sets an entry to zero whenever its row and column fff-indices differ; in the other two modes it only regroups indices. The partial trace is (tr⁡AY)b,b′=∑a∈Fin(a)Y(a,b),(a,b′)(\operatorname{tr}_A Y)_{b,b'}=\sum_{a\in\mathrm{Fin}(a)}Y_{(a,b),(a,b')}(trA​Y)b,b′​=∑a∈Fin(a)​Y(a,b),(a,b′)​. No legality, positivity, trace, or channel condition is imposed on CCC or NNN by this definition, so the resulting real number is not required here to lie in [0,1][0,1][0,1]; n=0n=0n=0 uses the prelude alone.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenClassicalCode

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, this defines a structure containing a proof that m>0m>0m>0, a protocol with positive natural internal dimensions a,b,fa,b,fa,b,f, an arbitrary complex matrix initial⁡\operatorname{initial}initial on [a]×[b][a]\times[b][a]×[b], and an arbitrary family (decode⁡x)x∈[m](\operatorname{decode}_x)_{x\in[m]}(decodex​)x∈[m]​ of complex matrices on [b][b][b], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}. The protocol contains arbitrary matrix functions bobPrelude⁡:b→f,b\operatorname{bobPrelude}:b\to f,bbobPrelude:b→f,b, alicePrelude⁡x:a,f→a\operatorname{alicePrelude}_x:a,f\to aalicePreludex​:a,f→a, encode⁡k,x:a→a,i\operatorname{encode}_{k,x}:a\to a,iencodek,x​:a→a,i, bob⁡k:o,b→f,b\operatorname{bob}_k:o,b\to f,bbobk​:o,b→f,b, and alice⁡k,x:a,f→a\operatorname{alice}_{k,x}:a,f\to aalicek,x​:a,f→a, with the latter three families supplied for every natural number kkk; here each arrow denotes a function between the corresponding spaces of complex square matrices. No channel condition on these functions, density condition on initial⁡\operatorname{initial}initial, or positivity or sum-to-identity condition on the decoding matrices is part of this structure. The parameters i,o,ni,o,ni,o,n may be zero, while m=0m=0m=0 admits no structure because of the required proof of positivity.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol.Legal

For natural numbers i,o,m,ni,o,m,ni,o,m,n, a protocol PPP with positive internal dimensions a,b,fa,b,fa,b,f and matrix functions of the types specified here, and a feedback mode, this predicate holds exactly when: mode “none” implies f=1f=1f=1; bobPrelude⁡:C[b]×[b]→C([f]×[b])×([f]×[b])\operatorname{bobPrelude}:\mathbb C^{[b]\times[b]}\to\mathbb C^{([f]\times[b])\times([f]\times[b])}bobPrelude:C[b]×[b]→C([f]×[b])×([f]×[b]) is a channel; every alicePrelude⁡x\operatorname{alicePrelude}_xalicePreludex​, for x∈[m]x\in[m]x∈[m], is a channel from [a]×[f][a]\times[f][a]×[f] to [a][a][a]; and, for every natural number k<nk<nk<n, every encode⁡k,x\operatorname{encode}_{k,x}encodek,x​ is a channel from [a][a][a] to [a]×[i][a]\times[i][a]×[i], bob⁡k\operatorname{bob}_kbobk​ is a channel from [o]×[b][o]\times[b][o]×[b] to [f]×[b][f]\times[b][f]×[b], and every alice⁡k,x\operatorname{alice}_{k,x}alicek,x​ is a channel from [a]×[f][a]\times[f][a]×[f] to [a][a][a]. Here [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}, and saying that a function Φ\PhiΦ from matrices on a finite set UUU to matrices on a finite set VVV is a channel means that there exist a natural number qqq and matrices E0,…,Eq−1∈CV×UE_0,\ldots,E_{q-1}\in\mathbb C^{V\times U}E0​,…,Eq−1​∈CV×U such that

∑ℓ=0q−1Eℓ†Eℓ=IU,Φ(X)=∑ℓ=0q−1EℓXEℓ†for every complex matrix X.\sum_{\ell=0}^{q-1}E_\ell^\dagger E_\ell=I_U, \qquad \Phi(X)=\sum_{\ell=0}^{q-1}E_\ell X E_\ell^\dagger \quad\text{for every complex matrix }X.ℓ=0∑q−1​Eℓ†​Eℓ​=IU​,Φ(X)=ℓ=0∑q−1​Eℓ​XEℓ†​for every complex matrix X.

The Kraus family may be empty if these equations permit it. When n=0n=0n=0, all requirements indexed by k<nk<nk<n are vacuous; when m=0m=0m=0, all requirements indexed by xxx are vacuous. No channel conditions are imposed at k≥nk\ge nk≥n, and neither classical nor quantum mode imposes an additional restriction on fff.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, including zero, this defines a structure containing positive natural numbers a,b,fa,b,fa,b,f, proofs of their positivity, and the following functions, where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1} and a matrix function means an arbitrary function between the indicated spaces of complex square matrices: a function bobPrelude⁡\operatorname{bobPrelude}bobPrelude from matrices on [b][b][b] to matrices on [f]×[b][f]\times[b][f]×[b]; for every x∈[m]x\in[m]x∈[m], a function alicePrelude⁡x\operatorname{alicePrelude}_xalicePreludex​ from matrices on [a]×[f][a]\times[f][a]×[f] to matrices on [a][a][a]; for every natural number kkk and x∈[m]x\in[m]x∈[m], a function encode⁡k,x\operatorname{encode}_{k,x}encodek,x​ from matrices on [a][a][a] to matrices on [a]×[i][a]\times[i][a]×[i]; for every natural number kkk, a function bob⁡k\operatorname{bob}_kbobk​ from matrices on [o]×[b][o]\times[b][o]×[b] to matrices on [f]×[b][f]\times[b][f]×[b]; and for every natural number kkk and x∈[m]x\in[m]x∈[m], a function alice⁡k,x\operatorname{alice}_{k,x}alicek,x​ from matrices on [a]×[f][a]\times[f][a]×[f] to matrices on [a][a][a]. These functions are provided for all kkk, including k≥nk\ge nk≥n; the structure imposes no linearity or channel conditions on them. When m=0m=0m=0, the families indexed by xxx have no instances.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol.prelude

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, a protocol PPP with positive internal dimensions a,b,fa,b,fa,b,f, a feedback mode, and a message x∈[m]x\in[m]x∈[m], this defines a function on complex matrices indexed by [a]×[b][a]\times[b][a]×[b], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}. Given such a matrix XXX, first form the matrix YYY on [a]×([f]×[b])[a]\times([f]\times[b])[a]×([f]×[b]) by

Y(u,(r,v)),(u′,(s,v′))=[bobPrelude⁡ ⁣((X(u,t),(u′,t′))t,t′∈[b])](r,v),(s,v′).Y_{(u,(r,v)),(u',(s,v'))} = \left[\operatorname{bobPrelude}\!\left( (X_{(u,t),(u',t')})_{t,t'\in[b]} \right)\right]_{(r,v),(s,v')}.Y(u,(r,v)),(u′,(s,v′))​=[bobPrelude((X(u,t),(u′,t′)​)t,t′∈[b]​)](r,v),(s,v′)​.

Next form ZZZ on ([a]×[f])×[b]([a]\times[f])\times[b]([a]×[f])×[b] by setting Z((u,r),v),((u′,s),v′)=0Z_{((u,r),v),((u',s),v')}=0Z((u,r),v),((u′,s),v′)​=0 when the mode is classical and r≠sr\ne sr=s, and setting it equal to Y(u,(r,v)),(u′,(s,v′))Y_{(u,(r,v)),(u',(s,v'))}Y(u,(r,v)),(u′,(s,v′))​ otherwise. The output WWW is

W(u,v),(u′,v′)=[alicePrelude⁡x ⁣((Z((t,r),v),((t′,s),v′))(t,r),(t′,s)∈[a]×[f])]u,u′.W_{(u,v),(u',v')} = \left[\operatorname{alicePrelude}_x\!\left( (Z_{((t,r),v),((t',s),v')})_{(t,r),(t',s)\in[a]\times[f]} \right)\right]_{u,u'}.W(u,v),(u′,v′)​=[alicePreludex​((Z((t,r),v),((t′,s),v′)​)(t,r),(t′,s)∈[a]×[f]​)]u,u′​.

No legality or channel assumption is required of PPP, and XXX need not be a density matrix. The message argument has no possible value when m=0m=0m=0.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol.receiver

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, a protocol PPP with positive internal dimensions a,b,fa,b,fa,b,f, a feedback mode, an arbitrary function NNN from complex matrices on [i][i][i] to complex matrices on [o][o][o], a message x∈[m]x\in[m]x∈[m], and a complex matrix XXX on [a]×[b][a]\times[b][a]×[b], this defines a matrix on [b][b][b], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}. First produce R0R_0R0​ by applying bobPrelude⁡\operatorname{bobPrelude}bobPrelude to bbb, transferring the resulting fff-register to the aaa-side, and applying alicePrelude⁡x\operatorname{alicePrelude}_xalicePreludex​ to a,fa,fa,f. For k=0,…,n−1k=0,\ldots,n-1k=0,…,n−1, produce Rk+1R_{k+1}Rk+1​ from RkR_kRk​ by applying encode⁡k,x:a→a,i\operatorname{encode}_{k,x}:a\to a,iencodek,x​:a→a,i, then N:i→oN:i\to oN:i→o, then bob⁡k:o,b→f,b\operatorname{bob}_k:o,b\to f,bbobk​:o,b→f,b, transferring fff to the aaa-side, and applying alice⁡k,x:a,f→a\operatorname{alice}_{k,x}:a,f\to aalicek,x​:a,f→a. Each application to selected registers acts on every matrix block with spectator row and column indices fixed, explicitly by

Y(s,u),(s′,v)=[T ⁣((Z(s,r),(s′,r′))r,r′)]u,v.Y_{(s,u),(s',v)} = \left[T\!\left((Z_{(s,r),(s',r')})_{r,r'}\right)\right]_{u,v}.Y(s,u),(s′,v)​=[T((Z(s,r),(s′,r′)​)r,r′​)]u,v​.

Each transfer changes the grouping from (a,(f,b))(a,(f,b))(a,(f,b)) to ((a,f),b)((a,f),b)((a,f),b), and zeros entries with unequal fff-indices exactly when the mode is classical. The returned matrix is

receiver⁡(X)v,v′=∑u∈[a](Rn)(u,v),(u,v′).\operatorname{receiver}(X)_{v,v'} = \sum_{u\in[a]}(R_n)_{(u,v),(u,v')}.receiver(X)v,v′​=u∈[a]∑​(Rn​)(u,v),(u,v′)​.

When n=0n=0n=0, this sum uses the prelude output R0R_0R0​. No legality, channel, or density-matrix hypothesis is imposed; when m=0m=0m=0, the message argument has no possible value.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol.run

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, a protocol PPP with positive internal dimensions a,b,fa,b,fa,b,f, a feedback mode, an arbitrary matrix function NNN from [i][i][i] to [o][o][o], a message x∈[m]x\in[m]x∈[m], and a complex matrix XXX on [a]×[b][a]\times[b][a]×[b], this defines a matrix-valued sequence RkR_kRk​ for every natural number kkk, where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}. Its value R0R_0R0​ is obtained from XXX by applying bobPrelude⁡\operatorname{bobPrelude}bobPrelude to the bbb-register, transferring its fff-output to the aaa-side, and applying alicePrelude⁡x\operatorname{alicePrelude}_xalicePreludex​ to the resulting a,fa,fa,f registers. For each kkk, Rk+1R_{k+1}Rk+1​ is obtained from RkR_kRk​ by applying, in order, encode⁡k,x\operatorname{encode}_{k,x}encodek,x​ to the aaa-register to produce a,ia,ia,i, NNN to iii to produce ooo, bob⁡k\operatorname{bob}_kbobk​ to o,bo,bo,b to produce f,bf,bf,b, transfer of fff to the aaa-side, and alice⁡k,x\operatorname{alice}_{k,x}alicek,x​ to a,fa,fa,f to produce aaa. Here applying any matrix function TTT to selected registers means applying it separately to every block with the remaining row and column indices fixed: after grouping spectator indices as s,s′s,s's,s′, the rule is

Y(s,u),(s′,v)=[T ⁣((Z(s,r),(s′,r′))r,r′)]u,v.Y_{(s,u),(s',v)} = \left[T\!\left((Z_{(s,r),(s',r')})_{r,r'}\right)\right]_{u,v}.Y(s,u),(s′,v)​=[T((Z(s,r),(s′,r′)​)r,r′​)]u,v​.

Each transfer regroups (a,(f,b))(a,(f,b))(a,(f,b)) as ((a,f),b)((a,f),b)((a,f),b), and in classical mode additionally zeros every entry with unequal row and column fff-indices; in the other two modes it only regroups indices. Thus the value at zero already includes the prelude. The sequence is defined even beyond nnn, without legality or channel assumptions, and for arbitrary XXX; if m=0m=0m=0, no message argument exists.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenFeedbackProtocol.step

For any natural numbers i,o,m,ni,o,m,ni,o,m,n, a protocol PPP with positive internal dimensions a,b,fa,b,fa,b,f, a feedback mode, an arbitrary function NNN from complex matrices on [i][i][i] to complex matrices on [o][o][o], a natural number kkk, and x∈[m]x\in[m]x∈[m], this defines one transformation of a complex matrix XXX on [a]×[b][a]\times[b][a]×[b], where [r]={0,…,r−1}[r]=\{0,\ldots,r-1\}[r]={0,…,r−1}. It first forms EEE on ([a]×[i])×[b]([a]\times[i])\times[b]([a]×[i])×[b], then HHH on [a]×([o]×[b])[a]\times([o]\times[b])[a]×([o]×[b]), and then JJJ on [a]×([f]×[b])[a]\times([f]\times[b])[a]×([f]×[b]), by

E((u,r),v),((u′,s),v′)=[encode⁡k,x ⁣((X(t,v),(t′,v′))t,t′∈[a])](u,r),(u′,s),H(u,(r,v)),(u′,(s,v′))=[N ⁣((E((u,t),v),((u′,t′),v′))t,t′∈[i])]r,s,J(u,(r,v)),(u′,(s,v′))=[bob⁡k ⁣((H(u,(t,w)),(u′,(t′,w′)))(t,w),(t′,w′)∈[o]×[b])](r,v),(s,v′).\begin{aligned} E_{((u,r),v),((u',s),v')} &= \left[\operatorname{encode}_{k,x}\!\left( (X_{(t,v),(t',v')})_{t,t'\in[a]} \right)\right]_{(u,r),(u',s)},\\ H_{(u,(r,v)),(u',(s,v'))} &= \left[N\!\left( (E_{((u,t),v),((u',t'),v')})_{t,t'\in[i]} \right)\right]_{r,s},\\ J_{(u,(r,v)),(u',(s,v'))} &= \left[\operatorname{bob}_k\!\left( (H_{(u,(t,w)),(u',(t',w'))})_{(t,w),(t',w')\in[o]\times[b]} \right)\right]_{(r,v),(s,v')}. \end{aligned}E((u,r),v),((u′,s),v′)​H(u,(r,v)),(u′,(s,v′))​J(u,(r,v)),(u′,(s,v′))​​=[encodek,x​((X(t,v),(t′,v′)​)t,t′∈[a]​)](u,r),(u′,s)​,=[N((E((u,t),v),((u′,t′),v′)​)t,t′∈[i]​)]r,s​,=[bobk​((H(u,(t,w)),(u′,(t′,w′))​)(t,w),(t′,w′)∈[o]×[b]​)](r,v),(s,v′)​.​

It regroups JJJ into ZZZ on ([a]×[f])×[b]([a]\times[f])\times[b]([a]×[f])×[b], replacing entries with unequal fff-indices by zero exactly in classical mode, and returns

W(u,v),(u′,v′)=[alice⁡k,x ⁣((Z((t,r),v),((t′,s),v′))(t,r),(t′,s)∈[a]×[f])]u,u′.W_{(u,v),(u',v')} = \left[\operatorname{alice}_{k,x}\!\left( (Z_{((t,r),v),((t',s),v')})_{(t,r),(t',s)\in[a]\times[f]} \right)\right]_{u,u'}.W(u,v),(u′,v′)​=[alicek,x​((Z((t,r),v),((t′,s),v′)​)(t,r),(t′,s)∈[a]×[f]​)]u,u′​.

There is no requirement that k<nk<nk<n, that PPP be legal, that NNN be a channel, or that XXX be a density matrix; m=0m=0m=0 leaves no possible message argument.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenInputEnsemble

For each natural number iii, this structure consists of natural numbers m,bm,bm,b with m>0m>0m>0 and b>0b>0b>0, real numbers pxp_xpx​ for x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m) satisfying px≥0p_x\ge0px​≥0 for every xxx and ∑xpx=1\sum_xp_x=1∑x​px​=1, and complex matrices ρx\rho_xρx​ indexed by Fin(i)×Fin(b)\mathrm{Fin}(i)\times\mathrm{Fin}(b)Fin(i)×Fin(b), each positive semidefinite with trace 111. Thus zero individual weights are allowed, and no condition requires distinct matrices or a common marginal on either register. Although the parameter i=0i=0i=0 is permitted in the structure’s type, no such structure exists at i=0i=0i=0: the index set of each ρx\rho_xρx​ is then empty, making its trace 000, whereas m>0m>0m>0 requires at least one trace-one matrix.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenQuantumCode.Legal

For natural numbers i,o,ni,o,ni,o,n, a quantum code CCC, a mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, and a Boolean assisted\mathrm{assisted}assisted, this predicate requires the following conjunction. The code has a natural number kkk, a positive input-resource dimension a0a_0a0​, and a one-message protocol PPP with positive dimensions a,b,fa,b,fa,b,f, Bob prelude Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Alice prelude Apre,0:a×f→aA_{\mathrm{pre},0}:a\times f\to aApre,0​:a×f→a, and round maps Ej,0:a→a×iE_{j,0}:a\to a\times iEj,0​:a→a×i, Bj:o×b→f×bB_j:o\times b\to f\times bBj​:o×b→f×b, and Aj,0:a×f→aA_{j,0}:a\times f\to aAj,0​:a×f→a, where arrows denote maps between square complex matrix spaces. None mode requires f=1f=1f=1; both preludes must be channels, and Ej,0,Bj,Aj,0E_{j,0},B_j,A_{j,0}Ej,0​,Bj​,Aj,0​ must be channels for every natural number j<nj<nj<n. Its resource matrix QQQ on Fin(a0)×Fin(b)\mathrm{Fin}(a_0)\times\mathrm{Fin}(b)Fin(a0​)×Fin(b) must be positive semidefinite with trace 111, and either assisted=true\mathrm{assisted}=\mathrm{true}assisted=true or Q=s⊗tQ=s\otimes tQ=s⊗t for positive semidefinite trace-one matrices s,ts,ts,t on the a0a_0a0​- and bbb-registers. Its input encoder, from matrices on {0,1}k×Fin(a0)\{0,1\}^k\times\mathrm{Fin}(a_0){0,1}k×Fin(a0​) to matrices on Fin(a)\mathrm{Fin}(a)Fin(a), and its decoder, from matrices on Fin(b)\mathrm{Fin}(b)Fin(b) to matrices on {0,1}k\{0,1\}^k{0,1}k, must also be channels. In every occurrence here, a channel means a map Φ(Z)=∑ℓKℓZKℓ†\Phi(Z)=\sum_\ell K_\ell ZK_\ell^\daggerΦ(Z)=∑ℓ​Kℓ​ZKℓ†​ for every input matrix ZZZ, for a finite, possibly empty, family satisfying ∑ℓKℓ†Kℓ=I\sum_\ell K_\ell^\dagger K_\ell=I∑ℓ​Kℓ†​Kℓ​=I. Zero values of i,o,n,ki,o,n,ki,o,n,k are included; when n=0n=0n=0, the round-channel requirements are vacuous, but the prelude, resource, input-encoder, and decoder requirements remain.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenQuantumCode.channel

For natural numbers i,o,ni,o,ni,o,n, any quantum code CCC, any mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, and any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, this definition gives a map on complex matrices indexed by the kkk-bit strings {0,1}k\{0,1\}^k{0,1}k, with k=C.kk=C.kk=C.k, by

X⟼D ⁣(tr⁡AYn),(tr⁡AYn)r,s=∑a∈Fin(a)(Yn)(a,r),(a,s).X\longmapsto \mathcal D\!\left(\operatorname{tr}_A Y_n\right), \qquad (\operatorname{tr}_A Y_n)_{r,s} =\sum_{a\in\mathrm{Fin}(a)}(Y_n)_{(a,r),(a,s)}.X⟼D(trA​Yn​),(trA​Yn​)r,s​=a∈Fin(a)∑​(Yn​)(a,r),(a,s)​.

Here the code supplies positive dimensions a0,a,b,fa_0,a,b,fa0​,a,b,f, a resource matrix QQQ on a0×ba_0\times ba0​×b, an input-encoder map E:({0,1}k×a0)→a\mathcal E:(\{0,1\}^k\times a_0)\to aE:({0,1}k×a0​)→a, a decoder map D:b→{0,1}k\mathcal D:b\to\{0,1\}^kD:b→{0,1}k, and a protocol with the unique message 000, Bob prelude Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Alice prelude Apre,0:a×f→aA_{\mathrm{pre},0}:a\times f\to aApre,0​:a×f→a, and maps Ej,0:a→a×iE_{j,0}:a\to a\times iEj,0​:a→a×i, Bj:o×b→f×bB_j:o\times b\to f\times bBj​:o×b→f×b, and Aj,0:a×f→aA_{j,0}:a\times f\to aAj,0​:a×f→a for every natural number jjj; register arrows denote maps between square complex matrix spaces. First form a matrix ZZZ on a×ba\times ba×b by Z(a,r),(a′,s)=[E(Wr,s)]a,a′Z_{(a,r),(a',s)}=[\mathcal E(W^{r,s})]_{a,a'}Z(a,r),(a′,s)​=[E(Wr,s)]a,a′​, where W(u,c),(v,d)r,s=Xu,vQ(c,r),(d,s)W^{r,s}_{(u,c),(v,d)}=X_{u,v}Q_{(c,r),(d,s)}W(u,c),(v,d)r,s​=Xu,v​Q(c,r),(d,s)​. Obtain Y0Y_0Y0​ from ZZZ by applying Bob’s prelude, returning the fff-register to Alice, and applying Alice’s prelude. Obtain Yj+1Y_{j+1}Yj+1​ from YjY_jYj​ by applying, in order, Alice’s encoder Ej,0E_{j,0}Ej,0​, NNN to the emitted register, Bob’s map BjB_jBj​, return of the fff-register, and Alice’s map Aj,0A_{j,0}Aj,0​. Every map acting on selected registers is applied separately to each matrix block determined by fixed row and column indices of untouched registers. Returning the register regroups a×(f×b)a\times(f\times b)a×(f×b) as (a×f)×b(a\times f)\times b(a×f)×b, and in classical mode additionally zeros entries whose row and column fff-indices differ; in none and quantum modes it only regroups. No legality or channel assumption is imposed on CCC or NNN, so the defined map is not required here to have a channel representation. Zero values of i,o,n,ki,o,n,ki,o,n,k are allowed, and n=0n=0n=0 still performs the input encoding, both preludes with register return, partial trace, and decoding.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenQuantumCode

For natural numbers i,o,ni,o,ni,o,n, this structure consists of a natural number kkk, a positive natural number a0a_0a0​, a protocol PPP with one message, an arbitrary complex matrix QQQ on Fin(a0)×Fin(b)\mathrm{Fin}(a_0)\times\mathrm{Fin}(b)Fin(a0​)×Fin(b), an arbitrary map from matrices on {0,1}k×Fin(a0)\{0,1\}^k\times\mathrm{Fin}(a_0){0,1}k×Fin(a0​) to matrices on Fin(a)\mathrm{Fin}(a)Fin(a), and an arbitrary map from matrices on Fin(b)\mathrm{Fin}(b)Fin(b) to matrices on {0,1}k\{0,1\}^k{0,1}k; these last two maps are its input encoder and decoder. The protocol supplies positive natural numbers a,b,fa,b,fa,b,f, a Bob prelude map Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, an Alice prelude map Apre,x:a×f→aA_{\mathrm{pre},x}:a\times f\to aApre,x​:a×f→a for x∈Fin(1)x\in\mathrm{Fin}(1)x∈Fin(1), and maps Ej,x:a→a×iE_{j,x}:a\to a\times iEj,x​:a→a×i, Bj:o×b→f×bB_j:o\times b\to f\times bBj​:o×b→f×b, and Aj,x:a×f→aA_{j,x}:a\times f\to aAj,x​:a×f→a for every natural number jjj and x∈Fin(1)x\in\mathrm{Fin}(1)x∈Fin(1), with each register arrow denoting a map between the corresponding square complex matrix spaces. There are no channel, linearity, positivity, trace, feedback, or round-legality requirements in this structure. The parameters i,o,n,ki,o,n,ki,o,n,k may all be zero; when k=0k=0k=0, the bit-string set {0,1}k\{0,1\}^k{0,1}k is a singleton, and the round maps are still stored for every jjj, including j≥nj\ge nj≥n.

QAlgorithms.Papers.Independent.Intakenext100.P50.BowenQuantumCode.start

For natural numbers i,o,ni,o,ni,o,n, any quantum code CCC, and any complex matrix XXX indexed by the kkk-bit strings {0,1}k\{0,1\}^k{0,1}k, where k=C.kk=C.kk=C.k, this definition produces a complex matrix on Fin(a)×Fin(b)\mathrm{Fin}(a)\times\mathrm{Fin}(b)Fin(a)×Fin(b), where a,b>0a,b>0a,b>0 are the code’s protocol register dimensions. Writing a0>0a_0>0a0​>0 for its input-resource dimension, QQQ for its resource matrix on Fin(a0)×Fin(b)\mathrm{Fin}(a_0)\times\mathrm{Fin}(b)Fin(a0​)×Fin(b), and E\mathcal EE for its input-encoder map from matrices on {0,1}k×Fin(a0)\{0,1\}^k\times\mathrm{Fin}(a_0){0,1}k×Fin(a0​) to matrices on Fin(a)\mathrm{Fin}(a)Fin(a), the output is defined by

start⁡C(X)(a,r),(a′,s)=[E(Zr,s)]a,a′,Z(u,c),(v,d)r,s=Xu,v Q(c,r),(d,s).\operatorname{start}_C(X)_{(a,r),(a',s)} = \bigl[\mathcal E(Z^{r,s})\bigr]_{a,a'}, \qquad Z^{r,s}_{(u,c),(v,d)} = X_{u,v}\,Q_{(c,r),(d,s)}.startC​(X)(a,r),(a′,s)​=[E(Zr,s)]a,a′​,Z(u,c),(v,d)r,s​=Xu,v​Q(c,r),(d,s)​.

This applies the encoder separately to each block determined by Bob’s row and column indices r,sr,sr,s. The code also stores a positive feedback dimension, prelude and round maps, and a decoder, but none of those fields is used in this formula. No legality, linearity, channel, density-matrix, or normalization assumption is imposed on CCC, XXX, QQQ, or E\mathcal EE. The natural numbers i,o,n,ki,o,n,ki,o,n,k may be zero; in particular, k=0k=0k=0 gives a singleton set of bit strings.

QAlgorithms.Papers.Independent.Intakenext100.P50.Feedback

This defines a type with exactly three distinct values, called “none,” “classical,” and “quantum,” and supplies a procedure for deciding equality between its values. The definition itself assigns no further properties or behavior to these values.

QAlgorithms.Papers.Independent.Intakenext100.P50.InitialResource

For any finite types A,BA,BA,B, a Boolean value assisted⁡\operatorname{assisted}assisted, and a complex matrix XXX indexed by A×BA\times BA×B, this predicate means that XXX is positive semidefinite with trace 111, and that either assisted⁡=true\operatorname{assisted}=\mathrm{true}assisted=true, or there exist positive semidefinite matrices sss on AAA and ttt on BBB, each of trace 111, such that

X(a,b),(a′,b′)=sa,a′ tb,b′for every a,a′∈A, b,b′∈B.X_{(a,b),(a',b')}=s_{a,a'}\,t_{b,b'} \quad\text{for every }a,a'\in A,\ b,b'\in B.X(a,b),(a′,b′)​=sa,a′​tb,b′​for every a,a′∈A, b,b′∈B.

Thus when the Boolean is false the stated product factorization is required, while when it is true only the positive semidefiniteness and trace condition on XXX remain. Empty finite types are included among the parameters, but if either AAA or BBB is empty, the trace of XXX is zero and the predicate cannot hold.

QAlgorithms.Papers.Independent.Intakenext100.P50.QuantumAchievable

For arbitrary natural numbers i,oi,oi,o, an arbitrary function NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, a feedback mode s∈{none,classical,quantums\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}s∈{none,classical,quantum, a Boolean assistance flag eee, and a real number RRR, this predicate means that for every ε>0\varepsilon>0ε>0 and every δ>0\delta>0δ>0, there is a positive integer n0n_0n0​ such that for every natural number n≥n0n\ge n_0n≥n0​, there is a code transmitting kkk qubits, for some natural number kkk, with

(R−δ)n≤k,1−ε≤Re⁡⟨Ωk∣(id⁡⊗Λ)(∣Ωk⟩⟨Ωk∣)∣Ωk⟩,∣Ωk⟩=2−k/2∑z∈{0,1}k∣z,z⟩.(R-\delta)n\le k,\qquad 1-\varepsilon\le \operatorname{Re}\langle\Omega_k|(\operatorname{id}\otimes\Lambda)(|\Omega_k\rangle\langle\Omega_k|)|\Omega_k\rangle, \qquad |\Omega_k\rangle=2^{-k/2}\sum_{z\in\{0,1\}^k}|z,z\rangle .(R−δ)n≤k,1−ε≤Re⟨Ωk​∣(id⊗Λ)(∣Ωk​⟩⟨Ωk​∣)∣Ωk​⟩,∣Ωk​⟩=2−k/2z∈{0,1}k∑​∣z,z⟩.

Here Λ\LambdaΛ is the following function on matrices, supplied by the code. The code chooses positive integers a0,a,b,fa_0,a,b,fa0​,a,b,f, a positive semidefinite trace-one resource matrix on Ca0⊗Cb\mathbb C^{a_0}\otimes\mathbb C^bCa0​⊗Cb, an input encoding channel from kkk qubits together with Ca0\mathbb C^{a_0}Ca0​ to Alice’s Ca\mathbb C^aCa, and a decoding channel from Bob’s Cb\mathbb C^bCb to kkk qubits. If e=falsee=\mathrm{false}e=false, the resource must be a tensor product of positive semidefinite trace-one matrices on the two resource registers; if e=truee=\mathrm{true}e=true, any joint positive semidefinite trace-one resource is allowed. The input encoder acts on the input matrix tensored with this resource, leaving Bob’s register untouched. Before any use of NNN, Bob applies a channel b→f⊗bb\to f\otimes bb→f⊗b, returns the fff-register to Alice, and Alice applies a channel a⊗f→aa\otimes f\to aa⊗f→a. At each time t=0,…,n−1t=0,\ldots,n-1t=0,…,n−1, Alice applies a channel a→a⊗ia\to a\otimes ia→a⊗i, NNN acts on the iii-register, Bob applies a channel o⊗b→f⊗bo\otimes b\to f\otimes bo⊗b→f⊗b, the fff-register returns to Alice, and Alice applies a channel a⊗f→aa\otimes f\to aa⊗f→a. Returning a register in classical mode sets matrix entries between distinct fff-basis values to zero; quantum mode returns it without this dephasing; no-feedback mode requires f=1f=1f=1. All local applications act separately on matrix blocks indexed by untouched registers. After the nnn uses, Alice’s register is traced out and Bob’s decoder is applied, giving Λ\LambdaΛ. Every channel required here has a finite Kraus representation Φ(X)=∑jEjXEj†\Phi(X)=\sum_j E_jXE_j^\daggerΦ(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I. The protocol’s time-indexed maps are required to be channels only for t<nt<nt<n. There is no assumption that NNN itself is a channel, no positivity assumption on RRR, and no restriction excluding i=0i=0i=0, o=0o=0o=0, or k=0k=0k=0; for k=0k=0k=0, ∣Ωk⟩|\Omega_k\rangle∣Ωk​⟩ has its single amplitude equal to 111.

QAlgorithms.Papers.Independent.Intakenext100.P50.bowenClassicalCapacity

For natural numbers i,oi,oi,o, any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, a feedback mode mode∈{none,classical,quantum}\mathrm{mode}\in\{\mathrm{none},\mathrm{classical},\mathrm{quantum}\}mode∈{none,classical,quantum}, and a Boolean assisted\mathrm{assisted}assisted, this definition takes, in the extended real numbers R∪{−∞,+∞}\mathbb R\cup\{-\infty,+\infty\}R∪{−∞,+∞}, the supremum of the set consisting of 000 together with every finite real R≥0R\ge0R≥0 having the following property: for every real ε>0\varepsilon>0ε>0 and δ>0\delta>0δ>0, there exists a natural number n0>0n_0>0n0​>0 such that every natural number n≥n0n\ge n_0n≥n0​ admits a code with a positive message count mmm, positive register dimensions a,b,fa,b,fa,b,f, initial matrix XXX on a×ba\times ba×b, decoding matrices MxM_xMx​ on bbb, and protocol maps Bpre:b→f×bB_{\mathrm{pre}}:b\to f\times bBpre​:b→f×b, Apre,x:a×f→aA_{\mathrm{pre},x}:a\times f\to aApre,x​:a×f→a, Ek,x:a→a×iE_{k,x}:a\to a\times iEk,x​:a→a×i, Bk:o×b→f×bB_k:o\times b\to f\times bBk​:o×b→f×b, and Ak,x:a×f→aA_{k,x}:a\times f\to aAk,x​:a×f→a, such that

(R−δ)n≤log⁡2m,1−1m∑x∈Fin(m)Re⁡tr⁡ ⁣(Mx tr⁡AYn(x))≤ε.(R-\delta)n\le\log_2m, \qquad 1-\frac1m\sum_{x\in\mathrm{Fin}(m)} \operatorname{Re}\operatorname{tr}\!\left(M_x\,\operatorname{tr}_A Y_n^{(x)}\right)\le\varepsilon.(R−δ)n≤log2​m,1−m1​x∈Fin(m)∑​Retr(Mx​trA​Yn(x)​)≤ε.

Register arrows denote maps between the corresponding square complex matrix spaces. Both kinds of prelude map, and all round maps for k<nk<nk<n and all messages, must be channels: each must have the form Φ(Z)=∑jKjZKj†\Phi(Z)=\sum_jK_jZK_j^\daggerΦ(Z)=∑j​Kj​ZKj†​ for every matrix ZZZ, with a finite, possibly empty, family satisfying ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. None mode requires f=1f=1f=1. The initial matrix XXX must be positive semidefinite with trace 111, and when assisted=false\mathrm{assisted}=\mathrm{false}assisted=false, X=s⊗tX=s\otimes tX=s⊗t for positive semidefinite trace-one matrices s,ts,ts,t. The matrices MxM_xMx​ must be positive semidefinite and sum to IbI_bIb​. For each message xxx, Y0(x)Y_0^{(x)}Y0(x)​ is obtained from XXX by Bob’s prelude, return of the fff-register to Alice, and Alice’s prelude; each subsequent Yk+1(x)Y_{k+1}^{(x)}Yk+1(x)​ is obtained by Alice’s encoder, NNN on the emitted register, Bob’s map, return of the fff-register, and Alice’s round map. Each local map is applied separately to every block determined by fixed row and column indices of untouched registers. Return regroups a×(f×b)a\times(f\times b)a×(f×b) as (a×f)×b(a\times f)\times b(a×f)×b, additionally zeroing entries with different row and column fff-indices exactly in classical mode. The partial trace is (tr⁡AY)b,b′=∑aY(a,b),(a,b′)(\operatorname{tr}_A Y)_{b,b'}=\sum_aY_{(a,b),(a,b')}(trA​Y)b,b′​=∑a​Y(a,b),(a,b′)​. No channel assumption is imposed on NNN, and i,oi,oi,o may be zero. The explicitly included 000 belongs to the supremum’s defining set independently of whether any rate satisfies the stated coding property; the supremum need not be attained and may be +∞+\infty+∞.

QAlgorithms.Papers.Independent.Intakenext100.P50.bowenConditionalInformation

For natural numbers i,oi,oi,o, any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, and an ensemble EEE consisting of positive natural numbers m,bm,bm,b, nonnegative real weights pxp_xpx​ summing to 111, and positive semidefinite trace-one matrices ρx\rho_xρx​ on Fin(i)×Fin(b)\mathrm{Fin}(i)\times\mathrm{Fin}(b)Fin(i)×Fin(b), this definition assigns

S ⁣(∑xpxσx)−∑xpxS(σx)−S ⁣(∑xpxτx)+∑xpxS(τx).S\!\left(\sum_xp_x\sigma_x\right)-\sum_xp_xS(\sigma_x) -S\!\left(\sum_xp_x\tau_x\right)+\sum_xp_xS(\tau_x).S(x∑​px​σx​)−x∑​px​S(σx​)−S(x∑​px​τx​)+x∑​px​S(τx​).

The output matrices σx\sigma_xσx​ on Fin(o)×Fin(b)\mathrm{Fin}(o)\times\mathrm{Fin}(b)Fin(o)×Fin(b) and the matrices τx\tau_xτx​ on Fin(b)\mathrm{Fin}(b)Fin(b) are defined entrywise by

(σx)(u,r),(v,s)=[N ⁣(((ρx)(a,r),(a′,s))a,a′∈Fin(i))]u,v,(τx)r,s=∑a∈Fin(i)(ρx)(a,r),(a,s).(\sigma_x)_{(u,r),(v,s)} = \left[N\!\left(\bigl((\rho_x)_{(a,r),(a',s)}\bigr)_{a,a'\in\mathrm{Fin}(i)}\right)\right]_{u,v}, \qquad (\tau_x)_{r,s}=\sum_{a\in\mathrm{Fin}(i)}(\rho_x)_{(a,r),(a,s)}.(σx​)(u,r),(v,s)​=[N(((ρx​)(a,r),(a′,s)​)a,a′∈Fin(i)​)]u,v​,(τx​)r,s​=a∈Fin(i)∑​(ρx​)(a,r),(a,s)​.

For any matrix AAA, S(A)=−Re⁡tr⁡(f(A))S(A)=-\operatorname{Re}\operatorname{tr}(f(A))S(A)=−Retr(f(A)), where f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t and f(A)f(A)f(A) is the supplied total real continuous functional calculus; the total real logarithm has log⁡20=0\log_2 0=0log2​0=0. In particular, the first weighted matrix sum is formed after applying NNN separately to each block; no linearity or channel condition is assumed for NNN. No positivity or trace condition is separately imposed on the resulting σx\sigma_xσx​. Individual weights may be zero, o=0o=0o=0 is allowed, and the ensemble assumptions cannot be satisfied when i=0i=0i=0.

QAlgorithms.Papers.Independent.Intakenext100.P50.bowenCqInformation

For arbitrary natural numbers d,md,md,m, arbitrary real weights pxp_xpx​ indexed by x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m), and arbitrary complex d×dd\times dd×d matrices ρx\rho_xρx​, this definition assigns

S ⁣(∑x∈Fin(m)pxρx)−∑x∈Fin(m)pxS(ρx),S(A)=−Re⁡tr⁡ ⁣(f(A)),f(t)=tlog⁡2t.S\!\left(\sum_{x\in\mathrm{Fin}(m)}p_x\rho_x\right) -\sum_{x\in\mathrm{Fin}(m)}p_xS(\rho_x), \qquad S(A)=-\operatorname{Re}\operatorname{tr}\!\left(f(A)\right), \quad f(t)=t\log_2t.S​x∈Fin(m)∑​px​ρx​​−x∈Fin(m)∑​px​S(ρx​),S(A)=−Retr(f(A)),f(t)=tlog2​t.

Here f(A)f(A)f(A) means the real continuous functional calculus used in the supplied definition, including its total-function conventions, and each real weight acts on a complex matrix through its inclusion in C\mathbb CC. There is no assumption that the weights are nonnegative or sum to 111, nor that the matrices are Hermitian, positive semidefinite, or trace-one. The scalar logarithm is the total real base-two logarithm, with log⁡20=0\log_2 0=0log2​0=0, so f(0)=0f(0)=0f(0)=0. Both d=0d=0d=0 and m=0m=0m=0 are included; for m=0m=0m=0, both sums are empty, their matrix and scalar values are zero, and the defined quantity is 000.

QAlgorithms.Papers.Independent.Intakenext100.P50.bowenQuantumCapacity

For arbitrary natural numbers i,oi,oi,o, an arbitrary function NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, a feedback mode sss, and a Boolean assistance flag eee, this definition gives the extended-real number

sup⁡({0}∪{R∈R:R≥0 and R satisfies the following condition}).\sup\bigl(\{0\}\cup \{R\in\mathbb R: R\ge0\text{ and }R\text{ satisfies the following condition}\}\bigr).sup({0}∪{R∈R:R≥0 and R satisfies the following condition}).

The condition is that for every ε>0\varepsilon>0ε>0 and δ>0\delta>0δ>0, some positive integer n0n_0n0​ has the property that every natural number n≥n0n\ge n_0n≥n0​ admits a code with a natural number kkk of transmitted qubits, (R−δ)n≤k(R-\delta)n\le k(R−δ)n≤k, and entanglement fidelity at least 1−ε1-\varepsilon1−ε. Such a code chooses positive dimensions a0,a,b,fa_0,a,b,fa0​,a,b,f, a positive semidefinite trace-one resource on a0⊗ba_0\otimes ba0​⊗b, an input encoding channel 2k⊗a0→a2^k\otimes a_0\to a2k⊗a0​→a, a decoding channel b→2kb\to2^kb→2k, and the following communication procedure. First Bob applies a channel b→f⊗bb\to f\otimes bb→f⊗b, returns fff, and Alice applies a channel a⊗f→aa\otimes f\to aa⊗f→a. For each t=0,…,n−1t=0,\ldots,n-1t=0,…,n−1, Alice applies a channel a→a⊗ia\to a\otimes ia→a⊗i, NNN acts on the input register, Bob applies a channel o⊗b→f⊗bo\otimes b\to f\otimes bo⊗b→f⊗b, returns fff, and Alice applies a channel a⊗f→aa\otimes f\to aa⊗f→a. Classical feedback deletes entries between distinct fff-basis values at each return; quantum feedback does not; no feedback requires f=1f=1f=1. If e=falsee=\mathrm{false}e=false, the resource must be a product of two positive semidefinite trace-one matrices; if e=truee=\mathrm{true}e=true, it may be any joint positive semidefinite trace-one matrix. Starting with the input matrix tensored with the resource, applying the input encoder and this procedure, tracing out Alice, and applying Bob’s decoder defines a function Λ\LambdaΛ. Its entanglement fidelity is

Re⁡⟨Ωk∣(id⁡⊗Λ)(∣Ωk⟩⟨Ωk∣)∣Ωk⟩,∣Ωk⟩=2−k/2∑z∈{0,1}k∣z,z⟩.\operatorname{Re}\langle\Omega_k|(\operatorname{id}\otimes\Lambda)(|\Omega_k\rangle\langle\Omega_k|)|\Omega_k\rangle, \qquad |\Omega_k\rangle=2^{-k/2}\sum_{z\in\{0,1\}^k}|z,z\rangle.Re⟨Ωk​∣(id⊗Λ)(∣Ωk​⟩⟨Ωk​∣)∣Ωk​⟩,∣Ωk​⟩=2−k/2z∈{0,1}k∑​∣z,z⟩.

Local maps act on blocks indexed by untouched registers, and every required channel has a finite Kraus representation with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I; time-indexed protocol maps need satisfy this only at times below nnn. The supremum is taken in the extended reals, may be +∞+\infty+∞, and equals 000 if no nonnegative real rate satisfies the condition. Neither NNN being a channel nor i,o>0i,o>0i,o>0 is assumed, and k=0k=0k=0 is allowed.

QAlgorithms.Papers.Independent.Intakenext100.P50.forward

For arbitrary types A,B,I,OA,B,I,OA,B,I,O and any function N:CI×I→CO×ON:\mathbb C^{I\times I}\to\mathbb C^{O\times O}N:CI×I→CO×O, this defines a function from complex matrices indexed by (A×I)×B(A\times I)\times B(A×I)×B to complex matrices indexed by A×(O×B)A\times(O\times B)A×(O×B), with entries

(forward⁡(N)(X))(a,(o,b)),(a′,(o′,b′))=[N ⁣((X((a,i),b),((a′,j),b′))i,j∈I)]o,o′.\bigl(\operatorname{forward}(N)(X)\bigr)_{(a,(o,b)),(a',(o',b'))} = \left[N\!\left((X_{((a,i),b),((a',j),b')})_{i,j\in I}\right)\right]_{o,o'}.(forward(N)(X))(a,(o,b)),(a′,(o′,b′))​=[N((X((a,i),b),((a′,j),b′)​)i,j∈I​)]o,o′​.

The indices a,a′,b,b′a,a',b,b'a,a′,b,b′ specify the block to which NNN is applied, and the output registers are grouped as indicated. All four types may be empty or infinite, and no linearity or channel property is required of NNN.

QAlgorithms.Papers.Independent.Intakenext100.P50.maxConditionalInformation

For natural numbers i,oi,oi,o and any map NNN from complex i×ii\times ii×i matrices to complex o×oo\times oo×o matrices, this definition is the supremum, in the extended real numbers, of all finite real values

S ⁣(∑xpxσx)−∑xpxS(σx)−S ⁣(∑xpxτx)+∑xpxS(τx),S\!\left(\sum_xp_x\sigma_x\right)-\sum_xp_xS(\sigma_x) -S\!\left(\sum_xp_x\tau_x\right)+\sum_xp_xS(\tau_x),S(x∑​px​σx​)−x∑​px​S(σx​)−S(x∑​px​τx​)+x∑​px​S(τx​),

as m,bm,bm,b range over positive natural numbers, pxp_xpx​ over nonnegative real weights indexed by x∈Fin(m)x\in\mathrm{Fin}(m)x∈Fin(m) with ∑xpx=1\sum_xp_x=1∑x​px​=1, and ρx\rho_xρx​ over positive semidefinite trace-one complex matrices on Fin(i)×Fin(b)\mathrm{Fin}(i)\times\mathrm{Fin}(b)Fin(i)×Fin(b). Here

(σx)(u,r),(v,s)=[N ⁣(((ρx)(a,r),(a′,s))a,a′∈Fin(i))]u,v,(τx)r,s=∑a∈Fin(i)(ρx)(a,r),(a,s),(\sigma_x)_{(u,r),(v,s)} = \left[N\!\left(\bigl((\rho_x)_{(a,r),(a',s)}\bigr)_{a,a'\in\mathrm{Fin}(i)}\right)\right]_{u,v}, \qquad (\tau_x)_{r,s}=\sum_{a\in\mathrm{Fin}(i)}(\rho_x)_{(a,r),(a,s)},(σx​)(u,r),(v,s)​=[N(((ρx​)(a,r),(a′,s)​)a,a′∈Fin(i)​)]u,v​,(τx​)r,s​=a∈Fin(i)∑​(ρx​)(a,r),(a,s)​,

and S(A)=−Re⁡tr⁡(f(A))S(A)=-\operatorname{Re}\operatorname{tr}(f(A))S(A)=−Retr(f(A)) for f(t)=tlog⁡2tf(t)=t\log_2tf(t)=tlog2​t, evaluated by the supplied total real continuous functional calculus, with the scalar convention log⁡20=0\log_2 0=0log2​0=0. There is no bound on the auxiliary dimension bbb or the number mmm, no requirement that the ρx\rho_xρx​ share a marginal, and no linearity or channel assumption on NNN. The supremum need not be achieved and may be infinite. In particular, when i=0i=0i=0, no allowed trace-one ρx\rho_xρx​ exists, so the defining set is empty and its extended-real supremum is −∞-\infty−∞.

QAlgorithms.Papers.Independent.Intakenext100.P50.returnRegister

For arbitrary types A,B,FA,B,FA,B,F, with decidable equality on FFF, and a mode chosen from “none,” “classical,” and “quantum,” this defines a function from complex matrices indexed by A×(F×B)A\times(F\times B)A×(F×B) to complex matrices indexed by (A×F)×B(A\times F)\times B(A×F)×B, by

Y((a,r),b),((a′,s),b′)={0,if the mode is classical and r≠s,X(a,(r,b)),(a′,(s,b′)),otherwise.Y_{((a,r),b),((a',s),b')} = \begin{cases} 0,&\text{if the mode is classical and }r\ne s,\\ X_{(a,(r,b)),(a',(s,b'))},&\text{otherwise}. \end{cases}Y((a,r),b),((a′,s),b′)​={0,X(a,(r,b)),(a′,(s,b′))​,​if the mode is classical and r=s,otherwise.​

Consequently, classical mode zeros precisely the entries whose two FFF-indices differ; both other modes simply regroup the indices. No finiteness, nonemptiness, or condition on the input matrix is assumed.

QAlgorithms.Papers.Independent.Intakenext100.P50.tensorFirst

For arbitrary types A,C,BA,C,BA,C,B and any function T:CA×A→CC×CT:\mathbb C^{A\times A}\to\mathbb C^{C\times C}T:CA×A→CC×C, this defines a function from complex matrices indexed by A×BA\times BA×B to complex matrices indexed by C×BC\times BC×B. For every input matrix XXX, its output is given by

(tensorFirst⁡(T)(X))(c,b),(c′,b′)=[T ⁣((X(a,b),(a′,b′))a,a′∈A)]c,c′.\bigl(\operatorname{tensorFirst}(T)(X)\bigr)_{(c,b),(c',b')} = \left[T\!\left((X_{(a,b),(a',b')})_{a,a'\in A}\right)\right]_{c,c'}.(tensorFirst(T)(X))(c,b),(c′,b′)​=[T((X(a,b),(a′,b′)​)a,a′∈A​)]c,c′​.

Thus TTT is evaluated separately on the matrix block obtained by fixing each pair b,b′b,b'b,b′ of second-register indices. The types may be empty or infinite, and TTT is not assumed linear, positive, or a channel.

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

    Confirmed by the moderator at approval.

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