Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for A strong converse for the quantum state merging protocol

Definition
QAlgorithms_Papers_Independent_Bridge50_P40

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

prove2quantum

The objects the formalized statements of A strong converse for the quantum state merging protocol (arXiv:1404.5940) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • entropyInfinity: PDF p.6, (23): infinite-order entropy is minus log of the largest eigenvalue. For densities on nonempty finite registers the range is nonempty and bounded. The value on non-Hermitian matrices is unused.
  • reciprocalEntropy: PDF pp.7--9: the order 1/(2-a), with the infinite-order endpoint at a=2.
  • rree: PDF p.4, (8): finite-valued RREE, as the infimum of finite real upper bounds on Petz divergence over separable density matrices. For normalized inputs and 0 <= a <= 2 this set is nonempty (the full-rank maximally mixed product comparison has finite divergence) and bounded below by zero. This formulation neither totalizes an infinite divergence to zero nor assumes an attained minimizer.
  • TypedLocalInstrument: PDF p.5, Lemma 3: the frozen finite Kraus instrument, in arbitrary register bases and with its outcome count fixed to the flag alphabet's cardinality. Completeness and the private Kraus index are imported, not redeclared.
  • TypedLocalInstrument.kraus: PDF p.5: basis transport of the imported Kraus matrices and outcome label. This changes no matrix block and communicates no private Kraus index.
  • TypedLocalInstrument.branch: PDF p.5: the unnormalized branch acts on every spectator-B matrix block.
  • TypedLocalInstrument.weight: PDF p.5: outcome probability is the trace of the computed branch.
  • TypedLocalInstrument.normalized: PDF p.5: normalize a positive-probability branch. At zero probability use a fixed pure density, whose weighted RREE contribution is zero.
  • TypedLocalInstrument.flagged: PDF p.5, (10): the actual flag on Alice's side, grouped as (X C):B. No division by the branch probability enters this density.
  • cqCoherentConditional: PDF p.13, (65), using p.3 (5): S_a(R|X)=-I_a(X coherent-to R). Trace R (the first physical register), retaining X, after powering the joint state. This is not a difference of joint and marginal Renyi entropies.
  • rankMergingInput: PDF pp.8--9: a single-copy source is in R:(A B) order; its n-copy input contains the supplied arbitrary-Schmidt-rank Bell resource.
  • rankMergingTarget: PDF p.8, (36): the complete pure target retains R and the final Bell pair; Bob holds the reconstructed A register and his original B register.
  • mergingFidelity: PDF p.8, Definition 1: actual complete-output root fidelity. The physical operation is extended by identity on every off-diagonal reference block.
  • RankMergingCode: PDF p.8: an adaptive LOCC protocol. K and L are ranks, not qubit counts. The pinned LOCC definition has arbitrary finite outcome-dependent local rounds, rectangular Kraus operators, ancillas and disposal.
  • RankMergingCode.rate: PDF p.8: signed REAL ebit consumption per input copy.
  • OneWayMergingCode: PDF pp.9--10: one-way Alice-to-Bob merging, with a classical outcome and an uncharged private Kraus environment. Arbitrary positive resource ranks.
  • OneWayMergingCode.operation: PDF p.9, (46), Definition 1: sum over the same classical outcome at both parties. Unlike the bookkeeping omission in (47), the fidelity input below still contains Phi_K. The source and target formulas are unchanged.
  • OneWayMergingCode.rate: PDF p.9, (45): logarithm of alphabet size divided by block length.
  • concentrationInput: PDF p.11: n independent copies, regrouped by laboratory, without an additional supplied entanglement resource.
  • compressionInput: PDF pp.11--12, Definition 3: tensor copies of the same purification, grouped R:A before the physical compression channel.
  • compressionFidelity: PDF p.12, (60): reference-entangled root fidelity of arbitrary CPTP compression/decompression, with A1 identified by its specified basis with A.
  • SourceProtocolAchievable: PDF pp.8,11: a rate is achievable when actual positive-block protocols have rates tending to it and complete-output root fidelities tending to one. The zero-copy entry is immaterial; no supremum or empty-set default is used.
  • MergingRateFidelity: PDF p.8, Definition 1: rate and fidelity must be computed from the SAME actual arbitrary-rank LOCC merging protocol on the fixed source.
  • ConcentrationRateFidelity: PDF p.11, Definition 2: actual concentration on the fixed pure source; no initial resource, arbitrary positive target rank, and root fidelity.
  • CompressionRateFidelity: PDF pp.11--12, Definition 3: arbitrary CPTP encoder and decoder through an arbitrary positive dimension d. Fin d is only a basis choice.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_BipartiteSeparability
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P05
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P09
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P35
import Definitions.Def_QAlgorithms_Papers_Independent_Gap20_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P08

/-!
Naresh Sharma, arXiv:1404.5940v1. All citations use PDF pages.
The independent-paper override permits the pinned accepted-paper imports.
Only their definitions are reused. No background theorem is assumed.
Renyi entropy, cq matrices, and finite Kraus instruments use pinned definitions.
The arbitrary-rank merging models differ from the frozen qubit-count models.
All logarithms are base two and fidelity is root fidelity.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P40

open scoped Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)
open QAlgorithms.Papers.Independent.Information100.P22 (bell)
open QAlgorithms.Papers.Independent.Gap20.P11 (IsLOCC productApply marginalAR)
open QAlgorithms.Papers.Independent.Dependency50.P05 (renyiEntropy)
open QAlgorithms.Papers.Independent.Dependency50.P35 (cq)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.6, (23): infinite-order entropy is minus log of the largest eigenvalue.
For densities on nonempty finite registers the range is nonempty and bounded.
The value on non-Hermitian matrices is unused. -/
def entropyInfinity {I : Type} [Fintype I] [DecidableEq I]
    (rho : Matrix I I ℂ) : ℝ :=
  if h : rho.IsHermitian then -Real.logb 2 (sSup (Set.range h.eigenvalues)) else 0

/-- PDF pp.7--9: the order 1/(2-a), with the infinite-order endpoint at a=2. -/
def reciprocalEntropy {I : Type} [Fintype I] [DecidableEq I]
    (a : ℝ) (rho : Matrix I I ℂ) : ℝ :=
  if a = 2 then entropyInfinity rho else renyiEntropy (1 / (2 - a)) rho

/-- PDF p.4, (8): finite-valued RREE, as the infimum of finite real upper
bounds on Petz divergence over separable density matrices. For normalized inputs
and 0 <= a <= 2 this set is nonempty (the full-rank maximally mixed product
comparison has finite divergence) and bounded below by zero. This formulation
neither totalizes an infinite divergence to zero nor assumes an attained minimizer. -/
def rree {A B : Type} [Fintype A] [Fintype B] [Nonempty A] [Nonempty B]
    (a : ℝ) (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sInf {r : ℝ | ∃ sigma : Matrix (A × B) (A × B) ℂ,
    Entanglement.IsSeparableDensity sigma ∧
      (if a = 1 then QAlgorithms.Papers.Independent.Dependency50.P09.relativeD rho sigma
       else QAlgorithms.Papers.Independent.Dependency50.P09.petzD a rho sigma) ≤ (r : EReal)}

/-- PDF p.5, Lemma 3: the frozen finite Kraus instrument, in arbitrary
register bases and with its outcome count fixed to the flag alphabet's cardinality.
Completeness and the private Kraus index are imported, not redeclared. -/
def TypedLocalInstrument (A C X : Type) [Fintype A] [Fintype C] [Fintype X] :=
  {E : QAlgorithms.Papers.Independent.Information100.P08.Instrument
    (Fintype.card A) (Fintype.card C) // E.outcomes = Fintype.card X}

/-- PDF p.5: basis transport of the imported Kraus matrices and outcome label.
This changes no matrix block and communicates no private Kraus index. -/
def TypedLocalInstrument.kraus {A C X : Type} [Fintype A] [Fintype C] [Fintype X]
    (E : TypedLocalInstrument A C X) (x : X) (e : Fin E.val.rank) : Matrix C A ℂ :=
  fun c a => E.val.kraus (Fin.cast E.property.symm (Fintype.equivFin X x)) e
    (Fintype.equivFin C c) (Fintype.equivFin A a)

/-- PDF p.5: the unnormalized branch acts on every spectator-B matrix block. -/
def TypedLocalInstrument.branch {A C X B : Type} [Fintype A] [Fintype C] [Fintype X]
    (E : TypedLocalInstrument A C X) (x : X) : Superop (A × B) (C × B) :=
  fun rho p q => krausApply (E.kraus x)
    (fun a b => rho (a, p.2) (b, q.2)) p.1 q.1

/-- PDF p.5: outcome probability is the trace of the computed branch. -/
def TypedLocalInstrument.weight {A C X B : Type} [Fintype A] [Fintype C] [Fintype X]
    [Fintype B] (E : TypedLocalInstrument A C X) (rho : Matrix (A × B) (A × B) ℂ)
    (x : X) : ℝ := (E.branch x rho).trace.re

/-- PDF p.5: normalize a positive-probability branch. At zero probability use a
fixed pure density, whose weighted RREE contribution is zero. -/
def TypedLocalInstrument.normalized {A C X B : Type} [Fintype A] [Fintype C] [Fintype X]
    [Fintype B] [Nonempty C] [Nonempty B] (E : TypedLocalInstrument A C X)
    (rho : Matrix (A × B) (A × B) ℂ) (x : X) : Matrix (C × B) (C × B) ℂ :=
  if E.weight rho x = 0 then pureDensity (ket (Classical.choice (inferInstance : Nonempty (C × B))))
  else ((E.weight rho x)⁻¹ : ℂ) • E.branch x rho

/-- PDF p.5, (10): the actual flag on Alice's side, grouped as (X C):B.
No division by the branch probability enters this density. -/
def TypedLocalInstrument.flagged {A C X B : Type} [Fintype A] [Fintype C] [Fintype X]
    (E : TypedLocalInstrument A C X) (rho : Matrix (A × B) (A × B) ℂ) :
    Matrix ((X × C) × B) ((X × C) × B) ℂ :=
  fun p q => if p.1.1 = q.1.1 then
    E.branch p.1.1 rho (p.1.2, p.2) (q.1.2, q.2) else 0

/-- PDF p.13, (65), using p.3 (5): S_a(R|X)=-I_a(X coherent-to R).
Trace R (the first physical register), retaining X, after powering the joint
state. This is not a difference of joint and marginal Renyi entropies. -/
def cqCoherentConditional {R X : Type} [Fintype R] [Fintype X]
    (a : ℝ) (omega : Matrix (R × X) (R × X) ℂ) : ℝ :=
  -(a / (a - 1) * Real.logb 2
    (supportPower (traceLeft (supportPower omega a)) (1 / a)).trace.re)

/-- PDF pp.8--9: a single-copy source is in R:(A B) order; its n-copy
input contains the supplied arbitrary-Schmidt-rank Bell resource. -/
def rankMergingInput {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B)))
    (n K : ℕ) : EuclideanSpace ℂ
      ((Fin n → R) × (((Fin n → A) × Fin K) × ((Fin n → B) × Fin K))) :=
  WithLp.toLp 2 fun p =>
    tensorPow n psi (fun i => (p.1 i, (p.2.1.1 i, p.2.2.1 i))) *
      bell (Fin K) (p.2.1.2, p.2.2.2)

/-- PDF p.8, (36): the complete pure target retains R and the final Bell pair;
Bob holds the reconstructed A register and his original B register. -/
def rankMergingTarget {A B R : Type} (psi : EuclideanSpace ℂ (R × (A × B)))
    (n L : ℕ) : EuclideanSpace ℂ
      ((Fin n → R) × (Fin L × (((Fin n → A) × (Fin n → B)) × Fin L))) :=
  WithLp.toLp 2 fun p =>
    tensorPow n psi (fun i => (p.1 i, (p.2.2.1.1 i, p.2.2.1.2 i))) *
      bell (Fin L) (p.2.1, p.2.2.2)

/-- PDF p.8, Definition 1: actual complete-output root fidelity. The physical
operation is extended by identity on every off-diagonal reference block. -/
def mergingFidelity {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (n K L : ℕ)
    (M : Superop (((Fin n → A) × Fin K) × ((Fin n → B) × Fin K))
      (Fin L × (((Fin n → A) × (Fin n → B)) × Fin L))) : ℝ :=
  rootFidelity (idTensorSuperop M (pureDensity (rankMergingInput psi n K)))
    (pureDensity (rankMergingTarget psi n L))

/-- PDF p.8: an adaptive LOCC protocol. K and L are ranks, not qubit counts.
The pinned LOCC definition has arbitrary finite outcome-dependent local rounds,
rectangular Kraus operators, ancillas and disposal. -/
structure RankMergingCode (A B : Type) [Fintype A] [Fintype B] (n : ℕ) where
  K : ℕ
  L : ℕ
  K_pos : 0 < K
  L_pos : 0 < L
  operation : Superop (((Fin n → A) × Fin K) × ((Fin n → B) × Fin K))
    (Fin L × (((Fin n → A) × (Fin n → B)) × Fin L))
  locc : IsLOCC operation

/-- PDF p.8: signed REAL ebit consumption per input copy. -/
def RankMergingCode.rate {A B : Type} [Fintype A] [Fintype B] {n : ℕ}
    (P : RankMergingCode A B n) : ℝ :=
  (Real.logb 2 P.K - Real.logb 2 P.L) / (n : ℝ)

/-- PDF pp.9--10: one-way Alice-to-Bob merging, with a classical outcome and
an uncharged private Kraus environment. Arbitrary positive resource ranks. -/
structure OneWayMergingCode (A B : Type) [Fintype A] [Fintype B] (n : ℕ) where
  K : ℕ
  L : ℕ
  K_pos : 0 < K
  L_pos : 0 < L
  messages : ℕ
  messages_pos : 0 < messages
  alice : TypedLocalInstrument ((Fin n → A) × Fin K) (Fin L) (Fin messages)
  bob : Fin messages → Superop ((Fin n → B) × Fin K)
    (((Fin n → A) × (Fin n → B)) × Fin L)
  bob_channel : ∀ x, IsChannel (bob x)

/-- PDF p.9, (46), Definition 1: sum over the same classical outcome at both
parties. Unlike the bookkeeping omission in (47), the fidelity input below still
contains Phi_K. The source and target formulas are unchanged. -/
def OneWayMergingCode.operation {A B : Type} [Fintype A] [Fintype B] {n : ℕ}
    (P : OneWayMergingCode A B n) :
    Superop (((Fin n → A) × Fin P.K) × ((Fin n → B) × Fin P.K))
      (Fin P.L × (((Fin n → A) × (Fin n → B)) × Fin P.L)) :=
  fun rho => ∑ x, productApply (krausApply (P.alice.kraus x)) (P.bob x) rho

/-- PDF p.9, (45): logarithm of alphabet size divided by block length. -/
def OneWayMergingCode.rate {A B : Type} [Fintype A] [Fintype B] {n : ℕ}
    (P : OneWayMergingCode A B n) : ℝ := Real.logb 2 P.messages / (n : ℝ)

/-- PDF p.11: n independent copies, regrouped by laboratory, without an
additional supplied entanglement resource. -/
def concentrationInput {A B : Type} (psi : EuclideanSpace ℂ (A × B)) (n : ℕ) :
    EuclideanSpace ℂ ((Fin n → A) × (Fin n → B)) :=
  WithLp.toLp 2 fun p => tensorPow n psi (fun i => (p.1 i, p.2 i))

/-- PDF pp.11--12, Definition 3: tensor copies of the same purification,
grouped R:A before the physical compression channel. -/
def compressionInput {A R : Type} (psi : EuclideanSpace ℂ (R × A)) (n : ℕ) :
    EuclideanSpace ℂ ((Fin n → R) × (Fin n → A)) :=
  WithLp.toLp 2 fun p => tensorPow n psi (fun i => (p.1 i, p.2 i))

/-- PDF p.12, (60): reference-entangled root fidelity of arbitrary CPTP
compression/decompression, with A1 identified by its specified basis with A. -/
def compressionFidelity {A R B : Type} [Fintype A] [Fintype R] [Fintype B]
    (psi : EuclideanSpace ℂ (R × A)) (n : ℕ)
    (C : Superop (Fin n → A) B) (D : Superop B (Fin n → A)) : ℝ :=
  rootFidelity (idTensorSuperop (D ∘ C) (pureDensity (compressionInput psi n)))
    (pureDensity (compressionInput psi n))

/-- PDF pp.8,11: a rate is achievable when actual positive-block protocols
have rates tending to it and complete-output root fidelities tending to one.
The zero-copy entry is immaterial; no supremum or empty-set default is used. -/
def SourceProtocolAchievable (feasible : ℕ → ℝ → ℝ → Prop) (rate : ℝ) : Prop :=
  ∃ rates fidelities : ℕ → ℝ,
    (∀ n, 0 < n → feasible n (rates n) (fidelities n)) ∧
    Filter.Tendsto rates Filter.atTop (nhds rate) ∧
    Filter.Tendsto fidelities Filter.atTop (nhds 1)

/-- PDF p.8, Definition 1: rate and fidelity must be computed from the SAME
actual arbitrary-rank LOCC merging protocol on the fixed source. -/
def MergingRateFidelity {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (n : ℕ) (rate fidelity : ℝ) : Prop :=
  ∃ P : RankMergingCode A B n, rate = P.rate ∧
    fidelity = mergingFidelity psi n P.K P.L P.operation

/-- PDF p.11, Definition 2: actual concentration on the fixed pure source;
no initial resource, arbitrary positive target rank, and root fidelity. -/
def ConcentrationRateFidelity {A B : Type} [Fintype A] [Fintype B]
    (psi : EuclideanSpace ℂ (A × B)) (n : ℕ) (rate fidelity : ℝ) : Prop :=
  ∃ L : ℕ, 0 < L ∧
    ∃ M : Superop ((Fin n → A) × (Fin n → B)) (Fin L × Fin L),
      IsLOCC M ∧ rate = Real.logb 2 L / (n : ℝ) ∧
      fidelity = rootFidelity (M (pureDensity (concentrationInput psi n)))
        (pureDensity (bell (Fin L)))

/-- PDF pp.11--12, Definition 3: arbitrary CPTP encoder and decoder through
an arbitrary positive dimension d. Fin d is only a basis choice. -/
def CompressionRateFidelity {A R : Type} [Fintype A] [Fintype R]
    (psi : EuclideanSpace ℂ (R × A)) (n : ℕ) (rate fidelity : ℝ) : Prop :=
  ∃ d : ℕ, 0 < d ∧ ∃ C : Superop (Fin n → A) (Fin d),
    ∃ D : Superop (Fin d) (Fin n → A),
      IsChannel C ∧ IsChannel D ∧ rate = Real.logb 2 d / (n : ℝ) ∧
      fidelity = compressionFidelity psi n C D

/-- Sanity: exact unit fidelity at a constant rate is an achievable family;
this pins the limit direction and the positive-block convention. -/
example (feasible : ℕ → ℝ → ℝ → Prop) (rate : ℝ)
    (h : ∀ n, 0 < n → feasible n rate 1) : SourceProtocolAchievable feasible rate := by
  exact ⟨fun _ => rate, fun _ => 1, h,
    tendsto_const_nhds, tendsto_const_nhds⟩

/-- Sanity: the endpoint dispatch never evaluates the reciprocal at zero. -/
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ) :
    reciprocalEntropy 2 rho = entropyInfinity rho := by simp [reciprocalEntropy]

/-- Sanity: order one is the imported von Neumann entropy in bits. -/
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ) :
    renyiEntropy 1 rho = vnEntropy rho := by simp [renyiEntropy, vnEntropy]

/-- Sanity: a zero-weight cq letter contributes the zero block. -/
example {R X : Type} (p : X → ℝ) (rho : X → Matrix R R ℂ)
    (x : X) (h : p x = 0) (i j : R) : cq p rho (i,x) (j,x) = 0 := by
  simp [cq, h]

/-- Sanity: rank one means a one-dimensional Bell resource of amplitude one. -/
example : bell (Fin 1) (0,0) = 1 := by simp [bell]

/-- Sanity: signed consumption allows negative values. -/
example : (Real.logb 2 (1 : ℝ) - Real.logb 2 (2 : ℝ)) / (1 : ℝ) = -1 := by
  norm_num

/-- Sanity: an unobserved reference coherence is retained by the identity channel. -/
example {R I : Type} (rho : Matrix (R × I) (R × I) ℂ) :
    idTensorSuperop (fun X : Matrix I I ℂ => X) rho = rho := by
  ext p q
  rfl

/-- Sanity: concentration has one scalar amplitude on the zero-copy register.
The block converse itself explicitly excludes this length. -/
example {A B : Type} (psi : EuclideanSpace ℂ (A × B))
    (p : (Fin 0 → A) × (Fin 0 → B)) : concentrationInput psi 0 p = 1 := by
  simp [concentrationInput, tensorPow]

/-- Sanity: the same tensor convention is used for compression and its reference. -/
example {A R : Type} (psi : EuclideanSpace ℂ (R × A))
    (p : (Fin 0 → R) × (Fin 0 → A)) : compressionInput psi 0 p = 1 := by
  simp [compressionInput, tensorPow]

/-- Sanity: distinct outcome flags have no coherence. -/
example {A C X B : Type} [Fintype A] [Fintype C] [Fintype X]
    (E : TypedLocalInstrument A C X) (rho : Matrix (A × B) (A × B) ℂ)
    (x y : X) (h : x ≠ y) (c d : C) (b e : B) :
    E.flagged rho ((x,c),b) ((y,d),e) = 0 := by
  simp [TypedLocalInstrument.flagged, h]

end QAlgorithms.Papers.Independent.Bridge50.P40
Source
A strong converse for the quantum state merging protocol, arXiv:1404.5940v1, https://arxiv.org/abs/1404.5940v1
Read-back

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

QAlgorithms.Papers.Independent.Bridge50.P40.CompressionRateFidelity

For arbitrary finite types A,RA,RA,R, a complex vector ψ\psiψ indexed by R×AR\times AR×A, a natural number nnn, and real numbers r,fr,fr,f, this property means that there exist a positive integer ddd and channels C\mathcal CC from matrices on AnA^nAn to d×dd\times dd×d matrices and D\mathcal DD in the reverse direction such that

r=log⁡2dn,f=F ⁣((id⁡Rn⊗(D∘C))(∣u⟩⟨u∣), ∣u⟩⟨u∣),u(r,a)=∏t=0n−1ψ(rt,at).r=\frac{\log_2d}{n}, \qquad f=\mathcal F\!\left((\operatorname{id}_{R^n}\otimes(\mathcal D\circ\mathcal C))(|u\rangle\langle u|),\,|u\rangle\langle u|\right), \qquad u(\mathbf r,\mathbf a)=\prod_{t=0}^{n-1}\psi(r_t,a_t).r=nlog2​d​,f=F((idRn​⊗(D∘C))(∣u⟩⟨u∣),∣u⟩⟨u∣),u(r,a)=t=0∏n−1​ψ(rt​,at​).

A channel here means a map admitting a finite representation X↦∑jEjXEj†X\mapsto\sum_jE_jXE_j^\daggerX↦∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I; the reference extension applies the map to each block indexed by two reference labels. The matrix ∣u⟩⟨u∣|u\rangle\langle u|∣u⟩⟨u∣ has entries uxuy‾u_x\overline{u_y}ux​uy​​, and F(X,Y)=Re⁡Tr⁡X YX\mathcal F(X,Y)=\operatorname{Re}\operatorname{Tr}\sqrt{\sqrt X\,Y\sqrt X}F(X,Y)=ReTrX​YX​​, using continuous functional calculus. Neither normalization of ψ\psiψ nor nonemptiness of A,RA,RA,R is required. The case n=0n=0n=0 is included: the vector is the scalar 111 on the unique empty strings and the rate is 000 because real division by zero is zero.

QAlgorithms.Papers.Independent.Bridge50.P40.ConcentrationRateFidelity

For arbitrary finite types A,BA,BA,B, a complex vector ψ\psiψ indexed by A×BA\times BA×B, a natural number nnn, and real numbers r,fr,fr,f, this property means that there exist a positive integer LLL and an operation M\mathcal MM from matrices on An×BnA^n\times B^nAn×Bn to matrices on {0,…,L−1}2\{0,\ldots,L-1\}^2{0,…,L−1}2 such that

r=log⁡2Ln,f=F ⁣(M(∣u⟩⟨u∣), ∣ΦL⟩⟨ΦL∣),u(a,b)=∏t=0n−1ψ(at,bt),ΦL(i,j)=1i=jL.r=\frac{\log_2L}{n}, \qquad f=\mathcal F\!\left(\mathcal M(|u\rangle\langle u|),\,|\Phi_L\rangle\langle\Phi_L|\right), \quad u(\mathbf a,\mathbf b)=\prod_{t=0}^{n-1}\psi(a_t,b_t), \quad \Phi_L(i,j)=\frac{\mathbf1_{i=j}}{\sqrt L}.r=nlog2​L​,f=F(M(∣u⟩⟨u∣),∣ΦL​⟩⟨ΦL​∣),u(a,b)=t=0∏n−1​ψ(at​,bt​),ΦL​(i,j)=L​1i=j​​.

Here AnA^nAn and BnB^nBn are sets of length-nnn strings, ∣w⟩⟨w∣|w\rangle\langle w|∣w⟩⟨w∣ has entries wxwy‾w_x\overline{w_y}wx​wy​​, and F(X,Y)=Re⁡Tr⁡X YX\mathcal F(X,Y)=\operatorname{Re}\operatorname{Tr}\sqrt{\sqrt X\,Y\sqrt X}F(X,Y)=ReTrX​YX​​, using continuous functional calculus. After relabeling each local basis by consecutive integers, M\mathcal MM must be generated by a finite tree whose leaves are identity operations and whose nodes apply, on either party, a finite family of rectangular matrices (Ei)(E_i)(Ei​) satisfying ∑iEi†Ei=I\sum_iE_i^\dagger E_i=I∑i​Ei†​Ei​=I, followed by an outcome-dependent continuation, with all branches summed. The definition assumes neither that ψ\psiψ has norm one nor that A,BA,BA,B are nonempty. It includes n=0n=0n=0, when uuu is the scalar 111 on the unique pair of empty strings and the rate is 000 under the convention that real division by zero equals zero.

QAlgorithms.Papers.Independent.Bridge50.P40.MergingRateFidelity

For arbitrary finite types A,B,RA,B,RA,B,R, a complex vector ψ\psiψ indexed by R×(A×B)R\times(A\times B)R×(A×B), a natural number nnn, and real numbers r,fr,fr,f, this property means that there exist positive integers K,LK,LK,L and an operation M\mathcal MM from matrices on (An×{0,…,K−1})×(Bn×{0,…,K−1})(A^n\times\{0,\ldots,K-1\})\times(B^n\times\{0,\ldots,K-1\})(An×{0,…,K−1})×(Bn×{0,…,K−1}) to matrices on {0,…,L−1}×((An×Bn)×{0,…,L−1})\{0,\ldots,L-1\}\times((A^n\times B^n)\times\{0,\ldots,L-1\}){0,…,L−1}×((An×Bn)×{0,…,L−1}) satisfying

r=log⁡2K−log⁡2Ln,f=F ⁣((id⁡Rn⊗M)(∣u⟩⟨u∣), ∣v⟩⟨v∣),r=\frac{\log_2K-\log_2L}{n}, \qquad f=\mathcal F\!\left((\operatorname{id}_{R^n}\otimes\mathcal M)(|u\rangle\langle u|),\,|v\rangle\langle v|\right),r=nlog2​K−log2​L​,f=F((idRn​⊗M)(∣u⟩⟨u∣),∣v⟩⟨v∣),

where AnA^nAn denotes functions from {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} to AAA, similarly for the other registers,

u(r,((a,i),(b,j)))=(∏t=0n−1ψ(rt,(at,bt)))1i=jK,v(r,(i,((a,b),j)))=(∏t=0n−1ψ(rt,(at,bt)))1i=jL.u(\mathbf r,((\mathbf a,i),(\mathbf b,j))) =\left(\prod_{t=0}^{n-1}\psi(r_t,(a_t,b_t))\right)\frac{\mathbf1_{i=j}}{\sqrt K}, \quad v(\mathbf r,(i,((\mathbf a,\mathbf b),j))) =\left(\prod_{t=0}^{n-1}\psi(r_t,(a_t,b_t))\right)\frac{\mathbf1_{i=j}}{\sqrt L}.u(r,((a,i),(b,j)))=(t=0∏n−1​ψ(rt​,(at​,bt​)))K​1i=j​​,v(r,(i,((a,b),j)))=(t=0∏n−1​ψ(rt​,(at​,bt​)))L​1i=j​​.

Here ∣w⟩⟨w∣|w\rangle\langle w|∣w⟩⟨w∣ has entries wxwy‾w_x\overline{w_y}wx​wy​​, and F(X,Y)=Re⁡Tr⁡X YX\mathcal F(X,Y)=\operatorname{Re}\operatorname{Tr}\sqrt{\sqrt X\,Y\sqrt X}F(X,Y)=ReTrX​YX​​, with square roots interpreted by continuous functional calculus. The reference extension applies M\mathcal MM separately to each matrix block indexed by a pair of reference labels. After relabeling each local basis by consecutive integers, M\mathcal MM must be obtainable from the identity by a finite tree of local operations: at each node one party applies a finite family of rectangular matrices (Ei)(E_i)(Ei​) with ∑iEi†Ei=I\sum_iE_i^\dagger E_i=I∑i​Ei†​Ei​=I, the continuation may depend on iii, and the resulting branches are summed. Neither normalization of ψ\psiψ nor nonemptiness of A,B,RA,B,RA,B,R is assumed. The case n=0n=0n=0 is included: empty products equal 111, and the displayed rate is 000 because real division by zero is defined to be zero.

QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode

For finite types A,BA,BA,B and any natural number nnn, a record of this type consists of positive natural numbers K,L,mK,L,mK,L,m, an instrument for the first party with input register An×{0,…,K−1}A^n\times\{0,\ldots,K-1\}An×{0,…,K−1}, output register {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}, and exactly mmm labelled outcomes, and one channel for the second party for each outcome x∈{0,…,m−1}x\in\{0,\ldots,m-1\}x∈{0,…,m−1}. Explicitly, after the prescribed finite register relabellings, the instrument supplies a natural number rrr, rectangular matrices Ax,eA_{x,e}Ax,e​ for 0≤e<r0\le e<r0≤e<r, and the identity

∑x=0m−1∑e=0r−1Ax,e†Ax,e=I.\sum_{x=0}^{m-1}\sum_{e=0}^{r-1}A_{x,e}^{\dagger}A_{x,e}=I.x=0∑m−1​e=0∑r−1​Ax,e†​Ax,e​=I.

The second party’s channel Bx\mathcal B_xBx​ maps matrices on Bn×{0,…,K−1}B^n\times\{0,\ldots,K-1\}Bn×{0,…,K−1} to matrices on (An×Bn)×{0,…,L−1}(A^n\times B^n)\times\{0,\ldots,L-1\}(An×Bn)×{0,…,L−1}; its channel requirement means that some finite rectangular Kraus family Bx,jB_{x,j}Bx,j​ satisfies ∑jBx,j†Bx,j=I\sum_j B_{x,j}^\dagger B_{x,j}=I∑j​Bx,j†​Bx,j​=I and Bx(Y)=∑jBx,jYBx,j†\mathcal B_x(Y)=\sum_jB_{x,j}YB_{x,j}^\daggerBx​(Y)=∑j​Bx,j​YBx,j†​ for every matrix YYY. Here An,BnA^n,B^nAn,Bn denote length-nnn function registers. The common instrument rank rrr is not explicitly required to be positive. There is no reconstruction or error condition, n=0n=0n=0 is allowed, and neither AAA nor BBB is required to be nonempty.

QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode.operation

For finite types A,BA,BA,B, any natural number nnn, and a record PPP with positive ranks K,LK,LK,L, a positive number mmm of outcomes, first-party instrument matrices Ax,e:An×{0,…,K−1}→{0,…,L−1}A_{x,e}:A^n\times\{0,\ldots,K-1\}\to\{0,\ldots,L-1\}Ax,e​:An×{0,…,K−1}→{0,…,L−1} satisfying ∑x,eAx,e†Ax,e=I\sum_{x,e}A_{x,e}^\dagger A_{x,e}=I∑x,e​Ax,e†​Ax,e​=I, and outcome-dependent second-party channels Bx:Bn×{0,…,K−1}→(An×Bn)×{0,…,L−1}\mathcal B_x:B^n\times\{0,\ldots,K-1\}\to(A^n\times B^n)\times\{0,\ldots,L-1\}Bx​:Bn×{0,…,K−1}→(An×Bn)×{0,…,L−1}, this definition assigns to every input matrix ρ\rhoρ the matrix

∑x=0m−1(Ax⊗Bx)(ρ),Ax(Y)=∑eAx,eYAx,e†.\sum_{x=0}^{m-1}(\mathcal A_x\otimes\mathcal B_x)(\rho), \qquad \mathcal A_x(Y)=\sum_e A_{x,e}YA_{x,e}^\dagger.x=0∑m−1​(Ax​⊗Bx​)(ρ),Ax​(Y)=e∑​Ax,e​YAx,e†​.

The tensor product of maps here is defined by extending their actions on matrix units: its ((u,v),(u′,v′))((u,v),(u',v'))((u,v),(u′,v′)) entry is ∑a,a′,b,b′ρ(a,b),(a′,b′)Ax(∣a⟩⟨a′∣)u,u′Bx(∣b⟩⟨b′∣)v,v′\sum_{a,a',b,b'}\rho_{(a,b),(a',b')}\mathcal A_x(|a\rangle\langle a'|)_{u,u'}\mathcal B_x(|b\rangle\langle b'|)_{v,v'}∑a,a′,b,b′​ρ(a,b),(a′,b′)​Ax​(∣a⟩⟨a′∣)u,u′​Bx​(∣b⟩⟨b′∣)v,v′​. Equivalently, choosing Kraus matrices Bx,jB_{x,j}Bx,j​ for each channel, the resulting matrix is ∑x,e,j(Ax,e⊗Bx,j)ρ(Ax,e⊗Bx,j)†\sum_{x,e,j}(A_{x,e}\otimes B_{x,j})\rho(A_{x,e}\otimes B_{x,j})^\dagger∑x,e,j​(Ax,e​⊗Bx,j​)ρ(Ax,e​⊗Bx,j​)†. The output register is {0,…,L−1}×((An×Bn)×{0,…,L−1})\{0,\ldots,L-1\}\times((A^n\times B^n)\times\{0,\ldots,L-1\}){0,…,L−1}×((An×Bn)×{0,…,L−1}). The input ρ\rhoρ is arbitrary, without a density-matrix assumption, and n=0n=0n=0 and empty AAA or BBB are included.

QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode.rate

For finite types A,BA,BA,B, any natural number nnn, and a record PPP containing positive integer ranks K,LK,LK,L, a positive number mmm of first-party instrument outcomes, an instrument from An×{0,…,K−1}A^n\times\{0,\ldots,K-1\}An×{0,…,K−1} to {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}, and an outcome-dependent channel from Bn×{0,…,K−1}B^n\times\{0,\ldots,K-1\}Bn×{0,…,K−1} to (An×Bn)×{0,…,L−1}(A^n\times B^n)\times\{0,\ldots,L-1\}(An×Bn)×{0,…,L−1}, this definition returns

log⁡2mn.\frac{\log_2 m}{n}.nlog2​m​.

The instrument’s Kraus matrices jointly satisfy ∑x,eAx,e†Ax,e=I\sum_{x,e}A_{x,e}^\dagger A_{x,e}=I∑x,e​Ax,e†​Ax,e​=I, and each second-party channel has a finite Kraus representation with ∑jBx,j†Bx,j=I\sum_jB_{x,j}^\dagger B_{x,j}=I∑j​Bx,j†​Bx,j​=I. Only mmm and nnn enter the rate. At n=0n=0n=0, total real division by zero gives rate 000.

QAlgorithms.Papers.Independent.Bridge50.P40.RankMergingCode

For finite types A,BA,BA,B and any natural number nnn, a record of this type consists of natural numbers K,LK,LK,L, proofs that K>0K>0K>0 and L>0L>0L>0, and an operation from matrices on (An×{0,…,K−1})×(Bn×{0,…,K−1})(A^n\times\{0,\ldots,K-1\})\times(B^n\times\{0,\ldots,K-1\})(An×{0,…,K−1})×(Bn×{0,…,K−1}) to matrices on {0,…,L−1}×((An×Bn)×{0,…,L−1})\{0,\ldots,L-1\}\times((A^n\times B^n)\times\{0,\ldots,L-1\}){0,…,L−1}×((An×Bn)×{0,…,L−1}), together with a proof that this operation has the following finite local construction after relabelling each register by its specified finite enumeration: an identity operation is allowed; otherwise either party applies a finite family of rectangular matrices EiE_iEi​ satisfying ∑iEi†Ei=I\sum_iE_i^\dagger E_i=I∑i​Ei†​Ei​=I to its own register, chooses a recursively constructed continuation for each index iii, and sums the continued outputs Φi((Ei⊗I)X(Ei⊗I)†) \Phi_i((E_i\otimes I)X(E_i\otimes I)^\dagger)Φi​((Ei​⊗I)X(Ei​⊗I)†), or the analogous expression with I⊗EiI\otimes E_iI⊗Ei​ when the second party acts. Thus the local construction is a finite branching tree ending in identity operations. Here AnA^nAn and BnB^nBn are function registers of length nnn. The definition imposes no reconstruction, error, or rate requirement. It permits n=0n=0n=0, when these function registers are singletons, and does not assume that AAA or BBB is nonempty.

QAlgorithms.Papers.Independent.Bridge50.P40.RankMergingCode.rate

For any finite types A,BA,BA,B, any natural number nnn, and any record PPP consisting of positive integer ranks K,LK,LK,L and a finite local operation from (An×{0,…,K−1})×(Bn×{0,…,K−1})(A^n\times\{0,\ldots,K-1\})\times(B^n\times\{0,\ldots,K-1\})(An×{0,…,K−1})×(Bn×{0,…,K−1}) to {0,…,L−1}×((An×Bn)×{0,…,L−1})\{0,\ldots,L-1\}\times((A^n\times B^n)\times\{0,\ldots,L-1\}){0,…,L−1}×((An×Bn)×{0,…,L−1}), its rate is the real number

log⁡2K−log⁡2Ln.\frac{\log_2 K-\log_2 L}{n}.nlog2​K−log2​L​.

The finite local operation is one obtained, after finite register relabelling, from identity operations by recursively summing branches of local Kraus families satisfying ∑iEi†Ei=I\sum_iE_i^\dagger E_i=I∑i​Ei†​Ei​=I. The rate depends only on K,L,nK,L,nK,L,n; it can be negative. The definition includes n=0n=0n=0, in which case total real division by zero makes the rate 000.

QAlgorithms.Papers.Independent.Bridge50.P40.SourceProtocolAchievable

For any predicate feasible(n,r,f)\mathrm{feasible}(n,r,f)feasible(n,r,f) on a natural number and two real numbers, and any real number rrr, this property means that there exist real sequences (rn)n≥0(r_n)_{n\ge0}(rn​)n≥0​ and (fn)n≥0(f_n)_{n\ge0}(fn​)n≥0​ such that feasible(n,rn,fn)\mathrm{feasible}(n,r_n,f_n)feasible(n,rn​,fn​) holds for every n>0n>0n>0, rn→rr_n\to rrn​→r, and fn→1f_n\to1fn​→1 as n→∞n\to\inftyn→∞. There is no feasibility requirement at n=0n=0n=0, and the definition itself imposes no sign or range restrictions on the rates or fidelities.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.branch

For finite types A,C,XA,C,XA,C,X, any type BBB, an instrument EEE with reindexed Kraus matrices Kx,e∈CC×AK_{x,e}\in\mathbb C^{C\times A}Kx,e​∈CC×A, common multiplicity rrr, and completeness ∑x,eKx,e†Kx,e=IA\sum_{x,e}K_{x,e}^{\dagger}K_{x,e}=I_A∑x,e​Kx,e†​Kx,e​=IA​, and any outcome x∈Xx\in Xx∈X, this defines a function Bx\mathcal B_xBx​ from matrices indexed by A×BA\times BA×B to matrices indexed by C×BC\times BC×B, with entries

Bx(ρ)(c,b),(c′,b′)=∑e<r∑u,v∈AKx,e(c,u) ρ(u,b),(v,b′) Kx,e(c′,v)‾.\mathcal B_x(\rho)_{(c,b),(c',b')} =\sum_{e<r}\sum_{u,v\in A} K_{x,e}(c,u)\,\rho_{(u,b),(v,b')}\, \overline{K_{x,e}(c',v)}.Bx​(ρ)(c,b),(c′,b′)​=e<r∑​u,v∈A∑​Kx,e​(c,u)ρ(u,b),(v,b′)​Kx,e​(c′,v)​.

The Kraus matrices are obtained from the stored numbered matrices using the chosen finite-coordinate bijections. No finiteness assumption on BBB, or positivity or normalization assumption on ρ\rhoρ, is imposed. An empty Kraus sum gives the zero matrix.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.flagged

For finite types A,C,XA,C,XA,C,X, any type BBB, an instrument EEE with common Kraus multiplicity rrr and reindexed matrices satisfying ∑x,eKx,e†Kx,e=IA\sum_{x,e}K_{x,e}^{\dagger}K_{x,e}=I_A∑x,e​Kx,e†​Kx,e​=IA​, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines a matrix indexed by (X×C)×B(X\times C)\times B(X×C)×B through

F(ρ)((x,c),b),((y,c′),b′)={∑e<r∑u,v∈AKx,e(c,u)ρ(u,b),(v,b′)Kx,e(c′,v)‾,x=y,0,x≠y.F(\rho)_{((x,c),b),((y,c'),b')}= \begin{cases} \displaystyle\sum_{e<r}\sum_{u,v\in A} K_{x,e}(c,u)\rho_{(u,b),(v,b')} \overline{K_{x,e}(c',v)},&x=y,\\ 0,&x\ne y. \end{cases}F(ρ)((x,c),b),((y,c′),b′)​=⎩⎨⎧​e<r∑​u,v∈A∑​Kx,e​(c,u)ρ(u,b),(v,b′)​Kx,e​(c′,v)​,0,​x=y,x=y.​

The Kraus matrices are transported from the stored numbered coordinates using the chosen finite-type bijections. Thus each diagonal outcome block contains its unnormalized branch output, and different outcome blocks have zero entries between them. No finiteness of BBB, or positivity or normalization of ρ\rhoρ, is assumed; empty index sets are permitted.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.kraus

For finite types A,C,XA,C,XA,C,X, an instrument EEE with ∣X∣|X|∣X∣ outcomes, common natural Kraus multiplicity rrr, and underlying matrices K^j,e∈C∣C∣×∣A∣\widehat K_{j,e}\in\mathbb C^{|C|\times|A|}Kj,e​∈C∣C∣×∣A∣ satisfying ∑j,eK^j,e†K^j,e=I∣A∣\sum_{j,e}\widehat K_{j,e}^{\dagger}\widehat K_{j,e}=I_{|A|}∑j,e​Kj,e†​Kj,e​=I∣A∣​, an outcome x∈Xx\in Xx∈X, and an index e<re<re<r, this defines a matrix Kx,e∈CC×AK_{x,e}\in\mathbb C^{C\times A}Kx,e​∈CC×A by

Kx,e(c,a)=K^ιX(x),e(ιC(c),ιA(a)),K_{x,e}(c,a)=\widehat K_{\iota_X(x),e}\bigl(\iota_C(c),\iota_A(a)\bigr),Kx,e​(c,a)=KιX​(x),e​(ιC​(c),ιA​(a)),

where ιA,ιC,ιX\iota_A,\iota_C,\iota_XιA​,ιC​,ιX​ are the chosen bijections from the finite types to their numbered coordinate sets, with the outcome index transported across the equality between the stored outcome count and ∣X∣|X|∣X∣. Supplying x,ex,ex,e requires XXX and the index set of size rrr to be nonempty; AAA or CCC may still be empty.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument

For finite types A,C,XA,C,XA,C,X, this defines the type of instruments whose underlying input and output coordinates are respectively numbered from 000 to ∣A∣−1|A|-1∣A∣−1 and from 000 to ∣C∣−1|C|-1∣C∣−1, and whose number of outcomes is exactly ∣X∣|X|∣X∣. Such an instrument contains a natural number rrr, used as a common Kraus multiplicity for every outcome, and matrices Kj,e∈C∣C∣×∣A∣K_{j,e}\in\mathbb C^{|C|\times|A|}Kj,e​∈C∣C∣×∣A∣ satisfying

∑j<∣X∣∑e<rKj,e†Kj,e=I∣A∣.\sum_{j<|X|}\sum_{e<r}K_{j,e}^{\dagger}K_{j,e}=I_{|A|}.j<∣X∣∑​e<r∑​Kj,e†​Kj,e​=I∣A∣​.

Neither the outcome count nor rrr is required to be positive. If either is zero, completeness forces AAA to be empty; thus such data cannot exist with an empty Kraus family and nonempty AAA.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.normalized

For finite types A,C,X,BA,C,X,BA,C,X,B, with C,BC,BC,B nonempty, an instrument EEE, any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and any outcome x∈Xx\in Xx∈X, let

Y(c,b),(c′,b′)=∑e<r∑u,v∈AKx,e(c,u)ρ(u,b),(v,b′)Kx,e(c′,v)‾,w=Re⁡tr⁡Y,Y_{(c,b),(c',b')}= \sum_{e<r}\sum_{u,v\in A} K_{x,e}(c,u)\rho_{(u,b),(v,b')} \overline{K_{x,e}(c',v)},\qquad w=\operatorname{Re}\operatorname{tr}Y,Y(c,b),(c′,b′)​=e<r∑​u,v∈A∑​Kx,e​(c,u)ρ(u,b),(v,b′)​Kx,e​(c′,v)​,w=RetrY,

where the reindexed Kraus matrices satisfy ∑x,eKx,e†Kx,e=IA\sum_{x,e}K_{x,e}^{\dagger}K_{x,e}=I_A∑x,e​Kx,e†​Kx,e​=IA​. This defines w−1Yw^{-1}Yw−1Y when w≠0w\ne0w=0. When w=0w=0w=0, it instead returns the matrix whose sole nonzero entry is 111 at (z0,z0)(z_0,z_0)(z0​,z0​), for a point z0∈C×Bz_0\in C\times Bz0​∈C×B selected by classical choice. The zero branch is tested using only the real part of the trace, even if Y≠0Y\ne0Y=0. No positivity or density assumption on ρ\rhoρ, or positivity assumption on nonzero www, is required.

QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.weight

For finite types A,C,X,BA,C,X,BA,C,X,B, an instrument EEE with Kraus matrices Kx,e∈CC×AK_{x,e}\in\mathbb C^{C\times A}Kx,e​∈CC×A, common multiplicity rrr, and completeness ∑x,eKx,e†Kx,e=IA\sum_{x,e}K_{x,e}^{\dagger}K_{x,e}=I_A∑x,e​Kx,e†​Kx,e​=IA​, any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and any x∈Xx\in Xx∈X, this defines

wx(ρ)=Re⁡∑c∈C, b∈B∑e<r∑u,v∈AKx,e(c,u) ρ(u,b),(v,b) Kx,e(c,v)‾.w_x(\rho)= \operatorname{Re}\sum_{c\in C,\ b\in B} \sum_{e<r}\sum_{u,v\in A} K_{x,e}(c,u)\,\rho_{(u,b),(v,b)}\, \overline{K_{x,e}(c,v)}.wx​(ρ)=Rec∈C, b∈B∑​e<r∑​u,v∈A∑​Kx,e​(c,u)ρ(u,b),(v,b)​Kx,e​(c,v)​.

The matrices Kx,eK_{x,e}Kx,e​ are the stored Kraus matrices transported to the named finite types. Thus wx(ρ)w_x(\rho)wx​(ρ) is the real part of the trace of the corresponding branch output. Since ρ\rhoρ is arbitrary, the definition does not require this number to be nonnegative or at most 111. Empty trace or Kraus sums give 000.

QAlgorithms.Papers.Independent.Bridge50.P40.compressionFidelity

For finite types A,R,BA,R,BA,R,B, any amplitude vector ψ\psiψ on R×AR\times AR×A, any natural number nnn, and arbitrary functions CCC from matrices on AnA^nAn to matrices on BBB and DDD from matrices on BBB to matrices on AnA^nAn, let v(r,a)=∏i=0n−1ψ(ri,ai)v(r,a)=\prod_{i=0}^{n-1}\psi(r_i,a_i)v(r,a)=∏i=0n−1​ψ(ri​,ai​) and ρv=∣v⟩⟨v∣\rho_v=|v\rangle\langle v|ρv​=∣v⟩⟨v∣, whose entries are vxvy‾v_x\overline{v_y}vx​vy​​. This definition returns

Re⁡tr⁡Ω ρv Ω,Ω=(idRn⊗(D∘C))(ρv).\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\Omega}\,\rho_v\,\sqrt{\Omega}}, \qquad \Omega=(\mathrm{id}_{R^n}\otimes(D\circ C))(\rho_v).RetrΩ​ρv​Ω​​,Ω=(idRn​⊗(D∘C))(ρv​).

The extension applies D∘CD\circ CD∘C separately to each matrix block indexed by two reference labels, and the square roots mean the total real continuous functional calculus appearing in the code. Neither CCC nor DDD is required to be linear or a channel, and ψ\psiψ is not required to have norm 111. Empty finite types and n=0n=0n=0 are allowed; at n=0n=0n=0, vvv has the unique amplitude 111. The definition itself imposes no [0,1][0,1][0,1] bound on its value.

QAlgorithms.Papers.Independent.Bridge50.P40.compressionInput

For any types A,RA,RA,R, any complex amplitude vector ψ\psiψ indexed by R×AR\times AR×A, and any natural number nnn, this definition produces an amplitude vector indexed by pairs of functions r:{0,…,n−1}→Rr:\{0,\ldots,n-1\}\to Rr:{0,…,n−1}→R and a:{0,…,n−1}→Aa:\{0,\ldots,n-1\}\to Aa:{0,…,n−1}→A, whose coordinate is

∏i=0n−1ψ(ri,ai).\prod_{i=0}^{n-1}\psi(r_i,a_i).i=0∏n−1​ψ(ri​,ai​).

There are no finiteness, nonemptiness, square-summability, or normalization hypotheses. When n=0n=0n=0, the unique coordinate is the empty product 111.

QAlgorithms.Papers.Independent.Bridge50.P40.concentrationInput

For any types A,BA,BA,B, any complex amplitude vector ψ\psiψ indexed by A×BA\times BA×B, and any natural number nnn, this definition produces an amplitude vector indexed by pairs (a,b)(a,b)(a,b) of functions a:{0,…,n−1}→Aa:\{0,\ldots,n-1\}\to Aa:{0,…,n−1}→A and b:{0,…,n−1}→Bb:\{0,\ldots,n-1\}\to Bb:{0,…,n−1}→B, with coordinate

∏i=0n−1ψ(ai,bi).\prod_{i=0}^{n-1}\psi(a_i,b_i).i=0∏n−1​ψ(ai​,bi​).

No finiteness, nonemptiness, square-summability, or normalization assumption is imposed on the types or amplitudes. For n=0n=0n=0, both function registers have one element and the empty product gives its amplitude as 111.

QAlgorithms.Papers.Independent.Bridge50.P40.cqCoherentConditional

For finite types R,XR,XR,X, any real aaa, and any complex matrix ω\omegaω indexed by R×XR\times XR×X, define Pt(Z)=cfc⁡[z↦0 if z=0, otherwise zt](Z)P_t(Z)=\operatorname{cfc}[z\mapsto0\text{ if }z=0,\text{ otherwise }z^t](Z)Pt​(Z)=cfc[z↦0 if z=0, otherwise zt](Z), using total real powers. This declaration defines

−aa−1log⁡2 ⁣(Re⁡tr⁡[P1/a((∑r∈RPa(ω)(r,x),(r,y))x,y∈X)]).-\frac{a}{a-1}\log_2\!\left( \operatorname{Re}\operatorname{tr}\left[ P_{1/a}\left( \left(\sum_{r\in R}P_a(\omega)_{(r,x),(r,y)}\right)_{x,y\in X} \right)\right]\right).−a−1a​log2​​Retr​P1/a​​(r∈R∑​Pa​(ω)(r,x),(r,y)​)x,y∈X​​​​.

There is no assumption that ω\omegaω is positive, normalized, or diagonal in the XXX register. Both finite types may be empty. Real division and logarithms are total, with 1/0=01/0=01/0=0 and log⁡20=0\log_2 0=0log2​0=0; in particular, the defined value is 000 at a=0a=0a=0 and at a=1a=1a=1. The function used for P0P_0P0​ is zero at 000 and one elsewhere.

QAlgorithms.Papers.Independent.Bridge50.P40.entropyInfinity

For any finite type III with decidable equality and any complex matrix ρ\rhoρ indexed by III, this defines

H∞(ρ)={−log⁡2 ⁣(sup⁡{λ:λ is an eigenvalue of ρ}),ρ is Hermitian,0,ρ is not Hermitian.H_\infty(\rho)= \begin{cases} -\log_2\!\bigl(\sup\{\lambda:\lambda\text{ is an eigenvalue of }\rho\}\bigr), &\rho\text{ is Hermitian},\\ 0,&\rho\text{ is not Hermitian}. \end{cases}H∞​(ρ)={−log2​(sup{λ:λ is an eigenvalue of ρ}),0,​ρ is Hermitian,ρ is not Hermitian.​

The eigenvalues in the Hermitian branch are real. There is no positivity or trace normalization assumption on ρ\rhoρ. The logarithm is the total real logarithm: log⁡20=0\log_2 0=0log2​0=0, and for negative arguments it equals the logarithm of their absolute value. If III is empty, the real supremum of the empty eigenvalue range is 000, so the result is 000.

QAlgorithms.Papers.Independent.Bridge50.P40.mergingFidelity

For finite types A,B,RA,B,RA,B,R, any complex amplitude vector ψ\psiψ indexed by R×(A×B)R\times(A\times B)R×(A×B), natural numbers n,K,Ln,K,Ln,K,L, and any function MMM from matrices on (An×{0,…,K−1})×(Bn×{0,…,K−1})(A^n\times\{0,\ldots,K-1\})\times(B^n\times\{0,\ldots,K-1\})(An×{0,…,K−1})×(Bn×{0,…,K−1}) to matrices on {0,…,L−1}×((An×Bn)×{0,…,L−1})\{0,\ldots,L-1\}\times((A^n\times B^n)\times\{0,\ldots,L-1\}){0,…,L−1}×((An×Bn)×{0,…,L−1}), this definition returns

Re⁡tr⁡Ω Θ Ω,Ω=(idRn⊗M)(∣u⟩⟨u∣),Θ=∣v⟩⟨v∣.\operatorname{Re}\operatorname{tr} \sqrt{\sqrt{\Omega}\,\Theta\,\sqrt{\Omega}}, \qquad \Omega=(\mathrm{id}_{R^n}\otimes M)(|u\rangle\langle u|), \quad \Theta=|v\rangle\langle v|.RetrΩ​ΘΩ​​,Ω=(idRn​⊗M)(∣u⟩⟨u∣),Θ=∣v⟩⟨v∣.

Here AnA^nAn means the functions from {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} to AAA, and similarly for the other powers; the vectors have coordinates

u(r,((a,i),(b,j)))=(∏t=0n−1ψ(rt,(at,bt)))1i=jK,v(r,(i,((a,b),j)))=(∏t=0n−1ψ(rt,(at,bt)))1i=jL.u(r,((a,i),(b,j)))= \left(\prod_{t=0}^{n-1}\psi(r_t,(a_t,b_t))\right) \frac{\mathbf1_{i=j}}{\sqrt K}, \qquad v(r,(i,((a,b),j)))= \left(\prod_{t=0}^{n-1}\psi(r_t,(a_t,b_t))\right) \frac{\mathbf1_{i=j}}{\sqrt L}.u(r,((a,i),(b,j)))=(t=0∏n−1​ψ(rt​,(at​,bt​)))K​1i=j​​,v(r,(i,((a,b),j)))=(t=0∏n−1​ψ(rt​,(at​,bt​)))L​1i=j​​.

For any amplitude vector www, ∣w⟩⟨w∣|w\rangle\langle w|∣w⟩⟨w∣ has entries wxwy‾w_x\overline{w_y}wx​wy​​. The extension id⊗M\mathrm{id}\otimes Mid⊗M applies MMM separately to each matrix block indexed by a pair of reference labels. Every square root in the fidelity expression is the total real continuous functional calculus used in the definition. No normalization of ψ\psiψ, channel property or linearity of MMM, nonemptiness of the finite types, or positivity of n,K,Ln,K,Ln,K,L is assumed. At n=0n=0n=0, the amplitude products are 111; K=0K=0K=0 and L=0L=0L=0 give empty corresponding registers. No assertion that the returned real number lies in [0,1][0,1][0,1] is part of this definition.

QAlgorithms.Papers.Independent.Bridge50.P40.rankMergingInput

For any types A,B,RA,B,RA,B,R, any vector ψ\psiψ indexed by R×(A×B)R\times(A\times B)R×(A×B), and natural numbers n,Kn,Kn,K, this defines a vector indexed by

Rn×((An×{0,…,K−1})×(Bn×{0,…,K−1}))R^n\times\bigl((A^n\times\{0,\ldots,K-1\})\times (B^n\times\{0,\ldots,K-1\})\bigr)Rn×((An×{0,…,K−1})×(Bn×{0,…,K−1}))

whose coefficient at (r,((a,u),(b,v)))(r,((a,u),(b,v)))(r,((a,u),(b,v))) is

(∏i=0n−1ψ(ri,(ai,bi))){(K)−1,u=v,0,u≠v.\left(\prod_{i=0}^{n-1}\psi(r_i,(a_i,b_i))\right) \begin{cases} (\sqrt K)^{-1},&u=v,\\ 0,&u\ne v. \end{cases}(i=0∏n−1​ψ(ri​,(ai​,bi​))){(K​)−1,0,​u=v,u=v.​

No finiteness assumptions on A,B,RA,B,RA,B,R, and no normalization assumption on ψ\psiψ, are imposed. At n=0n=0n=0, the product is 111, so the coefficients reduce to those of the displayed maximally entangled factor. At K=0K=0K=0, the output index type is empty, so the vector has no coefficients.

QAlgorithms.Papers.Independent.Bridge50.P40.rankMergingTarget

For any types A,B,RA,B,RA,B,R, any vector ψ\psiψ indexed by R×(A×B)R\times(A\times B)R×(A×B), and natural numbers n,Ln,Ln,L, this defines a vector indexed by

Rn×({0,…,L−1}×((An×Bn)×{0,…,L−1}))R^n\times\bigl(\{0,\ldots,L-1\}\times ((A^n\times B^n)\times\{0,\ldots,L-1\})\bigr)Rn×({0,…,L−1}×((An×Bn)×{0,…,L−1}))

whose coefficient at (r,(u,((a,b),v)))(r,(u,((a,b),v)))(r,(u,((a,b),v))) is

(∏i=0n−1ψ(ri,(ai,bi))){(L)−1,u=v,0,u≠v.\left(\prod_{i=0}^{n-1}\psi(r_i,(a_i,b_i))\right) \begin{cases} (\sqrt L)^{-1},&u=v,\\ 0,&u\ne v. \end{cases}(i=0∏n−1​ψ(ri​,(ai​,bi​))){(L​)−1,0,​u=v,u=v.​

No finiteness assumptions on A,B,RA,B,RA,B,R, and no normalization assumption on ψ\psiψ, are imposed. At n=0n=0n=0, the product is 111. At L=0L=0L=0, the output index type is empty, so the vector has no coefficients.

QAlgorithms.Papers.Independent.Bridge50.P40.reciprocalEntropy

For any finite type III with decidable equality, real number aaa, and complex matrix ρ\rhoρ indexed by III, this defines H∞(ρ)H_\infty(\rho)H∞​(ρ) when a=2a=2a=2, where H∞(ρ)H_\infty(\rho)H∞​(ρ) is minus the total base-two logarithm of the largest real eigenvalue if ρ\rhoρ is Hermitian, and 000 otherwise. When a≠2a\ne2a=2, put q=1/(2−a)q=1/(2-a)q=1/(2−a); the result is the real-valued Rényi expression

{log⁡2Re⁡tr⁡ ⁣(cfc⁡[x↦1x≠0](ρ)),q=0,−Re⁡tr⁡ ⁣(cfc⁡[x↦xlog⁡2x](ρ)),q=1,log⁡2Re⁡tr⁡ ⁣(cfc⁡[x↦xq](ρ))1−q,q≠0,1.\begin{cases} \log_2\operatorname{Re}\operatorname{tr}\!\left(\operatorname{cfc}[x\mapsto\mathbf1_{x\ne0}](\rho)\right),&q=0,\\ -\operatorname{Re}\operatorname{tr}\!\left(\operatorname{cfc}[x\mapsto x\log_2x](\rho)\right),&q=1,\\ \dfrac{\log_2\operatorname{Re}\operatorname{tr}\!\left(\operatorname{cfc}[x\mapsto x^q](\rho)\right)}{1-q},&q\ne0,1. \end{cases}⎩⎨⎧​log2​Retr(cfc[x↦1x=0​](ρ)),−Retr(cfc[x↦xlog2​x](ρ)),1−qlog2​Retr(cfc[x↦xq](ρ))​,​q=0,q=1,q=0,1.​

Here cfc⁡\operatorname{cfc}cfc denotes continuous functional calculus, real powers and logarithms use their total real definitions, and no positivity or normalization of ρ\rhoρ is assumed. For a≠2a\ne2a=2, qqq cannot be 000, and q=1q=1q=1 precisely when a=1a=1a=1. Empty III is permitted.

QAlgorithms.Papers.Independent.Bridge50.P40.rree

For finite nonempty types A,BA,BA,B, any real aaa, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines the real infimum

inf⁡{r∈R:∃σ separable density matrix, Da(ρ,σ)≤r},\inf\{r\in\mathbb R:\exists\sigma\text{ separable density matrix},\ D_a(\rho,\sigma)\le r\},inf{r∈R:∃σ separable density matrix, Da​(ρ,σ)≤r},

where separability means that, for some natural qqq, σ=∑j<qwj(Aj⊗Bj)\sigma=\sum_{j<q}w_j(A_j\otimes B_j)σ=∑j<q​wj​(Aj​⊗Bj​), with wj≥0w_j\ge0wj​≥0, ∑jwj=1\sum_jw_j=1∑j​wj​=1, and every Aj,BjA_j,B_jAj​,Bj​ positive semidefinite with trace 111. Write K\mathcal KK for the condition ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ, and define Pt(Z)=cfc⁡[x↦0 if x=0, otherwise xt](Z)P_t(Z)=\operatorname{cfc}[x\mapsto 0\text{ if }x=0,\text{ otherwise }x^t](Z)Pt​(Z)=cfc[x↦0 if x=0, otherwise xt](Z). At a=1a=1a=1, DaD_aDa​ is +∞+\infty+∞ if K\mathcal KK fails, and otherwise is

Re⁡tr⁡ ⁣(cfc⁡[x↦xlog⁡2x](ρ)−ρ cfc⁡[log⁡2](σ)).\operatorname{Re}\operatorname{tr}\!\left( \operatorname{cfc}[x\mapsto x\log_2x](\rho) -\rho\,\operatorname{cfc}[\log_2](\sigma)\right).Retr(cfc[x↦xlog2​x](ρ)−ρcfc[log2​](σ)).

For a≠1a\ne1a=1, it is +∞+\infty+∞ if a>1a>1a>1 and K\mathcal KK fails, and otherwise is

1a−1 L ⁣(Re⁡tr⁡(Pa(ρ)P1−a(σ))),\frac1{a-1}\,\mathcal L\!\left(\operatorname{Re}\operatorname{tr} (P_a(\rho)P_{1-a}(\sigma))\right),a−11​L(Retr(Pa​(ρ)P1−a​(σ))),

where L(z)=−∞\mathcal L(z)=-\inftyL(z)=−∞ for real z≤0z\le0z≤0 and L(z)=log⁡2z\mathcal L(z)=\log_2zL(z)=log2​z for z>0z>0z>0; arithmetic and comparison here take place in the extended reals. There is no density or positivity assumption on ρ\rhoρ, and all real orders aaa are allowed. The outer infimum is in R\mathbb RR: its total definition returns 000 if its defining set is empty or unbounded below.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me