Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Quantum state merging and negative information

Definition
QAlgorithms_Papers_Independent_Intake100_P01

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

prove2quantum

The objects the formalized statements of Quantum state merging and negative information (arXiv:quant-ph/0512247) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • branchRA: PDF p.5, (6)--(10): the unnormalized RA1 branch, with R a spectator.
  • decoupled: PDF p.5, (10): rho_R tensor tau_L, in reference-first order.
  • mergingBranchProbability: PDF p.5, (7): Born weight of the computed subnormalized RA1 branch.
  • mergingDecouplingError: PDF p.5, (10): homogeneous weighted trace norms. For a positive branch, ||omega-p tau tensor rho_R||_1=p||omega/p-tau tensor rho_R||_1. A zero-weight positive branch is zero, so no division or nonstate occurs.
  • completedMap: PDF p.6, (14), corrected: sum UNNORMALIZED branches, including their weights.
  • CompletedMerging: PDF pp.5--6, (9),(15),(16): Bob's conditional isometries complete the specified measurement; full source/reference and Phi_L are tested jointly. No initial entanglement is supplied, so the cost is -log2 L.
  • blockRow: PDF pp.6,8: N full coordinate blocks, followed by the residual block, embedded in the same L-dimensional output; at d%L=0 the last branch is zero.
  • randomBlocks: PDF p.8: a single Haar unitary rotates all orthogonal blocks.
  • oneShotBound: PDF p.6, (17): the exact one-shot quantum-error bound.
  • randomOmega: PDF p.7: omega for a fixed coisometry P0 followed by Haar U.
  • UnassistedMerging: PDF pp.8--9: no supplied entanglement, complete transferred source and output Bell state, actual LOCC map; eps is the full trace-norm error.
  • BitLOCC: PDF pp.10--11: arbitrary finite adaptive LOCC with a maximum binary transcript budget. Uncommunicated local channels/private Kraus labels cost zero. A public bit costs one in EITHER direction. Padding makes branch maxima equal; it is an upper budget, not a sum over counterfactual branches.
  • CbitFeasible: PDF p.10, Theorem 8: both cost coordinates and fidelity computed from one actual code. Positive n only; finite entanglement rate is not fixed optimal.
  • ClassicalMergingAchievable: PDF pp.10--11: optimize classical cost over every finite signed EPR rate; full-output fidelity tends to one. No optimal-ebit hypothesis.
  • QubitMergingBlockCode: PDF pp.10--11, (44): one counted Alice-to-Bob qubit message and local CPTP maps; no initial shared ebits and no classical channel. The retained Alice register and Bob output Bell half are separate from the relocated source.
  • MotherAchievable: PDF p.10, (44): source-preserving fully quantum rates, independently computed from actual codes; zero rates allow sublinear nonzero resources.
  • typicalOmega: PDF pp.8--9, (29): compute the jointly projected IID vector, in R,A,B order. Printed normalization 1/<Omega|Omega> is corrected in normalizedTypicalSource to 1/||Omega||.
  • normalizedTypicalSource: PDF p.9, (29), normalization as required by the proof. Zero Omega maps to zero by total division; the covering theorem asserts eventual nonzero mass.
  • coveringRows: PDF p.15: Haar rank-one basis on the actual typical A subspace. V identifies that subspace with Fin d; the reference is never compressed away.
  • quantumConditionedCoherent: PDF p.17, (65): quantum conditional coherent information, in the order A1,A2,B. This is S(B|A2)-S(A1 B|A2), not an average over a classical flag.
  • twoCopyTwirl: PDF pp.8,21, (24),(B1): probability Haar conjugation by U tensor U.
  • symmetryProjector: PDF p.21, (B2): symmetric and antisymmetric projectors.
  • embeddedSwap: PDF pp.8,21: F_L extended by zero through the chosen rank-L subspace.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Defs_SchurUnitaryEnsembles
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P40
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P19
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P29

/-!
Horodecki, Oppenheim and Winter, quant-ph/0512247v1.
PDF page numbers throughout. The independent-paper override permits the pinned
accepted-paper imports. All new definitions are local to this paper.
Full-output unhalved trace norm and squared fidelity are kept distinct.
Compilation is pending the separate mechanical stage.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P01

open scoped Matrix ComplexConjugate Matrix.Norms.Elementwise
open MeasureTheory
open QAlgorithms.Papers.Independent.Gap20.P11 (IsLOCC productApply finTransport referenceInformation)
open QAlgorithms.Papers.Independent.Bridge50.P40
  (RankMergingCode OneWayMergingCode mergingFidelity SourceProtocolAchievable)
open QAlgorithms.Papers.Independent.Dependency50.P19
  (first marginalRA marginalRB motherTarget motherOutput sourceCopies swap mutualInformation)
open QAlgorithms.Papers.Independent.Information100.P67 (conditionalEntropy)
open QAlgorithms.Papers.Independent.Information100.P32 (purity)
open QAlgorithms.Papers.Independent.Advance50.P29 (weakTypicalProjector)

attribute [local instance] Classical.propDecidable Classical.decEq

/-!
Repair reuse assessment (exact accepted bodies inspected):
Claimed50.P38.branchWeight takes a flag-diagonal block, whereas
mergingBranchProbability traces an Alice Kraus branch with a passive reference.
Support50.P38.quantumError is an average HALF trace-norm compression error,
whereas mergingDecouplingError is the FULL weighted decoupling norm of (10).
Dependency50.P19.MotherCode is a source/rate/slack feasibility proposition;
QubitMergingBlockCode is an explicit pair of CPTP maps with an integer qubit
message, needed to compute both limiting rates and the same output error.
Its motherOutput, motherTarget and sourceCopies are reused without change.
Dependency50.P45.typicalState is the normalized projector on a frequency-typical
subspace, whereas normalizedTypicalSource is the pure jointly projected IID
source of (29), using the accepted weakTypicalProjector.
Claimed50.P20.conditionalCoherent and Support50.P02.CQMacData.conditionalCoherent
average a classical flag; quantumConditionedCoherent is the quantum-conditioned
entropy difference (65). Substituting those frozen namesakes changes the source
objects. The distinct names below record those differences; no frozen body is
copied, modified, or silently substituted.
-/

/-- PDF p.5, (6)--(10): the unnormalized RA1 branch, with R a spectator. -/
def branchRA {L : ℕ} {A R : Type} [Fintype A] (P : Matrix (Fin L) A ℂ)
    (rho : Matrix (R × A) (R × A) ℂ) : Matrix (R × Fin L) (R × Fin L) ℂ :=
  idTensorSuperop (conjSuperop P) rho

/-- PDF p.5, (10): rho_R tensor tau_L, in reference-first order. -/
def decoupled {R : Type} (L : ℕ) (rhoR : Matrix R R ℂ) :
    Matrix (R × Fin L) (R × Fin L) ℂ :=
  Matrix.kronecker rhoR (((L : ℂ)⁻¹) • (1 : Matrix (Fin L) (Fin L) ℂ))

/-- PDF p.5, (7): Born weight of the computed subnormalized RA1 branch. -/
def mergingBranchProbability {L : ℕ} {A R : Type} [Fintype A] [Fintype R]
    (P : Matrix (Fin L) A ℂ) (rhoRA : Matrix (R × A) (R × A) ℂ) : ℝ :=
  (branchRA P rhoRA).trace.re

/-- PDF p.5, (10): homogeneous weighted trace norms. For a positive branch,
||omega-p tau tensor rho_R||_1=p||omega/p-tau tensor rho_R||_1.
A zero-weight positive branch is zero, so no division or nonstate occurs. -/
def mergingDecouplingError {L : ℕ} {A B R J : Type} [Fintype A] [Fintype B] [Fintype R] [Fintype J]
    (rho : Matrix (R × (A × B)) (R × (A × B)) ℂ)
    (P : J → Matrix (Fin L) A ℂ) : ℝ :=
  let ar := marginalRA rho
  ∑ j, traceNorm (branchRA (P j) ar -
    (mergingBranchProbability (P j) ar : ℂ) • decoupled L (traceRight rho))

/-- PDF p.6, (14), corrected: sum UNNORMALIZED branches, including their weights. -/
def completedMap {L : ℕ} {A B J : Type} [Fintype A] [Fintype B] [Fintype J]
    (P : J → Matrix (Fin L) A ℂ)
    (V : J → Matrix (Fin L × (A × B)) B ℂ) :
    Superop (A × B) (Fin L × (Fin L × (A × B))) :=
  fun rho => ∑ j, productApply (conjSuperop (P j)) (conjSuperop (V j)) rho

/-- PDF pp.5--6, (9),(15),(16): Bob's conditional isometries complete the
specified measurement; full source/reference and Phi_L are tested jointly.
No initial entanglement is supplied, so the cost is -log2 L. -/
def CompletedMerging {L : ℕ} {A B R J : Type} [Fintype A] [Fintype B] [Fintype R] [Fintype J]
    (rho : Matrix (R × (A × B)) (R × (A × B)) ℂ)
    (P : J → Matrix (Fin L) A ℂ) (eps : ℝ) : Prop :=
  ∃ V : J → Matrix (Fin L × (A × B)) B ℂ,
    (∀ j, (V j)ᴴ * V j = 1) ∧ IsLOCC (completedMap P V) ∧
    IsChannel (completedMap P V) ∧
    1 - eps ≤ (rootFidelity (idTensorSuperop (completedMap P V) rho)
      (motherTarget L rho)) ^ 2 ∧
    traceNorm (idTensorSuperop (completedMap P V) rho - motherTarget L rho) ≤
      2 * Real.sqrt eps

/-- PDF pp.6,8: N full coordinate blocks, followed by the residual block,
embedded in the same L-dimensional output; at d%L=0 the last branch is zero. -/
def blockRow (d L : ℕ) (j : Fin (d / L + 1)) : Matrix (Fin L) (Fin d) ℂ :=
  fun i a => if j.val < d / L then
    (if a.val = j.val * L + i.val then 1 else 0)
  else if i.val < d % L ∧ a.val = (d / L) * L + i.val then 1 else 0

/-- PDF p.8: a single Haar unitary rotates all orthogonal blocks. -/
def randomBlocks (d L : ℕ) (U : Matrix.unitaryGroup (Fin d) ℂ) :
    Fin (d / L + 1) → Matrix (Fin L) (Fin d) ℂ :=
  fun j => blockRow d L j * (U : Matrix (Fin d) (Fin d) ℂ)

/-- PDF p.6, (17): the exact one-shot quantum-error bound. -/
def oneShotBound (d L r : ℕ) (D : ℝ) : ℝ :=
  2 * Real.sqrt ((L : ℝ) * r / D) + 2 * L / d

/-- PDF p.7: omega for a fixed coisometry P0 followed by Haar U. -/
def randomOmega {d L : ℕ} {R : Type} [Fintype R] (P0 : Matrix (Fin L) (Fin d) ℂ)
    (rhoRA : Matrix (R × Fin d) (R × Fin d) ℂ)
    (U : Matrix.unitaryGroup (Fin d) ℂ) :=
  branchRA (P0 * (U : Matrix (Fin d) (Fin d) ℂ)) rhoRA

/-- PDF pp.8--9: no supplied entanglement, complete transferred source and
output Bell state, actual LOCC map; eps is the full trace-norm error. -/
def UnassistedMerging {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (rho : Matrix (R × (A × B)) (R × (A × B)) ℂ) (L : ℕ) (eps : ℝ) : Prop :=
  0 < L ∧ ∃ M : Superop (A × B) (Fin L × (Fin L × (A × B))),
    IsLOCC M ∧ IsChannel M ∧
    traceNorm (idTensorSuperop M rho - motherTarget L rho) ≤ eps

/-- PDF pp.10--11: arbitrary finite adaptive LOCC with a maximum binary
transcript budget. Uncommunicated local channels/private Kraus labels cost zero.
A public bit costs one in EITHER direction. Padding makes branch maxima equal;
it is an upper budget, not a sum over counterfactual branches. -/
inductive BitLOCC : {a b c d : ℕ} → ℕ →
    Superop (Fin a × Fin b) (Fin c × Fin d) → Prop
  | identity (a b : ℕ) : BitLOCC 0 (fun X : Matrix (Fin a × Fin b) (Fin a × Fin b) ℂ => X)
  | pad {a b c d n : ℕ} {M : Superop (Fin a × Fin b) (Fin c × Fin d)}
      (h : BitLOCC n M) : BitLOCC (n+1) M
  | aliceLocal {a b c d h n : ℕ} (F : Superop (Fin a) (Fin h)) (hF : IsChannel F)
      (M : Superop (Fin h × Fin b) (Fin c × Fin d)) (hM : BitLOCC n M) :
      BitLOCC n (fun X => M (productApply F id X))
  | bobLocal {a b c d h n : ℕ} (F : Superop (Fin b) (Fin h)) (hF : IsChannel F)
      (M : Superop (Fin a × Fin h) (Fin c × Fin d)) (hM : BitLOCC n M) :
      BitLOCC n (fun X => M (productApply id F X))
  | aliceBit {a b c d h e n : ℕ}
      (E : Bool × Fin e → Matrix (Fin h) (Fin a) ℂ) (hE : IsKrausFamily E)
      (next : Bool → Superop (Fin h × Fin b) (Fin c × Fin d))
      (valid : ∀ j, BitLOCC n (next j)) :
      BitLOCC (n+1) (fun X => ∑ j : Bool,
        next j (productApply (krausApply (fun k => E (j,k))) id X))
  | bobBit {a b c d h e n : ℕ}
      (E : Bool × Fin e → Matrix (Fin h) (Fin b) ℂ) (hE : IsKrausFamily E)
      (next : Bool → Superop (Fin a × Fin h) (Fin c × Fin d))
      (valid : ∀ j, BitLOCC n (next j)) :
      BitLOCC (n+1) (fun X => ∑ j : Bool,
        next j (productApply id (krausApply (fun k => E (j,k))) X))

/-- PDF p.10, Theorem 8: both cost coordinates and fidelity computed from
one actual code. Positive n only; finite entanglement rate is not fixed optimal. -/
def CbitFeasible {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (n : ℕ) (c e f : ℝ) : Prop :=
  ∃ P : RankMergingCode A B n, ∃ bits : ℕ,
    BitLOCC bits (finTransport P.operation) ∧
    c = (bits : ℝ) / n ∧ e = P.rate ∧
    f = mergingFidelity psi n P.K P.L P.operation

/-- PDF pp.10--11: optimize classical cost over every finite signed EPR
rate; full-output fidelity tends to one. No optimal-ebit hypothesis. -/
def ClassicalMergingAchievable {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (c : ℝ) : Prop :=
  ∃ e : ℝ, ∃ cs es fs : ℕ → ℝ,
    (∀ n, 0 < n → CbitFeasible psi n (cs n) (es n) (fs n)) ∧
    Filter.Tendsto cs Filter.atTop (nhds c) ∧
    Filter.Tendsto es Filter.atTop (nhds e) ∧
    Filter.Tendsto fs Filter.atTop (nhds 1)

/-- PDF pp.10--11, (44): one counted Alice-to-Bob qubit message and local
CPTP maps; no initial shared ebits and no classical channel. The retained
Alice register and Bob output Bell half are separate from the relocated source. -/
structure QubitMergingBlockCode (A B : Type) [Fintype A] [Fintype B] (n : ℕ) where
  qubits : ℕ
  L : ℕ
  L_pos : 0 < L
  encoder : Superop (Fin n → A) (Fin L × Fin (2 ^ qubits))
  decoder : Superop (Fin (2 ^ qubits) × (Fin n → B))
    (Fin L × ((Fin n → A) × (Fin n → B)))
  encoder_channel : IsChannel encoder
  decoder_channel : IsChannel decoder

/-- PDF p.10, (44): source-preserving fully quantum rates, independently
computed from actual codes; zero rates allow sublinear nonzero resources. -/
def MotherAchievable {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (q e : ℝ) : Prop :=
  ∃ P : (n : ℕ) → QubitMergingBlockCode A B (n+1),
    Filter.Tendsto (fun n => ((P n).qubits : ℝ) / (n+1 : ℕ)) Filter.atTop (nhds q) ∧
    Filter.Tendsto (fun n => Real.logb 2 ((P n).L : ℝ) / (n+1 : ℕ))
      Filter.atTop (nhds e) ∧
    Filter.Tendsto (fun n => traceNorm
      (motherOutput (P n).encoder (P n).decoder (sourceCopies (n+1) (pureDensity psi)) -
        motherTarget (P n).L (sourceCopies (n+1) (pureDensity psi))))
      Filter.atTop (nhds 0)

/-- PDF pp.8--9, (29): compute the jointly projected IID vector, in R,A,B order.
Printed normalization 1/<Omega|Omega> is corrected in normalizedTypicalSource to 1/||Omega||. -/
def typicalOmega {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (delta : ℝ) (n : ℕ) :=
  let rho := pureDensity psi
  let v : EuclideanSpace ℂ ((Fin n → R) × ((Fin n → A) × (Fin n → B))) :=
    WithLp.toLp 2 fun x => tensorPow n psi (fun t => (x.1 t,(x.2.1 t,x.2.2 t)))
  act (Matrix.kronecker (weakTypicalProjector (traceRight rho) delta n)
    (Matrix.kronecker (weakTypicalProjector (traceRight (traceLeft rho)) delta n)
      (weakTypicalProjector (traceLeft (traceLeft rho)) delta n))) v

/-- PDF p.9, (29), normalization as required by the proof. Zero Omega maps
to zero by total division; the covering theorem asserts eventual nonzero mass. -/
def normalizedTypicalSource {A B R : Type} [Fintype A] [Fintype B] [Fintype R]
    (psi : EuclideanSpace ℂ (R × (A × B))) (delta : ℝ) (n : ℕ) :=
  ((‖typicalOmega psi delta n‖⁻¹ : ℝ) : ℂ) • typicalOmega psi delta n

/-- PDF p.15: Haar rank-one basis on the actual typical A subspace.
V identifies that subspace with Fin d; the reference is never compressed away. -/
def coveringRows {d : ℕ} {A : Type} [Fintype A] (V : Matrix (Fin d) A ℂ)
    (U : Matrix.unitaryGroup (Fin d) ℂ) : Fin d → Matrix (Fin 1) A ℂ :=
  fun j _ a => ((U : Matrix (Fin d) (Fin d) ℂ) * V) j a

/-- PDF p.17, (65): quantum conditional coherent information, in the order
A1,A2,B. This is S(B|A2)-S(A1 B|A2), not an average over a classical flag. -/
def quantumConditionedCoherent {A1 A2 B : Type} [Fintype A1] [Fintype A2] [Fintype B]
    (rho : Matrix (A1 × (A2 × B)) (A1 × (A2 × B)) ℂ) : ℝ :=
  (vnEntropy (traceLeft rho) - vnEntropy (traceRight (traceLeft rho))) -
    (vnEntropy rho - vnEntropy (traceRight (traceLeft rho)))

/-- PDF pp.8,21, (24),(B1): probability Haar conjugation by U tensor U. -/
def twoCopyTwirl (d : ℕ) (X : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ) :=
  ∫ U : Matrix.unitaryGroup (Fin d) ℂ,
    (Matrix.kronecker (U : Matrix (Fin d) (Fin d) ℂ)
      (U : Matrix (Fin d) (Fin d) ℂ))ᴴ * X *
      Matrix.kronecker (U : Matrix (Fin d) (Fin d) ℂ)
        (U : Matrix (Fin d) (Fin d) ℂ) ∂(Schur.unitaryHaar d)

/-- PDF p.21, (B2): symmetric and antisymmetric projectors. -/
def symmetryProjector (d : ℕ) (symmetric : Bool) :
    Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ :=
  (1/2 : ℂ) • (if symmetric then 1 + swap (Fin d) else 1 - swap (Fin d))

/-- PDF pp.8,21: F_L extended by zero through the chosen rank-L subspace. -/
def embeddedSwap {d L : ℕ} (P0 : Matrix (Fin L) (Fin d) ℂ) :=
  (Matrix.kronecker P0 P0)ᴴ * swap (Fin L) * Matrix.kronecker P0 P0

/-- Sanity: zero-probability branches contribute zero, without normalizing zero. -/
example {L : ℕ} {A R : Type} [Fintype A] [Fintype R]
    (rho : Matrix (R × A) (R × A) ℂ) :
    mergingBranchProbability (0 : Matrix (Fin L) A ℂ) rho = 0 := by
  have hzero : branchRA (0 : Matrix (Fin L) A ℂ) rho = 0 := by
    ext p q
    simp [branchRA, idTensorSuperop, conjSuperop, Matrix.of_apply]
  simp [mergingBranchProbability, hzero]

/-- Sanity: exactly divisible dimensions have a zero residual operator. -/
example : blockRow 2 1 (2 : Fin (2 / 1 + 1)) = 0 := by
  ext i a
  simp [blockRow]

/-- Sanity: (17) has no factor d_A under its square root. -/
example : oneShotBound 2 1 1 1 = 3 := by
  norm_num [oneShotBound]

/-- Sanity: no transcript or communication in the identity protocol. -/
example : BitLOCC 0 (fun X : Matrix (Fin 1 × Fin 1) (Fin 1 × Fin 1) ℂ => X) :=
  BitLOCC.identity 1 1

/-- Sanity: the squared norms and rank bound include the zero operator. -/
example : traceNorm (0 : Matrix (Fin 1) (Fin 1) ℂ)^2 ≤
    (Matrix.rank (0 : Matrix (Fin 1) (Fin 1) ℂ) : ℝ) *
      frobNorm (0 : Matrix (Fin 1) (Fin 1) ℂ)^2 := by
  simp [traceNorm, cfc_zero]

/-- Sanity: the antisymmetric sector vanishes on a one-dimensional register. -/
example : symmetryProjector 1 false = 0 := by
  ext x y
  have h1 : x.1 = y.2 := Subsingleton.elim _ _
  have h2 : x.2 = y.1 := Subsingleton.elim _ _
  have h3 : x = y := Subsingleton.elim _ _
  have h4 : y.1 = y.2 := Subsingleton.elim _ _
  simp [symmetryProjector, swap, Matrix.one_apply, h1, h2, h3, h4]

end QAlgorithms.Papers.Independent.Intake100.P01
Source
Quantum state merging and negative information, arXiv:quant-ph/0512247v1, https://arxiv.org/abs/quant-ph/0512247v1
Read-back

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

QAlgorithms.Papers.Independent.Intake100.P01.BitLOCC

This inductively generated predicate concerns natural numbers a,b,c,d,na,b,c,d,na,b,c,d,n and maps M\mathcal MM from matrices on Ca⊗Cb\mathbb C^a\otimes\mathbb C^bCa⊗Cb to matrices on Cc⊗Cd\mathbb C^c\otimes\mathbb C^dCc⊗Cd. It has exactly these generating rules: the identity on a×ba\times ba×b has bound 000; a map with bound nnn also has bound n+1n+1n+1; a local Alice channel F:a→h\mathcal F:a\to hF:a→h, followed by a map M:h×b→c×d\mathcal M:h\times b\to c\times dM:h×b→c×d with bound nnn, gives X↦M((F⊗id⁡)(X))X\mapsto\mathcal M((\mathcal F\otimes\operatorname{id})(X))X↦M((F⊗id)(X)) with bound nnn, and the corresponding Bob rule gives X↦M((id⁡⊗F)(X))X\mapsto\mathcal M((\operatorname{id}\otimes\mathcal F)(X))X↦M((id⊗F)(X)). For an Alice binary step, choose arbitrary natural numbers h,e,nh,e,nh,e,n, matrices Ej,k:Ca→ChE_{j,k}:\mathbb C^a\to\mathbb C^hEj,k​:Ca→Ch indexed by j∈{0,1}j\in\{0,1\}j∈{0,1}, 0≤k<e0\le k<e0≤k<e, satisfying ∑j,kEj,k†Ej,k=Ia\sum_{j,k}E_{j,k}^\dagger E_{j,k}=I_a∑j,k​Ej,k†​Ej,k​=Ia​, and continuations Mj:h×b→c×d\mathcal M_j:h\times b\to c\times dMj​:h×b→c×d, each with bound nnn; then X↦∑jMj((Ej⊗id⁡)(X))X\mapsto\sum_j\mathcal M_j((\mathcal E_j\otimes\operatorname{id})(X))X↦∑j​Mj​((Ej​⊗id)(X)) has bound n+1n+1n+1, where Ej(Y)=∑kEj,kYEj,k†\mathcal E_j(Y)=\sum_kE_{j,k}YE_{j,k}^\daggerEj​(Y)=∑k​Ej,k​YEj,k†​. The Bob binary rule is the same construction on Bob’s factor, using Ej,k:Cb→ChE_{j,k}:\mathbb C^b\to\mathbb C^hEj,k​:Cb→Ch and continuations on a×ha\times ha×h. A local channel means a map with a finite Kraus representation and complete Kraus family. The tensor product of maps is defined on every matrix by

(F⊗G)(X)(u,v),(u′,v′)=∑i,i′,j,j′X(i,j),(i′,j′) F(∣i⟩⟨i′∣)u,u′ G(∣j⟩⟨j′∣)v,v′.(\mathcal F\otimes\mathcal G)(X)_{(u,v),(u',v')} =\sum_{i,i',j,j'}X_{(i,j),(i',j')} \,\mathcal F(|i\rangle\langle i'|)_{u,u'} \,\mathcal G(|j\rangle\langle j'|)_{v,v'}.(F⊗G)(X)(u,v),(u′,v′)​=i,i′,j,j′∑​X(i,j),(i′,j′)​F(∣i⟩⟨i′∣)u,u′​G(∣j⟩⟨j′∣)v,v′​.

All dimensions, the Kraus multiplicity eee, and the bound nnn may be zero; the padding rule makes the bound an upper allowance rather than an exact number of binary steps.

QAlgorithms.Papers.Independent.Intake100.P01.CbitFeasible

For finite types A,B,RA,B,RA,B,R, an arbitrary vector ψ∈CR×(A×B)\psi\in\mathbb C^{R\times(A\times B)}ψ∈CR×(A×B), n∈Nn\in\mathbb Nn∈N, and real numbers c,e,fc,e,fc,e,f, this predicate means that there exist positive integers K,LK,LK,L, an operation M:(An⊗CK)⊗(Bn⊗CK)→CL⊗((An⊗Bn)⊗CL)\mathcal M:(A^n\otimes\mathbb C^K)\otimes(B^n\otimes\mathbb C^K)\to\mathbb C^L\otimes((A^n\otimes B^n)\otimes\mathbb C^L)M:(An⊗CK)⊗(Bn⊗CK)→CL⊗((An⊗Bn)⊗CL) that is finite LOCC after reindexing all local registers by their chosen finite enumerations, and a natural number bbb, such that the reindexed operation also belongs to the inductive binary protocol class with allowance bbb. That class is generated from identities by local channels at no additional allowance, binary local complete Kraus measurements whose two continuations each have allowance one less, and padding unused allowance; channels have finite Kraus representations with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. The required equalities are

c=bn,e=log⁡2K−log⁡2Ln,f=Fr(O,T),c=\frac bn,\qquad e=\frac{\log_2K-\log_2L}{n},\qquad f=F_{\mathrm r}(O,T),c=nb​,e=nlog2​K−log2​L​,f=Fr​(O,T),

where OOO is the output of id⁡Rn⊗M\operatorname{id}_{R^n}\otimes\mathcal MidRn​⊗M on the projector onto ψ⊗n⊗ΦK\psi^{\otimes n}\otimes\Phi_Kψ⊗n⊗ΦK​, TTT is the projector onto ψ⊗n⊗ΦL\psi^{\otimes n}\otimes\Phi_Lψ⊗n⊗ΦL​ with AnBnA^nB^nAnBn at Bob, ΦK=K−1/2∑j<K∣j,j⟩\Phi_K=K^{-1/2}\sum_{j<K}|j,j\rangleΦK​=K−1/2∑j<K​∣j,j⟩, and Fr(X,Y)=Re⁡tr⁡X YXF_{\mathrm r}(X,Y)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt X\,Y\sqrt X}Fr​(X,Y)=RetrX​YX​​. The tensor-copy amplitudes are products of the corresponding amplitudes of ψ\psiψ, and the reference register is left untouched. There is no normalization assumption on ψ\psiψ, and the finite types may be empty. The case n=0n=0n=0 is included: both displayed rate quotients are then 000 under the total division convention, and the zero-copy vector has its single amplitude equal to 111.

QAlgorithms.Papers.Independent.Intake100.P01.ClassicalMergingAchievable

For finite types A,B,RA,B,RA,B,R, an arbitrary vector ψ∈CR×(A×B)\psi\in\mathbb C^{R\times(A\times B)}ψ∈CR×(A×B), and c∈Rc\in\mathbb Rc∈R, this predicate means that there exist a real number eee and three real sequences cn,en,fnc_n,e_n,f_ncn​,en​,fn​ such that cn→cc_n\to ccn​→c, en→ee_n\to een​→e, fn→1f_n\to1fn​→1, and the following holds for every positive integer nnn: there exist positive integers Kn,LnK_n,L_nKn​,Ln​, a finite LOCC operation Mn:(An⊗CKn)⊗(Bn⊗CKn)→CLn⊗((AnBn)⊗CLn)\mathcal M_n:(A^n\otimes\mathbb C^{K_n})\otimes(B^n\otimes\mathbb C^{K_n})\to\mathbb C^{L_n}\otimes((A^nB^n)\otimes\mathbb C^{L_n})Mn​:(An⊗CKn​)⊗(Bn⊗CKn​)→CLn​⊗((AnBn)⊗CLn​), and a natural number bnb_nbn​ such that

cn=bn/n,en=(log⁡2Kn−log⁡2Ln)/n,fn=Fr(On,Tn).c_n=b_n/n,\qquad e_n=(\log_2K_n-\log_2L_n)/n,\qquad f_n=F_{\mathrm r}(O_n,T_n).cn​=bn​/n,en​=(log2​Kn​−log2​Ln​)/n,fn​=Fr​(On​,Tn​).

After reindexing the local registers by their chosen finite enumerations, Mn\mathcal M_nMn​ must admit a binary protocol with allowance bnb_nbn​, generated by identities, uncounted local channels, binary complete local Kraus measurements with continuations of allowance one less, and padding unused allowance; finite LOCC itself is generated by finite complete local Kraus measurements and identity leaves. Each channel has a finite Kraus representation with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. Here OnO_nOn​ is the output, with reference untouched, on the projector onto ψ⊗n⊗ΦKn\psi^{\otimes n}\otimes\Phi_{K_n}ψ⊗n⊗ΦKn​​, TnT_nTn​ is the projector onto ψ⊗n⊗ΦLn\psi^{\otimes n}\otimes\Phi_{L_n}ψ⊗n⊗ΦLn​​ with AnBnA^nB^nAnBn at Bob, ΦK=K−1/2∑j<K∣j,j⟩\Phi_K=K^{-1/2}\sum_{j<K}|j,j\rangleΦK​=K−1/2∑j<K​∣j,j⟩, and Fr(X,Y)=Re⁡tr⁡X YXF_{\mathrm r}(X,Y)=\operatorname{Re}\operatorname{tr}\sqrt{\sqrt X\,Y\sqrt X}Fr​(X,Y)=RetrX​YX​​. The entries at n=0n=0n=0 are unconstrained, no normalization of ψ\psiψ is assumed, and the finite types need not be nonempty; the limiting net entanglement rate eee is existentially quantified and must be a finite real number.

QAlgorithms.Papers.Independent.Intake100.P01.CompletedMerging

For any natural number LLL, finite types A,B,R,JA,B,R,JA,B,R,J with specified finite enumerations, an arbitrary complex matrix ρ\rhoρ on R×(A×B)R\times(A\times B)R×(A×B), matrices Pj:A→CLP_j:A\to\mathbb C^LPj​:A→CL, and any real ε\varepsilonε, this property asserts the existence of matrices Vj:B→CL⊗CA×BV_j:B\to\mathbb C^L\otimes\mathbb C^{A\times B}Vj​:B→CL⊗CA×B satisfying Vj†Vj=IBV_j^\dagger V_j=I_BVj†​Vj​=IB​. Set M(X)=∑j(Pj⊗Vj)X(Pj⊗Vj)†\mathcal M(X)=\sum_j(P_j\otimes V_j)X(P_j\otimes V_j)^\daggerM(X)=∑j​(Pj​⊗Vj​)X(Pj​⊗Vj​)†, and let Ω\OmegaΩ be its application to the A×BA\times BA×B part of ρ\rhoρ, leaving the RRR indices unchanged. The property requires that, after indexing the local spaces by their specified finite enumerations, M\mathcal MM have a finite local protocol built recursively from identity maps and local Kraus measurements by either party, with complete local Kraus families and subsequent protocols depending on the finite measurement outcome. It separately requires a finite Kraus representation M(X)=∑ν=0m−1KνXKν†\mathcal M(X)=\sum_{\nu=0}^{m-1}K_\nu X K_\nu^\daggerM(X)=∑ν=0m−1​Kν​XKν†​, valid for every complex matrix XXX, with ∑νKν†Kν=I\sum_\nu K_\nu^\dagger K_\nu=I∑ν​Kν†​Kν​=I. Define the target matrix by

τ(r,(u,(v,(a,b)))),(s,(u′,(v′,(a′,b′))))=ρ(r,(a,b)),(s,(a′,b′)){L−1,u=v and u′=v′,0,otherwise.\tau_{(r,(u,(v,(a,b)))),(s,(u',(v',(a',b'))))} =\rho_{(r,(a,b)),(s,(a',b'))} \begin{cases} L^{-1},&u=v\ \text{and}\ u'=v',\\ 0,&\text{otherwise}. \end{cases}τ(r,(u,(v,(a,b)))),(s,(u′,(v′,(a′,b′))))​=ρ(r,(a,b)),(s,(a′,b′))​{L−1,0,​u=v and u′=v′,otherwise.​

Writing S(X)=cfc⁡⋅(X)S(X)=\operatorname{cfc}_{\sqrt{\cdot}}(X)S(X)=cfc⋅​​(X), the remaining requirements are

1−ε≤(Re⁡tr⁡S ⁣(S(Ω)τS(Ω)))2,Re⁡tr⁡S ⁣((Ω−τ)†(Ω−τ))≤2ε.1-\varepsilon\le \left(\operatorname{Re}\operatorname{tr}S\!\left(S(\Omega)\tau S(\Omega)\right)\right)^2, \qquad \operatorname{Re}\operatorname{tr}S\!\left((\Omega-\tau)^\dagger(\Omega-\tau)\right) \le2\sqrt{\varepsilon}.1−ε≤(RetrS(S(Ω)τS(Ω)))2,RetrS((Ω−τ)†(Ω−τ))≤2ε​.

No density condition on ρ\rhoρ, completeness condition on PjP_jPj​, positivity of LLL, or nonnegativity of ε\varepsilonε is assumed in the definition. Real square root is zero on nonpositive arguments; if L=0L=0L=0 and BBB is nonempty, the required isometries VjV_jVj​ cannot exist when JJJ is nonempty.

QAlgorithms.Papers.Independent.Intake100.P01.MotherAchievable

For finite types A,B,RA,B,RA,B,R, an arbitrary vector ψ∈CR×(A×B)\psi\in\mathbb C^{R\times(A\times B)}ψ∈CR×(A×B), and real numbers q,eq,eq,e, this predicate means that there exists a sequence of protocols indexed by n∈Nn\in\mathbb Nn∈N, each on k=n+1k=n+1k=n+1 copies, with a natural number qnq_nqn​, a positive integer LnL_nLn​, an encoder channel En:Ak→CLn⊗C2qn\mathcal E_n:A^k\to\mathbb C^{L_n}\otimes\mathbb C^{2^{q_n}}En​:Ak→CLn​⊗C2qn​, and a decoder channel Dn:C2qn⊗Bk→CLn⊗(Ak⊗Bk)\mathcal D_n:\mathbb C^{2^{q_n}}\otimes B^k\to\mathbb C^{L_n}\otimes(A^k\otimes B^k)Dn​:C2qn​⊗Bk→CLn​⊗(Ak⊗Bk), such that

qnn+1⟶q,log⁡2Lnn+1⟶e,∥On−Tn∥1⟶0.\frac{q_n}{n+1}\longrightarrow q,\qquad \frac{\log_2L_n}{n+1}\longrightarrow e,\qquad \|O_n-T_n\|_1\longrightarrow0.n+1qn​​⟶q,n+1log2​Ln​​⟶e,∥On​−Tn​∥1​⟶0.

Each channel has a finite Kraus representation with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I. To form OnO_nOn​, take the grouped tensor power ρk\rho_kρk​ of ρ=ψψ†\rho=\psi\psi^\daggerρ=ψψ†, whose entries are ∏i<kρ(ri,ai,bi),(ri′,ai′,bi′)\prod_{i<k}\rho_{(r_i,a_i,b_i),(r_i',a_i',b_i')}∏i<k​ρ(ri​,ai​,bi​),(ri′​,ai′​,bi′​)​, apply the encoder to AkA^kAk, pass its 2qn2^{q_n}2qn​-dimensional factor to the decoder together with BkB^kBk, retain the encoder’s LnL_nLn​-dimensional factor, and leave RkR^kRk untouched; these extensions act on each untouched matrix block separately. The target entries are

(Tn)(r,u,(v,a,b)),(r′,u′,(v′,a′,b′))=(ρk)(r,a,b),(r′,a′,b′)1u=v1u′=v′Ln,(T_n)_{(r,u,(v,a,b)),(r',u',(v',a',b'))} =(\rho_k)_{(r,a,b),(r',a',b')} \frac{\mathbf1_{u=v}\mathbf1_{u'=v'}}{L_n},(Tn​)(r,u,(v,a,b)),(r′,u′,(v′,a′,b′))​=(ρk​)(r,a,b),(r′,a′,b′)​Ln​1u=v​1u′=v′​​,

and ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. There is no normalization assumption on ψ\psiψ, no nonemptiness assumption on the finite types, and no explicit sign restriction on the real limits q,eq,eq,e; the protocol indices always use a positive number n+1n+1n+1 of copies.

QAlgorithms.Papers.Independent.Intake100.P01.QubitMergingBlockCode

For finite types A,BA,BA,B and any n∈Nn\in\mathbb Nn∈N, this structure consists of natural numbers q,Lq,Lq,L with L>0L>0L>0, an encoder map from matrices on AnA^nAn to matrices on {0,…,L−1}×{0,…,2q−1}\{0,\ldots,L-1\}\times\{0,\ldots,2^q-1\}{0,…,L−1}×{0,…,2q−1}, and a decoder map from matrices on {0,…,2q−1}×Bn\{0,\ldots,2^q-1\}\times B^n{0,…,2q−1}×Bn to matrices on {0,…,L−1}×(An×Bn)\{0,\ldots,L-1\}\times(A^n\times B^n){0,…,L−1}×(An×Bn), together with proofs that both maps are channels. Explicitly, each map must equal X↦∑jKjXKj†X\mapsto\sum_jK_jXK_j^\daggerX↦∑j​Kj​XKj†​ for some finite Kraus family satisfying ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I, for every matrix XXX on its input register. The value q=0q=0q=0 is allowed and gives a one-dimensional transmitted register; n=0n=0n=0 is allowed and makes each copy register a singleton. The types A,BA,BA,B need not be nonempty. No reconstruction, fidelity, or resource-rate condition is part of this structure.

QAlgorithms.Papers.Independent.Intake100.P01.UnassistedMerging

For finite types A,B,RA,B,RA,B,R, an arbitrary complex matrix ρ\rhoρ indexed by R×(A×B)R\times(A\times B)R×(A×B), a natural number LLL, and a real number ε\varepsilonε, this predicate means that L>0L>0L>0 and there exists a map M\mathcal MM from matrices on A×BA\times BA×B to matrices on {0,…,L−1}×({0,…,L−1}×(A×B))\{0,\ldots,L-1\}\times(\{0,\ldots,L-1\}\times(A\times B)){0,…,L−1}×({0,…,L−1}×(A×B)) such that M\mathcal MM is both a channel and a finite LOCC map, and

∥(id⁡R⊗M)(ρ)−TL(ρ)∥1≤ε.\left\|(\operatorname{id}_R\otimes\mathcal M)(\rho)-T_L(\rho)\right\|_1\le\varepsilon.∥(idR​⊗M)(ρ)−TL​(ρ)∥1​≤ε.

A channel here has a finite Kraus representation M(X)=∑jKjXKj†\mathcal M(X)=\sum_jK_jXK_j^\daggerM(X)=∑j​Kj​XKj†​, valid for every matrix XXX, with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I; finite LOCC means that, after reindexing each local type by its chosen enumeration, the map is generated recursively from identity maps by local complete finite Kraus measurements, with a finite LOCC continuation for each outcome and the branch outputs summed. The identity extension acts on each reference matrix block separately, and the target has entries

TL(ρ)(r,u,(v,a,b)),(r′,u′,(v′,a′,b′))=ρ(r,a,b),(r′,a′,b′) 1u=v1u′=v′L.T_L(\rho)_{(r,u,(v,a,b)),(r',u',(v',a',b'))} =\rho_{(r,a,b),(r',a',b')}\, \frac{\mathbf1_{u=v}\mathbf1_{u'=v'}}{L}.TL​(ρ)(r,u,(v,a,b)),(r′,u′,(v′,a′,b′))​=ρ(r,a,b),(r′,a′,b′)​L1u=v​1u′=v′​​.

The norm is ∥X∥1=Re⁡tr⁡X†X\|X\|_1=\operatorname{Re}\operatorname{tr}\sqrt{X^\dagger X}∥X∥1​=RetrX†X​. No positivity, trace, or normalization assumption is imposed on ρ\rhoρ, no sign assumption is imposed on ε\varepsilonε, and the finite types may be empty.

QAlgorithms.Papers.Independent.Intake100.P01.blockRow

For any natural numbers d,Ld,Ld,L and any integer index 0≤j<d/L+10\le j<d/L+10≤j<d/L+1, this defines an L×dL\times dL×d complex matrix with entries, for 0≤i<L0\le i<L0≤i<L and 0≤a<d0\le a<d0≤a<d,

(Bj)i,a={1,j<⌊d/L⌋ and a=jL+i,1,j≥⌊d/L⌋, i<d mod L, a=⌊d/L⌋L+i,0,otherwise.(B_j)_{i,a}= \begin{cases} 1,&j<\lfloor d/L\rfloor\ \text{and}\ a=jL+i,\\ 1,&j\ge\lfloor d/L\rfloor,\ i<d\bmod L,\ a=\lfloor d/L\rfloor L+i,\\ 0,&\text{otherwise}. \end{cases}(Bj​)i,a​=⎩⎨⎧​1,1,0,​j<⌊d/L⌋ and a=jL+i,j≥⌊d/L⌋, i<dmodL, a=⌊d/L⌋L+i,otherwise.​

Thus the last permitted index is j=⌊d/L⌋j=\lfloor d/L\rfloorj=⌊d/L⌋, and its entries use the remainder condition; this last matrix is zero when LLL divides ddd. The definition also includes zero dimensions. Natural-number division and remainder satisfy d/0=0d/0=0d/0=0 and d mod 0=dd\bmod0=ddmod0=d; when L=0L=0L=0, there is a single permitted jjj and the matrix has no rows. When d=0d=0d=0, the matrix has no columns.

QAlgorithms.Papers.Independent.Intake100.P01.branchRA

For any natural number LLL, any finite type AAA with a specified finite enumeration, any type RRR, any complex matrix PPP with rows indexed by {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1} and columns indexed by AAA, and any complex matrix ρ\rhoρ indexed by R×AR\times AR×A, this defines a matrix on R×{0,…,L−1}R\times\{0,\ldots,L-1\}R×{0,…,L−1} by applying X↦PXP†X\mapsto PXP^\daggerX↦PXP† separately to each block with fixed reference indices. Explicitly,

(branchRA⁡(P,ρ))(r,u),(s,v)=∑a,b∈APu,aρ(r,a),(s,b)Pv,b‾.\bigl(\operatorname{branchRA}(P,\rho)\bigr)_{(r,u),(s,v)} =\sum_{a,b\in A}P_{u,a}\rho_{(r,a),(s,b)}\overline{P_{v,b}}.(branchRA(P,ρ))(r,u),(s,v)​=a,b∈A∑​Pu,a​ρ(r,a),(s,b)​Pv,b​​.

Neither PPP nor ρ\rhoρ is required to satisfy normalization, positivity, or completeness conditions; RRR need not be finite. If AAA is empty, every entry is zero, and if L=0L=0L=0, the resulting matrix has an empty index set.

QAlgorithms.Papers.Independent.Intake100.P01.completedMap

For any natural number LLL, finite types A,B,JA,B,JA,B,J with specified finite enumerations, matrices Pj:A→CLP_j:A\to\mathbb C^LPj​:A→CL, and matrices Vj:B→CL⊗CA×BV_j:B\to\mathbb C^L\otimes\mathbb C^{A\times B}Vj​:B→CL⊗CA×B, this defines the function on complex matrices

M(ρ)=∑j∈J(Pj⊗Vj)ρ(Pj⊗Vj)†,\mathcal M(\rho)=\sum_{j\in J}(P_j\otimes V_j)\rho(P_j\otimes V_j)^\dagger,M(ρ)=j∈J∑​(Pj​⊗Vj​)ρ(Pj​⊗Vj​)†,

whose input indices are A×BA\times BA×B and whose output indices are {0,…,L−1}×({0,…,L−1}×(A×B))\{0,\ldots,L-1\}\times(\{0,\ldots,L-1\}\times(A\times B)){0,…,L−1}×({0,…,L−1}×(A×B)). Here (Pj⊗Vj)(u,(v,(a,b))),(a′,b′)=(Pj)u,a′(Vj)(v,(a,b)),b′(P_j\otimes V_j)_{(u,(v,(a,b))),(a',b')}=(P_j)_{u,a'}(V_j)_{(v,(a,b)),b'}(Pj​⊗Vj​)(u,(v,(a,b))),(a′,b′)​=(Pj​)u,a′​(Vj​)(v,(a,b)),b′​. No completeness or isometry conditions are imposed on either family, so trace preservation is not part of this definition. Empty finite types and L=0L=0L=0 are allowed; in particular, an empty JJJ defines the zero map.

QAlgorithms.Papers.Independent.Intake100.P01.coveringRows

For every natural number ddd, every finite type AAA, every complex matrix VVV with rows indexed by {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} and columns indexed by AAA, and every unitary d×dd\times dd×d complex matrix UUU, the declaration defines a family of one-row matrices PjP_jPj​, indexed by 0≤j<d0\le j<d0≤j<d, by

(Pj)0,a=(UV)j,a=∑k=0d−1Uj,kVk,a.(P_j)_{0,a}=(UV)_{j,a}=\sum_{k=0}^{d-1}U_{j,k}V_{k,a}.(Pj​)0,a​=(UV)j,a​=k=0∑d−1​Uj,k​Vk,a​.

There is no isometry or normalization assumption on VVV. The definition includes d=0d=0d=0, when the family has no members, and empty AAA, when every row has no entries.

QAlgorithms.Papers.Independent.Intake100.P01.decoupled

For any type RRR, any natural number LLL, and any complex matrix ρR\rho_RρR​ indexed by RRR, this defines

decoupled⁡(L,ρR)=ρR⊗(1LIL),decoupled⁡(L,ρR)(r,u),(s,v)=(ρR)r,sδu,vL,\operatorname{decoupled}(L,\rho_R)=\rho_R\otimes\left(\frac1L I_L\right), \qquad \operatorname{decoupled}(L,\rho_R)_{(r,u),(s,v)} =(\rho_R)_{r,s}\frac{\delta_{u,v}}L,decoupled(L,ρR​)=ρR​⊗(L1​IL​),decoupled(L,ρR​)(r,u),(s,v)​=(ρR​)r,s​Lδu,v​​,

where the reciprocal is taken in C\mathbb CC. No finiteness, positivity, or trace condition is imposed on ρR\rho_RρR​. The definition includes L=0L=0L=0: the reciprocal of zero is defined as zero, and the resulting matrix is indexed by the empty set R×{0,…,L−1}R\times\{0,\ldots,L-1\}R×{0,…,L−1}.

QAlgorithms.Papers.Independent.Intake100.P01.embeddedSwap

For any natural numbers d,Ld,Ld,L and any complex L×dL\times dL×d matrix P0P_0P0​, let FLF_LFL​ have entries (FL)(i,j),(k,l)=1(F_L)_{(i,j),(k,l)}=1(FL​)(i,j),(k,l)​=1 if i=li=li=l and j=kj=kj=k, and zero otherwise. The declaration defines the d2×d2d^2\times d^2d2×d2 matrix

(P0⊗P0)†FL(P0⊗P0),(P0⊗P0)(i,j),(a,b)=(P0)i,a(P0)j,b.(P_0\otimes P_0)^\dagger F_L(P_0\otimes P_0), \qquad (P_0\otimes P_0)_{(i,j),(a,b)}=(P_0)_{i,a}(P_0)_{j,b}.(P0​⊗P0​)†FL​(P0​⊗P0​),(P0​⊗P0​)(i,j),(a,b)​=(P0​)i,a​(P0​)j,b​.

No relation between LLL and ddd, or isometry condition on P0P_0P0​, is assumed. If L=0L=0L=0, the result is zero; if d=0d=0d=0, it has no entries.

QAlgorithms.Papers.Independent.Intake100.P01.mergingBranchProbability

For any natural number LLL, finite types A,RA,RA,R with specified finite enumerations, a complex matrix PPP from AAA to {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}, and an arbitrary complex matrix ρRA\rho_{RA}ρRA​ on R×AR\times AR×A, this defines the real number

p(P,ρRA)=Re⁡tr⁡B,B(r,u),(s,v)=∑a,b∈APu,a(ρRA)(r,a),(s,b)Pv,b‾.p(P,\rho_{RA}) =\operatorname{Re}\operatorname{tr}B, \qquad B_{(r,u),(s,v)} =\sum_{a,b\in A}P_{u,a}(\rho_{RA})_{(r,a),(s,b)} \overline{P_{v,b}}.p(P,ρRA​)=RetrB,B(r,u),(s,v)​=a,b∈A∑​Pu,a​(ρRA​)(r,a),(s,b)​Pv,b​​.

There are no assumptions that make this number a probability: ρRA\rho_{RA}ρRA​ need not be a density matrix, and PPP need not be a contraction or belong to a complete Kraus family. Empty AAA, empty RRR, and L=0L=0L=0 are permitted and give value zero.

QAlgorithms.Papers.Independent.Intake100.P01.mergingDecouplingError

For any natural number LLL, finite types A,B,R,JA,B,R,JA,B,R,J with specified finite enumerations, any complex matrix ρ\rhoρ on R×(A×B)R\times(A\times B)R×(A×B), and any family PjP_jPj​ of complex matrices from AAA to {0,…,L−1}\{0,\ldots,L-1\}{0,…,L−1}, define

(ρRA)(r,a),(s,a′)=∑b∈Bρ(r,(a,b)),(s,(a′,b)),(ρR)r,s=∑a∈A∑b∈Bρ(r,(a,b)),(s,(a,b)).(\rho_{RA})_{(r,a),(s,a')}=\sum_{b\in B}\rho_{(r,(a,b)),(s,(a',b))}, \qquad (\rho_R)_{r,s}=\sum_{a\in A}\sum_{b\in B} \rho_{(r,(a,b)),(s,(a,b))}.(ρRA​)(r,a),(s,a′)​=b∈B∑​ρ(r,(a,b)),(s,(a′,b))​,(ρR​)r,s​=a∈A∑​b∈B∑​ρ(r,(a,b)),(s,(a,b))​.

Let BjB_jBj​ have entries

(Bj)(r,u),(s,v)=∑a,a′∈A(Pj)u,a(ρRA)(r,a),(s,a′)(Pj)v,a′‾,pj=Re⁡tr⁡Bj.(B_j)_{(r,u),(s,v)} =\sum_{a,a'\in A}(P_j)_{u,a}(\rho_{RA})_{(r,a),(s,a')} \overline{(P_j)_{v,a'}}, \qquad p_j=\operatorname{Re}\operatorname{tr}B_j.(Bj​)(r,u),(s,v)​=a,a′∈A∑​(Pj​)u,a​(ρRA​)(r,a),(s,a′)​(Pj​)v,a′​​,pj​=RetrBj​.

The defined error is

∑j∈J∥Bj−pj(ρR⊗ILL)∥1,\sum_{j\in J}\left\|B_j-p_j\left(\rho_R\otimes\frac{I_L}{L}\right)\right\|_1,j∈J∑​​Bj​−pj​(ρR​⊗LIL​​)​1​,

where ∥X∥1=Re⁡tr⁡(cfc⁡⋅(X†X))\|X\|_1=\operatorname{Re}\operatorname{tr}\bigl(\operatorname{cfc}_{\sqrt{\cdot}}(X^\dagger X)\bigr)∥X∥1​=Retr(cfc⋅​​(X†X)), with cfc⁡\operatorname{cfc}cfc denoting continuous functional calculus. No positivity or normalization of ρ\rhoρ, or completeness of the family PjP_jPj​, is assumed. All the finite types may be empty; an empty JJJ, an empty RRR, or L=0L=0L=0 gives error zero.

QAlgorithms.Papers.Independent.Intake100.P01.normalizedTypicalSource

For any finite types A,B,RA,B,RA,B,R, possibly empty, any vector ψ∈CR×(A×B)\psi\in\mathbb C^{R\times(A\times B)}ψ∈CR×(A×B), any real δ\deltaδ, and any natural number nnn, define ρ=ψψ†\rho=\psi\psi^\daggerρ=ψψ†, with marginals ρR=Tr⁡ABρ\rho_R=\operatorname{Tr}_{AB}\rhoρR​=TrAB​ρ, ρA=Tr⁡RBρ\rho_A=\operatorname{Tr}_{RB}\rhoρA​=TrRB​ρ, and ρB=Tr⁡RAρ\rho_B=\operatorname{Tr}_{RA}\rhoρB​=TrRA​ρ. Write H(M)=−Re⁡Tr⁡[f(M)]H(M)=-\operatorname{Re}\operatorname{Tr}[f(M)]H(M)=−ReTr[f(M)], where f(x)=xlog⁡2xf(x)=x\log_2 xf(x)=xlog2​x and the matrix function uses continuous functional calculus. For each of these marginals define

Tδ,n(M)=1[ 2−n(H(M)+δ), 2−n(H(M)−δ) ](M⊗n)T_{\delta,n}(M)= \mathbf 1_{[\,2^{-n(H(M)+\delta)},\,2^{-n(H(M)-\delta)}\,]}(M^{\otimes n})Tδ,n​(M)=1[2−n(H(M)+δ),2−n(H(M)−δ)]​(M⊗n)

by functional calculus, where (M⊗n)x,y=∏i=0n−1Mxi,yi(M^{\otimes n})_{x,y}=\prod_{i=0}^{n-1}M_{x_i,y_i}(M⊗n)x,y​=∏i=0n−1​Mxi​,yi​​. Let vn(r,a,b)=∏i=0n−1ψ(ri,(ai,bi))v_n(r,a,b)=\prod_{i=0}^{n-1}\psi(r_i,(a_i,b_i))vn​(r,a,b)=∏i=0n−1​ψ(ri​,(ai​,bi​)) and Ωδ,n=(Tδ,n(ρR)⊗Tδ,n(ρA)⊗Tδ,n(ρB))vn\Omega_{\delta,n}=(T_{\delta,n}(\rho_R)\otimes T_{\delta,n}(\rho_A)\otimes T_{\delta,n}(\rho_B))v_nΩδ,n​=(Tδ,n​(ρR​)⊗Tδ,n​(ρA​)⊗Tδ,n​(ρB​))vn​, with the registers grouped as Rn×(An×Bn)R^n\times(A^n\times B^n)Rn×(An×Bn). The declaration defines the resulting vector to be ∥Ωδ,n∥−1Ωδ,n\|\Omega_{\delta,n}\|^{-1}\Omega_{\delta,n}∥Ωδ,n​∥−1Ωδ,n​. No normalization of ψ\psiψ or positivity of δ\deltaδ is assumed; if Ωδ,n=0\Omega_{\delta,n}=0Ωδ,n​=0, the result is zero because the inverse of zero is defined as zero. For n=0n=0n=0, empty products give the scalar vector 111, and the result is 111.

QAlgorithms.Papers.Independent.Intake100.P01.oneShotBound

For any natural numbers d,L,rd,L,rd,L,r and any real DDD, this defines

2LrD+2Ld,2\sqrt{\frac{Lr}{D}}+\frac{2L}{d},2DLr​​+d2L​,

with all natural numbers converted to real numbers before the displayed arithmetic. No positivity assumptions are imposed. Real division by zero has value zero, and real square root is zero on nonpositive arguments; consequently the first term is zero when D≤0D\le0D≤0, and the second term is zero when d=0d=0d=0.

QAlgorithms.Papers.Independent.Intake100.P01.quantumConditionedCoherent

For any finite types A1,A2,BA_1,A_2,BA1​,A2​,B, possibly empty, and any complex matrix ρ\rhoρ indexed by A1×(A2×B)A_1\times(A_2\times B)A1​×(A2​×B), let ρA2B=Tr⁡A1ρ\rho_{A_2B}=\operatorname{Tr}_{A_1}\rhoρA2​B​=TrA1​​ρ and ρA2=Tr⁡BρA2B\rho_{A_2}=\operatorname{Tr}_B\rho_{A_2B}ρA2​​=TrB​ρA2​B​. With H(M)=−Re⁡Tr⁡[f(M)]H(M)=-\operatorname{Re}\operatorname{Tr}[f(M)]H(M)=−ReTr[f(M)], where f(x)=xlog⁡2xf(x)=x\log_2 xf(x)=xlog2​x is applied using continuous functional calculus, the declaration defines the real number

(H(ρA2B)−H(ρA2))−(H(ρ)−H(ρA2)).\bigl(H(\rho_{A_2B})-H(\rho_{A_2})\bigr) -\bigl(H(\rho)-H(\rho_{A_2})\bigr).(H(ρA2​B​)−H(ρA2​​))−(H(ρ)−H(ρA2​​)).

No Hermiticity, positivity, or trace-one assumption is imposed on ρ\rhoρ; the same total functional-calculus expression is used for every matrix.

QAlgorithms.Papers.Independent.Intake100.P01.randomBlocks

For any natural numbers d,Ld,Ld,L and any unitary complex d×dd\times dd×d matrix UUU, this defines the family Pj=BjUP_j=B_jUPj​=Bj​U, indexed by 0≤j<d/L+10\le j<d/L+10≤j<d/L+1, where the L×dL\times dL×d matrix BjB_jBj​ has entry 111 at (i,a)(i,a)(i,a) precisely when either j<⌊d/L⌋j<\lfloor d/L\rfloorj<⌊d/L⌋ and a=jL+ia=jL+ia=jL+i, or j=⌊d/L⌋j=\lfloor d/L\rfloorj=⌊d/L⌋, i<d mod Li<d\bmod Li<dmodL, and a=⌊d/L⌋L+ia=\lfloor d/L\rfloor L+ia=⌊d/L⌋L+i; all other entries are zero. No probability distribution or random selection of UUU is part of this definition. Both d=0d=0d=0 and L=0L=0L=0 are allowed, using natural-number division d/0=0d/0=0d/0=0; the corresponding matrices have no columns or no rows, respectively.

QAlgorithms.Papers.Independent.Intake100.P01.randomOmega

For any natural numbers d,Ld,Ld,L, any finite type RRR with a specified finite enumeration, any complex L×dL\times dL×d matrix P0P_0P0​, any complex matrix ρRA\rho_{RA}ρRA​ on R×{0,…,d−1}R\times\{0,\ldots,d-1\}R×{0,…,d−1}, and any unitary d×dd\times dd×d matrix UUU, this defines the matrix on R×{0,…,L−1}R\times\{0,\ldots,L-1\}R×{0,…,L−1}

Ω=(IR⊗P0U)ρRA(IR⊗P0U)†.\Omega=(I_R\otimes P_0U)\rho_{RA}(I_R\otimes P_0U)^\dagger.Ω=(IR​⊗P0​U)ρRA​(IR​⊗P0​U)†.

Equivalently, its ((r,u),(s,v))((r,u),(s,v))((r,u),(s,v))-entry is ∑a,b<d(P0U)u,a(ρRA)(r,a),(s,b)(P0U)v,b‾\sum_{a,b<d}(P_0U)_{u,a}(\rho_{RA})_{(r,a),(s,b)}\overline{(P_0U)_{v,b}}∑a,b<d​(P0​U)u,a​(ρRA​)(r,a),(s,b)​(P0​U)v,b​​. No density condition on ρRA\rho_{RA}ρRA​, restriction on P0P_0P0​, or random choice of UUU is included. Zero ddd, zero LLL, and empty RRR are permitted.

QAlgorithms.Papers.Independent.Intake100.P01.symmetryProjector

For every natural number ddd and every Boolean value sss, let FdF_dFd​ be the matrix indexed by pairs from {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, with (Fd)(i,j),(k,l)=1(F_d)_{(i,j),(k,l)}=1(Fd​)(i,j),(k,l)​=1 when i=li=li=l and j=kj=kj=k, and zero otherwise. The declaration defines

Ps={12(I+Fd),s=true,12(I−Fd),s=false.P_s=\begin{cases} \frac12(I+F_d),&s=\mathrm{true},\\ \frac12(I-F_d),&s=\mathrm{false}. \end{cases}Ps​={21​(I+Fd​),21​(I−Fd​),​s=true,s=false.​

The identity and all matrices here act on C{0,…,d−1}2\mathbb C^{\{0,\ldots,d-1\}^2}C{0,…,d−1}2. This includes d=0d=0d=0, when the matrices have no entries, and d=1d=1d=1, when the two choices are respectively the identity and zero.

QAlgorithms.Papers.Independent.Intake100.P01.twoCopyTwirl

For every natural number ddd and every complex matrix XXX indexed by {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2, the declaration defines the matrix

∫U(d)(U⊗U)†X(U⊗U) dU,\int_{U(d)}(U\otimes U)^\dagger X(U\otimes U)\,dU,∫U(d)​(U⊗U)†X(U⊗U)dU,

where dUdUdU is normalized Haar measure on the compact group of unitary d×dd\times dd×d complex matrices and (U⊗U)(i,j),(k,l)=Ui,kUj,l(U\otimes U)_{(i,j),(k,l)}=U_{i,k}U_{j,l}(U⊗U)(i,j),(k,l)​=Ui,k​Uj,l​. No positivity or Hermiticity assumption on XXX is made. The definition includes d=0d=0d=0, when the resulting matrix has no entries.

QAlgorithms.Papers.Independent.Intake100.P01.typicalOmega

For finite types A,B,RA,B,RA,B,R, any vector ψ∈CR×(A×B)\psi\in\mathbb C^{R\times(A\times B)}ψ∈CR×(A×B), any real δ\deltaδ, and any n∈Nn\in\mathbb Nn∈N, put ρ=ψψ†\rho=\psi\psi^\daggerρ=ψψ†, ρR=Tr⁡A,Bρ\rho_R=\operatorname{Tr}_{A,B}\rhoρR​=TrA,B​ρ, ρA=Tr⁡R,Bρ\rho_A=\operatorname{Tr}_{R,B}\rhoρA​=TrR,B​ρ, and ρB=Tr⁡R,Aρ\rho_B=\operatorname{Tr}_{R,A}\rhoρB​=TrR,A​ρ. This definition returns

Ωδ,n=(Pδ,n(ρR)⊗Pδ,n(ρA)⊗Pδ,n(ρB))vn,vn(r,a,b)=∏i=0n−1ψ(ri,(ai,bi)),\Omega_{\delta,n} =\bigl(P_{\delta,n}(\rho_R)\otimes P_{\delta,n}(\rho_A) \otimes P_{\delta,n}(\rho_B)\bigr)v_n, \qquad v_n(r,a,b)=\prod_{i=0}^{n-1}\psi(r_i,(a_i,b_i)),Ωδ,n​=(Pδ,n​(ρR​)⊗Pδ,n​(ρA​)⊗Pδ,n​(ρB​))vn​,vn​(r,a,b)=i=0∏n−1​ψ(ri​,(ai​,bi​)),

with the register grouping Rn×(An×Bn)R^n\times(A^n\times B^n)Rn×(An×Bn). For a matrix XXX, the operator Pδ,n(X)P_{\delta,n}(X)Pδ,n​(X) is obtained by applying, through continuous functional calculus, the real-valued function

x⟼{1,2−n(H(X)+δ)≤x≤2−n(H(X)−δ),0,otherwisex\longmapsto \begin{cases} 1,&2^{-n(H(X)+\delta)}\le x\le2^{-n(H(X)-\delta)},\\ 0,&\text{otherwise} \end{cases}x⟼{1,0,​2−n(H(X)+δ)≤x≤2−n(H(X)−δ),otherwise​

to the tensor-power matrix X⊗nX^{\otimes n}X⊗n, whose entries are ∏i<nXzi,zi′\prod_{i<n}X_{z_i,z_i'}∏i<n​Xzi​,zi′​​; here H(X)=−Re⁡tr⁡f(X)H(X)=-\operatorname{Re}\operatorname{tr}f(X)H(X)=−Retrf(X) for f(x)=xlog⁡2xf(x)=x\log_2xf(x)=xlog2​x, again through functional calculus. Matrix action is ordinary matrix multiplication on the amplitude vector. No normalization or nonzero condition on ψ\psiψ, no positivity condition on δ\deltaδ, and no nonemptiness condition on the finite types is assumed, and the resulting vector is not normalized by this definition. For n=0n=0n=0, all copy registers are singletons and the returned vector has amplitude 111; for n>0n>0n>0 and δ<0\delta<0δ<0, the defining spectral intervals are empty and the returned vector is zero.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

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

View graph

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me