Definitions for Distilling entanglement from arbitrary resources
DefinitionQAlgorithms_Papers_Independent_Advance50_P05The objects the formalized statements of Distilling entanglement from arbitrary resources (arXiv:1006.1896) are stated in. Each was checked against the paper by a blind read-back and a moderator.
embeddedMES: PDF pp.3,16, (1),(60): the normalized rank-m MES embedded into arbitrary orthonormal local frames U,V. Theorems require m>0 and U,V isometries. The reused epr has density coefficients 1/m, hence ket coefficients 1/sqrt(m).RectangularInstrument: PDF p.7, Definition 4: a rectangular CP instrument. The private Kraus index is distinct from the communicated outcome. A common Kraus count loses no finite-dimensional CP branch, since shorter families can be padded by zero.RectangularInstrument.branch: PDF p.7, Definition 4: each CP branch is unnormalized.RectangularInstrument.flagged: PDF pp.7,9--10: the entire flagged output on C:(B,X), without postselection or division by a branch probability.ForwardProtocol: PDF pp.6--7,10: a forward protocol sends only Alice's classical outcome and applies an outcome-dependent CPTP decoder on Bob. Rectangular Kraus maps include arbitrary local preparation and disposal.ForwardProtocol.operation: PDF p.10, (33): sum every classical branch of the actual forward protocol.finiteLOCCOn: PDF p.6: transport physical local bases separately to the accepted finite adaptive LOCC tree. This neither transposes a matrix nor moves a quantum register between the parties.DistillationDirection: PDF p.6: the two distinct free-communication classes.IsDistillationOperation: PDF pp.6--7: actual protocol membership, never arbitrary joint channels or separable maps supplied in place of LOCC.DistillationCode: PDF pp.6--7, Definitions 1--2: a physical distillation code, with arbitrary positive integer rank and positive ambient local dimensions. Frames fix the MES before its fidelity is evaluated. No entangled ancilla is provided for free.DistillationCode.Meets: PDF pp.6--7: root-fidelity error of the full unconditional output.distillableEntanglementOneShot: PDF p.7, Definition 2: optimize logarithms of all feasible positive integer ranks. This equals optimization over all R>=0 with 2^R<=M in Definition 1. EReal preserves the unbounded endpoint eps>=1. Attainment on eps<1 is asserted in the converse theorems, rather than assumed in this definition.OneShotAttained: PDF p.7: retain the printed operational maximum on its finite domain.fidelityBall: PDF p.5, (11): subnormalized state smoothing with the unmodified root fidelity. No vacuum term and no normalization of a smoothing candidate.acceptanceSet: PDF p.5, (12): all positive effects P<=I with the specified acceptance. This is different from state smoothing and does not require P to be a projector.effectZero: PDF p.4, (7): effect-modified order-zero divergence, extended at zero overlap. The support and BOTH square roots of P occur in the printed order.zeroCoherent: PDF p.5, (13): minimization over every normalized Bob comparison state.smoothedZero: PDF p.4, (9): outer maximum over the fidelity ball, inner minimum over normalized comparison states. Zero candidates give +infinity through dMin.conditionalEffectZero: PDF p.4, (10): conditional effect divergence before effect maximization.effectSmoothedZero: PDF p.4, (10): effect smoothing; for delta>=1 the actual feasible zero effect gives +infinity, not Real.logb 2 0.EffectExtremaAttained: PDF p.4, (10): witnesses for the printed inner minimum and outer maximum.petzTwo: PDF pp.4--6, (5),(17)--(20), alpha=2: the UNNORMALIZED Petz expression. Support mismatch gives +infinity. Zero numerator gives -infinity. There is no division by Tr rho and no sandwiched-Renyi substitution.twoCoherent: PDF pp.5--6: unsmoothed order-two coherent information.smoothedTwo: PDF p.6, (19)--(20): MINIMIZE over subnormalized smoothing candidates at order two, unlike the order-zero maximum.ZeroExtremaAttained: PDF pp.4--6: the attained zero-order smoothing and comparison extrema.TwoExtremaAttained: PDF pp.5--6: the attained order-two smoothing and comparison minima.AlicePreprocessing: PDF pp.7,9,13: all finite instrument preprocessings on Alice, with output dimension and classical outcome count chosen as part of the map.AlicePreprocessing.output: PDF pp.9,13: all unnormalized branches retained, flags at Bob.TwoWayPreprocessing: PDF pp.11,13: general two-way preprocessing with changing output spaces.dependentSpectralMass: PDF p.12, (42): positive-part spectral mass on arbitrary dependent finite spaces. The threshold uses the actual positive block length k+1.dependentSpectralInf: PDF p.12, (42): spectral INF-divergence, allowing arbitrary changing finite output spaces. Empty/unbounded threshold sets have extended values.spectralCoherent: PDF pp.12--13, (45): minimization over ALL normalized comparison-state sequences, with no identical-copy restriction and no prescribed marginals.SpectralMinimumAttained: PDF p.13: the comparison minimum, not just its extremal value, is attained.asymptoticInner: PDF p.12, (40): first positive-block liminf, then the right limit in error. Theorem 1 asserts actual convergence to this computed liminf.asymptoticDistillable: PDF p.12, (40): separate operational value for each assistance class.forwardSequenceScore: PDF p.13, (47): score of a whole sequence of Alice instruments, chosen without any restriction on output growth or relation between different blocks.twoWaySequenceScore: PDF p.13, (48): score of a whole sequence of actual adaptive two-way maps.identityInstrument: PDF p.7: the single-outcome identity instrument, used to pin the instrument and protocol normalization conventions.identityForward: PDF pp.7,10: the identity forward protocol with one communicated outcome.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_QuantumInformation
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P19
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P21
/-!
Buscemi--Datta, arXiv:1006.1896v2, Distilling entanglement from arbitrary resources.
Only pinned accepted definitions are reused. The independent-paper override permits
these reviewed imports; no imported theorem is assumed as a hypothesis.
All new objects are local to this paper. Alice is the first factor, classical flags
belong to Bob, and logarithms are in bits. Positive block length n is indexed by k=n-1.
The operational interpretation is the plan's arbitrary finite adaptive LOCC protocol,
with no uniform bound on rounds, local dimensions, outcomes, or Kraus multiplicities.
No closure of LOCC or compactness of its set is assumed.
The three defective direct bounds are deferred in HARD.md. Compilation is pending.
-/
noncomputable section
namespace QAlgorithms.Papers.Independent.Advance50.P05
open QAlgorithms Filter
open scoped Matrix ComplexConjugate ComplexOrder
open QAlgorithms.Papers.Independent.Dependency50.P19 (first both epr IsIso)
open QAlgorithms.Papers.Independent.Information100.P07 (support)
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower SupportIncluded)
open QAlgorithms.Papers.Independent.Dependency50.P35 (elog marginalAB marginalAC)
open QAlgorithms.Papers.Independent.Support50.P21 (dMin weakPositive PositiveTensorBasis)
open QAlgorithms.Papers.Independent.Information100.P21 (FiniteLOCC)
open QAlgorithms.Papers.Independent.Information100.P67 (IsSubnormalized)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- PDF pp.3,16, (1),(60): the normalized rank-m MES embedded into arbitrary
orthonormal local frames U,V. Theorems require m>0 and U,V isometries.
The reused epr has density coefficients 1/m, hence ket coefficients 1/sqrt(m). -/
def embeddedMES {A B : Type} [Fintype A] [Fintype B] {m : ℕ}
(U : Matrix A (Fin m) ℂ) (V : Matrix B (Fin m) ℂ) : Matrix (A × B) (A × B) ℂ :=
Matrix.kronecker U V * epr m * (Matrix.kronecker U V)ᴴ
/-- PDF p.7, Definition 4: a rectangular CP instrument. The private Kraus
index is distinct from the communicated outcome. A common Kraus count loses
no finite-dimensional CP branch, since shorter families can be padded by zero. -/
structure RectangularInstrument (A C X : Type) [Fintype A] [DecidableEq A]
[Fintype C] [Fintype X] where
krausCount : ℕ
kraus : X → Fin krausCount → Matrix C A ℂ
complete : (∑ x, ∑ j, (kraus x j)ᴴ * kraus x j) = 1
/-- PDF p.7, Definition 4: each CP branch is unnormalized. -/
def RectangularInstrument.branch {A C X : Type} [Fintype A] [DecidableEq A]
[Fintype C] [Fintype X] (I : RectangularInstrument A C X) (x : X) : Superop A C :=
krausApply (I.kraus x)
/-- PDF pp.7,9--10: the entire flagged output on C:(B,X), without
postselection or division by a branch probability. -/
def RectangularInstrument.flagged {A B C X : Type} [Fintype A] [DecidableEq A]
[Fintype C] [Fintype X] [DecidableEq X] (I : RectangularInstrument A C X)
(rho : Matrix (A × B) (A × B) ℂ) : Matrix (C × (B × X)) (C × (B × X)) ℂ :=
fun p q => if p.2.2 = q.2.2 then
first (I.branch p.2.2) rho (p.1, p.2.1) (q.1, q.2.1) else 0
/-- PDF pp.6--7,10: a forward protocol sends only Alice's classical outcome
and applies an outcome-dependent CPTP decoder on Bob. Rectangular Kraus maps
include arbitrary local preparation and disposal. -/
structure ForwardProtocol (A B C D : Type) [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype C] [Fintype D] where
outcomeCount : ℕ
instrument : RectangularInstrument A C (Fin (outcomeCount + 1))
decoder : Fin (outcomeCount + 1) → Superop B D
decoderCPTP : ∀ x, IsChannel (decoder x)
/-- PDF p.10, (33): sum every classical branch of the actual forward protocol. -/
def ForwardProtocol.operation {A B C D : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype C] [Fintype D]
(P : ForwardProtocol A B C D) : Superop (A × B) (C × D) :=
fun rho => ∑ x, both (P.instrument.branch x) (P.decoder x) rho
/-- PDF p.6: transport physical local bases separately to the accepted
finite adaptive LOCC tree. This neither transposes a matrix nor moves a
quantum register between the parties. -/
def finiteLOCCOn {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
(L : Superop (A × B) (C × D)) : Prop :=
FiniteLOCC (fun X : Matrix (Fin (Fintype.card A) × Fin (Fintype.card B))
(Fin (Fintype.card A) × Fin (Fintype.card B)) ℂ =>
let input : Matrix (A × B) (A × B) ℂ := fun i j =>
X ((Fintype.equivFin A) i.1, (Fintype.equivFin B) i.2)
((Fintype.equivFin A) j.1, (Fintype.equivFin B) j.2)
fun i j => L input
((Fintype.equivFin C).symm i.1, (Fintype.equivFin D).symm i.2)
((Fintype.equivFin C).symm j.1, (Fintype.equivFin D).symm j.2))
/-- PDF p.6: the two distinct free-communication classes. -/
inductive DistillationDirection where
| forward
| twoWay
/-- PDF pp.6--7: actual protocol membership, never arbitrary joint channels
or separable maps supplied in place of LOCC. -/
def IsDistillationOperation {A B C D : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype C] [Fintype D]
(direction : DistillationDirection) (L : Superop (A × B) (C × D)) : Prop :=
match direction with
| .forward => ∃ P : ForwardProtocol A B C D, L = P.operation
| .twoWay => finiteLOCCOn L
/-- PDF pp.6--7, Definitions 1--2: a physical distillation code, with arbitrary
positive integer rank and positive ambient local dimensions. Frames fix the
MES before its fidelity is evaluated. No entangled ancilla is provided for free. -/
structure DistillationCode (direction : DistillationDirection) (A B : Type)
[Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B] where
rank : ℕ
rankPos : 0 < rank
outA : ℕ
outB : ℕ
outAPos : 0 < outA
outBPos : 0 < outB
aliceFrame : Matrix (Fin outA) (Fin rank) ℂ
bobFrame : Matrix (Fin outB) (Fin rank) ℂ
aliceIso : IsIso aliceFrame
bobIso : IsIso bobFrame
operation : Superop (A × B) (Fin outA × Fin outB)
allowed : IsDistillationOperation direction operation
/-- PDF pp.6--7: root-fidelity error of the full unconditional output. -/
def DistillationCode.Meets {direction : DistillationDirection} {A B : Type}
[Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
(C : DistillationCode direction A B) (rho : Matrix (A × B) (A × B) ℂ)
(eps : ℝ) : Prop :=
1 - eps ≤ rootFidelity (C.operation rho) (embeddedMES C.aliceFrame C.bobFrame)
/-- PDF p.7, Definition 2: optimize logarithms of all feasible positive integer
ranks. This equals optimization over all R>=0 with 2^R<=M in Definition 1.
EReal preserves the unbounded endpoint eps>=1. Attainment on eps<1 is asserted
in the converse theorems, rather than assumed in this definition. -/
def distillableEntanglementOneShot {A B : Type} [Fintype A] [DecidableEq A] [Fintype B] [DecidableEq B]
(direction : DistillationDirection) (rho : Matrix (A × B) (A × B) ℂ) (eps : ℝ) : EReal :=
sSup {v | ∃ C : DistillationCode direction A B,
C.Meets rho eps ∧ v = (Real.logb 2 (C.rank : ℝ) : EReal)}
/-- PDF p.7: retain the printed operational maximum on its finite domain. -/
def OneShotAttained {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (direction : DistillationDirection)
(rho : Matrix (A × B) (A × B) ℂ) (eps : ℝ) : Prop :=
∃ C : DistillationCode direction A B, C.Meets rho eps ∧
distillableEntanglementOneShot direction rho eps = (Real.logb 2 (C.rank : ℝ) : EReal)
/-- PDF p.5, (11): subnormalized state smoothing with the unmodified root
fidelity. No vacuum term and no normalization of a smoothing candidate. -/
def fidelityBall {I : Type} [Fintype I] [DecidableEq I]
(rho : Matrix I I ℂ) (delta : ℝ) : Set (Matrix I I ℂ) :=
{r | IsSubnormalized r ∧ 1 - delta ^ 2 ≤ rootFidelity rho r ^ 2}
/-- PDF p.5, (12): all positive effects P<=I with the specified acceptance.
This is different from state smoothing and does not require P to be a projector. -/
def acceptanceSet {I : Type} [Fintype I] [DecidableEq I]
(rho : Matrix I I ℂ) (delta : ℝ) : Set (Matrix I I ℂ) :=
{P | IsEffect P ∧ 1 - delta ≤ effectProb P rho}
/-- PDF p.4, (7): effect-modified order-zero divergence, extended at zero
overlap. The support and BOTH square roots of P occur in the printed order. -/
def effectZero {I : Type} [Fintype I] [DecidableEq I]
(rho sigma P : Matrix I I ℂ) : EReal :=
-elog ((cfc Real.sqrt P * support rho * cfc Real.sqrt P * sigma).trace.re)
/-- PDF p.5, (13): minimization over every normalized Bob comparison state. -/
def zeroCoherent {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
sInf {v | ∃ sigma : Matrix B B ℂ, IsDensityMatrix sigma ∧
v = dMin rho (Matrix.kronecker (1 : Matrix A A ℂ) sigma)}
/-- PDF p.4, (9): outer maximum over the fidelity ball, inner minimum over
normalized comparison states. Zero candidates give +infinity through dMin. -/
def smoothedZero {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : EReal :=
sSup {v | ∃ r ∈ fidelityBall rho delta, v = zeroCoherent r}
/-- PDF p.4, (10): conditional effect divergence before effect maximization. -/
def conditionalEffectZero {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho P : Matrix (A × B) (A × B) ℂ) : EReal :=
sInf {v | ∃ sigma : Matrix B B ℂ, IsDensityMatrix sigma ∧
v = effectZero rho (Matrix.kronecker (1 : Matrix A A ℂ) sigma) P}
/-- PDF p.4, (10): effect smoothing; for delta>=1 the actual feasible zero
effect gives +infinity, not Real.logb 2 0. -/
def effectSmoothedZero {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : EReal :=
sSup {v | ∃ P ∈ acceptanceSet rho delta, v = conditionalEffectZero rho P}
/-- PDF p.4, (10): witnesses for the printed inner minimum and outer maximum. -/
def EffectExtremaAttained {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : Prop :=
∃ P ∈ acceptanceSet rho delta, ∃ sigma : Matrix B B ℂ,
IsDensityMatrix sigma ∧ effectSmoothedZero rho delta = conditionalEffectZero rho P ∧
conditionalEffectZero rho P = effectZero rho
(Matrix.kronecker (1 : Matrix A A ℂ) sigma) P
/-- PDF pp.4--6, (5),(17)--(20), alpha=2: the UNNORMALIZED Petz expression.
Support mismatch gives +infinity. Zero numerator gives -infinity.
There is no division by Tr rho and no sandwiched-Renyi substitution. -/
def petzTwo {I : Type} [Fintype I] [DecidableEq I]
(rho sigma : Matrix I I ℂ) : EReal :=
if SupportIncluded rho sigma then
elog ((rho * rho * supportPower sigma (-1)).trace.re)
else ⊤
/-- PDF pp.5--6: unsmoothed order-two coherent information. -/
def twoCoherent {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ) : EReal :=
sInf {v | ∃ sigma : Matrix B B ℂ, IsDensityMatrix sigma ∧
v = petzTwo rho (Matrix.kronecker (1 : Matrix A A ℂ) sigma)}
/-- PDF p.6, (19)--(20): MINIMIZE over subnormalized smoothing candidates
at order two, unlike the order-zero maximum. -/
def smoothedTwo {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : EReal :=
sInf {v | ∃ r ∈ fidelityBall rho delta, v = twoCoherent r}
/-- PDF pp.4--6: the attained zero-order smoothing and comparison extrema. -/
def ZeroExtremaAttained {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : Prop :=
∃ r ∈ fidelityBall rho delta, ∃ sigma : Matrix B B ℂ,
IsDensityMatrix sigma ∧ smoothedZero rho delta = zeroCoherent r ∧
zeroCoherent r = dMin r (Matrix.kronecker (1 : Matrix A A ℂ) sigma)
/-- PDF pp.5--6: the attained order-two smoothing and comparison minima. -/
def TwoExtremaAttained {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (rho : Matrix (A × B) (A × B) ℂ)
(delta : ℝ) : Prop :=
∃ r ∈ fidelityBall rho delta, ∃ sigma : Matrix B B ℂ,
IsDensityMatrix sigma ∧ smoothedTwo rho delta = twoCoherent r ∧
twoCoherent r = petzTwo r (Matrix.kronecker (1 : Matrix A A ℂ) sigma)
/-- PDF pp.7,9,13: all finite instrument preprocessings on Alice, with
output dimension and classical outcome count chosen as part of the map. -/
structure AlicePreprocessing (A : Type) [Fintype A] [DecidableEq A] where
outDim : ℕ
outPos : 0 < outDim
outcomes : ℕ
outcomesPos : 0 < outcomes
instrument : RectangularInstrument A (Fin outDim) (Fin outcomes)
/-- PDF pp.9,13: all unnormalized branches retained, flags at Bob. -/
def AlicePreprocessing.output {A B : Type} [Fintype A] [DecidableEq A]
(P : AlicePreprocessing A) (rho : Matrix (A × B) (A × B) ℂ) :=
P.instrument.flagged rho
/-- PDF pp.11,13: general two-way preprocessing with changing output spaces. -/
structure TwoWayPreprocessing (A B : Type) [Fintype A] [Fintype B] where
outA : ℕ
outB : ℕ
outAPos : 0 < outA
outBPos : 0 < outB
operation : Superop (A × B) (Fin outA × Fin outB)
locc : finiteLOCCOn operation
/-- PDF p.12, (42): positive-part spectral mass on arbitrary dependent
finite spaces. The threshold uses the actual positive block length k+1. -/
def dependentSpectralMass {I : ℕ → Type} [∀ k, Fintype (I k)]
[∀ k, DecidableEq (I k)] (rho sigma : (k : ℕ) → Matrix (I k) (I k) ℂ)
(gamma : ℝ) (k : ℕ) : ℝ :=
let delta := rho k - (Real.rpow 2 (((k + 1 : ℕ) : ℝ) * gamma) : ℂ) • sigma k
(weakPositive delta * delta).trace.re
/-- PDF p.12, (42): spectral INF-divergence, allowing arbitrary changing
finite output spaces. Empty/unbounded threshold sets have extended values. -/
def dependentSpectralInf {I : ℕ → Type} [∀ k, Fintype (I k)]
[∀ k, DecidableEq (I k)] (rho sigma : (k : ℕ) → Matrix (I k) (I k) ℂ) : EReal :=
sSup {v : EReal | ∃ gamma : ℝ, v = (gamma : EReal) ∧
Filter.liminf (dependentSpectralMass rho sigma gamma) atTop = 1}
/-- PDF pp.12--13, (45): minimization over ALL normalized comparison-state
sequences, with no identical-copy restriction and no prescribed marginals. -/
def spectralCoherent {A B : ℕ → Type} [∀ k, Fintype (A k)] [∀ k, DecidableEq (A k)]
[∀ k, Fintype (B k)] [∀ k, DecidableEq (B k)]
(rho : (k : ℕ) → Matrix (A k × B k) (A k × B k) ℂ) : EReal :=
sInf {v | ∃ sigma : (k : ℕ) → Matrix (B k) (B k) ℂ,
(∀ k, IsDensityMatrix (sigma k)) ∧
v = dependentSpectralInf rho (fun k => Matrix.kronecker (1 : Matrix (A k) (A k) ℂ) (sigma k))}
/-- PDF p.13: the comparison minimum, not just its extremal value, is attained. -/
def SpectralMinimumAttained {A B : ℕ → Type}
[∀ k, Fintype (A k)] [∀ k, DecidableEq (A k)]
[∀ k, Fintype (B k)] [∀ k, DecidableEq (B k)]
(rho : (k : ℕ) → Matrix (A k × B k) (A k × B k) ℂ) : Prop :=
∃ sigma : (k : ℕ) → Matrix (B k) (B k) ℂ,
(∀ k, IsDensityMatrix (sigma k)) ∧
spectralCoherent rho = dependentSpectralInf rho
(fun k => Matrix.kronecker (1 : Matrix (A k) (A k) ℂ) (sigma k))
/-- PDF p.12, (40): first positive-block liminf, then the right limit in
error. Theorem 1 asserts actual convergence to this computed liminf. -/
def asymptoticInner {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (direction : DistillationDirection)
(rho : (k : ℕ) → Matrix (PositiveTensorBasis A k × PositiveTensorBasis B k)
(PositiveTensorBasis A k × PositiveTensorBasis B k) ℂ) (eps : ℝ) : EReal :=
Filter.liminf (fun k => (((1 / ((k + 1 : ℕ) : ℝ)) : ℝ) : EReal) *
distillableEntanglementOneShot direction (rho k) eps) atTop
/-- PDF p.12, (40): separate operational value for each assistance class. -/
def asymptoticDistillable {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] (direction : DistillationDirection)
(rho : (k : ℕ) → Matrix (PositiveTensorBasis A k × PositiveTensorBasis B k)
(PositiveTensorBasis A k × PositiveTensorBasis B k) ℂ) : EReal :=
Filter.liminf (asymptoticInner direction rho) (nhdsWithin 0 (Set.Ioi 0))
/-- PDF p.13, (47): score of a whole sequence of Alice instruments, chosen
without any restriction on output growth or relation between different blocks. -/
def forwardSequenceScore {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B]
(rho : (k : ℕ) → Matrix (PositiveTensorBasis A k × PositiveTensorBasis B k)
(PositiveTensorBasis A k × PositiveTensorBasis B k) ℂ)
(P : (k : ℕ) → AlicePreprocessing (PositiveTensorBasis A k)) : EReal :=
spectralCoherent (fun k => (P k).output (rho k))
/-- PDF p.13, (48): score of a whole sequence of actual adaptive two-way maps. -/
def twoWaySequenceScore {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B]
(rho : (k : ℕ) → Matrix (PositiveTensorBasis A k × PositiveTensorBasis B k)
(PositiveTensorBasis A k × PositiveTensorBasis B k) ℂ)
(P : (k : ℕ) → TwoWayPreprocessing (PositiveTensorBasis A k) (PositiveTensorBasis B k)) : EReal :=
spectralCoherent (fun k => (P k).operation (rho k))
/-- PDF p.7: the single-outcome identity instrument, used to pin the
instrument and protocol normalization conventions. -/
def identityInstrument (A : Type) [Fintype A] [DecidableEq A] :
RectangularInstrument A A (Fin 1) where
krausCount := 1
kraus := fun _ _ => 1
complete := by simp
/-- PDF pp.7,10: the identity forward protocol with one communicated outcome. -/
def identityForward (A B : Type) [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] : ForwardProtocol A B A B where
outcomeCount := 0
instrument := identityInstrument A
decoder := fun _ X => X
decoderCPTP := by
intro x
refine ⟨1, (fun _ => 1), ?_, ?_⟩
· simp [IsKrausFamily]
· intro X
simp [krausApply]
/-! Sanity examples: small source cases and agreement with the frozen substrate. -/
example {A B : Type} [Fintype A] [DecidableEq A]
(rho : Matrix (A × B) (A × B) ℂ) (a a2 : A) (b b2 : B) :
(identityInstrument A).flagged rho (a, (b, 0)) (a2, (b2, 0)) =
rho (a, b) (a2, b2) := by
have hbranch : (identityInstrument A).branch (0 : Fin 1) = (fun X => X) := by
funext X
change (∑ j : Fin 1, (1 : Matrix A A ℂ) * X * (1 : Matrix A A ℂ)ᴴ) = X
simp only [Fin.sum_univ_one, Matrix.conjTranspose_one, Matrix.one_mul, Matrix.mul_one]
simp only [RectangularInstrument.flagged, if_pos rfl, hbranch]
rfl
example {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] :
(identityForward A B).operation = (fun X => X) := by
have hbranch : ∀ x : Fin 1, (identityInstrument A).branch x = (fun X => X) := by
intro x
funext X
change (∑ j : Fin 1, (1 : Matrix A A ℂ) * X * (1 : Matrix A A ℂ)ᴴ) = X
simp only [Fin.sum_univ_one, Matrix.conjTranspose_one, Matrix.one_mul, Matrix.mul_one]
funext X
change (∑ x : Fin 1, both ((identityInstrument A).branch x) (fun Y => Y) X) = X
simp only [Fin.sum_univ_one, hbranch]
rfl
example {A B : Type} [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] :
IsDistillationOperation .forward (identityForward A B).operation := ⟨identityForward A B, rfl⟩
example {I : Type} [Fintype I] [DecidableEq I] (rho sigma : Matrix I I ℂ) :
effectZero rho sigma 1 = dMin rho sigma := by
simp [effectZero, dMin, cfc_one,
QAlgorithms.Papers.Independent.Dependency50.P35.tr]
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ)
(delta : ℝ) (hdelta : 1 ≤ delta) :
(0 : Matrix I I ℂ) ∈ acceptanceSet rho delta := by
refine ⟨⟨Matrix.PosSemidef.zero, ?_⟩, ?_⟩
· simpa using (Matrix.PosSemidef.one : (1 : Matrix I I ℂ).PosSemidef)
· simpa [effectProb] using (sub_nonpos.mpr hdelta)
example : embeddedMES (1 : Matrix (Fin 1) (Fin 1) ℂ) 1 = epr 1 := by
simp only [embeddedMES, Matrix.kronecker, Matrix.one_kronecker_one,
Matrix.conjTranspose_one, Matrix.one_mul, Matrix.mul_one]
example {I : Type} [Fintype I] [DecidableEq I] (rho sigma : Matrix I I ℂ) :
effectZero rho sigma 0 = ⊤ := by
simp [effectZero, cfc_zero, elog]
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ)
(h : IsDensityMatrix rho) : (1 : Matrix I I ℂ) ∈ acceptanceSet rho 0 := by
refine ⟨⟨Matrix.PosSemidef.one, ?_⟩, ?_⟩
· rw [sub_self]
exact Matrix.PosSemidef.zero
· simp only [effectProb, Matrix.one_mul, h.2, Complex.one_re, sub_zero, le_refl]
example {I : Type} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ) :
(0 : Matrix I I ℂ) ∈ fidelityBall rho 1 := by
simp [fidelityBall, IsSubnormalized, rootFidelity, cfc_zero, Matrix.PosSemidef.zero]
example {I : Type} [Fintype I] [DecidableEq I]
(rho sigma : Matrix I I ℂ) (h : ¬ SupportIncluded rho sigma) :
petzTwo rho sigma = ⊤ := by
simp [petzTwo, h]
example {A B E : Type} [Fintype B] [Fintype E] :
marginalAC (0 : Matrix (A × (B × E)) (A × (B × E)) ℂ) = 0 ∧
marginalAB (0 : Matrix (A × (B × E)) (A × (B × E)) ℂ) = 0 := by
constructor <;> ext i j <;> simp [marginalAC, marginalAB]
-- Keep the enlarged elaboration budget local to this accepted-definition check.
set_option maxHeartbeats 2000000 in
example {I : Type} [Fintype I] [DecidableEq I]
(rho sigma : (k : ℕ) → Matrix (PositiveTensorBasis I k) (PositiveTensorBasis I k) ℂ) :
dependentSpectralInf rho sigma =
QAlgorithms.Papers.Independent.Support50.P21.spectralInf rho sigma := by
have mass_eq (gamma : ℝ) : dependentSpectralMass rho sigma gamma =
QAlgorithms.Papers.Independent.Support50.P21.spectralMass rho sigma gamma := by
have power_eq (y : ℝ) :
(algebraMap NNReal ℂ (2 : NNReal)) ^ y = (Real.rpow 2 y : ℂ) := by
rw [CFC.rpow_algebraMap]
rfl
funext k
unfold dependentSpectralMass
QAlgorithms.Papers.Independent.Support50.P21.spectralMass
QAlgorithms.Papers.Independent.Dependency50.P35.tr
dsimp only
exact congrArg (fun c : ℂ =>
(weakPositive (rho k - c • sigma k) * (rho k - c • sigma k)).trace.re)
(power_eq (((k + 1 : ℕ) : ℝ) * gamma)).symm
unfold dependentSpectralInf QAlgorithms.Papers.Independent.Support50.P21.spectralInf
simp only [mass_eq]
end QAlgorithms.Papers.Independent.Advance50.P05
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Advance50.P05.AlicePreprocessing
For a finite type with decidable equality, an object of this structure consists of positive natural numbers and , proofs that and , and a rectangular quantum instrument from to with outcomes . Explicitly, the instrument supplies a natural number , common to all outcomes, and complex matrices with rows indexed by and columns indexed by , for and , satisfying
The Kraus count is allowed to be zero, and is allowed to be empty; when is nonempty the completeness equation rules out .
QAlgorithms.Papers.Independent.Advance50.P05.AlicePreprocessing.output
For a finite type with decidable equality, any type without a finiteness assumption, preprocessing data on , and an arbitrary complex matrix indexed by , this definition returns a matrix indexed by , where are the output dimension and outcome count in . If the instrument in has common Kraus count and matrices satisfying , the output entries are
Thus the outcome index is retained as a diagonal flag alongside . No positivity or normalization of is required; empty types and zero Kraus count are governed by the displayed finite sums and completeness equation.
QAlgorithms.Papers.Independent.Advance50.P05.DistillationCode.Meets
For either direction, finite input types with decidable equality, and a distillation code , let be its rank and output dimensions, and its matrices satisfying , and its operation. The operation is required to be a single Alice instrument with an outcome-dependent Bob channel in the forward case, or a finite tree of complete local Kraus instruments on either party in the twoWay case; all branch outputs are summed. For any complex matrix on and any real , this predicate is exactly
where , and all matrix square roots in this formula mean the continuous functional calculus with the real square-root function. No positivity or normalization assumption is imposed on , and is not restricted to an interval. The inequality uses this root-fidelity expression directly, without squaring it.
QAlgorithms.Papers.Independent.Advance50.P05.DistillationCode
For a direction and finite types with decidable equality, this structure supplies positive natural numbers , matrices and satisfying and , and a function from matrices on to matrices on . For the forward direction, must be obtainable from a nonempty finite collection of outcomes, instrument matrices with , and outcome-dependent decoder channels on ; each decoder has a finite Kraus representation with completeness equation , and sums the corresponding tensor-product Kraus actions. For the twoWay direction, after reindexing finite local types by integer sets, must be generated by a finite tree of local Kraus instruments on either party, with complete Kraus families, outcome-dependent continuations, summed branch outputs, and identity operations at the leaves. The numbers cannot be zero, and the isometry equations imply ; the input types are not explicitly required to be nonempty. No input state or accuracy requirement is included in this structure.
QAlgorithms.Papers.Independent.Advance50.P05.DistillationDirection
This defines a type with exactly two distinct values, named forward and twoWay, and no additional data or conditions attached to either value.
QAlgorithms.Papers.Independent.Advance50.P05.EffectExtremaAttained
For finite types with decidable equality, an arbitrary complex matrix indexed by , and any real , let
Let be the orthogonal projector onto the range of , let denote real continuous functional calculus, and define
The predicate asserts that there exist and such that
These are equalities in the extended reals and do not require finite values or unique optimizers. No density hypothesis on , restriction on , or nonemptiness hypothesis on is imposed; if either required witness set is empty, the predicate is false.
QAlgorithms.Papers.Independent.Advance50.P05.ForwardProtocol
For finite types , with decidable equality on , this structure consists of a natural number , an instrument with outcome labels , and a decoder function for each label. The instrument supplies a natural number and matrices satisfying . Each decoder must admit a finite Kraus representation: there exist a natural number and matrices such that
for every complex matrix on . There is always at least one outcome label, including when ; no nonemptiness assumption is made on the four types.
QAlgorithms.Papers.Independent.Advance50.P05.ForwardProtocol.operation
For finite types , with decidable equality on , let supply outcome labels , instrument matrices satisfying , and decoder channels . Each decoder channel has some finite representation with . This defines a function on every complex matrix on by applying the instrument on , applying the decoder indexed by its outcome on , and summing the outcomes; explicitly,
The output is a matrix on , and need not be positive or normalized.
QAlgorithms.Papers.Independent.Advance50.P05.IsDistillationOperation
For finite types , with decidable equality on , a direction and a function from complex matrices on to those on , this predicate has two cases. In the forward case, there must exist a nonempty finite outcome set , a common natural number , matrices satisfying , and decoder functions with finite Kraus representations , , such that
for every matrix . In the twoWay case, after reindexing the local types by finite integer sets, must have a finite recursive construction from identities and local Kraus instruments on either party: each instrument has finitely many matrices satisfying a completeness equation, each outcome selects a recursively allowed continuation, and the branch outputs are summed. Zero local dimensions and zero Kraus counts are included wherever their completeness equations permit them.
QAlgorithms.Papers.Independent.Advance50.P05.OneShotAttained
For finite types with decidable equality, a direction equal to “forward” or “two-way,” an arbitrary complex matrix indexed by , and any real , this predicate means that there exists a distillation code attaining the supremum defining the one-shot quantity. Such a code consists of positive integers , matrices and satisfying , and an allowed operation from matrices on to matrices on . Its target is , where when and , and is zero otherwise. In the forward direction, , with a finite nonempty outcome set, , , and each admitting a finite Kraus representation whose Kraus operators satisfy the corresponding completeness identity; the tensor action applies the two maps to their respective matrix factors. In the two-way direction, after relabeling all finite bases by initial segments of the natural numbers, the operation is obtained recursively from identity operations and finitely branching local Kraus operations by either party, with complete Kraus families and an allowed continuation for each outcome, summing the resulting branches. Writing
where denotes real continuous functional calculus, the required assertions are
with the supremum taken in the extended reals. No density-matrix hypothesis on , nonemptiness hypothesis on , or restriction on is imposed; an empty supremum is .
QAlgorithms.Papers.Independent.Advance50.P05.RectangularInstrument.branch
For finite types , with decidable equality on , an instrument consists of a natural number and matrices satisfying . For each , this defines a function from complex matrices on to complex matrices on by
Its argument is arbitrary; no positivity or trace condition is required. Completeness is imposed on the sum over all outcomes, rather than separately on this branch. When , the branch is the zero function.
QAlgorithms.Papers.Independent.Advance50.P05.RectangularInstrument.flagged
Let be types, with finite and equality decidable on ; no finiteness assumption is imposed on . Let have matrices , indexed by and , satisfying . For any complex matrix on , this defines a matrix on whose entries are
Thus the outcome label occurs in diagonal blocks, and the operation acts on the coordinates while retaining the coordinates. No density-matrix assumption is made on ; empty index sets give empty sums.
QAlgorithms.Papers.Independent.Advance50.P05.RectangularInstrument
For finite types , with decidable equality on , this structure consists of a natural number , a complex matrix for every and , and the requirement
The same number of matrices is used for every outcome . Neither the types nor are required to be nonempty or positive. If is empty or , the requirement becomes , which is possible only when is empty.
QAlgorithms.Papers.Independent.Advance50.P05.SpectralMinimumAttained
For families of finite types with decidable equality and arbitrary complex matrices on , this predicate says that there exists a sequence of positive semidefinite matrices on with that attains the following extended-real infimum. For any such sequence , define
using real functional calculus for and a real-valued limit inferior. The required equality is , where ranges over all density-matrix sequences just described. The attained value need not be finite, and no maximizing is required. There is no positivity or normalization assumption on . Empty types are permitted, but if any is empty the required sequence cannot exist.
QAlgorithms.Papers.Independent.Advance50.P05.TwoExtremaAttained
For finite types with decidable equality, an arbitrary complex matrix indexed by , and any real , this predicate asserts the existence of a positive semidefinite matrix with and , and a positive semidefinite matrix on with , attaining two nested infima. Here , using real functional calculus. Write for the stated set of , and define
where is obtained by functional calculus from the function equal to at and elsewhere, and for and otherwise. The required equalities are
All infima are extended-real infima, with empty infimum . Neither normalization of nor nonnegativity of is assumed; belongs to the ball exactly when . Empty types are permitted, although an empty makes the required trace-one witness impossible.
QAlgorithms.Papers.Independent.Advance50.P05.TwoWayPreprocessing
For finite types , this structure consists of positive natural output dimensions , proofs of their positivity, a function from complex matrices on to complex matrices on , and a proof that has the following finite recursive local-operation representation after relabeling by their chosen enumerations. The permitted representations start with identity maps; recursively, either party may apply a finite family of rectangular Kraus matrices satisfying on that party, apply an already permitted continuation depending on , and sum the resulting branches. On the other party the Kraus operation acts as the identity. These are exactly the constructors required by the predicate; the number of branches and intermediate dimensions are natural numbers and need not be positive. No decidable-equality assumptions or nonemptiness assumptions on are binders of this structure, and no input state is part of its data.
QAlgorithms.Papers.Independent.Advance50.P05.ZeroExtremaAttained
For finite types with decidable equality, an arbitrary complex matrix indexed by , and any real , this predicate says that both of the following nested optimizations are attained by the same pair . Define to consist of positive semidefinite matrices with and , where , with square roots defined by real functional calculus. Define , where is the orthogonal projection onto the range of and for , while otherwise. The required witnesses satisfy , , , and
These extrema are in the extended reals. No density assumption on or sign restriction on is imposed; the ball includes exactly when . Empty types are allowed, but if is empty no trace-one exists, so the predicate is false.
QAlgorithms.Papers.Independent.Advance50.P05.acceptanceSet
For any finite type with decidable equality, any complex matrix , and any real , this is the set of matrices satisfying
No positivity or normalization assumption on , nonemptiness assumption on , or restriction on is imposed. In particular, is permitted whenever ; if is empty, its unique matrix belongs exactly when .
QAlgorithms.Papers.Independent.Advance50.P05.asymptoticDistillable
For finite types with decidable equality, either the forward or two-way direction, and an arbitrary sequence of complex matrices on , this definition is the iterated extended-real limit inferior
For each , the codes in this supremum consist of positive natural numbers , matrices and satisfying , and an allowed operation from matrices on to matrices on the two output spaces, satisfying . Here has entries between and and zero elsewhere, and by real functional calculus. Forward operations have the form for a positive finite number of outcomes, where , , and every has a finite complete Kraus representation. Two-way operations, after enumeration of the input bases, are generated recursively from identities by finite complete Kraus operations on either party, outcome-dependent permitted continuations, and summation over branches. Empty code sets contribute . The definition does not assert existence of either ordinary limit, and assumes neither that are density matrices nor that are nonempty.
QAlgorithms.Papers.Independent.Advance50.P05.asymptoticInner
For finite types with decidable equality, a direction equal to either forward or two-way, an arbitrary matrix sequence on , and any real , this definition is
Here denotes complex square matrices, has entry between indices and and zero elsewhere, and , using real functional calculus. For the forward direction, , with a positive finite number of outcomes, , , and each admitting a finite Kraus representation with completeness sum . For the two-way direction, after enumeration of the input bases, is generated recursively by identities and finite complete local Kraus families followed by outcome-dependent permitted continuations, with branches summed. Both the supremum and outer limit inferior are extended-real operations; an empty set of codes has supremum . No density assumption on , nonemptiness assumption on , or restriction on is imposed. The block lengths are , beginning at .
QAlgorithms.Papers.Independent.Advance50.P05.conditionalEffectZero
For finite types with decidable equality and arbitrary complex matrices indexed by , let be the orthogonal projector onto the range of , let denote real continuous functional calculus, and define for and for . This defines
as an extended-real infimum. There is no density assumption on and no effect assumption on . The types may be empty; if is empty, the infimum is over an empty set and equals .
QAlgorithms.Papers.Independent.Advance50.P05.dependentSpectralInf
For a family of finite types with decidable equality and arbitrary complex matrix sequences on those types, this definition is the extended-real supremum
with applied by real functional calculus and the real candidates embedded into the extended reals. The condition is equality of the limit inferior to . That limit inferior is taken in ; no boundedness assumption is imposed. No positivity, Hermiticity, normalization, or nonemptiness hypotheses are present. An empty candidate set gives , and an unbounded-above candidate set gives .
QAlgorithms.Papers.Independent.Advance50.P05.dependentSpectralMass
For a family of finite types , each with decidable equality, arbitrary complex matrices on , a real , and a natural number , this definition is the real number
where is defined by real functional calculus. In particular, when is Hermitian, includes its zero eigenspace as well as its positive eigenspaces. Neither Hermiticity, positivity, normalization, nor nonemptiness of is assumed. The index includes , whose exponential factor is ; if is empty, the trace and hence this value are zero.
QAlgorithms.Papers.Independent.Advance50.P05.distillableEntanglementOneShot
For finite types with decidable equality, either direction, an arbitrary complex matrix on , and any real , this defines an extended real number as the supremum of over all positive natural numbers , isometries , , and permitted operations with output dimensions , for which
Here isometry means , and square roots mean continuous functional calculus with the real square-root function. A permitted forward operation consists of one complete finite Kraus instrument on Alice, with at least one outcome label, followed by a decoder channel on Bob selected by that outcome; each decoder has a finite complete Kraus representation, and outputs are summed. A permitted twoWay operation has, after finite-basis reindexing, a finite recursive construction from identities and complete finite Kraus instruments on either party, with outcome-dependent continuations and summed outputs. There is no density-matrix assumption on , no restriction on , and no requirement that the supremum be attained. The supremum is if no code meets the inequality and if the attainable logarithmic ranks are unbounded.
QAlgorithms.Papers.Independent.Advance50.P05.effectSmoothedZero
For finite types with decidable equality, an arbitrary complex matrix indexed by , and any real , let be the orthogonal projector onto its range, let denote real continuous functional calculus, and set for and otherwise. This defines the extended-real value
No positivity or normalization hypothesis on , restriction on , or nonemptiness hypothesis on the types is imposed. The zero effect is admissible whenever ; an empty outer optimization has value , and an empty inner optimization has value .
QAlgorithms.Papers.Independent.Advance50.P05.effectZero
For any finite type with decidable equality and any three complex matrices , let be the orthogonal projector onto the range of the linear operator represented by , and put
Here denotes real continuous functional calculus. The defined extended-real value is if , and if . No density, positivity, or effect hypotheses are imposed on these matrices, and may be empty; in the empty case , so the value is .
QAlgorithms.Papers.Independent.Advance50.P05.embeddedMES
For finite types , any natural number , and arbitrary complex matrices and , this defines the matrix
on , where has entry at row , column , for every , and zero at every other entry. For , is the rank-one density matrix of . No isometry or normalization condition is imposed on . The case is included and gives the zero matrix.
QAlgorithms.Papers.Independent.Advance50.P05.fidelityBall
For any finite type with decidable equality, any complex matrix , and any real , this is the set
where denotes real continuous functional calculus. There is no positivity or normalization assumption on the center , no requirement that , and no requirement that have positive trace; in particular, the zero matrix belongs whenever . The type may be empty.
QAlgorithms.Papers.Independent.Advance50.P05.finiteLOCCOn
For finite types and any function from complex matrices on to complex matrices on , this predicate first reindexes each type by its specified bijection with the integers from zero to one less than its cardinality, then requires the resulting function to be generated by the following inductive rules: the identity on any pair of finite-dimensional local spaces is allowed; Alice may choose finitely many matrices with , apply , continue with an allowed operation chosen separately for each , and sum the resulting matrices; Bob may do the corresponding operation with and . Only functions having a finite derivation from these rules satisfy the predicate. Intermediate dimensions and outcome counts are natural numbers and may be zero; an empty outcome family still has to satisfy its completeness equation. No nonemptiness or separate channel assumption is imposed on .
QAlgorithms.Papers.Independent.Advance50.P05.forwardSequenceScore
For finite types with decidable equality, an arbitrary sequence of complex matrices on , and a preprocessing object on for every natural , this definition is the following extended-real infimum. Each supplies positive output dimension , positive outcome count , a natural Kraus count , and matrices satisfying . Define a matrix on by
The score is
where acts on , is applied by real functional calculus, and the inner limit inferior is taken in . The infimum and supremum are extended-real operations, with empty infimum and empty supremum . There is no positivity or normalization assumption on , no bound on the preprocessing sizes, and no nonemptiness assumption on ; in particular, empty leaves no admissible sequence .
QAlgorithms.Papers.Independent.Advance50.P05.identityForward
For every pair of finite types with decidable equality, possibly empty, this defines a forward protocol from to . Its outcome-count parameter is , so its actual outcome set has element. Alice's instrument has one Kraus operator, , and Bob's decoder for the sole outcome is the identity map . The decoder is supplied with a channel representation using the single Kraus operator , satisfying . The protocol's operation, obtained by applying Alice's branch on the first subsystem and Bob's decoder on the second and summing over outcomes, is consequently .
QAlgorithms.Papers.Independent.Advance50.P05.identityInstrument
For every finite type with decidable equality, including the empty type, this defines an instrument from to with one outcome and one Kraus operator for that outcome. Its sole Kraus operator is , and its completeness requirement is . Thus its only branch maps every complex matrix on to .
QAlgorithms.Papers.Independent.Advance50.P05.petzTwo
For any finite type with decidable equality and arbitrary complex matrices , define and for real , and let denote real continuous functional calculus applied to this function. If
the defined value is when , and is when . If the kernel inclusion fails, the value is . No positivity, normalization, or nonzero hypothesis is imposed on either matrix, and may be empty; for empty , the inclusion holds and the value is .
QAlgorithms.Papers.Independent.Advance50.P05.smoothedTwo
For finite types with decidable equality, any complex matrix indexed by , and any real , write
where denotes real continuous functional calculus. For matrices , define if ; otherwise define , where , for , and for and for . The defined value is
Both optimizations are infima in the extended reals, with an empty infimum equal to . There is no density assumption on , no restriction on , and no nonemptiness assumption on either type. Zero is allowed as an outer candidate; in particular, if is nonempty and , this candidate makes the value .
QAlgorithms.Papers.Independent.Advance50.P05.smoothedZero
For finite types with decidable equality, any complex matrix indexed by , and any real , define
where denotes real continuous functional calculus. The defined value is
where is indexed by and is the orthogonal projector onto the range of . Thus the outer optimization is a supremum, while the inner optimization is an infimum. There is no density assumption on , no restriction on , and no exclusion of ; an empty outer set gives , and an empty inner set gives . Empty or is allowed.
QAlgorithms.Papers.Independent.Advance50.P05.spectralCoherent
For families of finite types , each with decidable equality, and an arbitrary sequence of complex matrices on , this definition takes the extended-real infimum over all sequences of positive semidefinite matrices on with , of the quantity
where is applied by real functional calculus. Each supremum is in the extended reals, while its defining limit inferior is real-valued. No positivity or normalization of and no nonemptiness of the index types are assumed. If some is empty, there is no admissible density-matrix sequence and the outer infimum is ; an empty set of for a given sequence has supremum .
QAlgorithms.Papers.Independent.Advance50.P05.twoCoherent
For finite types with decidable equality and any complex matrix indexed by , this defines an extended-real infimum over all complex matrices with . For each such , put , define and for real , and set
where denotes real continuous functional calculus. The value is . No density assumption is made on , and empty types are allowed; if is empty, the infimum is .
QAlgorithms.Papers.Independent.Advance50.P05.twoWaySequenceScore
Let be finite types with decidable equality, possibly empty, and put and . For any sequence of complex matrices on , and any sequence of preprocessing operations, the definition assigns the following extended real number. Each specifies positive integers and a map from matrices on to matrices on , obtainable, after identifying finite bases with numbered bases, from the smallest class containing identity maps and closed under a complete finite Kraus operation by either party followed by branch-dependent operations from that class and summation over branches; completeness means . Write . For every sequence of density matrices on , where a density matrix is positive semidefinite with trace , define
where is the functional-calculus value at of the real function equal to on and elsewhere, and the supremum is taken in the extended reals. The score is , also in the extended reals. No positivity, normalization, or Hermiticity assumption is imposed on the input matrices ; the formulas use the total functional-calculus operation as supplied.
QAlgorithms.Papers.Independent.Advance50.P05.zeroCoherent
For finite types with decidable equality and any complex matrix indexed by , let be the orthogonal projector onto the range of . This defines the extended-real infimum
No positivity or normalization assumption is made on , and neither type is required to be nonempty. If is empty, there are no admissible , and the infimum is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.