Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Definitions for Improved Semidefinite Programming Upper Bound on Distillable Entanglement

Definition
QAlgorithms_Papers_Independent_Intakethird100_P83

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of Improved Semidefinite Programming Upper Bound on Distillable Entanglement (arXiv:1601.07940) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • complexSpectralNorm: Largest singular value: operator norm on the Euclidean Hilbert space. PDF p.1.
  • regroupedTensor: Regroup (A:B) tensor (C:D) as (A,C):(B,D). PDF pp.2–3, property i).
  • regroupedPower: Regrouped n-copy matrix, including the scalar empty tensor at n=0. PDF pp.2,4.
  • FidelityFeasible: Eq. (3), for positive REAL k: 0 <= Q <= I and -I/k <= T_B(Q) <= I/k. PDF p.2. The positivity guard is part of the feasible set.
  • pptDistillationFidelity: F_Gamma from the independent SDP (3). PDF p.2. For states and k>0 its objective set is nonempty (Q=0), bounded in [0,1], and compactly attained.
  • PPTAchievableRate: An achievable rate in Eq. (4), without assuming the optimal rate is achieved. PDF p.2. All rates are in bits; convergence is to fidelity ONE.
  • entanglementGamma: Eq. (4): supremum over all achievable real rates. PDF p.2. For a density matrix the set contains 0 and is bounded above by finite log dimension.
  • WFeasible: The primal witness in Eq. (7). R is Hermitian but need not be positive. PDF p.2.
  • wValue: The independently defined primal optimum (7), PDF p.2. The witness set contains 0 and is compact; hence the real supremum is bounded.
  • entanglementW: E_W = log_2 W, PDF p.2. W is at least 1 on every density matrix.
  • DualUVFeasible: The U,V dual constraints (8), PDF p.2. No trace normalization is imposed.
  • dualUVValue: The independently defined two-variable dual (8), PDF p.2. For states U=3I,V=I is strictly feasible; the objective is bounded below by zero.
  • dualXValue: The independently defined one-variable dual (9), PDF p.2. For states X=rho is feasible and the trace-norm objective is nonnegative.
  • entanglementN: Logarithmic negativity (5), PDF p.2; the trace norm is the frozen Tr sqrt(M-adjoint M), not the entrywise sum. Its argument is at least 1 on a density matrix.
  • transposeConjugate: Conjugation of a bipartite map by the input and output partial transposes. PDF pp.2–3.
  • PPTInstrument: A discrete PPT instrument, PDF p.3, Theorem 3: each branch and its transpose conjugate are CP, branches are trace nonincreasing, and the unconditionally summable total map is a channel. The outcome type is arbitrary; finite and countable outcomes are included. Input and output dimensions may differ.
  • branchContribution: The summand p_i E_W(rho_i) in (6). A zero-probability branch contributes zero and is never normalized. PDF pp.2–3.
  • supportSpace: The support of a positive matrix is its range, equivalently the span of its positive-eigenvalue eigenvectors. PDF p.4.
  • oneCopyExact: Independently defined one-copy exact PPT rate from F_Gamma, PDF p.4. The target k is positive real. For states the set contains log_2(1)=0 and is bounded above; attainment is asserted in the deterministic SDP theorem.
  • exactRegularized: Independent supremum definition of E_Gamma,0, PDF p.4. Index n+1 ranges over exactly the positive blocklengths and avoids division by zero. Its defining set is nonempty and bounded above on density matrices.
  • WZeroFeasible: Eq. (14): 0 <= R <= (Tr rho R)I and -I <= T_B(R) <= I. For Hermitian R the latter is equivalent to |T_B(R)| <= I. PDF p.5.
  • wZeroValue: The independent linear SDP optimum W_0 in (14), PDF p.5. For states I is feasible and gives value 1; the objective is bounded above.
  • supportNormMinimum: The independently defined norm minimization underlying (15), PDF p.5. Its feasible interval is P_rho <= R <= I. It is compact and nonempty (R=I), and the minimum is positive on a density matrix. The logarithm is applied AFTER it.
  • qutritKet: Qutrit product-basis vector |ab>, PDF p.4.
  • qutritPsi: The three vectors defining rho(alpha), PDF p.4 before Proposition 5.
  • rhoAlpha: The actual qutrit state rho(alpha), not an abstract state specified by a value of its entanglement. Normalized for 0<alpha<=1/2. PDF p.4.
  • symmetricSupport: The three-dimensional off-diagonal symmetric support S_plus, PDF p.4. This is not the full six-dimensional symmetric subspace.
  • antisymmetricSupport: The qutrit antisymmetric support S_minus, PDF p.4, Remark.
  • qutritAntisymmetricState: The normalized qutrit antisymmetric state (I-SWAP)/6, PDF p.4, Remark.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixDistances
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P32
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P63

/-!
Statements from Wang–Duan, arXiv:1601.07940v4. All spaces are finite dimensional,
with arbitrary finite local basis types. Partial transpose is on Bob's factor.
The positive-real target size in Eq. (3) is retained, including k = 3/2.
Compatible accepted definitions are imported; distinct paper objects and coordinate
adapters remain local. No frozen definitions are changed.
-/

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder
open Filter

namespace QAlgorithms.Papers.Independent.Intakethird100.P83

open QAlgorithms.Papers.Independent.Support50.P11 (Loewner)
open QAlgorithms.Papers.Independent.Dependency50.P32 (partialTranspose)
open QAlgorithms.Papers.Independent.Information100.P34 (supportProjector)

variable {A B C D : Type*}
variable [Fintype A] [Fintype B] [Fintype C] [Fintype D]
variable [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

/-- Largest singular value: operator norm on the Euclidean Hilbert space. PDF p.1. -/
def complexSpectralNorm {I : Type*} [Fintype I] [DecidableEq I] (X : Matrix I I ℂ) : ℝ :=
  ‖Matrix.toEuclideanCLM (n := I) (𝕜 := ℂ) X‖

/-- Regroup (A:B) tensor (C:D) as (A,C):(B,D). PDF pp.2–3, property i). -/
def regroupedTensor (rho : Matrix (A × B) (A × B) ℂ)
    (sigma : Matrix (C × D) (C × D) ℂ) :
    Matrix ((A × C) × (B × D)) ((A × C) × (B × D)) ℂ :=
  (Matrix.kronecker rho sigma).submatrix
    (fun p : (A × C) × (B × D) => ((p.1.1, p.2.1), (p.1.2, p.2.2)))
    (fun p : (A × C) × (B × D) => ((p.1.1, p.2.1), (p.1.2, p.2.2)))

/-- Regrouped n-copy matrix, including the scalar empty tensor at n=0. PDF pp.2,4. -/
def regroupedPower (rho : Matrix (A × B) (A × B) ℂ) (n : ℕ) :
    Matrix ((Fin n → A) × (Fin n → B)) ((Fin n → A) × (Fin n → B)) ℂ :=
  (QAlgorithms.Papers.Independent.Information100.P63.tensorPower n rho).submatrix
    (fun (p : (Fin n → A) × (Fin n → B)) t => (p.1 t, p.2 t)) (fun (p : (Fin n → A) × (Fin n → B)) t => (p.1 t, p.2 t))

/-- Eq. (3), for positive REAL k: 0 <= Q <= I and -I/k <= T_B(Q) <= I/k.
PDF p.2. The positivity guard is part of the feasible set. -/
def FidelityFeasible (k : ℝ) (Q : Matrix (A × B) (A × B) ℂ) : Prop :=
  0 < k ∧ Q.PosSemidef ∧ Loewner Q 1 ∧
    Loewner ((-(k⁻¹) : ℂ) • (1 : Matrix (A × B) (A × B) ℂ)) (partialTranspose Q) ∧
    Loewner (partialTranspose Q) ((k⁻¹ : ℂ) • (1 : Matrix (A × B) (A × B) ℂ))

/-- F_Gamma from the independent SDP (3). PDF p.2. For states and k>0 its
objective set is nonempty (Q=0), bounded in [0,1], and compactly attained. -/
def pptDistillationFidelity (rho : Matrix (A × B) (A × B) ℂ) (k : ℝ) : ℝ :=
  sSup {v : ℝ | ∃ Q, FidelityFeasible k Q ∧ v = effectProb rho Q}

/-- An achievable rate in Eq. (4), without assuming the optimal rate is achieved.
PDF p.2. All rates are in bits; convergence is to fidelity ONE. -/
def PPTAchievableRate (rho : Matrix (A × B) (A × B) ℂ) (r : ℝ) : Prop :=
  Tendsto (fun n : ℕ => pptDistillationFidelity (regroupedPower rho n) ((2 : ℝ) ^ ((n : ℝ) * r)))
    atTop (nhds 1)

/-- Eq. (4): supremum over all achievable real rates. PDF p.2.
For a density matrix the set contains 0 and is bounded above by finite log dimension. -/
def entanglementGamma (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup {r : ℝ | PPTAchievableRate rho r}

/-- The primal witness in Eq. (7). R is Hermitian but need not be positive.
PDF p.2. -/
def WFeasible (R : Matrix (A × B) (A × B) ℂ) : Prop :=
  R.IsHermitian ∧ complexSpectralNorm R ≤ 1 ∧ (partialTranspose R).PosSemidef

/-- The independently defined primal optimum (7), PDF p.2.
The witness set contains 0 and is compact; hence the real supremum is bounded. -/
def wValue (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup {v : ℝ | ∃ R, WFeasible R ∧ v = effectProb (partialTranspose rho) R}

/-- E_W = log_2 W, PDF p.2. W is at least 1 on every density matrix. -/
def entanglementW (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  Real.logb 2 (wValue rho)

/-- The U,V dual constraints (8), PDF p.2. No trace normalization is imposed. -/
def DualUVFeasible (rho U V : Matrix (A × B) (A × B) ℂ) : Prop :=
  U.PosSemidef ∧ V.PosSemidef ∧ Loewner rho (partialTranspose (U - V))

/-- The independently defined two-variable dual (8), PDF p.2.
For states U=3I,V=I is strictly feasible; the objective is bounded below by zero. -/
def dualUVValue (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sInf {v : ℝ | ∃ U V, DualUVFeasible rho U V ∧ v = (U + V).trace.re}

/-- The independently defined one-variable dual (9), PDF p.2.
For states X=rho is feasible and the trace-norm objective is nonnegative. -/
def dualXValue (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sInf {v : ℝ | ∃ X, Loewner rho X ∧ v = traceNorm (partialTranspose X)}

/-- Logarithmic negativity (5), PDF p.2; the trace norm is the frozen Tr sqrt(M-adjoint M),
not the entrywise sum. Its argument is at least 1 on a density matrix. -/
def entanglementN (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  Real.logb 2 (traceNorm (partialTranspose rho))

/-- Conjugation of a bipartite map by the input and output partial transposes.
PDF pp.2–3. -/
def transposeConjugate
    (N : Matrix (A × B) (A × B) ℂ → Matrix (C × D) (C × D) ℂ) :
    Matrix (A × B) (A × B) ℂ → Matrix (C × D) (C × D) ℂ :=
  fun X => partialTranspose (N (partialTranspose X))

/-- A discrete PPT instrument, PDF p.3, Theorem 3: each branch and its
transpose conjugate are CP, branches are trace nonincreasing, and the
unconditionally summable total map is a channel. The outcome type is arbitrary;
finite and countable outcomes are included. Input and output dimensions may differ. -/
def PPTInstrument {O : Type*}
    (N : O → Matrix (A × B) (A × B) ℂ → Matrix (C × D) (C × D) ℂ) : Prop :=
  (∀ i,
    (∃ Phi Psi : Matrix (A × B) (A × B) ℂ →ₗ[ℂ] Matrix (C × D) (C × D) ℂ,
      Entanglement.IsCompletelyPositive Phi ∧ Entanglement.IsCompletelyPositive Psi ∧
      (∀ X, N i X = Phi X) ∧ (∀ X, transposeConjugate (N i) X = Psi X)) ∧
    ∀ X, X.PosSemidef → (N i X).trace.re ≤ X.trace.re) ∧
  ∃ total : Matrix (A × B) (A × B) ℂ → Matrix (C × D) (C × D) ℂ,
    IsChannel total ∧ ∀ X, HasSum (fun i => N i X) (total X)

/-- The summand p_i E_W(rho_i) in (6). A zero-probability branch contributes
zero and is never normalized. PDF pp.2–3. -/
def branchContribution
    (N : Matrix (A × B) (A × B) ℂ → Matrix (C × D) (C × D) ℂ)
    (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  let p := (N rho).trace.re
  if 0 < p then p * entanglementW ((p⁻¹ : ℂ) • N rho) else 0

/-- The support of a positive matrix is its range, equivalently the span of
its positive-eigenvalue eigenvectors. PDF p.4. -/
def supportSpace {I : Type*} [Fintype I] [DecidableEq I] (rho : Matrix I I ℂ) :
    Submodule ℂ (I → ℂ) :=
  LinearMap.range (Matrix.toLin' rho)

/-- Independently defined one-copy exact PPT rate from F_Gamma, PDF p.4.
The target k is positive real. For states the set contains log_2(1)=0 and is
bounded above; attainment is asserted in the deterministic SDP theorem. -/
def oneCopyExact (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup {v : ℝ | ∃ k : ℝ, 0 < k ∧ pptDistillationFidelity rho k = 1 ∧ v = Real.logb 2 k}

/-- Independent supremum definition of E_Gamma,0, PDF p.4.
Index n+1 ranges over exactly the positive blocklengths and avoids division by zero.
Its defining set is nonempty and bounded above on density matrices. -/
def exactRegularized (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup (Set.range (fun n : ℕ => oneCopyExact (regroupedPower rho (n + 1)) / (n + 1 : ℝ)))

/-- Eq. (14): 0 <= R <= (Tr rho R)I and -I <= T_B(R) <= I.
For Hermitian R the latter is equivalent to |T_B(R)| <= I. PDF p.5. -/
def WZeroFeasible (rho R : Matrix (A × B) (A × B) ℂ) : Prop :=
  R.PosSemidef ∧ Loewner R ((effectProb rho R : ℂ) • (1 : Matrix (A × B) (A × B) ℂ)) ∧
    Loewner (-1 : Matrix (A × B) (A × B) ℂ) (partialTranspose R) ∧
    Loewner (partialTranspose R) 1

/-- The independent linear SDP optimum W_0 in (14), PDF p.5.
For states I is feasible and gives value 1; the objective is bounded above. -/
def wZeroValue (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sSup {v : ℝ | ∃ R, WZeroFeasible rho R ∧ v = effectProb rho R}

/-- The independently defined norm minimization underlying (15), PDF p.5.
Its feasible interval is P_rho <= R <= I. It is compact and nonempty (R=I),
and the minimum is positive on a density matrix. The logarithm is applied AFTER it. -/
def supportNormMinimum (rho : Matrix (A × B) (A × B) ℂ) : ℝ :=
  sInf {v : ℝ | ∃ R, Loewner (supportProjector rho) R ∧ Loewner R 1 ∧
    v = complexSpectralNorm (partialTranspose R)}

/-- Qutrit product-basis vector |ab>, PDF p.4. -/
def qutritKet (a b : Fin 3) : (Fin 3 × Fin 3) → ℂ :=
  fun p => if p = (a, b) then 1 else 0

/-- The three vectors defining rho(alpha), PDF p.4 before Proposition 5. -/
def qutritPsi (alpha : ℝ) : Fin 3 → (Fin 3 × Fin 3) → ℂ :=
  ![(Real.sqrt alpha : ℂ) • qutritKet 0 1 + (Real.sqrt (1 - alpha) : ℂ) • qutritKet 1 0,
    (Real.sqrt alpha : ℂ) • qutritKet 0 2 + (Real.sqrt (1 - alpha) : ℂ) • qutritKet 2 0,
    (Real.sqrt alpha : ℂ) • qutritKet 1 2 + (Real.sqrt (1 - alpha) : ℂ) • qutritKet 2 1]

/-- The actual qutrit state rho(alpha), not an abstract state specified by a
value of its entanglement. Normalized for 0<alpha<=1/2. PDF p.4. -/
def rhoAlpha (alpha : ℝ) : Matrix (Fin 3 × Fin 3) (Fin 3 × Fin 3) ℂ :=
  (1 / 3 : ℂ) • ∑ m : Fin 3, pureDensity (WithLp.toLp 2 (qutritPsi alpha m))

/-- The three-dimensional off-diagonal symmetric support S_plus, PDF p.4.
This is not the full six-dimensional symmetric subspace. -/
def symmetricSupport : Submodule ℂ ((Fin 3 × Fin 3) → ℂ) :=
  Submodule.span ℂ (Set.range (![qutritKet 0 1 + qutritKet 1 0,
    qutritKet 0 2 + qutritKet 2 0, qutritKet 1 2 + qutritKet 2 1] :
    Fin 3 → (Fin 3 × Fin 3) → ℂ))

/-- The qutrit antisymmetric support S_minus, PDF p.4, Remark. -/
def antisymmetricSupport : Submodule ℂ ((Fin 3 × Fin 3) → ℂ) :=
  Submodule.span ℂ (Set.range (![qutritKet 0 1 - qutritKet 1 0,
    qutritKet 0 2 - qutritKet 2 0, qutritKet 1 2 - qutritKet 2 1] :
    Fin 3 → (Fin 3 × Fin 3) → ℂ))

/-- The normalized qutrit antisymmetric state (I-SWAP)/6, PDF p.4, Remark. -/
def qutritAntisymmetricState : Matrix (Fin 3 × Fin 3) (Fin 3 × Fin 3) ℂ :=
  (1 / 6 : ℂ) • ((1 : Matrix (Fin 3 × Fin 3) (Fin 3 × Fin 3) ℂ) -
    (Matrix.of fun (p q : Fin 3 × Fin 3) => if p.1 = q.2 ∧ p.2 = q.1 then (1 : ℂ) else 0))

/-! Sanity examples pin transposition, regrouping, zero branches, and normalization
conventions; they introduce no assumed theorem content. -/

example (X : Matrix (A × B) (A × B) ℂ) :
    partialTranspose (partialTranspose X) = X := rfl

example (X : Matrix (A × B) (A × B) ℂ) (a c : A) (b d : B) :
    partialTranspose X (a, b) (c, d) = X (a, d) (c, b) := rfl

example {I : Type*} [Fintype I] [DecidableEq I] :
    complexSpectralNorm (0 : Matrix I I ℂ) = 0 := by
  simp [complexSpectralNorm]

example (rho : Matrix (A × B) (A × B) ℂ) (sigma : Matrix (C × D) (C × D) ℂ)
    (a c : A) (b d : B) (e g : C) (f h : D) :
    regroupedTensor rho sigma ((a,e),(b,f)) ((c,g),(d,h)) = rho (a,b) (c,d) * sigma (e,f) (g,h) := rfl

example (rho : Matrix (A × B) (A × B) ℂ)
    (p q : (Fin 0 → A) × (Fin 0 → B)) : regroupedPower rho 0 p q = 1 := by
  simp [regroupedPower, QAlgorithms.Papers.Independent.Information100.P63.tensorPower, Matrix.submatrix]

example (rho : Matrix (A × B) (A × B) ℂ) :
    branchContribution (fun _ => (0 : Matrix (C × D) (C × D) ℂ)) rho = 0 := by
  simp [branchContribution]

example : qutritKet 0 1 (0,1) = 1 ∧ qutritKet 0 1 (1,0) = 0 := by
  norm_num [qutritKet]

example : qutritAntisymmetricState (0,1) (0,1) = 1/6 ∧ qutritAntisymmetricState (0,1) (1,0) = -(1/6) := by
  norm_num [qutritAntisymmetricState, Matrix.smul_apply, Matrix.sub_apply,
    Matrix.of_apply, Matrix.one_apply]

end QAlgorithms.Papers.Independent.Intakethird100.P83
Source
Improved Semidefinite Programming Upper Bound on Distillable Entanglement, arXiv:1601.07940v4, https://arxiv.org/abs/1601.07940v4
Read-back

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

QAlgorithms.Papers.Independent.Intakethird100.P83.DualUVFeasible

For finite index types A,BA,BA,B and complex matrices ρ,U,V\rho,U,Vρ,U,V indexed by A×BA\times BA×B, this predicate means

U⪰0,V⪰0,(U−V)Γ−ρ⪰0,U\succeq0,\qquad V\succeq0,\qquad (U-V)^\Gamma-\rho\succeq0,U⪰0,V⪰0,(U−V)Γ−ρ⪰0,

where ⪰0\succeq0⪰0 means positive semidefinite and (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)​. No trace or normalization conditions are imposed on any of the three matrices. In particular, the last condition entails that ρ\rhoρ is Hermitian, since UUU and VVV are Hermitian. Empty index types are included, in which case all conditions hold.

QAlgorithms.Papers.Independent.Intakethird100.P83.FidelityFeasible

For finite index types A,BA,BA,B, a real number kkk, and a complex matrix QQQ indexed by A×BA\times BA×B, this predicate means

k>0,Q⪰0,I−Q⪰0,QΓ+k−1I⪰0,k−1I−QΓ⪰0,k>0,\qquad Q\succeq0,\qquad I-Q\succeq0,\qquad Q^\Gamma+k^{-1}I\succeq0,\qquad k^{-1}I-Q^\Gamma\succeq0,k>0,Q⪰0,I−Q⪰0,QΓ+k−1I⪰0,k−1I−QΓ⪰0,

where III is the identity matrix, ⪰0\succeq0⪰0 means positive semidefinite, and the partial transpose is defined entrywise by

(QΓ)(a,b),(a′,b′)=Q(a,b′),(a′,b).(Q^\Gamma)_{(a,b),(a',b')}=Q_{(a,b'),(a',b)}.(QΓ)(a,b),(a′,b′)​=Q(a,b′),(a′,b)​.

The parameter kkk is any positive real number, without an integrality requirement. If k≤0k\le0k≤0, the predicate is false. Empty index types are included; in that case all matrix conditions hold automatically, leaving only k>0k>0k>0.

QAlgorithms.Papers.Independent.Intakethird100.P83.PPTAchievableRate

For finite index types A,BA,BA,B, any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and any real number rrr, this predicate means that Fn→1F_n\to1Fn​→1 as the natural number n→∞n\to\inftyn→∞, where

Fn=sup⁡{Re⁡tr⁡(ρ[n]Q):0⪯Q⪯I, −2−nrI⪯QΓ⪯2−nrI},(ρ[n])(a,b),(a′,b′)=∏t=0n−1ρ(at,bt),(at′,bt′).F_n=\sup\left\{\operatorname{Re}\operatorname{tr}(\rho^{[n]}Q): 0\preceq Q\preceq I,\ -2^{-nr}I\preceq Q^\Gamma\preceq2^{-nr}I\right\}, \qquad (\rho^{[n]})_{(a,b),(a',b')} =\prod_{t=0}^{n-1}\rho_{(a_t,b_t),(a'_t,b'_t)}.Fn​=sup{Retr(ρ[n]Q):0⪯Q⪯I, −2−nrI⪯QΓ⪯2−nrI},(ρ[n])(a,b),(a′,b′)​=t=0∏n−1​ρ(at​,bt​),(at′​,bt′​)​.

Here a,a′a,a'a,a′ are nnn-tuples in AAA, b,b′b,b'b,b′ are nnn-tuples in BBB, X⪯YX\preceq YX⪯Y means Y−XY-XY−X is positive semidefinite, and (QΓ)(a,b),(a′,b′)=Q(a,b′),(a′,b)(Q^\Gamma)_{(a,b),(a',b')}=Q_{(a,b'),(a',b)}(QΓ)(a,b),(a′,b′)​=Q(a,b′),(a′,b)​. No positivity or normalization assumption is imposed on ρ\rhoρ, and no nonnegativity assumption is imposed on rrr. The sequence includes n=0n=0n=0, when the product defining ρ[0]\rho^{[0]}ρ[0] is 111 and 2nr=12^{nr}=12nr=1.

QAlgorithms.Papers.Independent.Intakethird100.P83.PPTInstrument

For finite index types A,B,C,DA,B,C,DA,B,C,D, an arbitrary outcome type OOO, and functions NiN_iNi​ from complex matrices on A×BA\times BA×B to complex matrices on C×DC\times DC×D, this predicate requires the following: for every i∈Oi\in Oi∈O, both NiN_iNi​ and X↦(Ni(XΓ))ΓX\mapsto(N_i(X^\Gamma))^\GammaX↦(Ni​(XΓ))Γ agree on every matrix with complex-linear completely positive maps, and Re⁡tr⁡Ni(X)≤Re⁡tr⁡X\operatorname{Re}\operatorname{tr}N_i(X)\le\operatorname{Re}\operatorname{tr}XRetrNi​(X)≤RetrX for every positive semidefinite XXX. Complete positivity here means that, for every natural number rrr, applying the map to each matrix block while retaining a reference index in {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1} preserves positive semidefiniteness. Partial transpose exchanges the second-party row and column indices. The predicate also requires a function TTT and finitely many matrices EjE_jEj​, for some natural number mmm, such that ∑j=0m−1Ej†Ej=I\sum_{j=0}^{m-1}E_j^\dagger E_j=I∑j=0m−1​Ej†​Ej​=I, T(X)=∑jEjXEj†T(X)=\sum_jE_jXE_j^\daggerT(X)=∑j​Ej​XEj†​ for every XXX, and ∑i∈ONi(X)=T(X)\sum_{i\in O}N_i(X)=T(X)∑i∈O​Ni​(X)=T(X) for every XXX. This last sum must converge as the net of sums over finite subsets of OOO; no finiteness or countability assumption is imposed on OOO.

QAlgorithms.Papers.Independent.Intakethird100.P83.WFeasible

For finite index types A,BA,BA,B and any complex matrix RRR indexed by A×BA\times BA×B, this predicate means that RRR is Hermitian, its operator norm induced by the Euclidean norm on CA×B\mathbb C^{A\times B}CA×B is at most 111, and RΓR^\GammaRΓ is positive semidefinite, where

(RΓ)(a,b),(a′,b′)=R(a,b′),(a′,b).(R^\Gamma)_{(a,b),(a',b')}=R_{(a,b'),(a',b)}.(RΓ)(a,b),(a′,b′)​=R(a,b′),(a′,b)​.

There is no requirement that RRR itself be positive semidefinite or have a specified trace. Empty index types are included, in which case all three conditions hold.

QAlgorithms.Papers.Independent.Intakethird100.P83.WZeroFeasible

For finite index types A,BA,BA,B with decidable equality and complex matrices ρ,R\rho,Rρ,R on A×BA\times BA×B, this predicate means, on putting q=Re⁡tr⁡(ρR)q=\operatorname{Re}\operatorname{tr}(\rho R)q=Retr(ρR), that all four matrices

R,qI−R,RΓ+I,I−RΓR,\qquad qI-R,\qquad R^\Gamma+I,\qquad I-R^\GammaR,qI−R,RΓ+I,I−RΓ

are positive semidefinite, where R(a,b),(a′,b′)Γ=R(a,b′),(a′,b)R^\Gamma_{(a,b),(a',b')}=R_{(a,b'),(a',b)}R(a,b),(a′,b′)Γ​=R(a,b′),(a′,b)​. Equivalently, R≥0R\ge0R≥0, R≤qIR\le qIR≤qI, and −I≤RΓ≤I-I\le R^\Gamma\le I−I≤RΓ≤I. No density-matrix condition on ρ\rhoρ is required.

QAlgorithms.Papers.Independent.Intakethird100.P83.antisymmetricSupport

This defines the complex linear subspace of all functions {0,1,2}×{0,1,2}→C\{0,1,2\}\times\{0,1,2\}\to\mathbb C{0,1,2}×{0,1,2}→C spanned by

e01−e10,e02−e20,e12−e21,e_{01}-e_{10},\qquad e_{02}-e_{20},\qquad e_{12}-e_{21},e01​−e10​,e02​−e20​,e12​−e21​,

where eab(i,j)e_{ab}(i,j)eab​(i,j) equals 111 if (i,j)=(a,b)(i,j)=(a,b)(i,j)=(a,b) and 000 otherwise. Thus its elements are exactly the complex linear combinations of these three specified functions.

QAlgorithms.Papers.Independent.Intakethird100.P83.branchContribution

For finite index types A,B,C,DA,B,C,DA,B,C,D with decidable equality, any function NNN from complex matrices on A×BA\times BA×B to complex matrices on C×DC\times DC×D, and any matrix ρ\rhoρ on A×BA\times BA×B, put p=Re⁡tr⁡N(ρ)p=\operatorname{Re}\operatorname{tr}N(\rho)p=RetrN(ρ). This defines zero if p≤0p\le0p≤0, and otherwise defines

plog⁡2 ⁣(sup⁡R=R†, ∥R∥op≤1RΓ positive semidefiniteRe⁡tr⁡ ⁣[(p−1N(ρ))ΓR]).p\log_2\!\left( \sup_{\substack{R=R^\dagger,\ \|R\|_{\mathrm{op}}\le1\\R^\Gamma\ \text{positive semidefinite}}} \operatorname{Re}\operatorname{tr}\!\left[(p^{-1}N(\rho))^\Gamma R\right]\right).plog2​​R=R†, ∥R∥op​≤1RΓ positive semidefinite​sup​Retr[(p−1N(ρ))ΓR]​.

Here RRR is a complex matrix on C×DC\times DC×D, ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the operator norm for the Euclidean norm, and Γ\GammaΓ exchanges the two DDD-indices. No channel condition on NNN or density-matrix condition on ρ\rhoρ is required; the real logarithm is total, including value zero at zero.

QAlgorithms.Papers.Independent.Intakethird100.P83.complexSpectralNorm

For any finite type III with decidable equality and any complex matrix XXX indexed by I×II\times II×I, this defines the real number ∥TX∥op\|T_X\|_{\mathrm{op}}∥TX​∥op​, where TX:CI→CIT_X:\mathbb C^I\to\mathbb C^ITX​:CI→CI is the continuous complex-linear map

(TXv)i=∑j∈IXijvj,(T_Xv)_i=\sum_{j\in I}X_{ij}v_j,(TX​v)i​=j∈I∑​Xij​vj​,

and both vector spaces carry their Euclidean norms. Thus this is the operator norm induced by the Euclidean norm. The index type III may be empty, in which case the value is 000.

QAlgorithms.Papers.Independent.Intakethird100.P83.dualUVValue

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

inf⁡{Re⁡tr⁡(U+V):U⪰0, V⪰0, (U−V)Γ−ρ⪰0},\inf\left\{ \operatorname{Re}\operatorname{tr}(U+V): U\succeq0,\ V\succeq0,\ (U-V)^\Gamma-\rho\succeq0 \right\},inf{Retr(U+V):U⪰0, V⪰0, (U−V)Γ−ρ⪰0},

where ⪰0\succeq0⪰0 means positive semidefinite and (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)​. No density-matrix assumption is imposed on ρ\rhoρ. If ρ\rhoρ is not Hermitian, no feasible pair exists, and the real-valued infimum of the empty set used here is 000. If A×BA\times BA×B is empty, the value is 000.

QAlgorithms.Papers.Independent.Intakethird100.P83.dualXValue

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines

inf⁡{∥XΓ∥1:X−ρ is positive semidefinite}.\inf\left\{\left\|X^\Gamma\right\|_1:X-\rho\ \text{is positive semidefinite}\right\}.inf{​XΓ​1​:X−ρ is positive semidefinite}.

Here XXX ranges over all complex matrices on A×BA\times BA×B, 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)​, and ∥Y∥1=Re⁡tr⁡Y†Y\|Y\|_1=\operatorname{Re}\operatorname{tr}\sqrt{Y^\dagger Y}∥Y∥1​=RetrY†Y​, with the square root given by continuous functional calculus. No positivity, Hermiticity, or trace normalization is required of ρ\rhoρ, and no separate positivity condition is imposed on XXX.

QAlgorithms.Papers.Independent.Intakethird100.P83.entanglementGamma

For finite index types A,BA,BA,B and any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, this defines the real supremum of all real numbers rrr for which

lim⁡n→∞sup⁡0⪯Q⪯I−2−nrI⪯QΓ⪯2−nrIRe⁡tr⁡(ρ[n]Q)=1,(ρ[n])(a,b),(a′,b′)=∏t=0n−1ρ(at,bt),(at′,bt′).\lim_{n\to\infty} \sup_{\substack{0\preceq Q\preceq I\\ -2^{-nr}I\preceq Q^\Gamma\preceq2^{-nr}I}} \operatorname{Re}\operatorname{tr}(\rho^{[n]}Q)=1, \qquad (\rho^{[n]})_{(a,b),(a',b')} =\prod_{t=0}^{n-1}\rho_{(a_t,b_t),(a'_t,b'_t)}.n→∞lim​0⪯Q⪯I−2−nrI⪯QΓ⪯2−nrI​sup​Retr(ρ[n]Q)=1,(ρ[n])(a,b),(a′,b′)​=t=0∏n−1​ρ(at​,bt​),(at′​,bt′​)​.

The matrices QQQ are indexed by An×BnA^n\times B^nAn×Bn, their partial transpose satisfies (QΓ)(a,b),(a′,b′)=Q(a,b′),(a′,b)(Q^\Gamma)_{(a,b),(a',b')}=Q_{(a,b'),(a',b)}(QΓ)(a,b),(a′,b′)​=Q(a,b′),(a′,b)​, and X⪯YX\preceq YX⪯Y means Y−XY-XY−X is positive semidefinite. The rates rrr are not restricted to be nonnegative, and ρ\rhoρ is not assumed to be a density matrix. The sequence includes n=0n=0n=0 with empty products equal to 111. The outer supremum is taken in R\mathbb RR; its totalized value is 000 if its defining set is empty or unbounded above.

QAlgorithms.Papers.Independent.Intakethird100.P83.entanglementN

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, this defines

log⁡2 ⁣(Re⁡tr⁡(ρΓ)†ρΓ),ρ(a,b),(a′,b′)Γ=ρ(a,b′),(a′,b).\log_2\!\left(\operatorname{Re}\operatorname{tr} \sqrt{(\rho^\Gamma)^\dagger\rho^\Gamma}\right), \qquad \rho^\Gamma_{(a,b),(a',b')}=\rho_{(a,b'),(a',b)}.log2​(Retr(ρΓ)†ρΓ​),ρ(a,b),(a′,b′)Γ​=ρ(a,b′),(a′,b)​.

The square root is obtained by continuous functional calculus. There is no density-matrix hypothesis. The logarithm is the total real logarithm used in the code; in particular, its value at zero is zero, so this definition gives zero when ρ=0\rho=0ρ=0.

QAlgorithms.Papers.Independent.Intakethird100.P83.entanglementW

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

log⁡2 ⁣(sup⁡R=R†, ∥R∥op≤1RΓ⪰0Re⁡tr⁡(ρΓR)),\log_2\!\left( \sup_{\substack{R=R^\dagger,\ \|R\|_{\mathrm{op}}\le1\\R^\Gamma\succeq0}} \operatorname{Re}\operatorname{tr}(\rho^\Gamma R) \right),log2​​R=R†, ∥R∥op​≤1RΓ⪰0​sup​Retr(ρΓR)​,

where the operator norm is induced by the Euclidean norm, ⪰0\succeq0⪰0 means positive semidefinite, and (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)​. No density-matrix assumption is imposed on ρ\rhoρ. The logarithm is the total real function log⁡x/log⁡2\log x/\log2logx/log2, with log⁡0=0\log0=0log0=0; consequently, a zero value of the inner supremum gives 000. This includes the case of an empty product index type A×BA\times BA×B.

QAlgorithms.Papers.Independent.Intakethird100.P83.exactRegularized

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, define the matrix ρ[m]\rho^{[m]}ρ[m] on Am×BmA^m\times B^mAm×Bm by

ρ(a,b),(a′,b′)[m]=∏j=0m−1ρ(aj,bj),(aj′,bj′).\rho^{[m]}_{(a,b),(a',b')}=\prod_{j=0}^{m-1}\rho_{(a_j,b_j),(a'_j,b'_j)}.ρ(a,b),(a′,b′)[m]​=j=0∏m−1​ρ(aj​,bj​),(aj′​,bj′​)​.

This declaration defines sup⁡m≥1C(ρ[m])/m\sup_{m\ge1}C(\rho^{[m]})/msupm≥1​C(ρ[m])/m, where C(σ)C(\sigma)C(σ) is the real supremum of log⁡2k\log_2 klog2​k over positive real kkk for which

sup⁡Q≥0, I−Q≥0QΓ+k−1I≥0, k−1I−QΓ≥0Re⁡tr⁡(σQ)=1.\sup_{\substack{Q\ge0,\ I-Q\ge0\\ Q^\Gamma+k^{-1}I\ge0,\ k^{-1}I-Q^\Gamma\ge0}} \operatorname{Re}\operatorname{tr}(\sigma Q)=1.Q≥0, I−Q≥0QΓ+k−1I≥0, k−1I−QΓ≥0​sup​Retr(σQ)=1.

Partial transpose Γ\GammaΓ exchanges the second-party row and column indices, and every matrix inequality means positive semidefiniteness. Only positive copy numbers occur: the natural-number index zero corresponds to one copy. This is a supremum, with no convergence assertion or density-matrix hypothesis; the real suprema use value zero for empty sets or sets unbounded above.

QAlgorithms.Papers.Independent.Intakethird100.P83.oneCopyExact

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, this defines

sup⁡{log⁡2k:k∈R, k>0,sup⁡Q≥0, I−Q≥0QΓ+k−1I≥0, k−1I−QΓ≥0Re⁡tr⁡(ρQ)=1}.\sup\left\{\log_2 k:k\in\mathbb R,\ k>0,\quad \sup_{\substack{Q\ge0,\ I-Q\ge0\\ Q^\Gamma+k^{-1}I\ge0,\ k^{-1}I-Q^\Gamma\ge0}} \operatorname{Re}\operatorname{tr}(\rho Q)=1\right\}.sup⎩⎨⎧​log2​k:k∈R, k>0,Q≥0, I−Q≥0QΓ+k−1I≥0, k−1I−QΓ≥0​sup​Retr(ρQ)=1⎭⎬⎫​.

All matrix inequalities mean that the displayed matrix is positive semidefinite, and Q(a,b),(a′,b′)Γ=Q(a,b′),(a′,b)Q^\Gamma_{(a,b),(a',b')}=Q_{(a,b'),(a',b)}Q(a,b),(a′,b′)Γ​=Q(a,b′),(a′,b)​. The parameter kkk is any positive real number, including values below one, rather than an integer. No density-matrix hypothesis on ρ\rhoρ is imposed. Both suprema are real suprema, whose total convention gives zero for an empty set or a set unbounded above.

QAlgorithms.Papers.Independent.Intakethird100.P83.pptDistillationFidelity

For finite index types A,BA,BA,B, any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and any real kkk, this defines

sup⁡{Re⁡tr⁡(ρQ):k>0, Q⪰0, I−Q⪰0, QΓ+k−1I⪰0, k−1I−QΓ⪰0},\sup\left\{\operatorname{Re}\operatorname{tr}(\rho Q): k>0,\ Q\succeq0,\ I-Q\succeq0,\ Q^\Gamma+k^{-1}I\succeq0,\ k^{-1}I-Q^\Gamma\succeq0\right\},sup{Retr(ρQ):k>0, Q⪰0, I−Q⪰0, QΓ+k−1I⪰0, k−1I−QΓ⪰0},

where III is the identity and (QΓ)(a,b),(a′,b′)=Q(a,b′),(a′,b)(Q^\Gamma)_{(a,b),(a',b')}=Q_{(a,b'),(a',b)}(QΓ)(a,b),(a′,b′)​=Q(a,b′),(a′,b)​. No density-matrix assumption is imposed on ρ\rhoρ, and kkk need not be an integer. For k≤0k\le0k≤0, the set is empty and the real-valued supremum used here is 000. If A×BA\times BA×B is empty, the value is also 000.

QAlgorithms.Papers.Independent.Intakethird100.P83.qutritAntisymmetricState

This defines the complex matrix

16(I−S)\frac16(I-S)61​(I−S)

on the coordinate space indexed by {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2}, where III is the identity matrix and S(i,j),(k,l)=1S_{(i,j),(k,l)}=1S(i,j),(k,l)​=1 exactly when i=li=li=l and j=kj=kj=k, and is 000 otherwise. Equivalently, its ((i,j),(k,l))((i,j),(k,l))((i,j),(k,l))-entry is 16(δikδjl−δilδjk)\frac16(\delta_{ik}\delta_{jl}-\delta_{il}\delta_{jk})61​(δik​δjl​−δil​δjk​).

QAlgorithms.Papers.Independent.Intakethird100.P83.qutritKet

For any a,b∈{0,1,2}a,b\in\{0,1,2\}a,b∈{0,1,2}, this defines the complex-valued function on {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2} that equals 111 at (a,b)(a,b)(a,b) and 000 at every other pair.

QAlgorithms.Papers.Independent.Intakethird100.P83.qutritPsi

For every real number α\alphaα, this defines three complex-valued functions on {0,1,2}×{0,1,2}\{0,1,2\}\times\{0,1,2\}{0,1,2}×{0,1,2}. Writing eab(i,j)=1e_{ab}(i,j)=1eab​(i,j)=1 when (i,j)=(a,b)(i,j)=(a,b)(i,j)=(a,b), and eab(i,j)=0e_{ab}(i,j)=0eab​(i,j)=0 otherwise, they are

ψ0(α)=α e01+1−α e10,ψ1(α)=α e02+1−α e20,ψ2(α)=α e12+1−α e21.\psi_0(\alpha)=\sqrt{\alpha}\,e_{01}+\sqrt{1-\alpha}\,e_{10},\qquad \psi_1(\alpha)=\sqrt{\alpha}\,e_{02}+\sqrt{1-\alpha}\,e_{20},\qquad \psi_2(\alpha)=\sqrt{\alpha}\,e_{12}+\sqrt{1-\alpha}\,e_{21}.ψ0​(α)=α​e01​+1−α​e10​,ψ1​(α)=α​e02​+1−α​e20​,ψ2​(α)=α​e12​+1−α​e21​.

The square roots are real square roots, subsequently regarded as complex numbers. There is no restriction on α\alphaα; the real square-root function used here returns 000 on negative arguments.

QAlgorithms.Papers.Independent.Intakethird100.P83.regroupedPower

For arbitrary types A,BA,BA,B, any complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and any natural number nnn, this defines a matrix indexed by pairs of functions a:{0,…,n−1}→Aa:\{0,\ldots,n-1\}\to Aa:{0,…,n−1}→A and b:{0,…,n−1}→Bb:\{0,\ldots,n-1\}\to Bb:{0,…,n−1}→B, whose entries are

(ρ[n])(a,b),(a′,b′)=∏t=0n−1ρ(at,bt),(at′,bt′).(\rho^{[n]})_{(a,b),(a',b')} =\prod_{t=0}^{n-1}\rho_{(a_t,b_t),(a'_t,b'_t)}.(ρ[n])(a,b),(a′,b′)​=t=0∏n−1​ρ(at​,bt​),(at′​,bt′​)​.

There are no positivity or normalization assumptions. The definition includes n=0n=0n=0: both function spaces then have exactly one element, and the resulting one-by-one matrix has entry 111, by the empty-product convention.

QAlgorithms.Papers.Independent.Intakethird100.P83.regroupedTensor

For arbitrary types A,B,C,DA,B,C,DA,B,C,D, a complex matrix ρ\rhoρ indexed by A×BA\times BA×B, and a complex matrix σ\sigmaσ indexed by C×DC\times DC×D, this defines a matrix indexed by (A×C)×(B×D)(A\times C)\times(B\times D)(A×C)×(B×D), with entries

(regroupedTensor⁡(ρ,σ))((a,c),(b,d)),((a′,c′),(b′,d′))=ρ(a,b),(a′,b′) σ(c,d),(c′,d′).\bigl(\operatorname{regroupedTensor}(\rho,\sigma)\bigr)_{((a,c),(b,d)),((a',c'),(b',d'))} =\rho_{(a,b),(a',b')}\,\sigma_{(c,d),(c',d')}.(regroupedTensor(ρ,σ))((a,c),(b,d)),((a′,c′),(b′,d′))​=ρ(a,b),(a′,b′)​σ(c,d),(c′,d′)​.

No finiteness, nonemptiness, positivity, or normalization assumption is imposed.

QAlgorithms.Papers.Independent.Intakethird100.P83.rhoAlpha

For every real number α\alphaα, this defines a complex matrix indexed by pairs from {0,1,2}\{0,1,2\}{0,1,2}. Let eabe_{ab}eab​ be the coordinate vector with value 111 at (a,b)(a,b)(a,b) and 000 elsewhere, and set ψ0=α e01+1−α e10\psi_0=\sqrt{\alpha}\,e_{01}+\sqrt{1-\alpha}\,e_{10}ψ0​=α​e01​+1−α​e10​, ψ1=α e02+1−α e20\psi_1=\sqrt{\alpha}\,e_{02}+\sqrt{1-\alpha}\,e_{20}ψ1​=α​e02​+1−α​e20​, and ψ2=α e12+1−α e21\psi_2=\sqrt{\alpha}\,e_{12}+\sqrt{1-\alpha}\,e_{21}ψ2​=α​e12​+1−α​e21​, using real square roots embedded in C\mathbb CC. The matrix is

ρα=13∑m=02ψmψm†,(ρα)x,y=13∑m=02ψm(x)ψm(y)‾.\rho_\alpha=\frac13\sum_{m=0}^{2}\psi_m\psi_m^\dagger, \qquad (\rho_\alpha)_{x,y}=\frac13\sum_{m=0}^{2}\psi_m(x)\overline{\psi_m(y)}.ρα​=31​m=0∑2​ψm​ψm†​,(ρα​)x,y​=31​m=0∑2​ψm​(x)ψm​(y)​.

No normalization of the vectors is performed in this definition, and no restriction α∈[0,1]\alpha\in[0,1]α∈[0,1] is imposed; real square roots of negative arguments are 000.

QAlgorithms.Papers.Independent.Intakethird100.P83.supportNormMinimum

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, let PρP_\rhoPρ​ be the orthogonal projection onto the range of the Euclidean linear map x↦ρxx\mapsto\rho xx↦ρx. This defines

inf⁡{∥RΓ∥op:R−Pρ and I−R are positive semidefinite},\inf\left\{\|R^\Gamma\|_{\mathrm{op}}: R-P_\rho\ \text{and}\ I-R\ \text{are positive semidefinite}\right\},inf{∥RΓ∥op​:R−Pρ​ and I−R are positive semidefinite},

where RRR ranges over complex matrices on A×BA\times BA×B, Γ\GammaΓ exchanges the two BBB-indices, and the operator norm is induced by the Euclidean norm. No positivity or Hermiticity of ρ\rhoρ is assumed: PρP_\rhoPρ​ is defined from its range. The feasible matrices include PρP_\rhoPρ​; when ρ=0\rho=0ρ=0, the value is zero.

QAlgorithms.Papers.Independent.Intakethird100.P83.supportSpace

For any finite type III with decidable equality and any complex matrix ρ\rhoρ on III, this defines the complex linear subspace

{y:I→C:∃x:I→C,yi=∑j∈Iρijxj for every i∈I}.\left\{y:I\to\mathbb C:\exists x:I\to\mathbb C,\quad y_i=\sum_{j\in I}\rho_{ij}x_j\ \text{for every }i\in I\right\}.⎩⎨⎧​y:I→C:∃x:I→C,yi​=j∈I∑​ρij​xj​ for every i∈I⎭⎬⎫​.

Thus it is the range of matrix multiplication by ρ\rhoρ. No positivity, Hermiticity, or normalization is required; the zero matrix has range {0}\{0\}{0}, including when III is empty.

QAlgorithms.Papers.Independent.Intakethird100.P83.symmetricSupport

This defines the complex linear subspace of all functions {0,1,2}×{0,1,2}→C\{0,1,2\}\times\{0,1,2\}\to\mathbb C{0,1,2}×{0,1,2}→C spanned by

e01+e10,e02+e20,e12+e21,e_{01}+e_{10},\qquad e_{02}+e_{20},\qquad e_{12}+e_{21},e01​+e10​,e02​+e20​,e12​+e21​,

where eab(i,j)e_{ab}(i,j)eab​(i,j) equals 111 if (i,j)=(a,b)(i,j)=(a,b)(i,j)=(a,b) and 000 otherwise. Thus its elements are exactly the complex linear combinations of these three specified functions.

QAlgorithms.Papers.Independent.Intakethird100.P83.transposeConjugate

For index types A,B,C,DA,B,C,DA,B,C,D and any function NNN from complex matrices on A×BA\times BA×B to complex matrices on C×DC\times DC×D, this defines the function

X⟼(N(XΓ))Γ,X\longmapsto \bigl(N(X^\Gamma)\bigr)^\Gamma,X⟼(N(XΓ))Γ,

where the input partial transpose exchanges the two BBB-indices and the output partial transpose exchanges the two DDD-indices: 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)​, and likewise on the output. No linearity, positivity, or normalization condition is imposed on NNN.

QAlgorithms.Papers.Independent.Intakethird100.P83.wValue

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

sup⁡{Re⁡tr⁡(ρΓR):R=R†, ∥R∥op≤1, RΓ⪰0},\sup\left\{ \operatorname{Re}\operatorname{tr}(\rho^\Gamma R): R=R^\dagger,\ \|R\|_{\mathrm{op}}\le1,\ R^\Gamma\succeq0 \right\},sup{Retr(ρΓR):R=R†, ∥R∥op​≤1, RΓ⪰0},

where ∥⋅∥op\|\cdot\|_{\mathrm{op}}∥⋅∥op​ is the operator norm induced by the Euclidean norm, ⪰0\succeq0⪰0 means positive semidefinite, and (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)​. No positivity or normalization assumption is imposed on ρ\rhoρ. The zero matrix is among the admissible RRR. If A×BA\times BA×B is empty, this value is 000.

QAlgorithms.Papers.Independent.Intakethird100.P83.wZeroValue

For finite index types A,BA,BA,B with decidable equality and any complex matrix ρ\rhoρ on A×BA\times BA×B, this defines the real supremum of q=Re⁡tr⁡(ρR)q=\operatorname{Re}\operatorname{tr}(\rho R)q=Retr(ρR) over all complex matrices RRR such that

R≥0,qI−R≥0,RΓ+I≥0,I−RΓ≥0.R\ge0,\qquad qI-R\ge0,\qquad R^\Gamma+I\ge0,\qquad I-R^\Gamma\ge0.R≥0,qI−R≥0,RΓ+I≥0,I−RΓ≥0.

Here every inequality denotes positive semidefiniteness, and Γ\GammaΓ exchanges the two BBB-indices. No positivity or normalization condition is imposed on ρ\rhoρ. The zero matrix RRR is included and contributes zero; the real supremum convention also gives zero if the set of values is unbounded above.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me