Definitions for Entanglement of assistance and multipartite state distillation
DefinitionQAlgorithms_Papers_Independent_Intake100_P93The objects the formalized statements of Entanglement of assistance and multipartite state distillation (arXiv:quant-ph/0505038) are stated in. Each was checked against the paper by a blind read-back and a moderator.
SStateAssistanceBasisstateCoordinates: PDF pp.1--2: a bundled state expressed in a prescribed local basis.RepresentsState: PDF pp.1--2: equality of the physical state and every local dimension.groupedStateCopies: PDF pp.1--3: n i.i.d. copies, grouped only within each party.partyMarginal: PDF pp.2,7: partial trace onto a specified group of distinct parties.partyEntropy: PDF pp.1--2: entropy of the actual reduced state.pairMarginal: PDF pp.2--3: ordered two-party marginal; all other factors are traced out.cutMinimum: PDF pp.2,7: all cuts separating a from b, including both extreme cuts. The finite index set is nonempty even when there are no helpers.InstrumentAt: PDF pp.1,7: the accepted local Kraus-instrument relation with its acting party exposed. This is precisely P33.LocalInstrument with that witness fixed; its lifted Kraus operators act as the identity at every other party.ChannelAt: PDF pp.1,5--6: a local channel without an outgoing public outcome.MixesTo: PDF p.1: unconditional output, retaining every branch's probability.RestrictedLocalTree: PDF pp.1,7: finite adaptive LOCC with only parties in allowed acting. Every local instrument is complete; there are no quantum messages or supplied entangled ancillas. Classical outcomes may select any later local instrument.HelperTree: PDF pp.2,7--8: each remaining helper has exactly one measurement turn, then discards its quantum system and broadcasts its outcome. Later helpers may depend on earlier messages. A and B may finally use ordinary two-way LOCC.HelperBroadcast: PDF pp.2,5--6: one helper instrument, one broadcast, then two local message-dependent channels. The helper keeps its quantum output; local helper postprocessing is absorbed into its instrument. No feedback or A--B messages.AssistanceProtocol: PDF pp.1--2,5--7: the three distinct protocol classes.AssistanceConverts: PDF pp.1--2,5--7: physical conversion, without postselection.targetDims: PDF pp.1--2: g shared cat bits and e Bell bits on edge a--b. At zero counts every local output has dimension one. In applications g>0 only for m=3.bellGhzTarget: PDF pp.1--2: the exact joint GHZ^g tensor Bell^e ket, locally regrouped. The coefficient and the shared labels fix relative signs and normalization.DistillationBlock: PDF pp.1--2: a finite-block code with one joint target fidelity test. Input is exactly n i.i.d. copies; all other quantum outputs are disposed of.AssistedYield: PDF pp.1--2: eventual positive-blocklength rate closure. Real rates are nonnegative; integer output counts may be zero. Epsilon controls joint fidelity and delta controls both rates. Algorithms are chosen before any measurement outcome. No input-dependent extra resource is supplied.averageEntanglement: PDF p.3: ensemble average entanglement across the displayed bipartition.assistance: PDF p.3: one-copy assistance, optimized over all finite normalized pure ensembles. On density inputs the set is nonempty and bounded in [0,min(log2 d_A,log2 d_B)]; invalid-input defaults are never used.purificationPairEquiv: PDF p.3: a fixed local basis identification for the purifying register.tripartitePurification: PDF pp.2--3: C holds the canonical purification of the given AB density; it is not an independently chosen resource. All purifications give the same operational rate up to a local isometry on C.operationalAssistance: PDF p.3: operational EPR yield of the purification, defined independently of the ensemble roof and its regularization. The rate set contains zero and is bounded for every physical finite-dimensional state.assistanceSequence: PDF p.3: n indexes n+1 copies, never a division by zero.determinantVector: PDF p.3, Example 4: the six signed determinant-state amplitudes.determinantMarginal: PDF p.3, Example 4: the actual two-qutrit reduction.antisymmetricPairAmplitude: PDF p.3, Example 4: an unnormalized antisymmetric two-qutrit ket.superadditiveWitness: PDF p.3, Example 4: PLUS of two orthogonal tensor products, coefficient 1/sqrt(8); grouped as A1A2:B1B2.witnessOrbit: PDF p.3, Example 4: the orbit preserves each copy's antisymmetric subspace.upsilonVector: PDF p.6, Example 10: alpha|0>Phi+ + beta|1>Phi-, with positive Bell phase on |00> and opposite phases on |11>. Parameters are real as in the source.symmetricWKet: PDF pp.6--7, Example 11: normalized W ket.choiKet: PDF p.8, Section VII: normalized maximally entangled input, trace one.dimensionedDilationPower: PDF pp.4--5: the memoryless isometric channel to Bob and the helper's environment, with each party's n systems regrouped locally.transmissionState: PDF p.5: after encoding one half of a Bell test state, apply U^tensor n only to the transmitted register. Parties are Alice's memory, Bob, Charlie, and an UNTOUCHED external reference, in that order. The initial reference entanglement is local to the sender's test input, not a supplied A--B resource.TransmissionBlock: PDF pp.4--5, Theorem 8: an actual n-use transmission code. The reference (party 3) is excluded from every local operation. With unlimited=false there is only C's instrument and one broadcast followed by Alice/Bob local channels; with unlimited=true all three honest parties may use adaptive LOCC. Arbitrary local encoder memory is allowed and all work is discarded in the final Bell test. No preshared honest-party entanglement or quantum side message occurs.TransmissionRate: PDF pp.4--5: environment-assisted quantum communication rates, evaluated on the full purifying-reference Bell test, for all sufficiently large positive n.assistedCapacityObjective: PDF p.5, Theorem 8: optimization over normalized input density matrices. The value set is nonempty and bounded on positive-dimensional channels.RandomnessCode: PDF p.6, proof of Theorem 9: a one-way-broadcast common-randomness code. X is the ENTIRE public message. C also keeps a private k-bit output, while A and B use X-dependent local POVMs with private outputs. All branches are included. This POVM form includes arbitrary local ancillary randomness and private postprocessing. No private outcome is silently made public.randomnessLaw: PDF p.6: joint law of the public message and all three private strings, computed from the product local effects on the actual shared state.randomnessError: PDF p.6: total variation from Uniform(identical k-bit strings) times law(X). Keeping X is essential: broadcasting fresh random bits alone fails.RandomnessRate: PDF p.6: independent shared randomness at an eventual i.i.d. rate; the total-variation error tests uniformity, agreement, AND transcript independence.HighEntropyEnsemble: PDF p.9: a nearby pure-state ensemble, every component having entropy at least n(rate-delta). Approximation is in trace norm, not channel norm and not a componentwise fidelity to maximally entangled vectors.TypicalHighEntropyEnsemble: PDF p.9: local typical-subspace consequence, expressed by actual local isometric embeddings. The compressed state is the normalized local projection of rho^tensor n; the positive projection weight prevents division by zero. Both the discarded-subspace error and the ensemble error are retained. Logarithmic local dimensions approximate n times the respective marginal entropies. These are subspace isometries, never full-input channel isometries.
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P33
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P42
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P67
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P11
/-! Smolin--Verstraete--Winter, quant-ph/0505038v1. Finite dimensions;
all logarithms and entropies are in bits. Compilation is pending batch handoff.
Only accepted library modules are imported. Distinct assistance interfaces are paper-local.
Generic short-name collisions are distinguished by descriptive names; exact
operator, ensemble, tensor-product, channel and Choi primitives are imported. -/
namespace QAlgorithms.Papers.Independent.Intake100.P93
open scoped Matrix ComplexConjugate ComplexOrder
noncomputable section
attribute [local instance] Classical.propDecidable Classical.decEq
-- Exact accepted primitives; no chunk-local aliases.
open Information100.P21 (Op)
open Information100.P08 (PureEnsemble)
open Dependency50.P07 (bipartiteProduct)
open Information100.P67 (receiverChannel)
open Support50.P11 (choiState)
abbrev SState := Claimed50.P33.FiniteState
abbrev AssistanceBasis {m : ℕ} (d : Fin m → ℕ) := (i : Fin m) → Fin (d i)
/-- PDF pp.1--2: a bundled state expressed in a prescribed local basis. -/
def stateCoordinates {m : ℕ} (s : SState m) (d : Fin m → ℕ) : Op (AssistanceBasis d) :=
fun x y => Claimed50.P33.stateEntry s (fun i => (x i).val) (fun i => (y i).val)
/-- PDF pp.1--2: equality of the physical state and every local dimension. -/
def RepresentsState {m : ℕ} (s : SState m) (d : Fin m → ℕ) (rho : Op (AssistanceBasis d)) : Prop :=
s.dims = d ∧ stateCoordinates s d = rho
/-- PDF pp.1--3: n i.i.d. copies, grouped only within each party. -/
def groupedStateCopies {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d)) (n : ℕ) :
Op (AssistanceBasis (fun i => d i ^ n)) :=
fun x y => ∏ j : Fin n, rho
(fun i => (Dependency50.P42.copyIndex (d i) n).symm (x i) j)
(fun i => (Dependency50.P42.copyIndex (d i) n).symm (y i) j)
/-- PDF pp.2,7: partial trace onto a specified group of distinct parties. -/
def partyMarginal {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d)) (s : Finset (Fin m)) :=
Claimed50.P33.forgetEnvironment
(Claimed50.P33.registerMarginal (Claimed50.P33.trivialExtension rho) s)
/-- PDF pp.1--2: entropy of the actual reduced state. -/
def partyEntropy {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d)) (s : Finset (Fin m)) : ℝ :=
vnEntropy (partyMarginal rho s)
/-- PDF pp.2--3: ordered two-party marginal; all other factors are traced out. -/
def pairMarginal {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d)) (a b : Fin m) :
Op (Fin (d a) × Fin (d b)) :=
fun u v => ∑ x : AssistanceBasis d, ∑ y : AssistanceBasis d,
if x a = u.1 ∧ y a = v.1 ∧ x b = u.2 ∧ y b = v.2 ∧
(∀ i, i ≠ a → i ≠ b → x i = y i) then rho x y else 0
/-- PDF pp.2,7: all cuts separating a from b, including both extreme cuts.
The finite index set is nonempty even when there are no helpers. -/
def cutMinimum {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d)) (a b : Fin m) : ℝ :=
(Finset.univ : Finset (Finset (Fin m))).inf' Finset.univ_nonempty
(fun s => partyEntropy rho (insert a (s.erase b)))
/-- PDF pp.1,7: the accepted local Kraus-instrument relation with its acting
party exposed. This is precisely P33.LocalInstrument with that witness fixed;
its lifted Kraus operators act as the identity at every other party. -/
def InstrumentAt {m k : ℕ} (s : SState m) (p : Fin k → ℝ)
(r : Fin k → SState m) (party : Fin m) : Prop :=
(∀ j, 0 ≤ p j) ∧ (∑ j, p j) = 1 ∧
∃ count : Fin k → ℕ,
∃ A : (j : Fin k) → Fin (count j) →
Matrix (Fin ((r j).dims party)) (Fin (s.dims party)) ℂ,
(∀ j i, i ≠ party → (r j).dims i = s.dims i) ∧
(∑ j, ∑ z, (Claimed50.P33.liftLocalKraus s (r j) party (A j z))ᴴ *
Claimed50.P33.liftLocalKraus s (r j) party (A j z)) = 1 ∧
∀ j, (p j : ℂ) • (r j).rho = ∑ z,
Claimed50.P33.liftLocalKraus s (r j) party (A j z) * s.rho *
(Claimed50.P33.liftLocalKraus s (r j) party (A j z))ᴴ
/-- PDF pp.1,5--6: a local channel without an outgoing public outcome. -/
def ChannelAt {m : ℕ} (s t : SState m) (party : Fin m) : Prop :=
InstrumentAt s (fun _ : Fin 1 => 1) (fun _ => t) party
/-- PDF p.1: unconditional output, retaining every branch's probability. -/
def MixesTo {m : ℕ} (out : List (ℝ × SState m)) (t : SState m) : Prop :=
(∀ w ∈ out, w.2.dims = t.dims) ∧ ∀ x y,
Claimed50.P33.stateEntry t x y =
(out.map fun w => (w.1 : ℂ) * Claimed50.P33.stateEntry w.2 x y).sum
/-- PDF pp.1,7: finite adaptive LOCC with only parties in allowed acting.
Every local instrument is complete; there are no quantum messages or supplied
entangled ancillas. Classical outcomes may select any later local instrument. -/
inductive RestrictedLocalTree {m : ℕ} (allowed : Finset (Fin m)) :
SState m → List (ℝ × SState m) → Prop where
| stop (s) : RestrictedLocalTree allowed s [(1,s)]
| step (s) (k : ℕ) (p : Fin k → ℝ) (r : Fin k → SState m)
(party : Fin m) (hp : party ∈ allowed) (hi : InstrumentAt s p r party)
(next : Fin k → List (ℝ × SState m))
(hn : ∀ j, RestrictedLocalTree allowed (r j) (next j)) :
RestrictedLocalTree allowed s ((List.finRange k).flatMap fun j =>
(next j).map fun w => (p j * w.1,w.2))
/-- PDF pp.2,7--8: each remaining helper has exactly one measurement turn,
then discards its quantum system and broadcasts its outcome. Later helpers
may depend on earlier messages. A and B may finally use ordinary two-way LOCC. -/
inductive HelperTree {m : ℕ} (a b : Fin m) : Finset (Fin m) →
SState m → List (ℝ × SState m) → Prop where
| finish (s) (out) (h : RestrictedLocalTree {a,b} s out) : HelperTree a b ∅ s out
| step (remaining) (s) (k : ℕ) (p : Fin k → ℝ) (r : Fin k → SState m)
(party : Fin m) (hp : party ∈ remaining) (hi : InstrumentAt s p r party)
(hd : ∀ j, (r j).dims party = 1)
(next : Fin k → List (ℝ × SState m))
(hn : ∀ j, HelperTree a b (remaining.erase party) (r j) (next j)) :
HelperTree a b remaining s ((List.finRange k).flatMap fun j =>
(next j).map fun w => (p j * w.1,w.2))
/-- PDF pp.2,5--6: one helper instrument, one broadcast, then two local
message-dependent channels. The helper keeps its quantum output; local helper
postprocessing is absorbed into its instrument. No feedback or A--B messages. -/
def HelperBroadcast {m : ℕ} (a b c : Fin m) (s t : SState m) : Prop :=
∃ k : ℕ, ∃ p : Fin k → ℝ, ∃ r v w : Fin k → SState m,
InstrumentAt s p r c ∧
(∀ j, ChannelAt (r j) (v j) a) ∧ (∀ j, ChannelAt (v j) (w j) b) ∧
MixesTo ((List.finRange k).map fun j => (p j,w j)) t
/-- PDF pp.1--2,5--7: the three distinct protocol classes. -/
inductive AssistanceProtocol where
| locc
| singleTurn
| broadcast (helper : ℕ)
/-- PDF pp.1--2,5--7: physical conversion, without postselection. -/
def AssistanceConverts {m : ℕ} (kind : AssistanceProtocol) (a b : Fin m) (s t : SState m) : Prop :=
match kind with
| .locc => Claimed50.P33.LOCC s [(1,t)]
| .singleTurn => ∃ out, HelperTree a b ((Finset.univ.erase a).erase b) s out ∧
MixesTo out t
| .broadcast c => ∃ hc : c < m, HelperBroadcast a b ⟨c,hc⟩ s t
/-- PDF pp.1--2: g shared cat bits and e Bell bits on edge a--b. At zero
counts every local output has dimension one. In applications g>0 only for m=3. -/
def targetDims {m : ℕ} (a b : Fin m) (g e : ℕ) : Fin m → ℕ :=
fun i => if i = a ∨ i = b then 2 ^ (g+e) else 2 ^ g
/-- PDF pp.1--2: the exact joint GHZ^g tensor Bell^e ket, locally regrouped.
The coefficient and the shared labels fix relative signs and normalization. -/
def bellGhzTarget {m : ℕ} (a b : Fin m) (g e : ℕ) :
EuclideanSpace ℂ (AssistanceBasis (targetDims a b g e)) :=
WithLp.toLp 2 fun x => (Real.sqrt ((2 : ℝ) ^ (g+e)) : ℂ)⁻¹ *
∑ u : Fin (2 ^ g), ∑ v : Fin (2 ^ e),
if ∀ i, (x i).val = if i = a ∨ i = b
then u.val * 2 ^ e + v.val else u.val then 1 else 0
/-- PDF pp.1--2: a finite-block code with one joint target fidelity test.
Input is exactly n i.i.d. copies; all other quantum outputs are disposed of. -/
def DistillationBlock {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d))
(kind : AssistanceProtocol) (a b : Fin m) (n g e : ℕ) (epsilon : ℝ) : Prop :=
∃ s t : SState m, RepresentsState s (fun i => d i ^ n) (groupedStateCopies rho n) ∧
t.dims = targetDims a b g e ∧ AssistanceConverts kind a b s t ∧
1 - epsilon ≤ rootFidelity (stateCoordinates t (targetDims a b g e))
(pureDensity (bellGhzTarget a b g e))
/-- PDF pp.1--2: eventual positive-blocklength rate closure. Real rates are
nonnegative; integer output counts may be zero. Epsilon controls joint fidelity
and delta controls both rates. Algorithms are chosen before any measurement
outcome. No input-dependent extra resource is supplied. -/
def AssistedYield {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d))
(kind : AssistanceProtocol) (a b : Fin m) (ghzRate eprRate : ℝ) : Prop :=
0 ≤ ghzRate ∧ 0 ≤ eprRate ∧
∀ epsilon > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ N : ℕ, ∀ n : ℕ, N < n →
∃ g e : ℕ, (ghzRate - delta) * n ≤ g ∧ (eprRate - delta) * n ≤ e ∧
DistillationBlock rho kind a b n g e epsilon
/-- PDF p.3: ensemble average entanglement across the displayed bipartition. -/
def averageEntanglement {A B : Type} [Fintype A] [Fintype B]
(e : PureEnsemble (A × B)) : ℝ :=
∑ j, e.prob j * vnEntropy (traceRight (pureDensity (e.vector j)))
/-- PDF p.3: one-copy assistance, optimized over all finite normalized pure
ensembles. On density inputs the set is nonempty and bounded in
[0,min(log2 d_A,log2 d_B)]; invalid-input defaults are never used. -/
def assistance {A B : Type} [Fintype A] [Fintype B] (rho : Op (A × B)) : ℝ :=
sSup {r | ∃ e : PureEnsemble (A × B), Information100.P08.pureAverage e = rho ∧
r = averageEntanglement e}
/-- PDF p.3: a fixed local basis identification for the purifying register. -/
def purificationPairEquiv (a b : ℕ) : (Fin a × Fin b) ≃ Fin (a*b) :=
Fintype.equivFinOfCardEq (by simp)
/-- PDF pp.2--3: C holds the canonical purification of the given AB density;
it is not an independently chosen resource. All purifications give the same
operational rate up to a local isometry on C. -/
def tripartitePurification {a b : ℕ} (rho : Op (Fin a × Fin b)) :
EuclideanSpace ℂ (AssistanceBasis (![a,b,a*b] : Fin 3 → ℕ)) :=
WithLp.toLp 2 fun x => Information100.P08.canonicalPurification rho
((purificationPairEquiv a b).symm (x 2), (x 0,x 1))
/-- PDF p.3: operational EPR yield of the purification, defined independently
of the ensemble roof and its regularization. The rate set contains zero and
is bounded for every physical finite-dimensional state. -/
def operationalAssistance {a b : ℕ} (rho : Op (Fin a × Fin b)) : ℝ :=
sSup {r | AssistedYield (pureDensity (tripartitePurification rho)) .locc 0 1 0 r}
/-- PDF p.3: n indexes n+1 copies, never a division by zero. -/
def assistanceSequence {a b : ℕ} (rho : Op (Fin a × Fin b)) (n : ℕ) : ℝ :=
assistance (Dependency50.P42.dimensionedPower rho (n+1)) / (n+1 : ℕ)
/-- Sanity: the zero-copy matrix has every scalar entry equal to one. -/
example {m : ℕ} {d : Fin m → ℕ} (rho : Op (AssistanceBasis d))
(x y : AssistanceBasis (fun i => d i ^ 0)) : groupedStateCopies rho 0 x y = 1 := by
simp [groupedStateCopies]
/-- Sanity: two distinct receivers leave no helpers in the two-party case. -/
example : ((Finset.univ : Finset (Fin 2)).erase 0).erase 1 = ∅ := by decide
/-- Sanity: zero output resources use only one-dimensional local registers. -/
example {m : ℕ} (a b i : Fin m) : targetDims a b 0 0 i = 1 := by
simp [targetDims]
/-- PDF p.3, Example 4: the six signed determinant-state amplitudes. -/
def determinantVector : EuclideanSpace ℂ (AssistanceBasis (fun _ : Fin 3 => 3)) :=
WithLp.toLp 2 fun x => (Real.sqrt 6 : ℂ)⁻¹ *
((if (x 0,x 1,x 2) = (0,1,2) then 1 else 0) +
(if (x 0,x 1,x 2) = (1,2,0) then 1 else 0) +
(if (x 0,x 1,x 2) = (2,0,1) then 1 else 0) -
(if (x 0,x 1,x 2) = (2,1,0) then 1 else 0) -
(if (x 0,x 1,x 2) = (1,0,2) then 1 else 0) -
(if (x 0,x 1,x 2) = (0,2,1) then 1 else 0))
/-- PDF p.3, Example 4: the actual two-qutrit reduction. -/
def determinantMarginal : Op (Fin 3 × Fin 3) :=
pairMarginal (pureDensity determinantVector) 0 1
/-- PDF p.3, Example 4: an unnormalized antisymmetric two-qutrit ket. -/
def antisymmetricPairAmplitude (i j : Fin 3) (x : Fin 3 × Fin 3) : ℂ :=
(if x = (i,j) then 1 else 0) - (if x = (j,i) then 1 else 0)
/-- PDF p.3, Example 4: PLUS of two orthogonal tensor products, coefficient
1/sqrt(8); grouped as A1A2:B1B2. -/
def superadditiveWitness : EuclideanSpace ℂ ((Fin 3 × Fin 3) × (Fin 3 × Fin 3)) :=
WithLp.toLp 2 fun x => (Real.sqrt 8 : ℂ)⁻¹ *
(antisymmetricPairAmplitude 0 1 (x.1.1,x.2.1) * antisymmetricPairAmplitude 0 1 (x.1.2,x.2.2) +
antisymmetricPairAmplitude 1 2 (x.1.1,x.2.1) * antisymmetricPairAmplitude 1 2 (x.1.2,x.2.2))
/-- PDF p.3, Example 4: the orbit preserves each copy's antisymmetric subspace. -/
def witnessOrbit (U V : Matrix.unitaryGroup (Fin 3) ℂ) :=
act (Matrix.kronecker (Matrix.kronecker (U : Op (Fin 3)) (V : Op (Fin 3)))
(Matrix.kronecker (U : Op (Fin 3)) (V : Op (Fin 3)))) superadditiveWitness
/-- Sanity: the positive 01 tensor 01 amplitude has the printed coefficient. -/
example : superadditiveWitness ((0,0),(1,1)) = (Real.sqrt 8 : ℂ)⁻¹ := by
simp [superadditiveWitness, antisymmetricPairAmplitude]
/-- PDF p.6, Example 10: alpha|0>Phi+ + beta|1>Phi-, with positive Bell phase
on |00> and opposite phases on |11>. Parameters are real as in the source. -/
def upsilonVector (alpha beta : ℝ) : EuclideanSpace ℂ (AssistanceBasis (fun _ : Fin 3 => 2)) :=
WithLp.toLp 2 fun x => (Real.sqrt 2 : ℂ)⁻¹ *
(if x 1 = x 2 then
if x 0 = 0 then (alpha : ℂ) else if x 1 = 0 then (beta : ℂ) else -(beta : ℂ)
else 0)
/-- PDF pp.6--7, Example 11: normalized W ket. -/
def symmetricWKet : EuclideanSpace ℂ (AssistanceBasis (fun _ : Fin 3 => 2)) :=
WithLp.toLp 2 fun x => if (x 0).val + (x 1).val + (x 2).val = 1
then (Real.sqrt 3 : ℂ)⁻¹ else 0
/-- PDF p.8, Section VII: normalized maximally entangled input, trace one. -/
def choiKet (d : ℕ) : EuclideanSpace ℂ (Fin d × Fin d) :=
WithLp.toLp 2 fun x => if x.1 = x.2 then (Real.sqrt (d : ℝ) : ℂ)⁻¹ else 0
/-- PDF pp.4--5: the memoryless isometric channel to Bob and the helper's
environment, with each party's n systems regrouped locally. -/
def dimensionedDilationPower {a b c : ℕ} (U : Matrix (Fin b × Fin c) (Fin a) ℂ) (n : ℕ) :
Matrix (Fin (b^n) × Fin (c^n)) (Fin (a^n)) ℂ :=
fun x y => Information100.P67.dilationPower U n
((Dependency50.P42.copyIndex b n).symm x.1,
(Dependency50.P42.copyIndex c n).symm x.2)
((Dependency50.P42.copyIndex a n).symm y)
/-- PDF p.5: after encoding one half of a Bell test state, apply U^tensor n
only to the transmitted register. Parties are Alice's memory, Bob, Charlie,
and an UNTOUCHED external reference, in that order. The initial reference
entanglement is local to the sender's test input, not a supplied A--B resource. -/
def transmissionState {a b c : ℕ} (U : Matrix (Fin b × Fin c) (Fin a) ℂ)
(n k memory : ℕ) (Enc : Superop (Fin (2^k)) (Fin memory × Fin (a^n))) :
Op (AssistanceBasis (![memory,b^n,c^n,2^k] : Fin 4 → ℕ)) :=
let encoded := idTensorSuperop Enc (pureDensity (choiKet (2^k)))
let V := dimensionedDilationPower U n
fun x y => ∑ u : Fin (a^n), ∑ v : Fin (a^n),
encoded (x 3,(x 0,u)) (y 3,(y 0,v)) *
V (x 1,x 2) u * conj (V (y 1,y 2) v)
/-- PDF pp.4--5, Theorem 8: an actual n-use transmission code. The reference
(party 3) is excluded from every local operation. With unlimited=false there
is only C's instrument and one broadcast followed by Alice/Bob local channels;
with unlimited=true all three honest parties may use adaptive LOCC. Arbitrary
local encoder memory is allowed and all work is discarded in the final Bell
test. No preshared honest-party entanglement or quantum side message occurs. -/
def TransmissionBlock {a b c : ℕ} (U : Matrix (Fin b × Fin c) (Fin a) ℂ)
(unlimited : Bool) (n k : ℕ) (epsilon : ℝ) : Prop :=
∃ memory : ℕ, 0 < memory ∧
∃ Enc : Superop (Fin (2^k)) (Fin memory × Fin (a^n)), IsChannel Enc ∧
∃ s t : SState 4,
RepresentsState s (![memory,b^n,c^n,2^k]) (transmissionState U n k memory Enc) ∧
t.dims = targetDims (3 : Fin 4) 1 0 k ∧
(if unlimited then ∃ out, RestrictedLocalTree {0,1,2} s out ∧ MixesTo out t
else HelperBroadcast 0 1 2 s t) ∧
1-epsilon ≤ rootFidelity (stateCoordinates t (targetDims (3 : Fin 4) 1 0 k))
(pureDensity (bellGhzTarget (3 : Fin 4) 1 0 k))
/-- PDF pp.4--5: environment-assisted quantum communication rates, evaluated
on the full purifying-reference Bell test, for all sufficiently large positive n. -/
def TransmissionRate {a b c : ℕ} (U : Matrix (Fin b × Fin c) (Fin a) ℂ)
(unlimited : Bool) (r : ℝ) : Prop :=
0 ≤ r ∧ ∀ epsilon > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ N : ℕ,
∀ n : ℕ, N < n → ∃ k : ℕ, (r-delta)*n ≤ k ∧
TransmissionBlock U unlimited n k epsilon
/-- PDF p.5, Theorem 8: optimization over normalized input density matrices.
The value set is nonempty and bounded on positive-dimensional channels. -/
def assistedCapacityObjective {a b : ℕ} (T : Superop (Fin a) (Fin b)) : ℝ :=
sSup {r | ∃ rho : Op (Fin a), IsDensityMatrix rho ∧
r = min (vnEntropy rho) (vnEntropy (T rho))}
/-- Sanity: the reference labels in transmissionState are never summed over. -/
example {a b c : ℕ} (U : Matrix (Fin b × Fin c) (Fin a) ℂ)
(n k memory : ℕ) (Enc : Superop (Fin (2^k)) (Fin memory × Fin (a^n)))
(x y : AssistanceBasis (![memory,b^n,c^n,2^k] : Fin 4 → ℕ)) :
transmissionState U n k memory Enc x y =
∑ u : Fin (a^n), ∑ v : Fin (a^n),
(idTensorSuperop Enc (pureDensity (choiKet (2^k))))
(x 3,(x 0,u)) (y 3,(y 0,v)) *
dimensionedDilationPower U n (x 1,x 2) u * conj (dimensionedDilationPower U n (y 1,y 2) v) := by
rfl
/-- PDF p.6, proof of Theorem 9: a one-way-broadcast common-randomness code.
X is the ENTIRE public message. C also keeps a private k-bit output, while
A and B use X-dependent local POVMs with private outputs. All branches are
included. This POVM form includes arbitrary local ancillary randomness and
private postprocessing. No private outcome is silently made public. -/
structure RandomnessCode (d : Fin 3 → ℕ) (k : ℕ) where
messages : ℕ
cEffect : (Fin messages × Fin (2^k)) → Op (Fin (d 2))
aEffect : Fin messages → Fin (2^k) → Op (Fin (d 0))
bEffect : Fin messages → Fin (2^k) → Op (Fin (d 1))
cPovm : IsPOVM cEffect
aPovm : ∀ x, IsPOVM (aEffect x)
bPovm : ∀ x, IsPOVM (bEffect x)
/-- PDF p.6: joint law of the public message and all three private strings,
computed from the product local effects on the actual shared state. -/
def randomnessLaw {d : Fin 3 → ℕ} {k : ℕ} (rho : Op (AssistanceBasis d))
(code : RandomnessCode d k) (x : Fin code.messages) (u v w : Fin (2^k)) : ℝ :=
effectProb (fun a b => code.aEffect x u (a 0) (b 0) *
code.bEffect x v (a 1) (b 1) * code.cEffect (x,w) (a 2) (b 2)) rho
/-- PDF p.6: total variation from Uniform(identical k-bit strings) times
law(X). Keeping X is essential: broadcasting fresh random bits alone fails. -/
def randomnessError {d : Fin 3 → ℕ} {k : ℕ} (rho : Op (AssistanceBasis d))
(code : RandomnessCode d k) : ℝ :=
(1/2 : ℝ) * ∑ x, ∑ u, ∑ v, ∑ w,
|randomnessLaw rho code x u v w -
(if u = v ∧ v = w then (2 : ℝ)^(- (k : ℤ)) else 0) *
(∑ u2, ∑ v2, ∑ w2, randomnessLaw rho code x u2 v2 w2)|
/-- PDF p.6: independent shared randomness at an eventual i.i.d. rate;
the total-variation error tests uniformity, agreement, AND transcript independence. -/
def RandomnessRate {d : Fin 3 → ℕ} (rho : Op (AssistanceBasis d)) (r : ℝ) : Prop :=
0 ≤ r ∧ ∀ epsilon > (0 : ℝ), ∀ delta > (0 : ℝ), ∃ N : ℕ,
∀ n : ℕ, N < n → ∃ k : ℕ, (r-delta)*n ≤ k ∧
∃ code : RandomnessCode (fun i => d i ^ n) k,
randomnessError (groupedStateCopies rho n) code ≤ epsilon
/-- PDF p.9: a nearby pure-state ensemble, every component having entropy
at least n(rate-delta). Approximation is in trace norm, not channel norm and
not a componentwise fidelity to maximally entangled vectors. -/
def HighEntropyEnsemble {a b : ℕ} (rho : Op (Fin a × Fin b))
(n : ℕ) (rate epsilon delta : ℝ) : Prop :=
∃ ens : PureEnsemble (Fin (a^n) × Fin (b^n)),
traceNorm (Information100.P08.pureAverage ens -
Dependency50.P42.dimensionedPower rho n) ≤ epsilon ∧
∀ j, (n : ℝ)*(rate-delta) ≤
vnEntropy (traceRight (pureDensity (ens.vector j)))
/-- PDF p.9: local typical-subspace consequence, expressed by actual local
isometric embeddings. The compressed state is the normalized local projection
of rho^tensor n; the positive projection weight prevents division by zero.
Both the discarded-subspace error and the ensemble error are retained.
Logarithmic local dimensions approximate n times the respective marginal
entropies. These are subspace isometries, never full-input channel isometries. -/
def TypicalHighEntropyEnsemble {a b : ℕ} (rho : Op (Fin a × Fin b))
(n : ℕ) (epsilon delta : ℝ) : Prop :=
∃ da db : ℕ, 0 < da ∧ 0 < db ∧
∃ VA : Matrix (Fin (a^n)) (Fin da) ℂ,
∃ VB : Matrix (Fin (b^n)) (Fin db) ℂ,
VAᴴ * VA = 1 ∧ VBᴴ * VB = 1 ∧
|Real.logb 2 da - (n : ℝ)*vnEntropy (traceRight rho)| ≤ n*delta ∧
|Real.logb 2 db - (n : ℝ)*vnEntropy (traceLeft rho)| ≤ n*delta ∧
let V := Matrix.kronecker VA VB
let projected := Vᴴ * Dependency50.P42.dimensionedPower rho n * V
let weight := projected.trace.re
0 < weight ∧
let sigma := (weight : ℂ)⁻¹ • projected
IsDensityMatrix sigma ∧
traceNorm (Dependency50.P42.dimensionedPower rho n - V * sigma * Vᴴ) ≤ epsilon ∧
∃ ens : PureEnsemble (Fin da × Fin db),
traceNorm (Information100.P08.pureAverage ens - sigma) ≤ epsilon ∧
∀ j, (n : ℝ)*(min (vnEntropy (traceRight rho)) (vnEntropy (traceLeft rho)) - delta) ≤
vnEntropy (traceRight (pureDensity (ens.vector j)))
end
end QAlgorithms.Papers.Independent.Intake100.P93
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P93.AssistanceBasis
For any natural number and any assignment of natural numbers to indices , the configuration set is . No positivity assumption is imposed on the : if any , this set is empty; if , it consists of the unique empty configuration.
QAlgorithms.Papers.Independent.Intake100.P93.AssistanceConverts
For any natural number , protocol label , designated parties , and normalized -party states with positive local dimensions, this defines conversion from to by cases on . A local instrument means finitely many outcomes with probabilities , , normalized outcome states , unchanged dimensions outside one acting party, and finite Kraus families lifted by identities on the other parties, satisfying and . For , the singleton output list must be generated by the following finite recursive rules: stop at a state with weight ; apply any local instrument and concatenate recursively generated branch lists, multiplying their weights by the instrument probabilities; or replace an already generated list by its density-matrix mixture when every listed state has the same local dimensions as that mixture. For , there must be an output list generated by first taking the remaining set to be all parties except , choosing one remaining party at each step to apply a local instrument whose every outcome has that party's dimension equal to , and removing it from the remaining set; once the set is empty, a finite tree of local instruments restricted to produces the terminal list. That list must have common local dimensions equal to those of , and its weighted density matrices must sum to . For , one requires , a local instrument at , then, separately in each outcome, a deterministic local channel at followed by one at , and finally a mixture of the resulting states equal to ; a deterministic local channel is the one-outcome, probability- case of the instrument conditions above. Branch lists are concatenated in increasing outcome order, zero-probability branches still require normalized states and continuations, and no instrument can have zero outcomes. The designated parties need not be distinct, and a broadcast helper may equal either of them; an out-of-range broadcast helper makes conversion false.
QAlgorithms.Papers.Independent.Intake100.P93.AssistanceProtocol
This defines a type of protocol labels with exactly three forms: , , and for an arbitrary natural number . The label itself contains no states, operations, or validity conditions, and the natural number in a broadcast label has no bound imposed here.
QAlgorithms.Papers.Independent.Intake100.P93.AssistedYield
For any natural number , natural local dimensions , complex matrix on their product coordinate set, protocol label , parties , and real rates , this property requires , , and the following: for every and , there exists such that for every integer , there exist satisfying
and a normalized state on local dimensions , representing the grouped -fold copy of , can be converted to a normalized state with local dimensions at and elsewhere. Explicitly, the grouped copy matrix has entries , after decoding each party's coordinate through the selected equivalence between coordinates and -tuples of coordinates. The permitted conversion is determined by : allows finite adaptive local-instrument trees and intermediate forgetting of outcomes; requires every party other than to act once on each branch and reduce its dimension to , then allows a local-instrument tree on , followed by mixing its terminal states; requires , one instrument at , branch-dependent deterministic channels at then , and mixing. Each local instrument uses probabilities summing to , normalized branch states, unchanged dimensions outside its acting party, and finite lifted Kraus families with and ; a deterministic channel has one outcome of probability , and a mixture combines states of identical local dimensions by their weighted matrix sum. The required final approximation is
where has amplitude on each tuple whose coordinates at equal and whose other coordinates equal , for , and zero elsewhere. All states used have positive local dimensions and positive semidefinite matrices of trace . The parties need not be distinct, may be zero, and the rate requirements are lower bounds only. There is no separate density-matrix assumption on ; the required represented states supply the relevant normalization conditions. The threshold uses , so every required block length is positive.
QAlgorithms.Papers.Independent.Intake100.P93.ChannelAt
For any natural number , any -party states , and any party , this predicate asserts that their positive local dimensions agree away from and that there exist a natural number and complex matrices of size , indexed by , with the following properties. Let have rows indexed by configurations of and columns by configurations of , with entry when all numerical coordinates away from agree, and entry otherwise. Then and . Both and are positive semidefinite and have trace one. This is the single-outcome case with weight ; although is quantified over all natural numbers, cannot satisfy completeness. The party index excludes .
QAlgorithms.Papers.Independent.Intake100.P93.DistillationBlock
For any natural number , local dimensions , complex matrix on , protocol label , parties , natural numbers , and real number , this property requires normalized states with positive local dimensions satisfying the following conditions. The dimensions of are , and its matrix equals the grouped -copy matrix : if is the selected equivalence from length- strings over coordinates to , then
The dimensions of are at and elsewhere. Conversion from to must follow : for , use finite adaptive local-instrument trees with optional intermediate forgetting of outcomes; for , each party other than acts once along each branch, reducing its dimension to , followed by a finite local-instrument tree on , whose terminal states are mixed to obtain ; for , require , one instrument at , outcome-dependent deterministic channels at and then , and mixing to obtain . In these descriptions, a local instrument has nonnegative probabilities summing to , normalized branch states, unchanged dimensions outside the acting party, and finite identity-lifted Kraus families satisfying and ; deterministic channels are their one-outcome case, and mixing requires common local dimensions and equality to the weighted matrix sum. Finally, define to have amplitude on tuples with designated coordinates and all other coordinates , for , and amplitude zero elsewhere. One requires
where square roots are obtained by continuous functional calculus. This is root fidelity, without squaring. There is no explicit density-matrix hypothesis on , positivity hypothesis on the , or restriction on ; the required state imposes normalization and positive local dimensions on its represented copy matrix. The case uses and the empty product . The parties need not be distinct.
QAlgorithms.Papers.Independent.Intake100.P93.HelperBroadcast
For any natural number , parties , and normalized -party states with positive local dimensions, this property holds precisely when there are a natural number , real probabilities , and normalized states , indexed by , with the following properties. First, a local instrument at party transforms into the branches : the probabilities are nonnegative and sum to , all other dimensions are preserved, and finite locally lifted Kraus families satisfy
For each , a deterministic local channel at transforms into , and then a deterministic local channel at transforms into ; each such channel has a finite Kraus family whose adjoint products sum to the identity, preserves all other parties' dimensions, and sends the input density matrix exactly to the stated output density matrix. Every has the same local dimensions as , and, in those coordinates,
The parties need not be distinct. No condition reduces 's output dimension to . Zero-probability outcomes still require all three branch states and both channels; cannot satisfy the probability conditions.
QAlgorithms.Papers.Independent.Intake100.P93.HelperTree
For any natural number and designated parties , which need not be distinct, this defines a relation between a set of remaining parties, an initial normalized -party state , and a finite ordered list of weighted normalized states. Local dimensions are positive integers. When , one may finish with any list obtainable from by a finite adaptive tree of local instruments acting only on parties in , including stopping immediately with . Otherwise a step chooses a party , a natural number , probabilities with , and normalized outcome states . This must be a local instrument on : all other dimensions are unchanged, and finite families of locally lifted Kraus matrices satisfy
Additionally, party 's dimension in every must equal . Each outcome requires a recursive helper tree with remaining set ; its output weights are multiplied by , and the lists are concatenated in increasing outcome order. In the finishing tree, local instruments obey the same Kraus and probability conditions but have no requirement to reduce the acting party's dimension to . Zero-probability branches still require states and continuations, and cannot satisfy probability normalization. The definition imposes no initial requirement that exclude or .
QAlgorithms.Papers.Independent.Intake100.P93.HighEntropyEnsemble
For arbitrary natural numbers , an arbitrary complex matrix on , and arbitrary real numbers , this predicate asserts the existence of a finite ensemble of vectors on , with , , and for every , such that
The grouped tensor-power matrix has entries under the fixed bijections from strings to the bases of dimensions . Here , and , using real continuous functional calculus. The entropy bound applies to every ensemble index, including indices of zero weight. The weights' sum rules out . No density assumption on , positivity assumption on , or sign assumption on the real parameters is imposed; when , the tensor power is the one-dimensional matrix , and the entropy lower bound has left side .
QAlgorithms.Papers.Independent.Intake100.P93.InstrumentAt
For any natural numbers , any -party state , real weights and -party states indexed by , and any party , this predicate requires for every and , and asserts the existence of natural numbers and complex matrices of size for . Every state here has positive local dimensions and a positive semidefinite, trace-one matrix. The dimensions must satisfy whenever . Define the lifted matrix , with rows in the configuration set of and columns in that of , to have entry if the numerical coordinates agree for every , and entry otherwise. The remaining requirements are and, for every , . Zero weights and zero values of are allowed; cannot satisfy the weight-sum condition, and the party index excludes .
QAlgorithms.Papers.Independent.Intake100.P93.MixesTo
For any natural number , any finite list of pairs consisting of a real number and an -party state , and any -party state , this predicate requires that every listed state have exactly the dimensions of and that, for every pair of natural-number coordinate functions , the entry of at equal the list sum of times the corresponding entry of . Each such entry means the state's matrix entry if every coordinate of lies within its positive local dimensions, and means otherwise; every state matrix is positive semidefinite with trace one. The definition imposes no separate nonnegativity or normalization condition on the real list weights, and repeated list entries contribute separately. The empty list would require all entries of to vanish and therefore cannot satisfy this predicate. The case is included.
QAlgorithms.Papers.Independent.Intake100.P93.RandomnessCode
For arbitrary local dimensions and , this structure consists of a natural number of messages and three families of complex matrices,
indexed by and . All these matrices are positive semidefinite, and their completeness requirements are
There is no separately stated positivity condition on the local dimensions or on . In particular, is syntactically included, although the first completeness equation then requires , hence . When , each of has exactly one possible value.
QAlgorithms.Papers.Independent.Intake100.P93.RandomnessRate
For arbitrary natural local dimensions , a complex matrix on their triple-product basis, and , this predicate requires and says that, for every , there is such that every integer admits with and a code on dimensions having error at most . More explicitly, the code has some and positive effects , where and , with , , and . Let have entries
using the fixed bijections between dimension and length- strings over dimension . With and , the required error bound is
No assumption makes a density matrix or the positive. The definition permits and places no upper bound on .
QAlgorithms.Papers.Independent.Intake100.P93.RepresentsState
For any natural number , any -party state with positive dimensions and positive semidefinite, trace-one matrix , any natural-number dimensions , and any complex square matrix indexed by , this predicate means that for every and that the matrix obtained by reading at these coordinates equals . Explicitly, that coordinate matrix has entry if both configurations lie within the dimensions of , and entry otherwise. The dimension equality makes all these coordinates valid and forces every to be positive. The case is included and requires to be the scalar matrix with entry .
QAlgorithms.Papers.Independent.Intake100.P93.RestrictedLocalTree
For any natural number and any set of allowed parties, this defines a relation between an -party state and a finite ordered list of weighted states. Each state has positive integer local dimensions and a positive semidefinite complex matrix of trace on the product of its local coordinate sets. The relation is generated by two rules: one may stop at , producing the singleton list ; or choose a party and a finite local instrument with outcomes , probabilities summing to , and normalized resulting states . Such an instrument consists of finitely many Kraus matrices per outcome, mapping party 's input space to its output space; every other party retains its dimension, and their lifts , acting as the identity on all other parties, satisfy
For each outcome , one must supply a recursively generated output list from , using the same allowed set . The resulting list concatenates these lists in increasing order of , multiplying every weight in the -th list by . Zero-probability outcomes still require normalized resulting states and recursive continuations. Although is quantified over, its instrument conditions cannot hold because the probabilities must sum to . The case is included; then no instrument step is possible. Equal terminal states may occur repeatedly in the output list.
QAlgorithms.Papers.Independent.Intake100.P93.SState
For each natural number , an -party state consists of positive integer dimensions for and a complex matrix indexed by configurations with , together with the conditions that is positive semidefinite and . The case is included: there is one empty configuration, so is a matrix with entry .
QAlgorithms.Papers.Independent.Intake100.P93.TransmissionBlock
For natural numbers , an arbitrary complex matrix , a Boolean , and a real number , this predicate means that there exist a positive integer , a channel , and four-party density matrices , each with positive local dimensions, satisfying the following conditions. Here a channel means a map with finitely many Kraus matrices and , and a density matrix is positive semidefinite with trace . The local dimensions of are , and its matrix is obtained by starting with , applying to its second register, applying to the resulting -dimensional register, and ordering the registers as memory, receiver, environment, reference. The tensor-power matrix has entries , using the fixed bijections between length- strings and the bases of dimensions . The dimensions of are . If is true, a finite tree of local instruments acting only at parties , with later choices depending on earlier outcomes, must produce a finite list of weighted states whose mixture is exactly , with every listed state having 's dimensions. If it is false, party first applies one local instrument, then, for each outcome, party applies a channel and party applies a channel, and the resulting weighted states, again all with 's dimensions, mix exactly to . A local instrument here has nonnegative outcome probabilities summing to , leaves all other parties' dimensions unchanged, and satisfies and , where each is a rectangular operator on the acting party tensored with identities elsewhere. Finally,
where , with square roots given by real continuous functional calculus. No isometry assumption on , positivity assumption on , or restriction on is imposed. Both and are included; tensor products over zero copies have empty product .
QAlgorithms.Papers.Independent.Intake100.P93.TransmissionRate
For natural numbers , an arbitrary complex matrix , a Boolean , and , this predicate requires and says that, for every and , there is such that every integer admits with and the following construction. A positive-dimensional memory of dimension and a finite Kraus channel are chosen; a finite Kraus channel has the form with . Applying to one half of , and then applying to its -dimensional output register, must yield a four-party density matrix with dimensions , ordered as memory, receiver, environment, reference. Tensor powers use products of matrix entries and the fixed string-to-index bijections. It must be convertible to a density matrix of dimensions by a finite adaptive tree of local instruments on parties when is true, or by one instrument at party , followed in each branch by a channel at party and then a channel at party , when it is false. Instruments have nonnegative probabilities summing to , complete local Kraus operators, and branch equations ; untouched local dimensions stay unchanged. All final branches have 's dimensions and their weighted mixture equals . The required accuracy is
Every density matrix mentioned is positive semidefinite with trace . The definition assumes neither positive nor an isometric ; is permitted, and there is no upper bound or absolute-error requirement on .
QAlgorithms.Papers.Independent.Intake100.P93.TypicalHighEntropyEnsemble
For arbitrary natural numbers , a complex matrix on , and real , this predicate asserts that there exist positive integers and matrices , satisfying , , and
Writing , , and , one must have , the matrix must be positive semidefinite with trace , and . There must also exist a finite ensemble on with nonnegative weights summing to , every of norm , and
Here tensor powers use products of entries under the fixed string-to-index bijections, , and . The ensemble bound includes zero-weight indices. No density assumption on or sign restriction on is stated, and is included with the empty-product tensor-power convention.
QAlgorithms.Papers.Independent.Intake100.P93.antisymmetricPairAmplitude
For any and any ordered pair , this defines the complex number
where each indicator is one when its equality holds and zero otherwise. In particular, is identically zero; when , the values at and are respectively and , and all other values are zero.
QAlgorithms.Papers.Independent.Intake100.P93.assistance
For any finite types and arbitrary complex matrix on , this defines the real supremum
The matrices and partial trace here mean and . The entropy is , where is applied by continuous functional calculus. Only finite ensembles occur, every vector is normalized even at a zero-weight label, and no attainment of the supremum is part of this definition. There is no density-matrix hypothesis on ; if it has no such decomposition, the set is empty and its real supremum is . This includes the case where or is empty.
QAlgorithms.Papers.Independent.Intake100.P93.assistanceSequence
For arbitrary natural numbers and any complex matrix indexed by , this defines , where , and , indexed by , is the regrouped product matrix
using the chosen equivalences . For a bipartite matrix , is the real supremum of over all finite decompositions , with , every , , and every , including vectors assigned zero weight. Here . A decomposition of length zero cannot satisfy the weight condition. No density assumption on or positive-dimension assumption is made; an empty set of decomposition values has real supremum zero. The denominator is always positive: at , the definition uses one reindexed copy and divides by one.
QAlgorithms.Papers.Independent.Intake100.P93.assistedCapacityObjective
For any natural numbers and any map , this is the real supremum
where denotes real continuous functional calculus. There is no assumption that is linear, a channel, or density preserving, and may be zero. If , there is no trace-one input matrix, so the set is empty and the real supremum used here is .
QAlgorithms.Papers.Independent.Intake100.P93.averageEntanglement
For any finite types and any finite pure-state ensemble on , consisting of a natural number of labels, probabilities with , and vectors of Euclidean norm , this defines
Here , with applied by continuous functional calculus; for these density matrices this is their base- von Neumann entropy, with zero eigenvalues contributing zero. Every ensemble vector must be normalized, including those of probability zero. The ensemble conditions exclude , and no such ensemble exists if either or is empty.
QAlgorithms.Papers.Independent.Intake100.P93.bellGhzTarget
For any natural number , parties , and natural numbers , let when or , and otherwise. This defines a complex Euclidean vector indexed by tuples , with , whose amplitude is
Here the indicator is when its condition holds and otherwise. No assumption makes and distinct. Both and are allowed; their corresponding sums have one term, and when both are zero the vector has amplitude on the unique coordinate tuple.
QAlgorithms.Papers.Independent.Intake100.P93.choiKet
For every natural number , this defines the vector in with entries
Thus, for , it is . The definition also includes , when the index set is empty and the vector is the unique vector in the zero-dimensional space; the reciprocal of zero is interpreted as zero.
QAlgorithms.Papers.Independent.Intake100.P93.cutMinimum
For any natural number , any natural-number dimensions , any complex square matrix on , and any indices , this defines the minimum, over all subsets of the party indices, of , where , is applied by continuous functional calculus, and . The finite family being minimized is nonempty. No density, positive-dimension, or distinctness assumptions are imposed. If , its subsets are precisely those containing and excluding ; if , they are precisely those containing . The indices exclude .
QAlgorithms.Papers.Independent.Intake100.P93.determinantMarginal
This defines a complex matrix indexed by pairs in , with entries
where is the three-register vector whose coordinates are at , at , and zero elsewhere. In other words, the definition forms the matrix and sums over a common value of register , retaining registers .
QAlgorithms.Papers.Independent.Intake100.P93.determinantVector
This defines a vector on three registers, each with basis , by
Thus its coordinate is on the first three listed triples, on the last three, and zero on every other triple. Each displayed basis vector has coordinate one at its indicated triple and zero elsewhere.
QAlgorithms.Papers.Independent.Intake100.P93.dimensionedDilationPower
For arbitrary natural numbers , an arbitrary complex matrix with rows indexed by and columns indexed by , and every natural , this defines a matrix with rows indexed by and columns indexed by through
Here is the fixed equivalence selected from equality of the finite cardinalities; the definition does not specify a positional encoding for that equivalence. No positivity, isometry, or channel condition is imposed on , and dimensions may be zero. For , each powered dimension is , including , and the sole matrix entry is the empty product .
QAlgorithms.Papers.Independent.Intake100.P93.groupedStateCopies
For any natural number , any natural-number dimensions , any complex matrix indexed by configurations in , and any natural number , choose for each the specified cardinality-based bijection from length- sequences in to . This defines a matrix indexed by whose entry is . The bijections are the chosen finite-set equivalences; no positional numeral encoding is specified. No density-matrix or positivity assumptions are imposed on or the dimensions. For , every grouped dimension is , including when , and the unique matrix entry is the empty product .
QAlgorithms.Papers.Independent.Intake100.P93.operationalAssistance
For arbitrary natural numbers and any complex matrix on the product of registers of dimensions , this defines a real number as follows. Let be the chosen finite equivalence, put , and set , where . The defined number is the real supremum of all such that, for every , there is for which every natural admits natural numbers and a deterministic finite local-instrument protocol converting the regrouped -fold product of into a density matrix on registers of dimensions , with
Here regrouping uses the chosen equivalences , and . A finite local-instrument protocol has density matrices on positive finite local dimensions at its nodes; a step applies finitely many local Kraus branches with total completeness , probabilities summing to one, and branch equations , leaving other parties’ dimensions unchanged. Steps may depend on earlier outcomes, and outcomes may be forgotten by taking the weighted sum of states with a common dimension tuple. The final output is the single state . Zero branch probabilities are permitted. Although the requested first rate is zero, need not be zero and has no upper bound. No density assumption is imposed on the supplied ; zero input dimensions are also allowed. The supremum is the total real supremum, whose value on an empty set is zero.
QAlgorithms.Papers.Independent.Intake100.P93.pairMarginal
For any natural number , any natural-number dimensions , any complex square matrix on , and any indices , this defines a matrix indexed by pairs . Its entry is . No density, positivity, or distinctness assumption is imposed. In particular, is allowed; then an entry is zero unless and . Zero dimensions can make the index sets or sums empty, while the existence of excludes .
QAlgorithms.Papers.Independent.Intake100.P93.partyEntropy
For any natural number , any natural-number dimensions , any complex square matrix on , and any subset of the party indices, let be the matrix on configurations of with entries . This defines the real number , where and is evaluated using the continuous functional calculus. No assumption says that or is a density matrix. Empty subsets, zero dimensions, and are included, with the total functional-calculus and logarithm conventions used by the definitions.
QAlgorithms.Papers.Independent.Intake100.P93.partyMarginal
For any natural number , any natural-number dimensions , any complex square matrix indexed by configurations in , and any subset , this defines the matrix indexed by configurations on with entry . Thus the complementary coordinates are summed with equal row and column values. No density or positive-dimension assumptions are imposed. For , the result is the scalar ; for containing every party, it is under restriction of coordinates. Empty configuration sets and are included.
QAlgorithms.Papers.Independent.Intake100.P93.purificationPairEquiv
For every pair of natural numbers , this defines a selected bijection
using equality of the two finite cardinalities. The definition specifies this cardinality-based choice of equivalence without an explicit coordinate formula. Zero dimensions are included: if or , both sides are empty.
QAlgorithms.Papers.Independent.Intake100.P93.randomnessError
For arbitrary natural local dimensions , , a complex matrix on the triple-product basis, and a code with messages and positive effects satisfying , , and , define and , with all key labels ranging from to . This definition is exactly
It imposes no positivity or trace-one assumption on . The sums include the singleton key alphabet when ; if a code with is supplied, the outer sum is empty and the value is .
QAlgorithms.Papers.Independent.Intake100.P93.randomnessLaw
For natural local dimensions , a natural number , an arbitrary complex matrix indexed by triples with , a code, a message , and labels , this defines
The code supplies positive semidefinite effects satisfying , , and for every ; the tensor-product effect has entry . No density-matrix assumption on is imposed, so this real-valued expression is defined without requiring it to form a probability law. Zero local dimensions and are included.
QAlgorithms.Papers.Independent.Intake100.P93.stateCoordinates
For any natural number , any -party state with positive dimensions and positive semidefinite, trace-one matrix , and any assignment of natural numbers , this defines a complex square matrix indexed by . Its entry is when and for every , interpreting these coordinates in the configuration set of ; otherwise its entry is . The dimensions need not equal those of , and the resulting matrix is not required by this definition to have trace one. Zero dimensions are allowed in , giving an empty index set; gives the scalar entry .
QAlgorithms.Papers.Independent.Intake100.P93.superadditiveWitness
This defines a vector indexed by , with coordinates
where is one if and zero otherwise. Thus the two factors in each product pair with and with , while the vector’s two outer registers are and .
QAlgorithms.Papers.Independent.Intake100.P93.symmetricWKet
This defines the vector on three two-dimensional registers by giving amplitude to exactly those basis indices for which the natural-number sum equals , and amplitude zero to every other basis index; thus the vector is
QAlgorithms.Papers.Independent.Intake100.P93.targetDims
For any natural number , parties , and natural numbers , this defines a local-dimension function on the parties by
The parties need not be distinct, so a coincident designated party receives the first dimension once. Zero values of and are included; in particular, gives dimension at every party. The existence of excludes .
QAlgorithms.Papers.Independent.Intake100.P93.transmissionState
For arbitrary natural numbers , an arbitrary complex matrix from the -dimensional register to the register, and an arbitrary map
this defines a matrix on four registers of dimensions . Put , let be the elementary matrix, and define
This is the literal blockwise application of to the second factor of , where . With the fixed finite-cardinality equivalence from length- strings over an -element set to an -element set, define
The resulting matrix has entries
where belong to their respective four registers. There is no assumption that is an isometry or that is linear, positive, or a channel, and no density-matrix assertion is part of this definition. The cases and are included: the products defining are then empty when , and when ; if any register dimension is zero, the resulting matrix has an empty index set.
QAlgorithms.Papers.Independent.Intake100.P93.tripartitePurification
For arbitrary natural numbers , including zero, and any complex matrix indexed by , this defines a vector on three registers of dimensions by
where is the chosen finite-type equivalence and is the continuous-functional-calculus square root. The definition imposes no positivity, trace, Hermiticity, or normalization assumption on . If or , the vector’s indexing set is empty.
QAlgorithms.Papers.Independent.Intake100.P93.upsilonVector
For every pair of real numbers , with no sign or normalization assumptions, this defines the vector on three two-dimensional registers
Equivalently, at a basis index , its amplitude is zero when ; when , it is if , if , and if .
QAlgorithms.Papers.Independent.Intake100.P93.witnessOrbit
For any two complex unitary matrices , this defines the vector
where tensor factors are ordered as , and
Here the action is ordinary matrix multiplication on the vector, and each Kronecker product has entries .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.