Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Cost of quantum entanglement simplified

Definition
QAlgorithms_Papers_Independent_Extend50_P16

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

prove2quantum

The objects the formalized statements of Cost of quantum entanglement simplified (arXiv:2007.14270) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • BipMat: PDF pp.2,11: finite matrices in a fixed product basis, with A first.
  • LoewnerLE: PDF p.11, Definition 1: Loewner comparison, rather than entrywise order.
  • extendedLogTwo: PDF pp.3,11,24: base-two logarithm retaining both extended endpoints.
  • logTwoReal: PDF p.3: finite scalar specialization; only nonnegative arguments are used.
  • HasFiniteKrausSum: PDF pp.2,13: in finite dimensions CP is precisely a finite Kraus sum; there is no trace-preserving condition on the Kraus family here.
  • IsCPPTChannel: PDF pp.2,13: CPTP, and the partial-transpose conjugate is CP. This is complete PPT preservation, not preservation of PPT inputs alone.
  • exactPptPreparationCost: PDF pp.3,8: exact deterministic one-shot operational preparation cost. The infimum of an empty finite-cost set is +infinity in EReal.
  • costRate: PDF p.8, (S2): positive blocklengths only, with extended costs retained.
  • exactCost: PDF pp.3,8, (4),(S2): operational asymptotic cost is the limsup, not κ-entanglement by definition.
  • KappaFeasible: PDF p.11, Definition 1: one auxiliary positive operator S for both inequalities.
  • kappaEntanglement: PDF p.11, (S1): independently defined conic entanglement measure.
  • bipartiteLogNegativity: PDF p.8, (S4): logarithmic negativity in bits.
  • sdpMap: PDF p.15, (S16): the concrete map Ψ(S)=diag(T_B(S),T_B(S)).
  • sdpC: PDF p.15, (S16): C=diag(T_B(rho),-T_B(rho)), constructed from rho.
  • sdpD: PDF p.15, (S16): the standard-form objective matrix D is the identity.
  • kappaSdpValue: PDF pp.13,15, (S12),(S15)-(S16): objective of the constructed SDP. The nonnegative extended infimum retains the empty-feasible-set convention.
  • convexityFirst: PDF pp.4,21, (S84): the first fixed two-qubit state rho_1=Phi_2.
  • convexitySecond: PDF pp.4,21, (S85): rho_2=(|00><00|+|11><11|)/2.
  • convexityAverage: PDF pp.4,21, (S86): the actual average of the two specified states.
  • monogamyVector: PDF pp.4,21, (S89): the normalized vector across the cut A:BC.
  • monogamyWhole: PDF p.21: the pure density of the fixed three-qubit vector, cut A:BC.
  • monogamyAB: PDF p.21, (S92): computed AB marginal, tracing C out of the fixed state.
  • monogamyAC: PDF p.21, (S93): computed AC marginal, tracing B out of the same state.
  • antisymmetricFirst: PDF p.22, Appendix E (S2): first unit antisymmetric two-qutrit vector.
  • antisymmetricSecond: PDF p.22, Appendix E (S3): second unit antisymmetric two-qutrit vector.
  • antisymmetricFamily: PDF p.22, Appendix F (S1): the specified rank-two family; 0<=p<=1 is required when it is called a density operator.
  • rankTwoAntisymmetricState: PDF pp.4,22, (15), Appendix E (S1): the equally weighted state rho_v.
  • maxRains: PDF p.22, Appendix E (S4), citing [27]: max-Rains quantity. Its unlogged form is inf{||T_B(X)||_1 : X >= rho}; see [27], arXiv:1601.07940v4, PDF p.2, (9). No normalized-state constraint is put on X.
  • leastEigenvalue: PDF p.8, (S5): least eigenvalue of a finite Hermitian matrix, written as the infimum of its unit-vector Rayleigh quotients. Used only on Hermitian matrices in positive dimension; that set is nonempty and bounded below.
  • binegativity: PDF p.8, (S5): modulus of the partial transpose, transposed back. The outer transpose is after the modulus.
  • priorUpperBound: PDF p.8, (S5): prior upper-bound quantity Z; the dimension factor is d_A*d_B.
  • exactDistillable: PDF pp.4,22: deterministic exact distillation, the counterpart of Appendix A's exact preparation. A sequence uses every positive blocklength; the achieved asymptotic yield is its extended liminf, with positive output ranks.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P32
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P41
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P80

/-!
Statements from Wang and Wilde, arXiv:2007.14270v1. Page numbers are PDF pages.
The local matrix model is used only for the source's finite-dimensional results.
General separable-space nodes are explicitly deferred in HARD.md and GAPS.json.
Operational preparation and distillation are defined through actual C-PPT-P maps;
κ-entanglement is independently defined by its positive-operator optimization.
All entanglement values are extended real numbers. Compilation is pending handoff.
The second-party transpose, maximally entangled resource and grouped matrix powers
are imported from pinned accepted modules; no result from those papers is assumed.
Other similarly named accepted objects have different domains or meanings; the
extended logarithm and paper-specific optimizations below retain distinct names.
-/

noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P16

open QAlgorithms Filter
open QAlgorithms.Papers.Independent.Dependency50.P32 (partialTranspose)
open QAlgorithms.Papers.Independent.Dependency50.P41 (maximallyEntangled)
open QAlgorithms.Papers.Independent.Information100.P80 (groupedPower)
open scoped Matrix ComplexConjugate ComplexOrder ENNReal

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.2,11: finite matrices in a fixed product basis, with A first. -/
abbrev BipMat (A B : Type*) := Matrix (A × B) (A × B) ℂ

/-- PDF p.11, Definition 1: Loewner comparison, rather than entrywise order. -/
def LoewnerLE {I : Type*} [Fintype I] (X Y : Matrix I I ℂ) : Prop :=
  (Y - X).PosSemidef

/-- PDF pp.3,11,24: base-two logarithm retaining both extended endpoints. -/
def extendedLogTwo (x : ℝ≥0∞) : EReal :=
  ENNReal.log x * (((Real.log 2)⁻¹ : ℝ) : EReal)

/-- PDF p.3: finite scalar specialization; only nonnegative arguments are used. -/
def logTwoReal (x : ℝ) : EReal := extendedLogTwo (ENNReal.ofReal x)

/-- PDF pp.2,13: in finite dimensions CP is precisely a finite Kraus sum;
there is no trace-preserving condition on the Kraus family here. -/
def HasFiniteKrausSum {I J : Type*} [Fintype I] [Fintype J] (P : Superop I J) : Prop :=
  ∃ (m : ℕ) (K : Fin m → Matrix J I ℂ), ∀ X, P X = krausApply K X

/-- PDF pp.2,13: CPTP, and the partial-transpose conjugate is CP.
This is complete PPT preservation, not preservation of PPT inputs alone. -/
def IsCPPTChannel {A B C D : Type*} [Fintype A] [Fintype B]
    [Fintype C] [Fintype D] (P : Superop (A × B) (C × D)) : Prop :=
  IsChannel P ∧ HasFiniteKrausSum (fun X => partialTranspose (P (partialTranspose X)))

/-- PDF pp.3,8: exact deterministic one-shot operational preparation cost.
The infimum of an empty finite-cost set is +infinity in EReal. -/
def exactPptPreparationCost {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : EReal :=
  sInf {v : EReal | ∃ d : ℕ, 0 < d ∧
    ∃ P : Superop (Fin d × Fin d) (A × B),
      IsCPPTChannel P ∧ P (maximallyEntangled d) = rho ∧
        v = logTwoReal d}

/-- PDF p.8, (S2): positive blocklengths only, with extended costs retained. -/
def costRate {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B)
    (n : ℕ) : EReal :=
  ((((n + 1 : ℕ) : ℝ)⁻¹ : ℝ) : EReal) * exactPptPreparationCost (groupedPower rho (n + 1))

/-- PDF pp.3,8, (4),(S2): operational asymptotic cost is the limsup,
not κ-entanglement by definition. -/
def exactCost {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : EReal :=
  Filter.limsup (costRate rho) Filter.atTop

/-- PDF p.11, Definition 1: one auxiliary positive operator S for both inequalities. -/
def KappaFeasible {A B : Type*} [Fintype A] [Fintype B]
    (rho S : BipMat A B) : Prop :=
  S.PosSemidef ∧ LoewnerLE (-partialTranspose S) (partialTranspose rho) ∧
    LoewnerLE (partialTranspose rho) (partialTranspose S)

/-- PDF p.11, (S1): independently defined conic entanglement measure. -/
def kappaEntanglement {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : EReal :=
  sInf {v : EReal | ∃ S : BipMat A B, KappaFeasible rho S ∧
    v = logTwoReal S.trace.re}

/-- PDF p.8, (S4): logarithmic negativity in bits. -/
def bipartiteLogNegativity {A B : Type*} [Fintype A] [Fintype B]
    (rho : BipMat A B) : EReal :=
  logTwoReal (traceNorm (partialTranspose rho))

/-- PDF p.15, (S16): the concrete map Ψ(S)=diag(T_B(S),T_B(S)). -/
def sdpMap {A B : Type*} (S : BipMat A B) :
    Matrix (Bool × (A × B)) (Bool × (A × B)) ℂ :=
  fun p q => if p.1 = q.1 then partialTranspose S p.2 q.2 else 0

/-- PDF p.15, (S16): C=diag(T_B(rho),-T_B(rho)), constructed from rho. -/
def sdpC {A B : Type*} (rho : BipMat A B) :
    Matrix (Bool × (A × B)) (Bool × (A × B)) ℂ :=
  fun p q => if p.1 = q.1 then
    if p.1 = false then partialTranspose rho p.2 q.2
    else -partialTranspose rho p.2 q.2 else 0

/-- PDF p.15, (S16): the standard-form objective matrix D is the identity. -/
def sdpD (A B : Type*) [DecidableEq A] [DecidableEq B] : BipMat A B := 1

/-- PDF pp.13,15, (S12),(S15)-(S16): objective of the constructed SDP.
The nonnegative extended infimum retains the empty-feasible-set convention. -/
def kappaSdpValue {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : ℝ≥0∞ :=
  sInf {s : ℝ≥0∞ | ∃ S : BipMat A B, S.PosSemidef ∧
    LoewnerLE (sdpC rho) (sdpMap S) ∧
      s = ENNReal.ofReal ((sdpD A B * S).trace.re)}

/-- PDF pp.4,21, (S84): the first fixed two-qubit state rho_1=Phi_2. -/
def convexityFirst : BipMat (Fin 2) (Fin 2) := maximallyEntangled 2

/-- PDF pp.4,21, (S85): rho_2=(|00><00|+|11><11|)/2. -/
def convexitySecond : BipMat (Fin 2) (Fin 2) :=
  fun p q => if p = q ∧ p.1 = p.2 then (1 / 2 : ℂ) else 0

/-- PDF pp.4,21, (S86): the actual average of the two specified states. -/
def convexityAverage : BipMat (Fin 2) (Fin 2) :=
  (1 / 2 : ℂ) • (convexityFirst + convexitySecond)

/-- PDF pp.4,21, (S89): the normalized vector across the cut A:BC. -/
def monogamyVector : EuclideanSpace ℂ (Fin 2 × (Fin 2 × Fin 2)) :=
  WithLp.toLp 2 fun p =>
    if p = (0, (0, 0)) ∨ p = (0, (1, 1)) then (1 / 2 : ℂ)
    else if p = (1, (1, 0)) then ((Real.sqrt 2 / 2 : ℝ) : ℂ) else 0

/-- PDF p.21: the pure density of the fixed three-qubit vector, cut A:BC. -/
def monogamyWhole : BipMat (Fin 2) (Fin 2 × Fin 2) := pureDensity monogamyVector

/-- PDF p.21, (S92): computed AB marginal, tracing C out of the fixed state. -/
def monogamyAB : BipMat (Fin 2) (Fin 2) :=
  fun p q => ∑ c : Fin 2, monogamyWhole (p.1, (p.2, c)) (q.1, (q.2, c))

/-- PDF p.21, (S93): computed AC marginal, tracing B out of the same state. -/
def monogamyAC : BipMat (Fin 2) (Fin 2) :=
  fun p q => ∑ b : Fin 2, monogamyWhole (p.1, (b, p.2)) (q.1, (b, q.2))

/-- PDF p.22, Appendix E (S2): first unit antisymmetric two-qutrit vector. -/
def antisymmetricFirst : EuclideanSpace ℂ (Fin 3 × Fin 3) :=
  WithLp.toLp 2 fun p => if p = (0, 1) then ((Real.sqrt 2)⁻¹ : ℂ)
    else if p = (1, 0) then -((Real.sqrt 2)⁻¹ : ℂ) else 0

/-- PDF p.22, Appendix E (S3): second unit antisymmetric two-qutrit vector. -/
def antisymmetricSecond : EuclideanSpace ℂ (Fin 3 × Fin 3) :=
  WithLp.toLp 2 fun p => if p = (0, 2) then ((Real.sqrt 2)⁻¹ : ℂ)
    else if p = (2, 0) then -((Real.sqrt 2)⁻¹ : ℂ) else 0

/-- PDF p.22, Appendix F (S1): the specified rank-two family; 0<=p<=1
is required when it is called a density operator. -/
def antisymmetricFamily (p : ℝ) : BipMat (Fin 3) (Fin 3) :=
  (p : ℂ) • pureDensity antisymmetricFirst +
    ((1 - p : ℝ) : ℂ) • pureDensity antisymmetricSecond

/-- PDF pp.4,22, (15), Appendix E (S1): the equally weighted state rho_v. -/
def rankTwoAntisymmetricState : BipMat (Fin 3) (Fin 3) := antisymmetricFamily (1 / 2)

/-- PDF p.22, Appendix E (S4), citing [27]: max-Rains quantity.
Its unlogged form is inf{||T_B(X)||_1 : X >= rho}; see [27],
arXiv:1601.07940v4, PDF p.2, (9). No normalized-state constraint is put on X. -/
def maxRains {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : EReal :=
  extendedLogTwo (sInf {t : ℝ≥0∞ | ∃ X : BipMat A B, LoewnerLE rho X ∧
    t = ENNReal.ofReal (traceNorm (partialTranspose X))})

/-- PDF p.8, (S5): least eigenvalue of a finite Hermitian matrix, written
as the infimum of its unit-vector Rayleigh quotients. Used only on Hermitian
matrices in positive dimension; that set is nonempty and bounded below. -/
def leastEigenvalue {I : Type*} [Fintype I] [Nonempty I] (X : Matrix I I ℂ) : ℝ :=
  sInf {r : ℝ | ∃ v : EuclideanSpace ℂ I, ‖v‖ = 1 ∧
    r = (∑ i, ∑ j, conj (v i) * X i j * v j).re}

/-- PDF p.8, (S5): modulus of the partial transpose, transposed back.
The outer transpose is after the modulus. -/
def binegativity {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : BipMat A B :=
  partialTranspose (cfc Real.sqrt ((partialTranspose rho)ᴴ * partialTranspose rho))

/-- PDF p.8, (S5): prior upper-bound quantity Z; the dimension factor is d_A*d_B. -/
def priorUpperBound {A B : Type*} [Fintype A] [Fintype B]
    [Nonempty A] [Nonempty B] (rho : BipMat A B) : ℝ :=
  traceNorm (partialTranspose rho) +
    ((Fintype.card A * Fintype.card B : ℕ) : ℝ) * max 0 (-leastEigenvalue (binegativity rho))

/-- PDF pp.4,22: deterministic exact distillation, the counterpart of
Appendix A's exact preparation. A sequence uses every positive blocklength;
the achieved asymptotic yield is its extended liminf, with positive output ranks. -/
def exactDistillable {A B : Type*} [Fintype A] [Fintype B] (rho : BipMat A B) : EReal :=
  sSup {v : EReal | ∃ d : ℕ → ℕ,
    (∀ n, 0 < d n ∧ ∃ P : Superop
      ((Fin (n + 1) → A) × (Fin (n + 1) → B)) (Fin (d n) × Fin (d n)),
      IsCPPTChannel P ∧ P (groupedPower rho (n + 1)) = maximallyEntangled (d n)) ∧
    v = Filter.liminf (fun n =>
      (((((n + 1 : ℕ) : ℝ)⁻¹ : ℝ) : EReal) * logTwoReal (d n))) Filter.atTop}

/-! Small sanity checks for the local model. -/

example {A B : Type*} (X : BipMat A B) :
    partialTranspose (partialTranspose X) = X := rfl

example : extendedLogTwo 1 = 0 := by simp [extendedLogTwo]

example : maximallyEntangled 1 (0, 0) (0, 0) = 1 := by
  simp [QAlgorithms.Papers.Independent.Dependency50.P41.maximallyEntangled,
    finiteMaxEntangled, pureDensity]

example {A B : Type*} (rho : BipMat A B) (p q : (Fin 0 → A) × (Fin 0 → B)) :
    groupedPower rho 0 p q = 1 := by simp [QAlgorithms.Papers.Independent.Information100.P80.groupedPower]

example {A B : Type*} (rho : BipMat A B) (p q : A × B) :
    sdpC rho (true, p) (true, q) = -partialTranspose rho p q := rfl

example {A B : Type*} (S : BipMat A B) (p q : A × B) :
    sdpMap S (false, p) (true, q) = 0 := rfl

end QAlgorithms.Papers.Independent.Extend50.P16
Source
Cost of quantum entanglement simplified, arXiv:2007.14270v1, https://arxiv.org/abs/2007.14270v1
Read-back

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

QAlgorithms.Papers.Independent.Extend50.P16.BipMat

For any types AAA and BBB, including empty or infinite types, BipMat⁡(A,B)\operatorname{BipMat}(A,B)BipMat(A,B) is the type of complex matrices whose rows and columns are indexed by A×BA\times BA×B; equivalently, its elements are functions (A×B)×(A×B)→C(A\times B)\times(A\times B)\to\mathbb C(A×B)×(A×B)→C. No positivity, Hermiticity, or normalization condition is imposed.

QAlgorithms.Papers.Independent.Extend50.P16.HasFiniteKrausSum

For any finite types I,JI,JI,J, possibly empty, and any function PPP from complex III-indexed square matrices to complex JJJ-indexed square matrices, this predicate means that there exist a natural number m≥0m\geq0m≥0 and matrices K0,…,Km−1∈CJ×IK_0,\ldots,K_{m-1}\in\mathbb C^{J\times I}K0​,…,Km−1​∈CJ×I such that, for every complex matrix X∈CI×IX\in\mathbb C^{I\times I}X∈CI×I, P(X)=∑j=0m−1KjXKj†P(X)=\sum_{j=0}^{m-1}K_jXK_j^\daggerP(X)=∑j=0m−1​Kj​XKj†​. No condition ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I is required. The case m=0m=0m=0 is allowed and gives the zero map.

QAlgorithms.Papers.Independent.Extend50.P16.IsCPPTChannel

For finite types A,B,C,DA,B,C,DA,B,C,D, possibly empty, and a function PPP from complex matrices on A×BA\times BA×B to complex matrices on C×DC\times DC×D, this predicate requires both of the following: there are finitely many matrices Ej∈C(C×D)×(A×B)E_j\in\mathbb C^{(C\times D)\times(A\times B)}Ej​∈C(C×D)×(A×B) satisfying ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I and P(X)=∑jEjXEj†P(X)=\sum_jE_jXE_j^\daggerP(X)=∑j​Ej​XEj†​ for every XXX; and there are finitely many matrices KjK_jKj​ of the same shape satisfying TC,D(P(TA,B(X)))=∑jKjXKj†T_{C,D}(P(T_{A,B}(X)))=\sum_jK_jXK_j^\daggerTC,D​(P(TA,B​(X)))=∑j​Kj​XKj†​ for every XXX, where the partial transpose is defined by TU,V(X)(u,v),(u′,v′)=X(u,v′),(u′,v)T_{U,V}(X)_{(u,v),(u',v')}=X_{(u,v'),(u',v)}TU,V​(X)(u,v),(u′,v′)​=X(u,v′),(u′,v)​. The second family has no separately imposed completeness condition. Either finite family may have zero members, subject to its stated requirements.

QAlgorithms.Papers.Independent.Extend50.P16.KappaFeasible

For finite types A,BA,BA,B, possibly empty, and complex matrices ρ,S\rho,Sρ,S on A×BA\times BA×B, this predicate means that SSS is positive semidefinite and −T(S)⪯T(ρ)⪯T(S)-T(S)\preceq T(\rho)\preceq T(S)−T(S)⪯T(ρ)⪯T(S), where T(X)(a,b),(a′,b′)=X(a,b′),(a′,b)T(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}T(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​ and X⪯YX\preceq YX⪯Y means that Y−XY-XY−X is positive semidefinite. Equivalently, all three matrices SSS, T(ρ)+T(S)T(\rho)+T(S)T(ρ)+T(S), and T(S)−T(ρ)T(S)-T(\rho)T(S)−T(ρ) must be positive semidefinite. No trace normalization is imposed on either matrix.

QAlgorithms.Papers.Independent.Extend50.P16.LoewnerLE

For any finite type III, possibly empty, and complex matrices X,YX,YX,Y indexed by III, the relation X⪯YX\preceq YX⪯Y means precisely that Y−XY-XY−X is positive semidefinite. Neither XXX nor YYY is separately required to be Hermitian or positive semidefinite.

QAlgorithms.Papers.Independent.Extend50.P16.antisymmetricFamily

For every real number ppp, this defines the complex matrix on {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2} by

ρp=p uu†+(1−p) vv†,u=∣01⟩−∣10⟩2,v=∣02⟩−∣20⟩2,\rho_p=p\,uu^\dagger+(1-p)\,vv^\dagger, \qquad u=\frac{|01\rangle-|10\rangle}{\sqrt2}, \quad v=\frac{|02\rangle-|20\rangle}{\sqrt2},ρp​=puu†+(1−p)vv†,u=2​∣01⟩−∣10⟩​,v=2​∣02⟩−∣20⟩​,

where ∣ij⟩|ij\rangle∣ij⟩ denotes a coordinate basis vector and (ww†)ij,kl=wijwkl‾(ww^\dagger)_{ij,kl}=w_{ij}\overline{w_{kl}}(ww†)ij,kl​=wij​wkl​​. The parameter ppp is unrestricted: the definition includes values outside [0,1][0,1][0,1].

QAlgorithms.Papers.Independent.Extend50.P16.antisymmetricFirst

This defines the vector in the complex Euclidean space indexed by {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2}

12∣01⟩−12∣10⟩,\frac1{\sqrt2}|01\rangle-\frac1{\sqrt2}|10\rangle,2​1​∣01⟩−2​1​∣10⟩,

where ∣ij⟩|ij\rangle∣ij⟩ denotes the coordinate unit vector at (i,j)(i,j)(i,j); every other coordinate is zero.

QAlgorithms.Papers.Independent.Extend50.P16.antisymmetricSecond

This defines a vector v∈C{0,1,2}×{0,1,2}v\in\mathbb C^{\{0,1,2\}\times\{0,1,2\}}v∈C{0,1,2}×{0,1,2} by

vij={1/2,(i,j)=(0,2),−1/2,(i,j)=(2,0),0,otherwise.v_{ij}= \begin{cases} 1/\sqrt2,&(i,j)=(0,2),\\ -1/\sqrt2,&(i,j)=(2,0),\\ 0,&\text{otherwise}. \end{cases}vij​=⎩⎨⎧​1/2​,−1/2​,0,​(i,j)=(0,2),(i,j)=(2,0),otherwise.​

Equivalently, v=(∣02⟩−∣20⟩)/2v=(|02\rangle-|20\rangle)/\sqrt2v=(∣02⟩−∣20⟩)/2​, where ∣ij⟩|ij\rangle∣ij⟩ is the coordinate vector with value 111 at (i,j)(i,j)(i,j) and 000 elsewhere.

QAlgorithms.Papers.Independent.Extend50.P16.binegativity

For arbitrary finite index types A,BA,BA,B, including empty ones, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

B(ρ)=Γ ⁣(Γ(ρ)†Γ(ρ)),Γ(X)(a,b),(a′,b′)=X(a,b′),(a′,b).\mathcal B(\rho)= \Gamma\!\left(\sqrt{\Gamma(\rho)^\dagger\Gamma(\rho)}\right), \qquad \Gamma(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}.B(ρ)=Γ(Γ(ρ)†Γ(ρ)​),Γ(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​.

The square root is obtained by applying the real square-root function through continuous functional calculus to the positive semidefinite matrix Γ(ρ)†Γ(ρ)\Gamma(\rho)^\dagger\Gamma(\rho)Γ(ρ)†Γ(ρ). No density-matrix or Hermiticity assumption is imposed on ρ\rhoρ; for an empty joint index type, the result is the unique empty matrix.

QAlgorithms.Papers.Independent.Extend50.P16.bipartiteLogNegativity

For finite types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ on A×BA\times BA×B, this quantity is the extended-real logarithm log⁡2 ⁣(Re⁡tr⁡T(ρ)†T(ρ))\log_2\!\left(\operatorname{Re}\operatorname{tr}\sqrt{T(\rho)^\dagger T(\rho)}\right)log2​(RetrT(ρ)†T(ρ)​), where T(ρ)(a,b),(a′,b′)=ρ(a,b′),(a′,b)T(\rho)_{(a,b),(a',b')}=\rho_{(a,b'),(a',b)}T(ρ)(a,b),(a′,b′)​=ρ(a,b′),(a′,b)​ and the square root is defined by continuous functional calculus. Thus it is the extended base-two logarithm of the trace norm of this partial transpose. No positivity or trace normalization of ρ\rhoρ is required; if the trace norm is zero, including when ρ=0\rho=0ρ=0, the value is −∞-\infty−∞.

QAlgorithms.Papers.Independent.Extend50.P16.convexityAverage

This defines the complex matrix on {0,1}×{0,1}\{0,1\}\times\{0,1\}{0,1}×{0,1}

12∣00⟩⟨00∣+12∣11⟩⟨11∣+14∣00⟩⟨11∣+14∣11⟩⟨00∣,\frac12|00\rangle\langle00|+\frac12|11\rangle\langle11| +\frac14|00\rangle\langle11|+\frac14|11\rangle\langle00|,21​∣00⟩⟨00∣+21​∣11⟩⟨11∣+41​∣00⟩⟨11∣+41​∣11⟩⟨00∣,

where ∣ij⟩|ij\rangle∣ij⟩ is the coordinate unit vector at (i,j)(i,j)(i,j). Equivalently, in the coordinate order 00,01,10,1100,01,10,1100,01,10,11, it is

(1/2001/4000000001/4001/2).\begin{pmatrix} 1/2&0&0&1/4\\ 0&0&0&0\\ 0&0&0&0\\ 1/4&0&0&1/2 \end{pmatrix}.​1/2001/4​0000​0000​1/4001/2​​.

QAlgorithms.Papers.Independent.Extend50.P16.convexityFirst

This defines the complex matrix on {0,1}×{0,1}\{0,1\}\times\{0,1\}{0,1}×{0,1} equal to ∣Φ⟩⟨Φ∣|\Phi\rangle\langle\Phi|∣Φ⟩⟨Φ∣, where ∣Φ⟩=(∣00⟩+∣11⟩)/2|\Phi\rangle=(|00\rangle+|11\rangle)/\sqrt2∣Φ⟩=(∣00⟩+∣11⟩)/2​ and each ∣ij⟩|ij\rangle∣ij⟩ is the coordinate unit vector at (i,j)(i,j)(i,j). Explicitly, its entry at row (i,j)(i,j)(i,j) and column (k,l)(k,l)(k,l) is 1/21/21/2 when i=ji=ji=j and k=lk=lk=l, and zero otherwise.

QAlgorithms.Papers.Independent.Extend50.P16.convexitySecond

This defines the complex matrix on {0,1}×{0,1}\{0,1\}\times\{0,1\}{0,1}×{0,1}

12∣00⟩⟨00∣+12∣11⟩⟨11∣,\frac12|00\rangle\langle00|+\frac12|11\rangle\langle11|,21​∣00⟩⟨00∣+21​∣11⟩⟨11∣,

where ∣ij⟩|ij\rangle∣ij⟩ is the coordinate unit vector at (i,j)(i,j)(i,j). Its only nonzero entries are the diagonal entries at (0,0)(0,0)(0,0) and (1,1)(1,1)(1,1), both equal to 1/21/21/2.

QAlgorithms.Papers.Independent.Extend50.P16.costRate

For finite types A,BA,BA,B, possibly empty, any complex matrix ρ\rhoρ on A×BA\times BA×B, and any natural number n≥0n\geq0n≥0, put k=n+1k=n+1k=n+1 and define the matrix RkR_kRk​ on Ak×BkA^k\times B^kAk×Bk by (Rk)(a,b),(a′,b′)=∏i=0k−1ρ(ai,bi),(ai′,bi′)(R_k)_{(a,b),(a',b')}=\prod_{i=0}^{k-1}\rho_{(a_i,b_i),(a'_i,b'_i)}(Rk​)(a,b),(a′,b′)​=∏i=0k−1​ρ(ai​,bi​),(ai′​,bi′​)​. The rate is 1/k1/k1/k times the extended-real infimum of log⁡2d\log_2 dlog2​d over positive integers ddd and maps PPP with P(Ωd)=RkP(\Omega_d)=R_kP(Ωd​)=Rk​, where (Ωd)(i,j),(l,m)=1/d(\Omega_d)_{(i,j),(l,m)}=1/d(Ωd​)(i,j),(l,m)​=1/d when i=ji=ji=j and l=ml=ml=m, and is zero otherwise. The qualifying maps have finite representations P(X)=∑jEjXEj†P(X)=\sum_jE_jXE_j^\daggerP(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, and X↦TAk,Bk(P(Td,d(X)))X\mapsto T_{A^k,B^k}(P(T_{d,d}(X)))X↦TAk,Bk​(P(Td,d​(X))) must have a finite representation ∑jKjXKj†\sum_jK_jXK_j^\dagger∑j​Kj​XKj†​, with no separately imposed completeness condition on the KjK_jKj​; the partial transpose is TU,V(X)(u,v),(u′,v′)=X(u,v′),(u′,v)T_{U,V}(X)_{(u,v),(u',v')}=X_{(u,v'),(u',v)}TU,V​(X)(u,v),(u′,v′)​=X(u,v′),(u′,v)​. An empty feasible set gives +∞+\infty+∞. No normalization of ρ\rhoρ is assumed, and n=0n=0n=0 uses one copy and the factor 111, so no zero denominator occurs.

QAlgorithms.Papers.Independent.Extend50.P16.exactCost

For finite types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ on A×BA\times BA×B, this cost is lim sup⁡k→∞Ck/k\limsup_{k\to\infty}C_k/klimsupk→∞​Ck​/k in the extended real numbers, with kkk ranging over positive integers. Here CkC_kCk​ is the extended-real infimum of log⁡2d\log_2 dlog2​d over positive integers ddd and maps PPP taking Ωd\Omega_dΩd​ exactly to the matrix RkR_kRk​ with entries (Rk)(a,b),(a′,b′)=∏i=0k−1ρ(ai,bi),(ai′,bi′)(R_k)_{(a,b),(a',b')}=\prod_{i=0}^{k-1}\rho_{(a_i,b_i),(a'_i,b'_i)}(Rk​)(a,b),(a′,b′)​=∏i=0k−1​ρ(ai​,bi​),(ai′​,bi′​)​, where (Ωd)(i,j),(l,m)=1/d(\Omega_d)_{(i,j),(l,m)}=1/d(Ωd​)(i,j),(l,m)​=1/d if i=ji=ji=j and l=ml=ml=m, and is zero otherwise. Each qualifying PPP has a finite representation P(X)=∑jEjXEj†P(X)=\sum_jE_jXE_j^\daggerP(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, and X↦TAk,Bk(P(Td,d(X)))X\mapsto T_{A^k,B^k}(P(T_{d,d}(X)))X↦TAk,Bk​(P(Td,d​(X))) has a finite representation ∑jKjXKj†\sum_jK_jXK_j^\dagger∑j​Kj​XKj†​, without a separately imposed completeness condition on the KjK_jKj​; TU,V(X)(u,v),(u′,v′)=X(u,v′),(u′,v)T_{U,V}(X)_{(u,v),(u',v')}=X_{(u,v'),(u',v)}TU,V​(X)(u,v),(u′,v′)​=X(u,v′),(u′,v)​. An empty feasible set makes Ck=+∞C_k=+\inftyCk​=+∞. No density-matrix assumption on ρ\rhoρ, existence of feasible maps, or convergence of Ck/kC_k/kCk​/k is required by this definition.

QAlgorithms.Papers.Independent.Extend50.P16.exactDistillable

For arbitrary finite index types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines the extended-real supremum

sup⁡d lim inf⁡n→∞log⁡2d(n)n+1,\sup_d\ \liminf_{n\to\infty} \frac{\log_2 d(n)}{n+1},dsup​ n→∞liminf​n+1log2​d(n)​,

where the supremum ranges over all functions d:N→Nd:\mathbb N\to\mathbb Nd:N→N such that, for every n≥0n\ge0n≥0, d(n)>0d(n)>0d(n)>0 and there exists a map PnP_nPn​ from matrices on An+1×Bn+1A^{n+1}\times B^{n+1}An+1×Bn+1 to matrices on {0,…,d(n)−1}2\{0,\ldots,d(n)-1\}^2{0,…,d(n)−1}2 satisfying

Pn(ρ⊗(n+1))=Ωd(n),Ωm=1m∑i,j=0m−1∣ii⟩⟨jj∣.P_n(\rho^{\otimes(n+1)})=\Omega_{d(n)},\qquad \Omega_m=\frac1m\sum_{i,j=0}^{m-1}|ii\rangle\langle jj|.Pn​(ρ⊗(n+1))=Ωd(n)​,Ωm​=m1​i,j=0∑m−1​∣ii⟩⟨jj∣.

Here

(ρ⊗k)(a,b),(a′,b′)=∏i=0k−1ρ(ai,bi),(ai′,bi′).(\rho^{\otimes k})_{(a,b),(a',b')} =\prod_{i=0}^{k-1}\rho_{(a_i,b_i),(a'_i,b'_i)}.(ρ⊗k)(a,b),(a′,b′)​=i=0∏k−1​ρ(ai​,bi​),(ai′​,bi′​)​.

Each PnP_nPn​ must admit a finite Kraus representation Pn(X)=∑jKjXKj†P_n(X)=\sum_jK_jXK_j^\daggerPn​(X)=∑j​Kj​XKj†​ with ∑jKj†Kj=I\sum_jK_j^\dagger K_j=I∑j​Kj†​Kj​=I, and the map X↦Γout(Pn(Γin(X)))X\mapsto\Gamma_{\rm out}(P_n(\Gamma_{\rm in}(X)))X↦Γout​(Pn​(Γin​(X))) must also admit a finite Kraus representation, without a separately required normalization of that second representation. In both occurrences, Γ\GammaΓ transposes the second party’s indices: Γ(X)(a,b),(a′,b′)=X(a,b′),(a′,b)\Gamma(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}Γ(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​. These identities hold for every input matrix. No positivity or normalization is assumed for ρ\rhoρ, no relation between the choices of PnP_nPn​ is required, and the conversion equality is exact for every nnn. If there is no admissible function ddd, the supremum is −∞-\infty−∞; this includes the case where AAA or BBB is empty.

QAlgorithms.Papers.Independent.Extend50.P16.exactPptPreparationCost

For finite types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ on A×BA\times BA×B, this cost is the infimum in the extended real numbers of log⁡2d\log_2 dlog2​d over all positive integers ddd and maps PPP from matrices on {0,…,d−1}2\{0,\ldots,d-1\}^2{0,…,d−1}2 to matrices on A×BA\times BA×B such that P(Ωd)=ρP(\Omega_d)=\rhoP(Ωd​)=ρ, where (Ωd)(i,j),(k,l)=1/d(\Omega_d)_{(i,j),(k,l)}=1/d(Ωd​)(i,j),(k,l)​=1/d if i=ji=ji=j and k=lk=lk=l, and is zero otherwise. Such a map must admit a finite representation P(X)=∑jEjXEj†P(X)=\sum_jE_jXE_j^\daggerP(X)=∑j​Ej​XEj†​ with ∑jEj†Ej=I\sum_jE_j^\dagger E_j=I∑j​Ej†​Ej​=I, and the map X↦TA,B(P(Td,d(X)))X\mapsto T_{A,B}(P(T_{d,d}(X)))X↦TA,B​(P(Td,d​(X))) must also admit a finite representation ∑jKjXKj†\sum_jK_jXK_j^\dagger∑j​Kj​XKj†​, without a separately imposed completeness condition on the KjK_jKj​. Here TU,V(X)(u,v),(u′,v′)=X(u,v′),(u′,v)T_{U,V}(X)_{(u,v),(u',v')}=X_{(u,v'),(u',v)}TU,V​(X)(u,v),(u′,v′)​=X(u,v′),(u′,v)​. No density-matrix assumption is imposed on ρ\rhoρ; if there is no qualifying d,Pd,Pd,P, the cost is +∞+\infty+∞.

QAlgorithms.Papers.Independent.Extend50.P16.extendedLogTwo

For every extended nonnegative real number x∈[0,+∞]x\in[0,+\infty]x∈[0,+∞], this function returns the extended-real value (log⁡x)/log⁡2(\log x)/\log 2(logx)/log2, using the extended logarithm: it equals the ordinary base-two logarithm when 0<x<+∞0<x<+\infty0<x<+∞, equals −∞-\infty−∞ at x=0x=0x=0, and equals +∞+\infty+∞ at x=+∞x=+\inftyx=+∞.

QAlgorithms.Papers.Independent.Extend50.P16.kappaEntanglement

For finite types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ on A×BA\times BA×B, this quantity is the extended-real infimum of log⁡2(Re⁡tr⁡S)\log_2(\operatorname{Re}\operatorname{tr}S)log2​(RetrS) over matrices SSS for which SSS, T(ρ)+T(S)T(\rho)+T(S)T(ρ)+T(S), and T(S)−T(ρ)T(S)-T(\rho)T(S)−T(ρ) are positive semidefinite, where T(X)(a,b),(a′,b′)=X(a,b′),(a′,b)T(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}T(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​. The logarithm here means the extended logarithm of max⁡(Re⁡tr⁡S,0)\max(\operatorname{Re}\operatorname{tr}S,0)max(RetrS,0), so a zero trace gives −∞-\infty−∞; an empty feasible set gives +∞+\infty+∞. No density-matrix assumption is imposed on ρ\rhoρ. In particular, when ρ=0\rho=0ρ=0, the feasible choice S=0S=0S=0 makes this infimum −∞-\infty−∞.

QAlgorithms.Papers.Independent.Extend50.P16.kappaSdpValue

For any finite types A,BA,BA,B and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, write X(a,b),(a′,b′)Γ=X(a,b′),(a′,b)X^\Gamma_{(a,b),(a',b')}=X_{(a,b'),(a',b)}X(a,b),(a′,b′)Γ​=X(a,b′),(a′,b)​ for partial transpose on the second factor. This defines an extended nonnegative real number by

inf⁡{max⁡{Re⁡tr⁡S,0}:S⪰0,SΓ−ρΓ⪰0,SΓ+ρΓ⪰0}.\inf\left\{ \max\{\operatorname{Re}\operatorname{tr}S,0\}: S\succeq0,\quad S^\Gamma-\rho^\Gamma\succeq0,\quad S^\Gamma+\rho^\Gamma\succeq0 \right\}.inf{max{RetrS,0}:S⪰0,SΓ−ρΓ⪰0,SΓ+ρΓ⪰0}.

Here SSS ranges over all complex matrices on A×BA\times BA×B, and ⪰0\succeq0⪰0 means positive semidefinite. The objective comes from the real trace of the identity matrix times SSS, converted to an extended nonnegative real by truncating negative values to zero. There is no density-matrix assumption on ρ\rhoρ; the infimum of an empty feasible set is +∞+\infty+∞. Empty AAA or BBB are included, in which case the value is zero.

QAlgorithms.Papers.Independent.Extend50.P16.leastEigenvalue

For every finite nonempty index type III and every complex matrix XXX indexed by III, this defines the real number

inf⁡v∈CI∥v∥2=1Re⁡(∑i∈I∑j∈Ivi‾ Xij vj).\inf_{\substack{v\in\mathbb C^I\\ \|v\|_2=1}} \operatorname{Re}\left( \sum_{i\in I}\sum_{j\in I}\overline{v_i}\,X_{ij}\,v_j \right).v∈CI∥v∥2​=1​inf​Re​i∈I∑​j∈I∑​vi​​Xij​vj​​.

The matrix XXX is arbitrary; Hermiticity is not a hypothesis. The nonemptiness of III ensures that unit vectors exist.

QAlgorithms.Papers.Independent.Extend50.P16.logTwoReal

For every real number xxx, this function returns the extended base-two logarithm of max⁡(x,0)\max(x,0)max(x,0). Thus its value is log⁡2x\log_2 xlog2​x, regarded as an extended real, when x>0x>0x>0, and is −∞-\infty−∞ whenever x≤0x\leq0x≤0.

QAlgorithms.Papers.Independent.Extend50.P16.maxRains

For arbitrary finite index types A,BA,BA,B, possibly empty, and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines an extended-real value

R(ρ)=L ⁣(inf⁡{[∥Γ(X)∥1]+:X∈C(A×B)×(A×B), X−ρ⪰0}).\mathcal R(\rho)= L\!\left( \inf\left\{ [\|\Gamma(X)\|_1]_+: X\in\mathbb C^{(A\times B)\times(A\times B)},\ X-\rho\succeq0 \right\}\right).R(ρ)=L(inf{[∥Γ(X)∥1​]+​:X∈C(A×B)×(A×B), X−ρ⪰0}).

Here Γ(X)(a,b),(a′,b′)=X(a,b′),(a′,b)\Gamma(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}Γ(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​, Y⪰0Y\succeq0Y⪰0 means positive semidefinite, ∥Y∥1=Re⁡tr⁡Y†Y\|Y\|_1=\operatorname{Re}\operatorname{tr}\sqrt{Y^\dagger Y}∥Y∥1​=RetrY†Y​, and [r]+=max⁡(r,0)[r]_+=\max(r,0)[r]+​=max(r,0), regarded as an element of [0,∞][0,\infty][0,∞]. The infimum is taken in [0,∞][0,\infty][0,∞], and L(x)=log⁡(x)/log⁡2L(x)=\log(x)/\log2L(x)=log(x)/log2 uses the extended logarithm, so L(0)=−∞L(0)=-\inftyL(0)=−∞ and L(∞)=+∞L(\infty)=+\inftyL(∞)=+∞. No positivity, Hermiticity, or trace condition is imposed on ρ\rhoρ, and no condition on XXX is imposed beyond X−ρ⪰0X-\rho\succeq0X−ρ⪰0. If either index type is empty, the value is −∞-\infty−∞.

QAlgorithms.Papers.Independent.Extend50.P16.monogamyAB

This defines the complex matrix on {0,1}×{0,1}\{0,1\}\times\{0,1\}{0,1}×{0,1} obtained by summing the entries va,b,cva′,b′,c‾v_{a,b,c}\overline{v_{a',b',c}}va,b,c​va′,b′,c​​ over c∈{0,1}c\in\{0,1\}c∈{0,1}, where v000=v011=1/2v_{000}=v_{011}=1/2v000​=v011​=1/2, v110=2/2v_{110}=\sqrt2/2v110​=2​/2, and all other coordinates vanish. Explicitly, in the coordinate order 00,01,10,1100,01,10,1100,01,10,11, it is

(1/4002/401/40000002/4001/2).\begin{pmatrix} 1/4&0&0&\sqrt2/4\\ 0&1/4&0&0\\ 0&0&0&0\\ \sqrt2/4&0&0&1/2 \end{pmatrix}.​1/4002​/4​01/400​0000​2​/4001/2​​.

QAlgorithms.Papers.Independent.Extend50.P16.monogamyAC

This defines the complex matrix on {0,1}×{0,1}\{0,1\}\times\{0,1\}{0,1}×{0,1} obtained by summing the entries va,b,cva′,b,c′‾v_{a,b,c}\overline{v_{a',b,c'}}va,b,c​va′,b,c′​​ over b∈{0,1}b\in\{0,1\}b∈{0,1}, where v000=v011=1/2v_{000}=v_{011}=1/2v000​=v011​=1/2, v110=2/2v_{110}=\sqrt2/2v110​=2​/2, and all other coordinates vanish. Explicitly, in the coordinate order 00,01,10,1100,01,10,1100,01,10,11, it is

(1/400001/42/4002/41/200000).\begin{pmatrix} 1/4&0&0&0\\ 0&1/4&\sqrt2/4&0\\ 0&\sqrt2/4&1/2&0\\ 0&0&0&0 \end{pmatrix}.​1/4000​01/42​/40​02​/41/20​0000​​.

QAlgorithms.Papers.Independent.Extend50.P16.monogamyVector

This defines the vector in the complex Euclidean space indexed by {0,1}×({0,1}×{0,1})\{0,1\}\times(\{0,1\}\times\{0,1\}){0,1}×({0,1}×{0,1})

v=12∣000⟩+12∣011⟩+22∣110⟩,v=\frac12|000\rangle+\frac12|011\rangle+\frac{\sqrt2}{2}|110\rangle,v=21​∣000⟩+21​∣011⟩+22​​∣110⟩,

where ∣abc⟩|abc\rangle∣abc⟩ denotes the coordinate unit vector at (a,(b,c))(a,(b,c))(a,(b,c)); every other coordinate is zero.

QAlgorithms.Papers.Independent.Extend50.P16.monogamyWhole

This defines the complex matrix on {0,1}×({0,1}×{0,1})\{0,1\}\times(\{0,1\}\times\{0,1\}){0,1}×({0,1}×{0,1}) with entries vpvq‾v_p\overline{v_q}vp​vq​​, where

v=12∣000⟩+12∣011⟩+22∣110⟩v=\frac12|000\rangle+\frac12|011\rangle+\frac{\sqrt2}{2}|110\ranglev=21​∣000⟩+21​∣011⟩+22​​∣110⟩

and the displayed kets are coordinate unit vectors. In other words, the matrix is the outer product ∣v⟩⟨v∣|v\rangle\langle v|∣v⟩⟨v∣.

QAlgorithms.Papers.Independent.Extend50.P16.priorUpperBound

For finite nonempty index types A,BA,BA,B and an arbitrary complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

∥Γ(ρ)∥1+∣A∣ ∣B∣max⁡{0,−λ(B(ρ))},\|\Gamma(\rho)\|_1+ |A|\,|B|\max\{0,-\lambda(\mathcal B(\rho))\},∥Γ(ρ)∥1​+∣A∣∣B∣max{0,−λ(B(ρ))},

where Γ(X)(a,b),(a′,b′)=X(a,b′),(a′,b)\Gamma(X)_{(a,b),(a',b')}=X_{(a,b'),(a',b)}Γ(X)(a,b),(a′,b′)​=X(a,b′),(a′,b)​, ∥Y∥1=Re⁡tr⁡Y†Y\|Y\|_1=\operatorname{Re}\operatorname{tr}\sqrt{Y^\dagger Y}∥Y∥1​=RetrY†Y​, B(ρ)=Γ(Γ(ρ)†Γ(ρ))\mathcal B(\rho)=\Gamma(\sqrt{\Gamma(\rho)^\dagger\Gamma(\rho)})B(ρ)=Γ(Γ(ρ)†Γ(ρ)​), and

λ(H)=inf⁡∥v∥2=1Re⁡∑i,jvi‾Hijvj,\lambda(H)=\inf_{\|v\|_2=1} \operatorname{Re}\sum_{i,j}\overline{v_i}H_{ij}v_j,λ(H)=∥v∥2​=1inf​Rei,j∑​vi​​Hij​vj​,

with i,ji,ji,j ranging over A×BA\times BA×B. No positivity or trace normalization is assumed for ρ\rhoρ.

QAlgorithms.Papers.Independent.Extend50.P16.rankTwoAntisymmetricState

This defines the complex matrix on {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2} to be

ρ=12 uu†+12 vv†,u=∣01⟩−∣10⟩2,v=∣02⟩−∣20⟩2,\rho=\frac12\,uu^\dagger+\frac12\,vv^\dagger, \qquad u=\frac{|01\rangle-|10\rangle}{\sqrt2}, \quad v=\frac{|02\rangle-|20\rangle}{\sqrt2},ρ=21​uu†+21​vv†,u=2​∣01⟩−∣10⟩​,v=2​∣02⟩−∣20⟩​,

where ∣ij⟩|ij\rangle∣ij⟩ is the corresponding coordinate basis vector and ww†ww^\daggerww† has entries wijwkl‾w_{ij}\overline{w_{kl}}wij​wkl​​.

QAlgorithms.Papers.Independent.Extend50.P16.sdpC

For arbitrary types A,BA,BA,B and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines the matrix

C(ρ)(β,(a,b)),(γ,(a′,b′))={ρ(a,b′),(a′,b),β=γ=false,−ρ(a,b′),(a′,b′),β=γ=true,0,β≠γ.C(\rho)_{(\beta,(a,b)),(\gamma,(a',b'))} = \begin{cases} \rho_{(a,b'),(a',b)},&\beta=\gamma=\mathrm{false},\\ -\rho_{(a,b'),(a',b')},&\beta=\gamma=\mathrm{true},\\ 0,&\beta\ne\gamma. \end{cases}C(ρ)(β,(a,b)),(γ,(a′,b′))​=⎩⎨⎧​ρ(a,b′),(a′,b)​,−ρ(a,b′),(a′,b′)​,0,​β=γ=false,β=γ=true,β=γ.​

Its false diagonal block is the partial transpose of ρ\rhoρ on the second factor, its true diagonal block is its negative, and its off-diagonal blocks vanish. No finiteness or positivity assumption is imposed, and empty indexing types are permitted.

QAlgorithms.Papers.Independent.Extend50.P16.sdpD

For arbitrary types A,BA,BA,B, each equipped with decidable equality, this defines the identity complex matrix on A×BA\times BA×B:

D(a,b),(a′,b′)={1,a=a′ and b=b′,0,otherwise.D_{(a,b),(a',b')}= \begin{cases} 1,&a=a'\ \text{and}\ b=b',\\ 0,&\text{otherwise}. \end{cases}D(a,b),(a′,b′)​={1,0,​a=a′ and b=b′,otherwise.​

Neither type is required to be finite or nonempty.

QAlgorithms.Papers.Independent.Extend50.P16.sdpMap

For arbitrary types A,BA,BA,B and any complex matrix SSS indexed by A×BA\times BA×B, this defines a complex matrix indexed by {false,true}×(A×B)\{\mathrm{false},\mathrm{true}\}\times(A\times B){false,true}×(A×B) by

L(S)(β,(a,b)),(γ,(a′,b′))={S(a,b′),(a′,b),β=γ,0,β≠γ.\mathcal L(S)_{(\beta,(a,b)),(\gamma,(a',b'))} = \begin{cases} S_{(a,b'),(a',b)},&\beta=\gamma,\\ 0,&\beta\ne\gamma. \end{cases}L(S)(β,(a,b)),(γ,(a′,b′))​={S(a,b′),(a′,b)​,0,​β=γ,β=γ.​

Thus both diagonal Boolean blocks are the partial transpose of SSS on its second factor, and the off-diagonal blocks are zero. No finiteness or positivity assumption is imposed; either indexing type may be empty.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

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

View graph

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me