Definitions for A strong converse for the quantum state merging protocol
DefinitionQAlgorithms_Papers_Independent_Bridge50_P40The 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.
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
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 complex vector indexed by , a natural number , and real numbers , this property means that there exist a positive integer and channels from matrices on to matrices and in the reverse direction such that
A channel here means a map admitting a finite representation with ; the reference extension applies the map to each block indexed by two reference labels. The matrix has entries , and , using continuous functional calculus. Neither normalization of nor nonemptiness of is required. The case is included: the vector is the scalar on the unique empty strings and the rate is because real division by zero is zero.
QAlgorithms.Papers.Independent.Bridge50.P40.ConcentrationRateFidelity
For arbitrary finite types , a complex vector indexed by , a natural number , and real numbers , this property means that there exist a positive integer and an operation from matrices on to matrices on such that
Here and are sets of length- strings, has entries , and , using continuous functional calculus. After relabeling each local basis by consecutive integers, 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 satisfying , followed by an outcome-dependent continuation, with all branches summed. The definition assumes neither that has norm one nor that are nonempty. It includes , when is the scalar on the unique pair of empty strings and the rate is under the convention that real division by zero equals zero.
QAlgorithms.Papers.Independent.Bridge50.P40.MergingRateFidelity
For arbitrary finite types , a complex vector indexed by , a natural number , and real numbers , this property means that there exist positive integers and an operation from matrices on to matrices on satisfying
where denotes functions from to , similarly for the other registers,
Here has entries , and , with square roots interpreted by continuous functional calculus. The reference extension applies separately to each matrix block indexed by a pair of reference labels. After relabeling each local basis by consecutive integers, 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 with , the continuation may depend on , and the resulting branches are summed. Neither normalization of nor nonemptiness of is assumed. The case is included: empty products equal , and the displayed rate is because real division by zero is defined to be zero.
QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode
For finite types and any natural number , a record of this type consists of positive natural numbers , an instrument for the first party with input register , output register , and exactly labelled outcomes, and one channel for the second party for each outcome . Explicitly, after the prescribed finite register relabellings, the instrument supplies a natural number , rectangular matrices for , and the identity
The second party’s channel maps matrices on to matrices on ; its channel requirement means that some finite rectangular Kraus family satisfies and for every matrix . Here denote length- function registers. The common instrument rank is not explicitly required to be positive. There is no reconstruction or error condition, is allowed, and neither nor is required to be nonempty.
QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode.operation
For finite types , any natural number , and a record with positive ranks , a positive number of outcomes, first-party instrument matrices satisfying , and outcome-dependent second-party channels , this definition assigns to every input matrix the matrix
The tensor product of maps here is defined by extending their actions on matrix units: its entry is . Equivalently, choosing Kraus matrices for each channel, the resulting matrix is . The output register is . The input is arbitrary, without a density-matrix assumption, and and empty or are included.
QAlgorithms.Papers.Independent.Bridge50.P40.OneWayMergingCode.rate
For finite types , any natural number , and a record containing positive integer ranks , a positive number of first-party instrument outcomes, an instrument from to , and an outcome-dependent channel from to , this definition returns
The instrument’s Kraus matrices jointly satisfy , and each second-party channel has a finite Kraus representation with . Only and enter the rate. At , total real division by zero gives rate .
QAlgorithms.Papers.Independent.Bridge50.P40.RankMergingCode
For finite types and any natural number , a record of this type consists of natural numbers , proofs that and , and an operation from matrices on to matrices on , 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 satisfying to its own register, chooses a recursively constructed continuation for each index , and sums the continued outputs , or the analogous expression with when the second party acts. Thus the local construction is a finite branching tree ending in identity operations. Here and are function registers of length . The definition imposes no reconstruction, error, or rate requirement. It permits , when these function registers are singletons, and does not assume that or is nonempty.
QAlgorithms.Papers.Independent.Bridge50.P40.RankMergingCode.rate
For any finite types , any natural number , and any record consisting of positive integer ranks and a finite local operation from to , its rate is the real number
The finite local operation is one obtained, after finite register relabelling, from identity operations by recursively summing branches of local Kraus families satisfying . The rate depends only on ; it can be negative. The definition includes , in which case total real division by zero makes the rate .
QAlgorithms.Papers.Independent.Bridge50.P40.SourceProtocolAchievable
For any predicate on a natural number and two real numbers, and any real number , this property means that there exist real sequences and such that holds for every , , and as . There is no feasibility requirement at , 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 , any type , an instrument with reindexed Kraus matrices , common multiplicity , and completeness , and any outcome , this defines a function from matrices indexed by to matrices indexed by , with entries
The Kraus matrices are obtained from the stored numbered matrices using the chosen finite-coordinate bijections. No finiteness assumption on , or positivity or normalization assumption on , is imposed. An empty Kraus sum gives the zero matrix.
QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.flagged
For finite types , any type , an instrument with common Kraus multiplicity and reindexed matrices satisfying , and any complex matrix indexed by , this defines a matrix indexed by through
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 , or positivity or normalization of , is assumed; empty index sets are permitted.
QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.kraus
For finite types , an instrument with outcomes, common natural Kraus multiplicity , and underlying matrices satisfying , an outcome , and an index , this defines a matrix by
where 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 . Supplying requires and the index set of size to be nonempty; or may still be empty.
QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument
For finite types , this defines the type of instruments whose underlying input and output coordinates are respectively numbered from to and from to , and whose number of outcomes is exactly . Such an instrument contains a natural number , used as a common Kraus multiplicity for every outcome, and matrices satisfying
Neither the outcome count nor is required to be positive. If either is zero, completeness forces to be empty; thus such data cannot exist with an empty Kraus family and nonempty .
QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.normalized
For finite types , with nonempty, an instrument , any complex matrix indexed by , and any outcome , let
where the reindexed Kraus matrices satisfy . This defines when . When , it instead returns the matrix whose sole nonzero entry is at , for a point selected by classical choice. The zero branch is tested using only the real part of the trace, even if . No positivity or density assumption on , or positivity assumption on nonzero , is required.
QAlgorithms.Papers.Independent.Bridge50.P40.TypedLocalInstrument.weight
For finite types , an instrument with Kraus matrices , common multiplicity , and completeness , any complex matrix indexed by , and any , this defines
The matrices are the stored Kraus matrices transported to the named finite types. Thus is the real part of the trace of the corresponding branch output. Since is arbitrary, the definition does not require this number to be nonnegative or at most . Empty trace or Kraus sums give .
QAlgorithms.Papers.Independent.Bridge50.P40.compressionFidelity
For finite types , any amplitude vector on , any natural number , and arbitrary functions from matrices on to matrices on and from matrices on to matrices on , let and , whose entries are . This definition returns
The extension applies 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 nor is required to be linear or a channel, and is not required to have norm . Empty finite types and are allowed; at , has the unique amplitude . The definition itself imposes no bound on its value.
QAlgorithms.Papers.Independent.Bridge50.P40.compressionInput
For any types , any complex amplitude vector indexed by , and any natural number , this definition produces an amplitude vector indexed by pairs of functions and , whose coordinate is
There are no finiteness, nonemptiness, square-summability, or normalization hypotheses. When , the unique coordinate is the empty product .
QAlgorithms.Papers.Independent.Bridge50.P40.concentrationInput
For any types , any complex amplitude vector indexed by , and any natural number , this definition produces an amplitude vector indexed by pairs of functions and , with coordinate
No finiteness, nonemptiness, square-summability, or normalization assumption is imposed on the types or amplitudes. For , both function registers have one element and the empty product gives its amplitude as .
QAlgorithms.Papers.Independent.Bridge50.P40.cqCoherentConditional
For finite types , any real , and any complex matrix indexed by , define , using total real powers. This declaration defines
There is no assumption that is positive, normalized, or diagonal in the register. Both finite types may be empty. Real division and logarithms are total, with and ; in particular, the defined value is at and at . The function used for is zero at and one elsewhere.
QAlgorithms.Papers.Independent.Bridge50.P40.entropyInfinity
For any finite type with decidable equality and any complex matrix indexed by , this defines
The eigenvalues in the Hermitian branch are real. There is no positivity or trace normalization assumption on . The logarithm is the total real logarithm: , and for negative arguments it equals the logarithm of their absolute value. If is empty, the real supremum of the empty eigenvalue range is , so the result is .
QAlgorithms.Papers.Independent.Bridge50.P40.mergingFidelity
For finite types , any complex amplitude vector indexed by , natural numbers , and any function from matrices on to matrices on , this definition returns
Here means the functions from to , and similarly for the other powers; the vectors have coordinates
For any amplitude vector , has entries . The extension applies 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 , channel property or linearity of , nonemptiness of the finite types, or positivity of is assumed. At , the amplitude products are ; and give empty corresponding registers. No assertion that the returned real number lies in is part of this definition.
QAlgorithms.Papers.Independent.Bridge50.P40.rankMergingInput
For any types , any vector indexed by , and natural numbers , this defines a vector indexed by
whose coefficient at is
No finiteness assumptions on , and no normalization assumption on , are imposed. At , the product is , so the coefficients reduce to those of the displayed maximally entangled factor. At , the output index type is empty, so the vector has no coefficients.
QAlgorithms.Papers.Independent.Bridge50.P40.rankMergingTarget
For any types , any vector indexed by , and natural numbers , this defines a vector indexed by
whose coefficient at is
No finiteness assumptions on , and no normalization assumption on , are imposed. At , the product is . At , the output index type is empty, so the vector has no coefficients.
QAlgorithms.Papers.Independent.Bridge50.P40.reciprocalEntropy
For any finite type with decidable equality, real number , and complex matrix indexed by , this defines when , where is minus the total base-two logarithm of the largest real eigenvalue if is Hermitian, and otherwise. When , put ; the result is the real-valued Rényi expression
Here denotes continuous functional calculus, real powers and logarithms use their total real definitions, and no positivity or normalization of is assumed. For , cannot be , and precisely when . Empty is permitted.
QAlgorithms.Papers.Independent.Bridge50.P40.rree
For finite nonempty types , any real , and any complex matrix indexed by , this defines the real infimum
where separability means that, for some natural , , with , , and every positive semidefinite with trace . Write for the condition , and define . At , is if fails, and otherwise is
For , it is if and fails, and otherwise is
where for real and for ; arithmetic and comparison here take place in the extended reals. There is no density or positivity assumption on , and all real orders are allowed. The outer infimum is in : its total definition returns if its defining set is empty or unbounded below.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.