Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Multiplicativity of completely bounded p-norms implies a new additivity result

Definition
QAlgorithms_Papers_Independent_Advance50_P16

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

prove2quantum

The objects the formalized statements of Multiplicativity of completely bounded p-norms implies a new additivity result (arXiv:quant-ph/0506196) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • finiteTracePower: Finite ordinary trace power near one, PDF p.6. Unlike the frozen oscillator trace-power functional, this is a real trace on a finite matrix.
  • recip: Reciprocal exponent, PDF pp.9–10: infinity has reciprocal zero.
  • outerSandwich: Outer-factor multiplier in (3.2), PDF p.10. The frozen sandwich declarations act on different spaces; this applies A tensor I and B tensor I to a bipartite matrix.
  • infinityMixedSize: (3.2), PDF p.10, in homogeneous unit-ball form. The extended supremum never assigns default zero to an unbounded set. It is finite for these finite matrices.
  • mixedSize: (3.3), PDF p.10, including t=infinity as the genuine (3.2) endpoint. The factorization set contains A=B=I,Z=Y. All exponents used in statements are >=1.
  • mixedNorm: Real-valued mixed norm (3.3), PDF p.10. Finite matrices and exponents >=1 make mixedSize finite; no unbounded CB supremum is converted here.
  • matrixMixedSize: Matrix-level norm M_a(L_q(M_d;L_p(M_n))), source PDF pp.11,13–15. Concrete formula: Pisier, arXiv:math/9306206v1, Theorem 2(2), PDF pp.6–7. The amplification is first. Contract its indices with unit S_(2q) multipliers, then flatten the amplification and d indices into the outer q register. This is an actual formula, not an arbitrary norm constrained by the desired theorems.
  • tripleSize: Iterated vector-valued norm via (3.3), PDF pp.10–11,17. The inner operator space's matrix norms are matrixMixedSize, rather than iterated partial traces. Thus arbitrary nonpositive triple matrices are covered.
  • amplifiedFlip: Flip of the two inner factors, leaving the amplification fixed, Theorem 8, PDF p.15.
  • traceLast: Partial trace of the last tensor factor in the intentional 1,3,2 order, (3.24), PDF p.17.
  • inducedSize: Ordinary induced norm (2.1), PDF p.5, on its full complex unit ball.
  • positiveInducedSize: Positive induced norm, PDF pp.5,11. This does not assume trace preservation.
  • amplificationSize: Finite amplification norm in (3.4),(3.5), PDF p.10. Identical outer exponent t appears on both sides; it is not the ordinary Schatten q-to-p amplification.
  • positiveAmplificationSize: Positive finite amplification in Theorem 12, PDF p.20.
  • cbSize: Completely bounded norm, (3.5), PDF pp.9–10. Extended supremum over all positive ancillary dimensions; no maximizing dimension is built into the definition.
  • pureRatio: Pure-input norm ratio (1.6), PDF p.4, with normalized vectors and reference isomorphic to the input. The denominator is strictly positive on these vectors.
  • cbOmega: Omega_p of (1.6), PDF p.4; a norm-ratio supremum, distinct from the frozen omega vectors and numerical-range sets. Its unit sphere is compact for nonzero input. The finite-dimensional ratio is bounded, so the extended supremum is finite.
  • conditionalAt: Conditional entropy at a pure input, (1.1),(2.9), PDF pp.3,7.
  • minCBEntropy: Minimal CB entropy (1.1), PDF p.3. Used on CPT maps with nonzero input/output; then the set is nonempty and compact and the real infimum is finite and attained.
  • powerRatio: The ratio differentiated in Lemma 1, PDF p.6.
  • uniformEntropyQuotient: Uniform entropy-limit quotient and its extension at one, (2.6), PDF pp.6–7. The frozen oscillator entropy-increment quotient is a different function.
  • IsEBT: EBT, PDF pp.24–25: CPT and separable outputs for every finite reference. Uses the accepted separable positive cone, equivalent to separable density at trace one.
  • AdmissibleDensity: Support-compatible beta(X1), (6.8), PDF p.29. Singular B are permitted.
  • minimizerMatrix: v(p,B), (6.6), PDF p.29, on its support-compatible domain.
  • minimizerObjective: Extended minimization objective (6.8), PDF p.29: incompatible supports cost infinity, not the finite value returned by a zero pseudoinverse.
  • densityObjective: Positive-density outerSandwich (3.22), PDF p.16, including the infinity endpoint.
  • positiveFactorSize: Symmetric positive factorization objective, (3.19),(3.21), PDF p.16.
  • factorSize: Extended factorization objective on all matrices, (3.19), PDF p.16.
  • multiplierSize: Multiplier objective in (3.18), PDF p.16, using homogeneous unit balls.
  • positiveMultiplierSize: Positive multiplier reduction of (3.18), PDF p.16.
  • variationalSize: The inner supremum of (3.6), PDF p.11. B is restricted to invertible densities by its caller; A may be singular and Y need only be PSD.
  • dilationState: R,A,E order in Lemma 4, PDF pp.8–9. U acts on A,E and the initial pure density on (R,A),E is explicitly reassociated before conjugation.
  • associateRAE: Reassociation (R,A,E) to ((R,A),E) for tracing E, Lemma 4, PDF p.8.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P30
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P50
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P08
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P11
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P01
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P60
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P56
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P71
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P19
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34

/-!
Statements from Devetak–Junge–King–Ruskai, arXiv:quant-ph/0506196v2.
Entropy is in nats; all finite registers are nonempty in the theorem signatures.
The explicit mixed norms are (3.2),(3.3). Completely bounded norms use extended
suprema over every positive finite ancillary dimension, with t=min(q,p).
No claim about complete operator-space isometry is replaced by a scalar-norm claim.
-/

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder ENNReal Topology
open Filter Set

namespace QAlgorithms.Papers.Independent.Advance50.P16

attribute [local instance] Classical.propDecidable Classical.decEq

-- Exact frozen counterparts; their bodies and conventions were checked for this repair.
open QAlgorithms.Papers.Independent.Information100.P60 (Mat)
open QAlgorithms.Papers.Independent.Information100.P56 (entropy)
open QAlgorithms.Papers.Independent.Information100.P71 (supportPower)
open QAlgorithms.Papers.Independent.Dependency50.P19 (flip)
open QAlgorithms.Papers.Independent.Information100.P34 (choi)

open QAlgorithms.Papers.Independent.Information100.P30 (tensorMap)
open QAlgorithms.Papers.Independent.Information100.P50 (schattenNorm)
open QAlgorithms.Papers.Independent.Information100.P08 (depolarizing)
open QAlgorithms.Papers.Independent.Support50.P11 (wernerHolevoChannel)

/-- Finite ordinary trace power near one, PDF p.6. Unlike the frozen oscillator
trace-power functional, this is a real trace on a finite matrix. -/
def finiteTracePower {I : Type} [Fintype I] (X : Mat I) (p : ℝ) : ℝ :=
  (supportPower X p).trace.re

/-- Reciprocal exponent, PDF pp.9–10: infinity has reciprocal zero. -/
def recip (p : ℝ≥0∞) : ℝ := (p⁻¹).toReal

/-- Outer-factor multiplier in (3.2), PDF p.10. The frozen `sandwich` declarations
act on different spaces; this applies A tensor I and B tensor I to a bipartite matrix. -/
def outerSandwich {D I : Type} [Fintype D] [Fintype I]
    (A B : Mat D) (Y : Mat (D × I)) : Mat (D × I) :=
  Matrix.kronecker A (1 : Mat I) * Y * Matrix.kronecker B (1 : Mat I)

/-- (3.2), PDF p.10, in homogeneous unit-ball form. The extended supremum
never assigns default zero to an unbounded set. It is finite for these finite matrices. -/
def infinityMixedSize {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  ⨆ A : {A : Mat D // schattenNorm (2 * p) A ≤ 1},
    ⨆ B : {B : Mat D // schattenNorm (2 * p) B ≤ 1},
      ENNReal.ofReal (schattenNorm p (outerSandwich A.val B.val Y))

/-- (3.3), PDF p.10, including t=infinity as the genuine (3.2) endpoint.
The factorization set contains A=B=I,Z=Y. All exponents used in statements are >=1. -/
def mixedSize {D I : Type} [Fintype D] [Fintype I]
    (t p : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  if t = ⊤ then infinityMixedSize p Y else
    ⨅ A : Mat D, ⨅ B : Mat D,
      ⨅ Z : {Z : Mat (D × I) // Y = outerSandwich A B Z},
        ENNReal.ofReal (schattenNorm (2 * t) A * schattenNorm (2 * t) B) *
          infinityMixedSize p Z.val

/-- Real-valued mixed norm (3.3), PDF p.10. Finite matrices and exponents >=1
make `mixedSize` finite; no unbounded CB supremum is converted here. -/
def mixedNorm {D I : Type} [Fintype D] [Fintype I]
    (t p : ℝ≥0∞) (Y : Mat (D × I)) : ℝ := (mixedSize t p Y).toReal

/-- Matrix-level norm M_a(L_q(M_d;L_p(M_n))), source PDF pp.11,13–15.
Concrete formula: Pisier, arXiv:math/9306206v1, Theorem 2(2), PDF pp.6–7.
The amplification is first. Contract its indices with unit S_(2q) multipliers,
then flatten the amplification and d indices into the outer q register.
This is an actual formula, not an arbitrary norm constrained by the desired theorems. -/
def matrixMixedSize {A D I : Type} [Fintype A] [Fintype D] [Fintype I]
    (q p : ℝ≥0∞) (Y : Mat (A × (D × I))) : ℝ≥0∞ :=
  ⨆ L : {L : Mat A // schattenNorm (2*q) L ≤ 1},
    ⨆ R : {R : Mat A // schattenNorm (2*q) R ≤ 1},
      let Z := outerSandwich L.val R.val Y
      mixedSize q p (fun x y : (A × D) × I =>
        Z (x.1.1,(x.1.2,x.2)) (y.1.1,(y.1.2,y.2)))

/-- Iterated vector-valued norm via (3.3), PDF pp.10–11,17.
The inner operator space's matrix norms are `matrixMixedSize`, rather than
iterated partial traces. Thus arbitrary nonpositive triple matrices are covered. -/
def tripleSize {A D I : Type} [Fintype A] [Fintype D] [Fintype I]
    (t q p : ℝ≥0∞) (Y : Mat (A × (D × I))) : ℝ≥0∞ :=
  if t = ⊤ then matrixMixedSize q p Y else
    ⨅ L : Mat A, ⨅ R : Mat A,
      ⨅ Z : {Z : Mat (A × (D × I)) // Y = outerSandwich L R Z},
        ENNReal.ofReal (schattenNorm (2*t) L * schattenNorm (2*t) R) *
          matrixMixedSize q p Z.val

/-- Flip of the two inner factors, leaving the amplification fixed,
Theorem 8, PDF p.15. -/
def amplifiedFlip {A D I : Type} (Y : Mat (A × (D × I))) : Mat (A × (I × D)) :=
  fun x y => Y (x.1,(x.2.2,x.2.1)) (y.1,(y.2.2,y.2.1))

/-- Partial trace of the last tensor factor in the intentional 1,3,2 order,
(3.24), PDF p.17. -/
def traceLast {A D I : Type} [Fintype I] (Y : Mat (A × (D × I))) : Mat (A × D) :=
  fun x y => ∑ i, Y (x.1,(x.2,i)) (y.1,(y.2,i))

/-- Ordinary induced norm (2.1), PDF p.5, on its full complex unit ball. -/
def inducedSize {I J : Type} [Fintype I] [Fintype J]
    (q p : ℝ≥0∞) (Phi : Superop I J) : ℝ≥0∞ :=
  ⨆ X : {X : Mat I // schattenNorm q X ≤ 1}, ENNReal.ofReal (schattenNorm p (Phi X.val))

/-- Positive induced norm, PDF pp.5,11. This does not assume trace preservation. -/
def positiveInducedSize {I J : Type} [Fintype I] [Fintype J]
    (q p : ℝ≥0∞) (Phi : Superop I J) : ℝ≥0∞ :=
  ⨆ X : {X : Mat I // X.PosSemidef ∧ schattenNorm q X ≤ 1},
    ENNReal.ofReal (schattenNorm p (Phi X.val))

/-- Finite amplification norm in (3.4),(3.5), PDF p.10. Identical outer exponent t
appears on both sides; it is not the ordinary Schatten q-to-p amplification. -/
def amplificationSize {I J : Type} [Fintype I] [Fintype J]
    (d : ℕ) (t q p : ℝ≥0∞) (Phi : Superop I J) : ℝ≥0∞ :=
  ⨆ X : {X : Mat (Fin d × I) // mixedNorm t q X ≤ 1},
    ENNReal.ofReal (mixedNorm t p (idTensorSuperop Phi X.val))

/-- Positive finite amplification in Theorem 12, PDF p.20. -/
def positiveAmplificationSize {I J : Type} [Fintype I] [Fintype J]
    (d : ℕ) (t q p : ℝ≥0∞) (Phi : Superop I J) : ℝ≥0∞ :=
  ⨆ X : {X : Mat (Fin d × I) // X.PosSemidef ∧ mixedNorm t q X ≤ 1},
    ENNReal.ofReal (mixedNorm t p (idTensorSuperop Phi X.val))

/-- Completely bounded norm, (3.5), PDF pp.9–10. Extended supremum over all
positive ancillary dimensions; no maximizing dimension is built into the definition. -/
def cbSize {I J : Type} [Fintype I] [Fintype J]
    (q p : ℝ≥0∞) (Phi : Superop I J) : ℝ≥0∞ :=
  ⨆ d : {d : ℕ // 0 < d}, amplificationSize d.val (min q p) q p Phi

/-- Pure-input norm ratio (1.6), PDF p.4, with normalized vectors and reference
isomorphic to the input. The denominator is strictly positive on these vectors. -/
def pureRatio {I J : Type} [Fintype I] [Fintype J]
    (p : ℝ≥0∞) (Phi : Superop I J) (psi : EuclideanSpace ℂ (I × I)) : ℝ :=
  schattenNorm p (idTensorSuperop Phi (pureDensity psi)) /
    schattenNorm p (traceRight (pureDensity psi))

/-- Omega_p of (1.6), PDF p.4; a norm-ratio supremum, distinct from the frozen
`omega` vectors and numerical-range sets. Its unit sphere is compact for nonzero input.
The finite-dimensional ratio is bounded, so the extended supremum is finite. -/
def cbOmega {I J : Type} [Fintype I] [Fintype J]
    (p : ℝ≥0∞) (Phi : Superop I J) : ℝ :=
  (⨆ psi : {psi : EuclideanSpace ℂ (I × I) // ‖psi‖ = 1},
    ENNReal.ofReal (pureRatio p Phi psi.val)).toReal

/-- Conditional entropy at a pure input, (1.1),(2.9), PDF pp.3,7. -/
def conditionalAt {I J : Type} [Fintype I] [Fintype J]
    (Phi : Superop I J) (psi : EuclideanSpace ℂ (I × I)) : ℝ :=
  entropy (idTensorSuperop Phi (pureDensity psi)) - entropy (traceRight (pureDensity psi))

/-- Minimal CB entropy (1.1), PDF p.3. Used on CPT maps with nonzero input/output;
then the set is nonempty and compact and the real infimum is finite and attained. -/
def minCBEntropy {I J : Type} [Fintype I] [Fintype J] (Phi : Superop I J) : ℝ :=
  sInf {s : ℝ | ∃ psi : EuclideanSpace ℂ (I × I), ‖psi‖ = 1 ∧ s = conditionalAt Phi psi}

/-- The ratio differentiated in Lemma 1, PDF p.6. -/
def powerRatio {D I : Type} [Fintype D] [Fintype I]
    (X : Mat (D × I)) (p : ℝ) : ℝ := finiteTracePower X p / finiteTracePower (traceRight X) p

/-- Uniform entropy-limit quotient and its extension at one, (2.6), PDF pp.6–7.
The frozen oscillator entropy-increment quotient is a different function. -/
def uniformEntropyQuotient {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ) (X : Mat (D × I)) : ℝ :=
  if p = 1 then entropy X - entropy (traceRight X) else (1 - powerRatio X p) / (p - 1)

/-- EBT, PDF pp.24–25: CPT and separable outputs for every finite reference.
Uses the accepted separable positive cone, equivalent to separable density at trace one. -/
def IsEBT {I J : Type} [Fintype I] [Fintype J] (Phi : Superop I J) : Prop :=
  IsChannel Phi ∧ ∀ d : ℕ, 0 < d → ∀ X : Mat (Fin d × I), IsDensityMatrix X →
    Entanglement.IsSeparablePositive (idTensorSuperop Phi X)

/-- Support-compatible beta(X1), (6.8), PDF p.29. Singular B are permitted. -/
def AdmissibleDensity {D I : Type} [Fintype D] [Fintype I]
    (X : Mat (D × I)) (B : Mat D) : Prop :=
  IsDensityMatrix B ∧ LinearMap.ker B.mulVecLin ≤ LinearMap.ker (traceRight X).mulVecLin

/-- v(p,B), (6.6), PDF p.29, on its support-compatible domain. -/
def minimizerMatrix {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ) (X : Mat (D × I)) (B : Mat D) : Mat (D × I) :=
  supportPower X (1/2) * Matrix.kronecker (supportPower B (1/p-1)) (1 : Mat I) *
    supportPower X (1/2)

/-- Extended minimization objective (6.8), PDF p.29: incompatible supports cost infinity,
not the finite value returned by a zero pseudoinverse. -/
def minimizerObjective {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ) (X : Mat (D × I)) (B : Mat D) : ℝ≥0∞ :=
  if AdmissibleDensity X B then ENNReal.ofReal (schattenNorm (ENNReal.ofReal p) (minimizerMatrix p X B))
  else ⊤

/-- Positive-density outerSandwich (3.22), PDF p.16, including the infinity endpoint. -/
def densityObjective {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ≥0∞) (X : Mat (D × I)) (B : Mat D) : ℝ≥0∞ :=
  if AdmissibleDensity X B then ENNReal.ofReal
    (schattenNorm p (outerSandwich (supportPower B (-(1-recip p)/2))
      (supportPower B (-(1-recip p)/2)) X)) else ⊤

/-- Symmetric positive factorization objective, (3.19),(3.21), PDF p.16. -/
def positiveFactorSize {D I : Type} [Fintype D] [Fintype I]
    (q p r : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  ⨅ A : {A : Mat D // A.PosSemidef},
    ⨅ Z : {Z : Mat (D × I) // Z.PosSemidef ∧ Y = outerSandwich A.val A.val Z},
      ENNReal.ofReal (schattenNorm (2*r) A.val ^ 2 * schattenNorm p Z.val)

/-- Extended factorization objective on all matrices, (3.19), PDF p.16. -/
def factorSize {D I : Type} [Fintype D] [Fintype I]
    (p r : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  ⨅ A : Mat D, ⨅ B : Mat D, ⨅ Z : {Z : Mat (D × I) // Y = outerSandwich A B Z},
    ENNReal.ofReal (schattenNorm (2*r) A * schattenNorm (2*r) B * schattenNorm p Z.val)

/-- Multiplier objective in (3.18), PDF p.16, using homogeneous unit balls. -/
def multiplierSize {D I : Type} [Fintype D] [Fintype I]
    (q r : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  ⨆ A : {A : Mat D // schattenNorm (2*r) A ≤ 1},
    ⨆ B : {B : Mat D // schattenNorm (2*r) B ≤ 1},
      ENNReal.ofReal (schattenNorm q (outerSandwich A.val B.val Y))

/-- Positive multiplier reduction of (3.18), PDF p.16. -/
def positiveMultiplierSize {D I : Type} [Fintype D] [Fintype I]
    (q r : ℝ≥0∞) (Y : Mat (D × I)) : ℝ≥0∞ :=
  ⨆ A : {A : Mat D // A.PosSemidef ∧ schattenNorm (2*r) A ≤ 1},
    ENNReal.ofReal (schattenNorm q (outerSandwich A.val A.val Y))

/-- The inner supremum of (3.6), PDF p.11. B is restricted to invertible densities
by its caller; A may be singular and Y need only be PSD. -/
def variationalSize {D I : Type} [Fintype D] [Fintype I]
    (p : ℝ≥0∞) (Y : Mat (D × I)) (B : Mat D) : ℝ≥0∞ :=
  ⨆ A : {A : Mat D // IsDensityMatrix A},
    let L := supportPower A.val (recip p / 2) * supportPower B (-recip p / 2)
    let R := supportPower B (-recip p / 2) * supportPower A.val (recip p / 2)
    ENNReal.ofReal (schattenNorm p (outerSandwich L R Y))

/-- R,A,E order in Lemma 4, PDF pp.8–9. U acts on A,E and the initial
pure density on (R,A),E is explicitly reassociated before conjugation. -/
def dilationState {R A E : Type} [Fintype R] [Fintype A] [Fintype E]
    (U : Matrix.unitaryGroup (A × E) ℂ) (tau : EuclideanSpace ℂ E)
    (psi : EuclideanSpace ℂ (R × A)) : Mat (R × (A × E)) :=
  let V := Matrix.kronecker (1 : Mat R) (U : Mat (A × E))
  let Q : Mat (R × (A × E)) := fun x y =>
    pureDensity psi (x.1,x.2.1) (y.1,y.2.1) * pureDensity tau x.2.2 y.2.2
  V * Q * Vᴴ

/-- Reassociation (R,A,E) to ((R,A),E) for tracing E, Lemma 4, PDF p.8. -/
def associateRAE {R A E : Type} (G : Mat (R × (A × E))) : Mat ((R × A) × E) :=
  fun x y => G (x.1.1,(x.1.2,x.2)) (y.1.1,(y.1.2,y.2))

/-! Sanity checks pin endpoints, tensor order, normalization and invalid-support behavior. -/

example : recip ⊤ = 0 := by simp [recip]

example {I : Type} [Fintype I] : entropy (0 : Mat I) = 0 := by simp [entropy]

example {D I : Type} [Fintype D] [Fintype I] (X : Mat (D × I)) :
    uniformEntropyQuotient 1 X = entropy X - entropy (traceRight X) := by simp [uniformEntropyQuotient]

example {D I : Type} [Fintype D] [Fintype I] (p : ℝ≥0∞) (X : Mat (D × I)) :
    mixedSize ⊤ p X = infinityMixedSize p X := by simp [mixedSize]

example {D I : Type} [Fintype D] [Fintype I] (X : Mat (D × I)) (B : Mat D)
    (h : ¬ AdmissibleDensity X B) (p : ℝ) : minimizerObjective p X B = ⊤ := by
  simp [minimizerObjective, h]

example {R A E : Type} (G : Mat (R × (A × E))) (r s : R) (a b : A) (e f : E) :
    associateRAE G ((r,a),e) ((s,b),f) = G (r,(a,e)) (s,(b,f)) := rfl

example {D I : Type} [Fintype D] [Fintype I] (Y : Mat (D × I)) :
    outerSandwich (1 : Mat D) (1 : Mat D) Y = Y := by
  simp [outerSandwich, Matrix.one_kronecker_one]

example {I J : Type} [Fintype I] : choi (fun _ : Mat I => (0 : Mat J)) = 0 := rfl

example {A D I : Type} (Y : Mat (A × (D × I))) :
    amplifiedFlip (amplifiedFlip Y) = Y := rfl

example {D I : Type} (Y : Mat (D × I)) :
    QAlgorithms.Papers.Independent.Dependency50.P19.flip
      (QAlgorithms.Papers.Independent.Dependency50.P19.flip Y) = Y := rfl

example {A D I : Type} [Fintype A] [Fintype D] [Fintype I]
    (q p : ℝ≥0∞) (Y : Mat (A × (D × I))) :
    tripleSize ⊤ q p Y = matrixMixedSize q p Y := by simp [tripleSize]

example {A D I : Type} [Fintype I] : traceLast (0 : Mat (A × (D × I))) = 0 := by
  ext x y
  simp [traceLast]

example {D I : Type} [Fintype D] [Fintype I] (X : Mat (D × I)) (B : Mat D)
    (h : ¬ AdmissibleDensity X B) (p : ℝ≥0∞) : densityObjective p X B = ⊤ := by
  simp [densityObjective, h]

end QAlgorithms.Papers.Independent.Advance50.P16
Source
Multiplicativity of completely bounded p-norms implies a new additivity result, arXiv:quant-ph/0506196v2, https://arxiv.org/abs/quant-ph/0506196v2
Read-back

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

QAlgorithms.Papers.Independent.Advance50.P16.AdmissibleDensity

For finite types D,ID,ID,I, any complex matrix XXX indexed by D×ID\times ID×I, and any complex matrix BBB indexed by DDD, this property means that BBB is positive semidefinite with tr⁡B=1\operatorname{tr}B=1trB=1, and

ker⁡B⊆ker⁡R,Ra,b=∑i∈IX(a,i),(b,i).\ker B\subseteq\ker R, \qquad R_{a,b}=\sum_{i\in I}X_{(a,i),(b,i)}.kerB⊆kerR,Ra,b​=i∈I∑​X(a,i),(b,i)​.

Equivalently, every vector v∈CDv\in\mathbb C^Dv∈CD satisfying Bv=0Bv=0Bv=0 must satisfy Rv=0Rv=0Rv=0. No positivity, Hermiticity or normalization condition is imposed on XXX. Empty finite types are included: if DDD is empty, the trace-one condition on BBB is impossible; if III is empty, R=0R=0R=0 and the kernel inclusion imposes no additional restriction on BBB.

QAlgorithms.Papers.Independent.Advance50.P16.IsEBT

For finite types I,JI,JI,J and a function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this property means that there exist m∈Nm\in\mathbb Nm∈N and matrices Eℓ∈CJ×IE_\ell\in\mathbb C^{J\times I}Eℓ​∈CJ×I, indexed by ℓ∈Fin⁡m\ell\in\operatorname{Fin}mℓ∈Finm, such that

∑ℓEℓ∗Eℓ=1I,Φ(A)=∑ℓEℓAEℓ∗for every A,\sum_\ell E_\ell^*E_\ell=1_I, \qquad \Phi(A)=\sum_\ell E_\ell A E_\ell^* \quad\text{for every }A,ℓ∑​Eℓ∗​Eℓ​=1I​,Φ(A)=ℓ∑​Eℓ​AEℓ∗​for every A,

and additionally that, for every positive natural number ddd and every positive semidefinite matrix XXX on Fin⁡d×I\operatorname{Fin}d\times IFind×I with tr⁡X=1\operatorname{tr}X=1trX=1, the matrix

Y(a,j),(b,k)=Φ((X(a,i),(b,i′))i,i′∈I)j,kY_{(a,j),(b,k)} =\Phi\bigl((X_{(a,i),(b,i')})_{i,i'\in I}\bigr)_{j,k}Y(a,j),(b,k)​=Φ((X(a,i),(b,i′)​)i,i′∈I​)j,k​

has a representation

Y=∑ℓ∈Fin⁡rwℓAℓ⊗BℓY=\sum_{\ell\in\operatorname{Fin}r}w_\ell A_\ell\otimes B_\ellY=ℓ∈Finr∑​wℓ​Aℓ​⊗Bℓ​

for some r∈Nr\in\mathbb Nr∈N, nonnegative real weights wℓw_\ellwℓ​, density matrices AℓA_\ellAℓ​ on Fin⁡d\operatorname{Fin}dFind, and density matrices BℓB_\ellBℓ​ on JJJ. Each local density matrix is positive semidefinite with trace 111, but the weights are not explicitly required to sum to 111. The representation permits r=0r=0r=0, yielding the zero matrix. The input quantification excludes d=0d=0d=0; if III is empty, no such trace-one XXX exists, so this part of the property is vacuous.

QAlgorithms.Papers.Independent.Advance50.P16.amplificationSize

For finite types I,JI,JI,J, a natural number ddd (including 000), exponents t,q,p∈[0,∞]t,q,p\in[0,\infty]t,q,p∈[0,∞], and an arbitrary function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines an element of [0,∞][0,\infty][0,∞] as follows. For any finite index type HHH, write

Ss(A)={∥A∥op,s=∞,(Re⁡tr⁡[(u↦usR/2)(A∗A)])1/sR,s<∞,A∈CH×H,S_s(A)= \begin{cases} \|A\|_{\mathrm{op}},&s=\infty,\\ \left(\operatorname{Re}\operatorname{tr} \bigl[(u\mapsto u^{s_{\mathbb R}/2})(A^*A)\bigr]\right)^{1/s_{\mathbb R}}, &s<\infty, \end{cases} \qquad A\in\mathbb C^{H\times H},Ss​(A)={∥A∥op​,(Retr[(u↦usR​/2)(A∗A)])1/sR​,​s=∞,s<∞,​A∈CH×H,

where sRs_{\mathbb R}sR​ is the real value of sss, functions of matrices use real continuous functional calculus, and powers and division use their total real definitions, including 1/0=01/0=01/0=0. For YYY indexed by D×HD\times HD×H, define

Fs(Y)=sup⁡A,B∈CD×DS2s(A)≤1, S2s(B)≤1[Ss((A⊗1H)Y(B⊗1H))]+,F_s(Y)= \sup_{\substack{A,B\in\mathbb C^{D\times D}\\S_{2s}(A)\le1,\ S_{2s}(B)\le1}} \bigl[S_s((A\otimes1_H)Y(B\otimes1_H))\bigr]_+,Fs​(Y)=A,B∈CD×DS2s​(A)≤1, S2s​(B)≤1​sup​[Ss​((A⊗1H​)Y(B⊗1H​))]+​,

and

Mu,s(Y)={Fs(Y),u=∞,inf⁡A,B∈CD×D, Z∈C(D×H)×(D×H)Y=(A⊗1H)Z(B⊗1H)[S2u(A)S2u(B)]+ Fs(Z),u<∞.M_{u,s}(Y)= \begin{cases} F_s(Y),&u=\infty,\\ \displaystyle \inf_{\substack{A,B\in\mathbb C^{D\times D},\ Z\in\mathbb C^{(D\times H)\times(D\times H)}\\ Y=(A\otimes1_H)Z(B\otimes1_H)}} \bigl[S_{2u}(A)S_{2u}(B)\bigr]_+\,F_s(Z),&u<\infty. \end{cases}Mu,s​(Y)=⎩⎨⎧​Fs​(Y),A,B∈CD×D, Z∈C(D×H)×(D×H)Y=(A⊗1H​)Z(B⊗1H​)​inf​[S2u​(A)S2u​(B)]+​Fs​(Z),​u=∞,u<∞.​

Here [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), regarded as an extended nonnegative real; these suprema, infima and products are taken in [0,∞][0,\infty][0,∞], with its convention 0⋅∞=00\cdot\infty=00⋅∞=0. Put mu,s(Y)=Mu,s(Y)m_{u,s}(Y)=M_{u,s}(Y)mu,s​(Y)=Mu,s​(Y) when this is finite, and mu,s(Y)=0m_{u,s}(Y)=0mu,s​(Y)=0 when Mu,s(Y)=∞M_{u,s}(Y)=\inftyMu,s​(Y)=∞. The defined quantity is

sup⁡X∈C(Fin⁡d×I)×(Fin⁡d×I)mt,q(X)≤1[mt,p((idd⊗Φ)(X))]+,\sup_{\substack{X\in\mathbb C^{(\operatorname{Fin}d\times I)\times(\operatorname{Fin}d\times I)}\\ m_{t,q}(X)\le1}} \bigl[m_{t,p}((\mathrm{id}_d\otimes\Phi)(X))\bigr]_+,X∈C(Find×I)×(Find×I)mt,q​(X)≤1​sup​[mt,p​((idd​⊗Φ)(X))]+​,

where

((idd⊗Φ)(X))(a,j),(b,k)=Φ((X(a,i),(b,i′))i,i′∈I)j,k.((\mathrm{id}_d\otimes\Phi)(X))_{(a,j),(b,k)} =\Phi\bigl((X_{(a,i),(b,i')})_{i,i'\in I}\bigr)_{j,k}.((idd​⊗Φ)(X))(a,j),(b,k)​=Φ((X(a,i),(b,i′)​)i,i′∈I​)j,k​.

No linearity, positivity or channel condition is imposed on Φ\PhiΦ, and XXX need not be positive or Hermitian. Empty index types and zero exponents are included; in particular, the conversion of an infinite Mt,q(X)M_{t,q}(X)Mt,q​(X) to 000 makes such an XXX satisfy the displayed input constraint.

QAlgorithms.Papers.Independent.Advance50.P16.amplifiedFlip

For arbitrary types A,D,IA,D,IA,D,I, without finiteness assumptions, and any complex square matrix YYY indexed by A×(D×I)A\times(D\times I)A×(D×I), this defines the complex square matrix on A×(I×D)A\times(I\times D)A×(I×D) whose entries are

(Flip⁡Y)(a,(i,d)),(a′,(i′,d′))=Y(a,(d,i)),(a′,(d′,i′)).(\operatorname{Flip}Y)_{(a,(i,d)),(a',(i',d'))} = Y_{(a,(d,i)),(a',(d',i'))}.(FlipY)(a,(i,d)),(a′,(i′,d′))​=Y(a,(d,i)),(a′,(d′,i′))​.

Thus both row and column indices exchange their DDD and III coordinates while retaining their AAA coordinates. No positivity, Hermiticity, or nonemptiness assumption is imposed.

QAlgorithms.Papers.Independent.Advance50.P16.associateRAE

For arbitrary types R,A,ER,A,ER,A,E, with no finiteness or nonemptiness assumptions, and any complex matrix GGG indexed by R×(A×E)R\times(A\times E)R×(A×E), this definition returns the matrix indexed by (R×A)×E(R\times A)\times E(R×A)×E whose entries are

(associateRAE⁡(G))((r,a),e),((r′,a′),e′)=G(r,(a,e)),(r′,(a′,e′)).\bigl(\operatorname{associateRAE}(G)\bigr)_{((r,a),e),((r',a'),e')} =G_{(r,(a,e)),(r',(a',e'))}.(associateRAE(G))((r,a),e),((r′,a′),e′)​=G(r,(a,e)),(r′,(a′,e′))​.

It changes only the grouping of the three indices and imposes no positivity, normalization, or other condition on GGG; empty types are permitted.

QAlgorithms.Papers.Independent.Advance50.P16.cbOmega

For finite types I,JI,JI,J, an exponent p∈[0,∞]p\in[0,\infty]p∈[0,∞], and any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines the real number

(sup⁡ψ∈CI×I∥ψ∥=1[Sp(Yψ)Sp(Rψ)]+)R,\left( \sup_{\substack{\psi\in\mathbb C^{I\times I}\\\|\psi\|=1}} \left[ \frac{S_p(Y_\psi)}{S_p(R_\psi)} \right]_+ \right)_{\mathbb R},​ψ∈CI×I∥ψ∥=1​sup​[Sp​(Rψ​)Sp​(Yψ​)​]+​​R​,

where

(Yψ)(a,j),(b,k)=Φ((ψ(a,i)ψ(b,i′)‾)i,i′∈I)j,k,(Rψ)a,b=∑i∈Iψ(a,i)ψ(b,i)‾.(Y_\psi)_{(a,j),(b,k)} =\Phi\bigl((\psi(a,i)\overline{\psi(b,i')})_{i,i'\in I}\bigr)_{j,k}, \qquad (R_\psi)_{a,b}=\sum_{i\in I}\psi(a,i)\overline{\psi(b,i)}.(Yψ​)(a,j),(b,k)​=Φ((ψ(a,i)ψ(b,i′)​)i,i′∈I​)j,k​,(Rψ​)a,b​=i∈I∑​ψ(a,i)ψ(b,i)​.

The function S∞S_\inftyS∞​ is the operator norm, while for finite ppp,

Sp(A)=(Re⁡tr⁡[(u↦upR/2)(A∗A)])1/pR,S_p(A)= \left(\operatorname{Re}\operatorname{tr} \bigl[(u\mapsto u^{p_{\mathbb R}/2})(A^*A)\bigr]\right)^{1/p_{\mathbb R}},Sp​(A)=(Retr[(u↦upR​/2)(A∗A)])1/pR​,

using real continuous functional calculus and total real arithmetic, including division by zero. The brackets [x]+[x]_+[x]+​ embed max⁡(x,0)\max(x,0)max(x,0) into [0,∞][0,\infty][0,∞]; the supremum is taken there, and the final real conversion equals its finite value but sends infinity to 000. No linearity, positivity or channel assumption is imposed on Φ\PhiΦ, and p=0,∞p=0,\inftyp=0,∞ are allowed. If III is empty there are no unit vectors, so the supremum is the empty extended nonnegative supremum and the result is 000; a zero denominator in any ratio likewise gives ratio 000.

QAlgorithms.Papers.Independent.Advance50.P16.cbSize

For finite types I,JI,JI,J, exponents q,p∈[0,∞]q,p\in[0,\infty]q,p∈[0,∞], and an arbitrary function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines an extended nonnegative number. Its matrix-size ingredients are the following: Ss(A)=∥A∥opS_s(A)=\|A\|_{\mathrm{op}}Ss​(A)=∥A∥op​ for s=∞s=\inftys=∞, while for finite sss,

Ss(A)=(Re⁡tr⁡[(u↦usR/2)(A∗A)])1/sR,S_s(A)= \left(\operatorname{Re}\operatorname{tr} \bigl[(u\mapsto u^{s_{\mathbb R}/2})(A^*A)\bigr]\right)^{1/s_{\mathbb R}},Ss​(A)=(Retr[(u↦usR​/2)(A∗A)])1/sR​,

with real continuous functional calculus and total real powers and division. For YYY indexed by D×HD\times HD×H, put

Fs(Y)=sup⁡A,B∈CD×DS2s(A)≤1, S2s(B)≤1[Ss((A⊗1H)Y(B⊗1H))]+,F_s(Y)= \sup_{\substack{A,B\in\mathbb C^{D\times D}\\S_{2s}(A)\le1,\ S_{2s}(B)\le1}} \bigl[S_s((A\otimes1_H)Y(B\otimes1_H))\bigr]_+,Fs​(Y)=A,B∈CD×DS2s​(A)≤1, S2s​(B)≤1​sup​[Ss​((A⊗1H​)Y(B⊗1H​))]+​, Mu,s(Y)={Fs(Y),u=∞,inf⁡A,B,ZY=(A⊗1H)Z(B⊗1H)[S2u(A)S2u(B)]+Fs(Z),u<∞,M_{u,s}(Y)= \begin{cases} F_s(Y),&u=\infty,\\ \displaystyle \inf_{\substack{A,B,Z\\Y=(A\otimes1_H)Z(B\otimes1_H)}} \bigl[S_{2u}(A)S_{2u}(B)\bigr]_+F_s(Z),&u<\infty, \end{cases}Mu,s​(Y)=⎩⎨⎧​Fs​(Y),A,B,ZY=(A⊗1H​)Z(B⊗1H​)​inf​[S2u​(A)S2u​(B)]+​Fs​(Z),​u=∞,u<∞,​

where A,BA,BA,B are square on DDD, ZZZ is square on D×HD\times HD×H, and [x]+[x]_+[x]+​ embeds max⁡(x,0)\max(x,0)max(x,0) into [0,∞][0,\infty][0,∞]; all operations in these formulas are extended nonnegative operations. Write mu,s(Y)m_{u,s}(Y)mu,s​(Y) for the real conversion of Mu,s(Y)M_{u,s}(Y)Mu,s​(Y), taking infinity to 000, and let v=min⁡(q,p)v=\min(q,p)v=min(q,p). The definition is

sup⁡d∈Nd>0 sup⁡X∈C(Fin⁡d×I)×(Fin⁡d×I)mv,q(X)≤1[mv,p((idd⊗Φ)(X))]+,\sup_{\substack{d\in\mathbb N\\d>0}}\ \sup_{\substack{X\in\mathbb C^{(\operatorname{Fin}d\times I)\times(\operatorname{Fin}d\times I)}\\ m_{v,q}(X)\le1}} \bigl[m_{v,p}((\mathrm{id}_d\otimes\Phi)(X))\bigr]_+,d∈Nd>0​sup​ X∈C(Find×I)×(Find×I)mv,q​(X)≤1​sup​[mv,p​((idd​⊗Φ)(X))]+​,

where (idd⊗Φ)(X)(\mathrm{id}_d\otimes\Phi)(X)(idd​⊗Φ)(X) applies Φ\PhiΦ separately to each I×II\times II×I block determined by two outer indices in Fin⁡d\operatorname{Fin}dFind. Only positive auxiliary dimensions ddd occur, but I,JI,JI,J may be empty and the exponents may be 000 or infinity. There is no positivity condition on XXX or linearity or channel condition on Φ\PhiΦ; an infinite Mv,q(X)M_{v,q}(X)Mv,q​(X) is converted to 000 and hence satisfies the input constraint.

QAlgorithms.Papers.Independent.Advance50.P16.conditionalAt

For finite types I,JI,JI,J, an arbitrary function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, and any Euclidean vector ψ∈CI×I\psi\in\mathbb C^{I\times I}ψ∈CI×I, this defines the real number

H(Y)−H(R),H(Y)-H(R),H(Y)−H(R),

where

Y(a,j),(b,k)=Φ((ψ(a,i)ψ(b,i′)‾)i,i′∈I)j,k,Ra,b=∑i∈Iψ(a,i)ψ(b,i)‾,H(A)=−Re⁡tr⁡[(x↦xlog⁡x)(A)].Y_{(a,j),(b,k)} =\Phi\bigl((\psi(a,i)\overline{\psi(b,i')})_{i,i'\in I}\bigr)_{j,k}, \qquad R_{a,b}=\sum_{i\in I}\psi(a,i)\overline{\psi(b,i)}, \qquad H(A)=-\operatorname{Re}\operatorname{tr}\bigl[(x\mapsto x\log x)(A)\bigr].Y(a,j),(b,k)​=Φ((ψ(a,i)ψ(b,i′)​)i,i′∈I​)j,k​,Ra,b​=i∈I∑​ψ(a,i)ψ(b,i)​,H(A)=−Retr[(x↦xlogx)(A)].

Functions of matrices are evaluated by real continuous functional calculus, and log⁡\loglog is the natural real logarithm, with its total convention log⁡0=0\log0=0log0=0. The matrix YYY applies Φ\PhiΦ to the second factor of ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|∣ψ⟩⟨ψ∣, and RRR traces out that factor. The vector is not required to be normalized or nonzero, Φ\PhiΦ is not required to be linear or a channel, and neither entropy argument is required by this definition to be a density matrix. Empty I,JI,JI,J are included, and the functional-calculus expression uses its total value, including zero on non-Hermitian matrices.

QAlgorithms.Papers.Independent.Advance50.P16.densityObjective

For finite types D,ID,ID,I, p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], a complex matrix XXX indexed by D×ID\times ID×I, and a complex matrix BBB indexed by DDD, put a=(p−1).toReala=(p^{-1}).\mathrm{toReal}a=(p−1).toReal. This definition returns

{ofReal⁡ ⁣(Sp[(B[−(1−a)/2]⊗1I)X(B[−(1−a)/2]⊗1I)]),B≥0, tr⁡B=1, ker⁡B⊆ker⁡XD,+∞,otherwise,\begin{cases} \displaystyle \operatorname{ofReal}\!\left( S_p\left[ \bigl(B^{[-(1-a)/2]}\otimes\mathbf1_I\bigr) X \bigl(B^{[-(1-a)/2]}\otimes\mathbf1_I\bigr) \right]\right), & B\ge0,\ \operatorname{tr}B=1,\ \ker B\subseteq\ker X_D,\\ +\infty,&\text{otherwise}, \end{cases}{ofReal(Sp​[(B[−(1−a)/2]⊗1I​)X(B[−(1−a)/2]⊗1I​)]),+∞,​B≥0, trB=1, kerB⊆kerXD​,otherwise,​

where (XD)d,d′=∑i∈IX(d,i),(d′,i)(X_D)_{d,d'}=\sum_{i\in I}X_{(d,i),(d',i)}(XD​)d,d′​=∑i∈I​X(d,i),(d′,i)​, B[t]=cfc⁡(x↦if x=0 then 0 else xt,B)B^{[t]}=\operatorname{cfc}(x\mapsto\text{if }x=0\text{ then }0\text{ else }x^t,B)B[t]=cfc(x↦if x=0 then 0 else xt,B), and ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0) as an extended nonnegative real. The quantity Sp(M)S_p(M)Sp​(M) is the Euclidean operator norm for p=+∞p=+\inftyp=+∞; for finite ppp, writing pR=p.toRealp_{\mathbb R}=p.\mathrm{toReal}pR​=p.toReal, it is

Sp(M)=(Re⁡tr⁡cfc⁡(x↦xpR/2,M†M))1/pR.S_p(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{p_{\mathbb R}/2},M^\dagger M)\right)^{1/p_{\mathbb R}}.Sp​(M)=(Retrcfc(x↦xpR​/2,M†M))1/pR​.

Neither positivity nor normalization of XXX is assumed. The cases p=0,+∞p=0,+\inftyp=0,+∞ are included, with a=0a=0a=0 in both cases; zero eigenvalues of BBB remain zero under every displayed support power. Empty types are allowed; if DDD is empty, the density condition on BBB is impossible and the value is +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P16.dilationState

For finite types R,A,ER,A,ER,A,E, a unitary complex matrix UUU indexed by A×EA\times EA×E, an arbitrary vector τ∈CE\tau\in\mathbb C^Eτ∈CE, and an arbitrary vector ψ∈CR×A\psi\in\mathbb C^{R\times A}ψ∈CR×A, this definition returns VQV†VQV^\daggerVQV†, indexed by R×(A×E)R\times(A\times E)R×(A×E), where V=1R⊗UV=\mathbf1_R\otimes UV=1R​⊗U and

Q(r,(a,e)),(r′,(a′,e′))=ψ(r,a) ψ(r′,a′)‾ τe τe′‾.Q_{(r,(a,e)),(r',(a',e'))} =\psi_{(r,a)}\,\overline{\psi_{(r',a')}}\, \tau_e\,\overline{\tau_{e'}}.Q(r,(a,e)),(r′,(a′,e′))​=ψ(r,a)​ψ(r′,a′)​​τe​τe′​​.

Thus QQQ is the outer product of the vector with coordinates ψ(r,a)τe\psi_{(r,a)}\tau_eψ(r,a)​τe​, in the displayed register order. Unitarity means U†U=UU†=1U^\dagger U=UU^\dagger=\mathbf1U†U=UU†=1. Neither vector is required to have norm one or to be nonzero, so the returned matrix is not required by the inputs to have trace one. Empty index types are included.

QAlgorithms.Papers.Independent.Advance50.P16.factorSize

For finite types D,ID,ID,I, arbitrary p,r∈[0,+∞]p,r\in[0,+\infty]p,r∈[0,+∞], and a complex matrix YYY indexed by D×ID\times ID×I, this definition is

inf⁡A,B,ZY=(A⊗1I)Z(B⊗1I)ofReal⁡ ⁣(S2r(A)S2r(B)Sp(Z)),\inf_{\substack{A,B,Z\\ Y=(A\otimes\mathbf1_I)Z(B\otimes\mathbf1_I)}} \operatorname{ofReal}\!\left(S_{2r}(A)S_{2r}(B)S_p(Z)\right),A,B,ZY=(A⊗1I​)Z(B⊗1I​)​inf​ofReal(S2r​(A)S2r​(B)Sp​(Z)),

as an infimum in [0,+∞][0,+\infty][0,+∞], where A,BA,BA,B are complex matrices indexed by DDD and ZZZ is indexed by D×ID\times ID×I. None of these matrices is required to be positive, normalized, or invertible, and the right factor is BBB, without an adjoint. Here ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0), and Ss(M)S_s(M)Ss​(M) is the Euclidean operator norm for s=+∞s=+\inftys=+∞, while otherwise

Ss(M)=(Re⁡tr⁡cfc⁡(x↦xsR/2,M†M))1/sR,sR=s.toReal.S_s(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{s_{\mathbb R}/2},M^\dagger M)\right)^{1/s_{\mathbb R}}, \qquad s_{\mathbb R}=s.\mathrm{toReal}.Ss​(M)=(Retrcfc(x↦xsR​/2,M†M))1/sR​,sR​=s.toReal.

Empty types and zero or infinite exponents are allowed, with all powers and divisions interpreted as total functions, including S0(M)=1S_0(M)=1S0​(M)=1. An infimum over no admissible factorizations would be +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P16.finiteTracePower

For any finite type III, any complex square matrix XXX indexed by III, and any real exponent ppp, this defines

Re⁡tr⁡(fp(X)),fp(x)={0,x=0,xp,x≠0,\operatorname{Re}\operatorname{tr}\bigl(f_p(X)\bigr), \qquad f_p(x)= \begin{cases} 0,&x=0,\\ x^p,&x\ne0, \end{cases}Retr(fp​(X)),fp​(x)={0,xp,​x=0,x=0,​

where fp(X)f_p(X)fp​(X) uses the real continuous functional calculus and xpx^pxp is the total real power operation. No Hermitian, positivity, normalization, or restriction on ppp is imposed. In particular, zero spectral values contribute zero even when p=0p=0p=0 or p<0p<0p<0; the functional calculus returns zero for non-Hermitian XXX. The index type may be empty, in which case the trace is zero.

QAlgorithms.Papers.Independent.Advance50.P16.inducedSize

For finite types I,JI,JI,J, extended nonnegative reals q,pq,pq,p, and any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines

sup⁡X∈CI×ISq(X)≤1[Sp(Φ(X))]+in [0,∞],\sup_{\substack{X\in\mathbb C^{I\times I}\\S_q(X)\le1}} [S_p(\Phi(X))]_+ \quad\text{in }[0,\infty],X∈CI×ISq​(X)≤1​sup​[Sp​(Φ(X))]+​in [0,∞],

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), viewed as an extended nonnegative real, and

Su(H)={∥H∥op,u=∞,(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR,u≠∞.S_u(H)= \begin{cases} \|H\|_{\mathrm{op}},&u=\infty,\\ \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}}, &u\ne\infty. \end{cases}Su​(H)={∥H∥op​,(Retr((x↦xuR​/2)(H∗H)))1/uR​,​u=∞,u=∞.​

The matrix function uses continuous functional calculus, uRu_{\mathbb R}uR​ denotes real conversion, and powers and division are totalized; in particular S0(H)=1S_0(H)=1S0​(H)=1. No linearity, positivity, continuity, or channel assumption is imposed on Φ\PhiΦ, and the admissible matrices XXX need not be Hermitian or positive. Both index types may be empty, and either exponent may be zero or infinite.

QAlgorithms.Papers.Independent.Advance50.P16.infinityMixedSize

For any finite types D,ID,ID,I, extended nonnegative real ppp, and complex square matrix YYY indexed by D×ID\times ID×I, this defines

sup⁡A,B∈CD×DS2p(A)≤1, S2p(B)≤1[Sp((A⊗II)Y(B⊗II))]+in [0,∞],\sup_{\substack{A,B\in\mathbb C^{D\times D}\\ S_{2p}(A)\le1,\ S_{2p}(B)\le1}} \bigl[S_p\bigl((A\otimes I_I)Y(B\otimes I_I)\bigr)\bigr]_+ \quad\text{in }[0,\infty],A,B∈CD×DS2p​(A)≤1, S2p​(B)≤1​sup​[Sp​((A⊗II​)Y(B⊗II​))]+​in [0,∞],

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), viewed as an extended nonnegative real, and, for every complex square matrix HHH,

Su(H)={∥H∥op,u=∞,(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR,u≠∞.S_u(H)= \begin{cases} \|H\|_{\mathrm{op}},&u=\infty,\\ \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}}, &u\ne\infty. \end{cases}Su​(H)={∥H∥op​,(Retr((x↦xuR​/2)(H∗H)))1/uR​,​u=∞,u=∞.​

Here the matrix function uses continuous functional calculus, uRu_{\mathbb R}uR​ is the real conversion of uuu, and real powers and division are totalized. Both p=0p=0p=0 and p=∞p=\inftyp=∞ are included; in particular S0(H)=1S_0(H)=1S0​(H)=1, including for an empty matrix. Neither YYY nor the independently chosen factors A,BA,BA,B must be positive or Hermitian, and either index type may be empty.

QAlgorithms.Papers.Independent.Advance50.P16.matrixMixedSize

For finite types A,D,IA,D,IA,D,I, extended nonnegative reals q,pq,pq,p, and a complex square matrix YYY indexed by A×(D×I)A\times(D\times I)A×(D×I), define S∞(H)=∥H∥opS_\infty(H)=\|H\|_{\mathrm{op}}S∞​(H)=∥H∥op​ and

Su(H)=(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR(u≠∞),S_u(H)= \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}} \quad(u\ne\infty),Su​(H)=(Retr((x↦xuR​/2)(H∗H)))1/uR​(u=∞),

using continuous functional calculus and total real powers and division, with S0(H)=1S_0(H)=1S0​(H)=1. For a matrix HHH on E×IE\times IE×I, define

Jp(H)=sup⁡S2p(C)≤1, S2p(D′)≤1[Sp((C⊗II)H(D′⊗II))]+,J_p(H)= \sup_{S_{2p}(C)\le1,\ S_{2p}(D')\le1} [S_p((C\otimes I_I)H(D'\otimes I_I))]_+,Jp​(H)=S2p​(C)≤1, S2p​(D′)≤1sup​[Sp​((C⊗II​)H(D′⊗II​))]+​,

over square C,D′C,D'C,D′ on EEE, and define M∞,p(H)=Jp(H)M_{\infty,p}(H)=J_p(H)M∞,p​(H)=Jp​(H) and

Mu,p(H)=inf⁡H=(C⊗II)Z(D′⊗II)[S2u(C)S2u(D′)]+Jp(Z)(u≠∞),M_{u,p}(H)= \inf_{H=(C\otimes I_I)Z(D'\otimes I_I)} [S_{2u}(C)S_{2u}(D')]_+J_p(Z) \quad(u\ne\infty),Mu,p​(H)=H=(C⊗II​)Z(D′⊗II​)inf​[S2u​(C)S2u​(D′)]+​Jp​(Z)(u=∞),

over unrestricted square factors of the indicated sizes; [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is viewed in [0,∞][0,\infty][0,∞]. The declaration defines

sup⁡L,R∈CA×AS2q(L)≤1, S2q(R)≤1Mq,p(Z~),\sup_{\substack{L,R\in\mathbb C^{A\times A}\\S_{2q}(L)\le1,\ S_{2q}(R)\le1}} M_{q,p}(\widetilde Z),L,R∈CA×AS2q​(L)≤1, S2q​(R)≤1​sup​Mq,p​(Z),

where Z=(L⊗ID×I)Y(R⊗ID×I)Z=(L\otimes I_{D\times I})Y(R\otimes I_{D\times I})Z=(L⊗ID×I​)Y(R⊗ID×I​) and

Z~((a,d),i),((a′,d′),i′)=Z(a,(d,i)),(a′,(d′,i′)).\widetilde Z_{((a,d),i),((a',d'),i')} =Z_{(a,(d,i)),(a',(d',i'))}.Z((a,d),i),((a′,d′),i′)​=Z(a,(d,i)),(a′,(d′,i′))​.

All optimization and multiplication occur in [0,∞][0,\infty][0,∞], including 0⋅∞=00\cdot\infty=00⋅∞=0. There are no positivity assumptions; zero or infinite parameters and empty index types are included.

QAlgorithms.Papers.Independent.Advance50.P16.minCBEntropy

For finite types I,JI,JI,J and any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines the real infimum

inf⁡{H(Yψ)−H(Rψ):ψ∈CI×I, ∥ψ∥=1},\inf\left\{H(Y_\psi)-H(R_\psi): \psi\in\mathbb C^{I\times I},\ \|\psi\|=1\right\},inf{H(Yψ​)−H(Rψ​):ψ∈CI×I, ∥ψ∥=1},

where

(Yψ)(a,j),(b,k)=Φ((ψ(a,i)ψ(b,i′)‾)i,i′∈I)j,k,(Rψ)a,b=∑i∈Iψ(a,i)ψ(b,i)‾,H(A)=−Re⁡tr⁡[(x↦xlog⁡x)(A)].(Y_\psi)_{(a,j),(b,k)} =\Phi\bigl((\psi(a,i)\overline{\psi(b,i')})_{i,i'\in I}\bigr)_{j,k}, \qquad (R_\psi)_{a,b}=\sum_{i\in I}\psi(a,i)\overline{\psi(b,i)}, \qquad H(A)=-\operatorname{Re}\operatorname{tr}\bigl[(x\mapsto x\log x)(A)\bigr].(Yψ​)(a,j),(b,k)​=Φ((ψ(a,i)ψ(b,i′)​)i,i′∈I​)j,k​,(Rψ​)a,b​=i∈I∑​ψ(a,i)ψ(b,i)​,H(A)=−Retr[(x↦xlogx)(A)].

The matrix function uses real continuous functional calculus, with its total value on arbitrary matrices, and log⁡\loglog is the natural total real logarithm with log⁡0=0\log0=0log0=0. No linearity, positivity or channel property of Φ\PhiΦ is assumed. This is a real infimum, not an extended-real infimum, and it does not assert attainment; its total value is 000 if the set is empty or unbounded below. In particular, if III is empty there are no unit vectors and the defined value is 000.

QAlgorithms.Papers.Independent.Advance50.P16.minimizerMatrix

For finite types D,ID,ID,I, any real ppp, any complex matrix XXX indexed by D×ID\times ID×I, and any complex matrix BBB indexed by DDD, this defines the matrix

g1/2(X) (g 1/p−1(B)⊗1I) g1/2(X),gs(x)={0,x=0,xs,x≠0.g_{1/2}(X)\, \bigl(g_{\,1/p-1}(B)\otimes1_I\bigr)\, g_{1/2}(X), \qquad g_s(x)= \begin{cases} 0,&x=0,\\ x^s,&x\ne0. \end{cases}g1/2​(X)(g1/p−1​(B)⊗1I​)g1/2​(X),gs​(x)={0,xs,​x=0,x=0.​

Each matrix function is evaluated by real continuous functional calculus, using total real powers and its total zero value on non-Hermitian matrix arguments. There is no assumption that XXX or BBB is positive, Hermitian or normalized, no kernel-inclusion assumption, and no restriction on ppp; this definition asserts no minimizing property. In particular, p=0p=0p=0 gives exponent 1/0−1=−11/0-1=-11/0−1=−1, and zero eigenvalues of BBB still contribute 000. Empty finite index types are also allowed.

QAlgorithms.Papers.Independent.Advance50.P16.minimizerObjective

For finite types D,ID,ID,I, a real number ppp, a complex matrix XXX indexed by D×ID\times ID×I, and a complex matrix BBB indexed by DDD, this definition returns

{ofReal⁡ ⁣(SofReal⁡(p)[X[1/2](B[1/p−1]⊗1I)X[1/2]]),B≥0, tr⁡B=1, ker⁡B⊆ker⁡XD,+∞,otherwise,\begin{cases} \displaystyle \operatorname{ofReal}\!\left( S_{\operatorname{ofReal}(p)} \left[X^{[1/2]}\bigl(B^{[1/p-1]}\otimes \mathbf1_I\bigr)X^{[1/2]}\right]\right), & B\ge0,\ \operatorname{tr}B=1,\ \ker B\subseteq\ker X_D,\\ +\infty,&\text{otherwise}, \end{cases}{ofReal(SofReal(p)​[X[1/2](B[1/p−1]⊗1I​)X[1/2]]),+∞,​B≥0, trB=1, kerB⊆kerXD​,otherwise,​

where (XD)d,d′=∑i∈IX(d,i),(d′,i)(X_D)_{d,d'}=\sum_{i\in I}X_{(d,i),(d',i)}(XD​)d,d′​=∑i∈I​X(d,i),(d′,i)​, and M[t]M^{[t]}M[t] means the real functional calculus of the function that is 000 at 000 and xtx^txt at every nonzero real xxx. Here ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0), viewed in [0,+∞][0,+\infty][0,+∞]. For any extended nonnegative exponent sss, the custom quantity Ss(M)S_s(M)Ss​(M) is the Euclidean operator norm when s=+∞s=+\inftys=+∞, and otherwise is

Ss(M)=(Re⁡tr⁡[cfc⁡ ⁣(x↦xsR/2,M†M)])1/sR,sR=s.toReal.S_s(M)= \left(\operatorname{Re}\operatorname{tr} \left[\operatorname{cfc}\!\left(x\mapsto x^{s_{\mathbb R}/2},M^\dagger M\right)\right]\right)^{1/s_{\mathbb R}}, \qquad s_{\mathbb R}=s.\mathrm{toReal}.Ss​(M)=(Retr[cfc(x↦xsR​/2,M†M)])1/sR​,sR​=s.toReal.

All real powers and divisions use their total definitions, including division by zero. No positivity or normalization is required of XXX. Nonpositive ppp is allowed and becomes exponent 000 in SSS; in fact S0(M)=1S_0(M)=1S0​(M)=1. Empty index types are allowed, although an empty DDD makes tr⁡B=1\operatorname{tr}B=1trB=1 impossible and hence gives +∞+\infty+∞.

QAlgorithms.Papers.Independent.Advance50.P16.mixedNorm

For finite types D,ID,ID,I, extended nonnegative reals t,pt,pt,p, and a complex square matrix YYY indexed by D×ID\times ID×I, let S∞(H)=∥H∥opS_\infty(H)=\|H\|_{\mathrm{op}}S∞​(H)=∥H∥op​ and

Su(H)=(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR(u≠∞),S_u(H)= \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}} \quad(u\ne\infty),Su​(H)=(Retr((x↦xuR​/2)(H∗H)))1/uR​(u=∞),

using continuous functional calculus and total real powers and division, so S0(H)=1S_0(H)=1S0​(H)=1. Write [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), regarded as an extended nonnegative real, and define

Jp(Z)=sup⁡C,D′∈CD×DS2p(C)≤1, S2p(D′)≤1[Sp((C⊗II)Z(D′⊗II))]+.J_p(Z)= \sup_{\substack{C,D'\in\mathbb C^{D\times D}\\S_{2p}(C)\le1,\ S_{2p}(D')\le1}} [S_p((C\otimes I_I)Z(D'\otimes I_I))]_+.Jp​(Z)=C,D′∈CD×DS2p​(C)≤1, S2p​(D′)≤1​sup​[Sp​((C⊗II​)Z(D′⊗II​))]+​.

Set Mt,p(Y)=Jp(Y)M_{t,p}(Y)=J_p(Y)Mt,p​(Y)=Jp​(Y) when t=∞t=\inftyt=∞; otherwise set

Mt,p(Y)=inf⁡Y=(A⊗II)Z(B⊗II)[S2t(A)S2t(B)]+Jp(Z),M_{t,p}(Y)= \inf_{Y=(A\otimes I_I)Z(B\otimes I_I)} [S_{2t}(A)S_{2t}(B)]_+J_p(Z),Mt,p​(Y)=Y=(A⊗II​)Z(B⊗II​)inf​[S2t​(A)S2t​(B)]+​Jp​(Z),

over all complex square A,BA,BA,B on DDD and ZZZ on D×ID\times ID×I, without positivity or invertibility restrictions. The declaration defines the real conversion of Mt,p(Y)M_{t,p}(Y)Mt,p​(Y): its finite value is retained, while ∞\infty∞ becomes zero. Zero parameters and empty index types are permitted; the optimization and multiplication use [0,∞][0,\infty][0,∞], including 0⋅∞=00\cdot\infty=00⋅∞=0.

QAlgorithms.Papers.Independent.Advance50.P16.mixedSize

For finite types D,ID,ID,I, extended nonnegative reals t,pt,pt,p, and a complex square matrix YYY indexed by D×ID\times ID×I, define S∞(H)=∥H∥opS_\infty(H)=\|H\|_{\mathrm{op}}S∞​(H)=∥H∥op​ and, for u≠∞u\ne\inftyu=∞,

Su(H)=(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR,S_u(H)= \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}},Su​(H)=(Retr((x↦xuR​/2)(H∗H)))1/uR​,

using continuous functional calculus, real conversion uRu_{\mathbb R}uR​, and total real powers and division; in particular S0(H)=1S_0(H)=1S0​(H)=1. For any finite type EEE and matrix ZZZ indexed by E×IE\times IE×I, put

Jp(Z)=sup⁡C,D′∈CE×ES2p(C)≤1, S2p(D′)≤1[Sp((C⊗II)Z(D′⊗II))]+,J_p(Z)= \sup_{\substack{C,D'\in\mathbb C^{E\times E}\\S_{2p}(C)\le1,\ S_{2p}(D')\le1}} \bigl[S_p((C\otimes I_I)Z(D'\otimes I_I))\bigr]_+,Jp​(Z)=C,D′∈CE×ES2p​(C)≤1, S2p​(D′)≤1​sup​[Sp​((C⊗II​)Z(D′⊗II​))]+​,

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is regarded as an element of [0,∞][0,\infty][0,∞]. The declaration defines Jp(Y)J_p(Y)Jp​(Y) if t=∞t=\inftyt=∞, and otherwise defines

inf⁡A,B∈CD×D, Z∈C(D×I)×(D×I)Y=(A⊗II)Z(B⊗II)[S2t(A)S2t(B)]+ Jp(Z).\inf_{\substack{A,B\in\mathbb C^{D\times D},\ Z\in\mathbb C^{(D\times I)\times(D\times I)}\\ Y=(A\otimes I_I)Z(B\otimes I_I)}} [S_{2t}(A)S_{2t}(B)]_+\,J_p(Z).A,B∈CD×D, Z∈C(D×I)×(D×I)Y=(A⊗II​)Z(B⊗II​)​inf​[S2t​(A)S2t​(B)]+​Jp​(Z).

The infimum ranges over exact factorizations with independent, unrestricted factors; no positivity or invertibility is required. Zero parameters and empty index types are included. All suprema, infima, and products here are in [0,∞][0,\infty][0,∞], with 0⋅∞=00\cdot\infty=00⋅∞=0 and an empty infimum equal to ∞\infty∞.

QAlgorithms.Papers.Independent.Advance50.P16.multiplierSize

For finite types D,ID,ID,I, q,r∈[0,+∞]q,r\in[0,+\infty]q,r∈[0,+∞], and an arbitrary complex matrix YYY indexed by D×ID\times ID×I, this definition is the extended nonnegative supremum

sup⁡A,B indexed by DS2r(A)≤1, S2r(B)≤1ofReal⁡ ⁣(Sq((A⊗1I)Y(B⊗1I))).\sup_{\substack{A,B\text{ indexed by }D\\ S_{2r}(A)\le1,\ S_{2r}(B)\le1}} \operatorname{ofReal}\!\left( S_q\bigl((A\otimes\mathbf1_I)Y(B\otimes\mathbf1_I)\bigr)\right).A,B indexed by DS2r​(A)≤1, S2r​(B)≤1​sup​ofReal(Sq​((A⊗1I​)Y(B⊗1I​))).

The matrices A,B,YA,B,YA,B,Y need not be positive, and the right multiplier is BBB itself. Here ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0) in [0,+∞][0,+\infty][0,+∞]; Ss(M)S_s(M)Ss​(M) is the Euclidean operator norm when s=+∞s=+\inftys=+∞, and otherwise

Ss(M)=(Re⁡tr⁡cfc⁡(x↦xsR/2,M†M))1/sR,sR=s.toReal.S_s(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{s_{\mathbb R}/2},M^\dagger M)\right)^{1/s_{\mathbb R}}, \qquad s_{\mathbb R}=s.\mathrm{toReal}.Ss​(M)=(Retrcfc(x↦xsR​/2,M†M))1/sR​,sR​=s.toReal.

The supremum may be +∞+\infty+∞. Empty types and the endpoint exponents 0,+∞0,+\infty0,+∞ are included; notably S0(M)=1S_0(M)=1S0​(M)=1, so when r=0r=0r=0 the two multiplier constraints hold for every A,BA,BA,B.

QAlgorithms.Papers.Independent.Advance50.P16.outerSandwich

For any finite types D,ID,ID,I, complex square matrices A,BA,BA,B indexed by DDD, and complex square matrix YYY indexed by D×ID\times ID×I, this defines

(A⊗II) Y (B⊗II),(A\otimes I_I)\,Y\,(B\otimes I_I),(A⊗II​)Y(B⊗II​),

where III_III​ is the identity matrix indexed by III and ⊗\otimes⊗ is the Kronecker product. The factors AAA and BBB are independent: neither an adjoint relation nor positivity, Hermiticity, or normalization is required. Either index type may be empty.

QAlgorithms.Papers.Independent.Advance50.P16.positiveAmplificationSize

For finite types I,JI,JI,J, any d∈Nd\in\mathbb Nd∈N, exponents t,q,p∈[0,∞]t,q,p\in[0,\infty]t,q,p∈[0,∞], and any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines the following extended nonnegative supremum. To specify its ingredients, let Ss(A)=∥A∥opS_s(A)=\|A\|_{\mathrm{op}}Ss​(A)=∥A∥op​ if s=∞s=\inftys=∞, and otherwise let

Ss(A)=(Re⁡tr⁡[(u↦usR/2)(A∗A)])1/sR,S_s(A)= \left(\operatorname{Re}\operatorname{tr} \bigl[(u\mapsto u^{s_{\mathbb R}/2})(A^*A)\bigr]\right)^{1/s_{\mathbb R}},Ss​(A)=(Retr[(u↦usR​/2)(A∗A)])1/sR​,

using real continuous functional calculus, total real powers and total division, including division by zero. For a matrix YYY indexed by D×HD\times HD×H, set

Fs(Y)=sup⁡A,B∈CD×DS2s(A)≤1, S2s(B)≤1[Ss((A⊗1H)Y(B⊗1H))]+F_s(Y)= \sup_{\substack{A,B\in\mathbb C^{D\times D}\\S_{2s}(A)\le1,\ S_{2s}(B)\le1}} \bigl[S_s((A\otimes1_H)Y(B\otimes1_H))\bigr]_+Fs​(Y)=A,B∈CD×DS2s​(A)≤1, S2s​(B)≤1​sup​[Ss​((A⊗1H​)Y(B⊗1H​))]+​

and

Mu,s(Y)={Fs(Y),u=∞,inf⁡A,B,ZY=(A⊗1H)Z(B⊗1H)[S2u(A)S2u(B)]+Fs(Z),u<∞,M_{u,s}(Y)= \begin{cases} F_s(Y),&u=\infty,\\ \displaystyle \inf_{\substack{A,B,Z\\Y=(A\otimes1_H)Z(B\otimes1_H)}} \bigl[S_{2u}(A)S_{2u}(B)\bigr]_+F_s(Z),&u<\infty, \end{cases}Mu,s​(Y)=⎩⎨⎧​Fs​(Y),A,B,ZY=(A⊗1H​)Z(B⊗1H​)​inf​[S2u​(A)S2u​(B)]+​Fs​(Z),​u=∞,u<∞,​

where A,BA,BA,B are square matrices on DDD, ZZZ is square on D×HD\times HD×H, and [x]+[x]_+[x]+​ means max⁡(x,0)\max(x,0)max(x,0) embedded in [0,∞][0,\infty][0,∞]. All these suprema, infima and products use extended nonnegative arithmetic. Let mu,s(Y)m_{u,s}(Y)mu,s​(Y) be the real conversion of Mu,s(Y)M_{u,s}(Y)Mu,s​(Y), which equals its finite value and equals 000 at infinity. The definition is

sup⁡X∈C(Fin⁡d×I)×(Fin⁡d×I)X⪰0, mt,q(X)≤1[mt,p((idd⊗Φ)(X))]+,\sup_{\substack{X\in\mathbb C^{(\operatorname{Fin}d\times I)\times(\operatorname{Fin}d\times I)}\\ X\succeq0,\ m_{t,q}(X)\le1}} \bigl[m_{t,p}((\mathrm{id}_d\otimes\Phi)(X))\bigr]_+,X∈C(Find×I)×(Find×I)X⪰0, mt,q​(X)≤1​sup​[mt,p​((idd​⊗Φ)(X))]+​,

where the output block with outer indices a,b∈Fin⁡da,b\in\operatorname{Fin}da,b∈Find is Φ\PhiΦ applied to the input block (X(a,i),(b,i′))i,i′(X_{(a,i),(b,i')})_{i,i'}(X(a,i),(b,i′)​)i,i′​. There is no condition on Φ\PhiΦ beyond being a function of the stated type. The definition includes d=0d=0d=0, empty III or JJJ, and zero or infinite exponents; an infinite input Mt,q(X)M_{t,q}(X)Mt,q​(X) becomes 000 in the constraint.

QAlgorithms.Papers.Independent.Advance50.P16.positiveFactorSize

For finite types D,ID,ID,I, arbitrary q,p,r∈[0,+∞]q,p,r\in[0,+\infty]q,p,r∈[0,+∞], and a complex matrix YYY indexed by D×ID\times ID×I, this definition is the extended nonnegative infimum

inf⁡A≥0, Z≥0Y=(A⊗1I)Z(A⊗1I)ofReal⁡ ⁣(S2r(A)2Sp(Z)),\inf_{\substack{A\ge0,\ Z\ge0\\ Y=(A\otimes\mathbf1_I)Z(A\otimes\mathbf1_I)}} \operatorname{ofReal}\!\left(S_{2r}(A)^2S_p(Z)\right),A≥0, Z≥0Y=(A⊗1I​)Z(A⊗1I​)​inf​ofReal(S2r​(A)2Sp​(Z)),

where AAA is indexed by DDD, ZZZ is indexed by D×ID\times ID×I, and ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0) in [0,+∞][0,+\infty][0,+∞]. For any exponent sss, Ss(M)S_s(M)Ss​(M) is the Euclidean operator norm if s=+∞s=+\inftys=+∞, and otherwise

Ss(M)=(Re⁡tr⁡cfc⁡(x↦xsR/2,M†M))1/sR,sR=s.toReal.S_s(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{s_{\mathbb R}/2},M^\dagger M)\right)^{1/s_{\mathbb R}}, \qquad s_{\mathbb R}=s.\mathrm{toReal}.Ss​(M)=(Retrcfc(x↦xsR​/2,M†M))1/sR​,sR​=s.toReal.

The parameter qqq does not occur in the value. No normalization or invertibility is imposed on either factor, and YYY is not assumed positive. If no such positive semidefinite factorization exists, the infimum is +∞+\infty+∞. Empty index types and zero or infinite exponents are included; all powers use their total definitions, in particular S0(M)=1S_0(M)=1S0​(M)=1.

QAlgorithms.Papers.Independent.Advance50.P16.positiveInducedSize

For finite types I,JI,JI,J, extended nonnegative reals q,pq,pq,p, and any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, this defines

sup⁡X∈CI×IX positive semidefinite, Sq(X)≤1[Sp(Φ(X))]+in [0,∞],\sup_{\substack{X\in\mathbb C^{I\times I}\\X\ \text{positive semidefinite},\ S_q(X)\le1}} [S_p(\Phi(X))]_+ \quad\text{in }[0,\infty],X∈CI×IX positive semidefinite, Sq​(X)≤1​sup​[Sp​(Φ(X))]+​in [0,∞],

where [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0), viewed as an extended nonnegative real, and

Su(H)={∥H∥op,u=∞,(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR,u≠∞.S_u(H)= \begin{cases} \|H\|_{\mathrm{op}},&u=\infty,\\ \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}}, &u\ne\infty. \end{cases}Su​(H)={∥H∥op​,(Retr((x↦xuR​/2)(H∗H)))1/uR​,​u=∞,u=∞.​

Here the matrix function uses continuous functional calculus, uRu_{\mathbb R}uR​ denotes real conversion, and real powers and division are totalized, giving S0(H)=1S_0(H)=1S0​(H)=1. The input XXX is not required to have trace one, and Φ\PhiΦ has no linearity, positivity, continuity, or channel requirement. Empty index types and zero or infinite exponents are included.

QAlgorithms.Papers.Independent.Advance50.P16.positiveMultiplierSize

For finite types D,ID,ID,I, q,r∈[0,+∞]q,r\in[0,+\infty]q,r∈[0,+∞], and an arbitrary complex matrix YYY indexed by D×ID\times ID×I, this definition is

sup⁡A indexed by DA≥0, S2r(A)≤1ofReal⁡ ⁣(Sq((A⊗1I)Y(A⊗1I))),\sup_{\substack{A\text{ indexed by }D\\ A\ge0,\ S_{2r}(A)\le1}} \operatorname{ofReal}\!\left( S_q\bigl((A\otimes\mathbf1_I)Y(A\otimes\mathbf1_I)\bigr)\right),A indexed by DA≥0, S2r​(A)≤1​sup​ofReal(Sq​((A⊗1I​)Y(A⊗1I​))),

with the supremum taken in [0,+∞][0,+\infty][0,+∞]. There is no positivity or normalization hypothesis on YYY, and AAA may be singular or zero. The conversion ofReal⁡(x)\operatorname{ofReal}(x)ofReal(x) means max⁡(x,0)\max(x,0)max(x,0); the custom quantity Ss(M)S_s(M)Ss​(M) is the Euclidean operator norm for s=+∞s=+\inftys=+∞, and otherwise

Ss(M)=(Re⁡tr⁡cfc⁡(x↦xsR/2,M†M))1/sR,sR=s.toReal.S_s(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{s_{\mathbb R}/2},M^\dagger M)\right)^{1/s_{\mathbb R}}, \qquad s_{\mathbb R}=s.\mathrm{toReal}.Ss​(M)=(Retrcfc(x↦xsR​/2,M†M))1/sR​,sR​=s.toReal.

Empty index types and zero or infinite exponents are allowed. In particular, S0(M)=1S_0(M)=1S0​(M)=1, so at r=0r=0r=0 every positive semidefinite AAA satisfies the constraint. The supremum is allowed to be infinite.

QAlgorithms.Papers.Independent.Advance50.P16.powerRatio

For finite types D,ID,ID,I, an arbitrary complex matrix XXX indexed by D×ID\times ID×I, and any real exponent ppp, this defines

Re⁡tr⁡gp(X)Re⁡tr⁡gp(R),Ra,b=∑i∈IX(a,i),(b,i),gp(x)={0,x=0,xp,x≠0.\frac{\operatorname{Re}\operatorname{tr}g_p(X)} {\operatorname{Re}\operatorname{tr}g_p(R)}, \qquad R_{a,b}=\sum_{i\in I}X_{(a,i),(b,i)}, \qquad g_p(x)= \begin{cases} 0,&x=0,\\ x^p,&x\ne0. \end{cases}Retrgp​(R)Retrgp​(X)​,Ra,b​=i∈I∑​X(a,i),(b,i)​,gp​(x)={0,xp,​x=0,x=0.​

Here gp(X)g_p(X)gp​(X) and gp(R)g_p(R)gp​(R) are evaluated by real continuous functional calculus, and xpx^pxp is the total real-power function. No positivity, Hermiticity, trace normalization or restriction on ppp is required. Zero eigenvalues contribute 000 for every exponent, including p=0p=0p=0 and negative ppp; non-Hermitian matrix arguments use the functional calculus’s total zero value. Division by a zero denominator returns 000, and empty finite index types are allowed.

QAlgorithms.Papers.Independent.Advance50.P16.pureRatio

For finite types I,JI,JI,J, any p∈[0,∞]p\in[0,\infty]p∈[0,∞], any function Φ:CI×I→CJ×J\Phi:\mathbb C^{I\times I}\to\mathbb C^{J\times J}Φ:CI×I→CJ×J, and any vector ψ∈CI×I\psi\in\mathbb C^{I\times I}ψ∈CI×I with its Euclidean norm, this defines

Sp(Y)Sp(R),Y(a,j),(b,k)=Φ((ψ(a,i)ψ(b,i′)‾)i,i′∈I)j,k,Ra,b=∑i∈Iψ(a,i)ψ(b,i)‾.\frac{S_p(Y)}{S_p(R)},\qquad Y_{(a,j),(b,k)} =\Phi\bigl((\psi(a,i)\overline{\psi(b,i')})_{i,i'\in I}\bigr)_{j,k}, \qquad R_{a,b}=\sum_{i\in I}\psi(a,i)\overline{\psi(b,i)}.Sp​(R)Sp​(Y)​,Y(a,j),(b,k)​=Φ((ψ(a,i)ψ(b,i′)​)i,i′∈I​)j,k​,Ra,b​=i∈I∑​ψ(a,i)ψ(b,i)​.

Here S∞(A)=∥A∥opS_\infty(A)=\|A\|_{\mathrm{op}}S∞​(A)=∥A∥op​, and for finite ppp,

Sp(A)=(Re⁡tr⁡[(u↦upR/2)(A∗A)])1/pR,S_p(A)= \left(\operatorname{Re}\operatorname{tr} \bigl[(u\mapsto u^{p_{\mathbb R}/2})(A^*A)\bigr]\right)^{1/p_{\mathbb R}},Sp​(A)=(Retr[(u↦upR​/2)(A∗A)])1/pR​,

using real continuous functional calculus and total real powers and division. Thus YYY results from applying Φ\PhiΦ to the second matrix factor of ∣ψ⟩⟨ψ∣|\psi\rangle\langle\psi|∣ψ⟩⟨ψ∣, and RRR is obtained by tracing out that second factor. Neither normalization nor nonzeroness of ψ\psiψ is required, and Φ\PhiΦ need not be linear, positive or a channel. Empty finite types and p=0,∞p=0,\inftyp=0,∞ are included; if the denominator is 000, the ratio is 000 by total real division.

QAlgorithms.Papers.Independent.Advance50.P16.recip

For every extended nonnegative real p∈[0,∞]p\in[0,\infty]p∈[0,∞], this defines the real number obtained by taking its reciprocal in [0,∞][0,\infty][0,∞] and then converting to a real number. Thus the value is 1/p1/p1/p when 0<p<∞0<p<\infty0<p<∞, and it is zero both at p=0p=0p=0 and at p=∞p=\inftyp=∞, since the real conversion sends ∞\infty∞ to zero.

QAlgorithms.Papers.Independent.Advance50.P16.traceLast

For arbitrary types A,DA,DA,D, a finite type III, and any complex square matrix YYY indexed by A×(D×I)A\times(D\times I)A×(D×I), this defines the complex square matrix on A×DA\times DA×D with entries

(Tr⁡IY)(a,d),(a′,d′)=∑i∈IY(a,(d,i)),(a′,(d′,i)).(\operatorname{Tr}_{I}Y)_{(a,d),(a',d')} = \sum_{i\in I}Y_{(a,(d,i)),(a',(d',i))}.(TrI​Y)(a,d),(a′,d′)​=i∈I∑​Y(a,(d,i)),(a′,(d′,i))​.

No positivity, normalization, or Hermiticity is assumed, and A,DA,DA,D need not be finite. If III is empty, every entry is zero.

QAlgorithms.Papers.Independent.Advance50.P16.tripleSize

For finite types A,D,IA,D,IA,D,I, extended nonnegative reals t,q,pt,q,pt,q,p, and a complex square matrix YYY indexed by A×(D×I)A\times(D\times I)A×(D×I), use S∞(H)=∥H∥opS_\infty(H)=\|H\|_{\mathrm{op}}S∞​(H)=∥H∥op​ and

Su(H)=(Re⁡tr⁡((x↦xuR/2)(H∗H)))1/uR(u≠∞),S_u(H)= \left(\operatorname{Re}\operatorname{tr}\bigl((x\mapsto x^{u_{\mathbb R}/2})(H^*H)\bigr)\right)^{1/u_{\mathbb R}} \quad(u\ne\infty),Su​(H)=(Retr((x↦xuR​/2)(H∗H)))1/uR​(u=∞),

with continuous functional calculus and total real powers and division, so S0(H)=1S_0(H)=1S0​(H)=1. For matrices HHH on E×IE\times IE×I, put

Jp(H)=sup⁡S2p(C)≤1, S2p(D′)≤1[Sp((C⊗II)H(D′⊗II))]+,M∞,p(H)=Jp(H),J_p(H)=\sup_{S_{2p}(C)\le1,\ S_{2p}(D')\le1} [S_p((C\otimes I_I)H(D'\otimes I_I))]_+, \qquad M_{\infty,p}(H)=J_p(H),Jp​(H)=S2p​(C)≤1, S2p​(D′)≤1sup​[Sp​((C⊗II​)H(D′⊗II​))]+​,M∞,p​(H)=Jp​(H),

and, for u≠∞u\ne\inftyu=∞, put

Mu,p(H)=inf⁡H=(C⊗II)Z(D′⊗II)[S2u(C)S2u(D′)]+Jp(Z),M_{u,p}(H)= \inf_{H=(C\otimes I_I)Z(D'\otimes I_I)} [S_{2u}(C)S_{2u}(D')]_+J_p(Z),Mu,p​(H)=H=(C⊗II​)Z(D′⊗II​)inf​[S2u​(C)S2u​(D′)]+​Jp​(Z),

where C,D′C,D'C,D′ are square matrices on EEE, all factorization variables are unrestricted, and [x]+=max⁡(x,0)[x]_+=\max(x,0)[x]+​=max(x,0) is viewed in [0,∞][0,\infty][0,∞]. For HHH on A×(D×I)A\times(D\times I)A×(D×I), define

Kq,p(H)=sup⁡S2q(L)≤1, S2q(R)≤1Mq,p ⁣(R((L⊗ID×I)H(R⊗ID×I))),K_{q,p}(H)= \sup_{S_{2q}(L)\le1,\ S_{2q}(R)\le1} M_{q,p}\!\left(\mathcal R\bigl((L\otimes I_{D\times I})H(R\otimes I_{D\times I})\bigr)\right),Kq,p​(H)=S2q​(L)≤1, S2q​(R)≤1sup​Mq,p​(R((L⊗ID×I​)H(R⊗ID×I​))),

over square L,RL,RL,R on AAA, where R(Z)((a,d),i),((a′,d′),i′)=Z(a,(d,i)),(a′,(d′,i′))\mathcal R(Z)_{((a,d),i),((a',d'),i')}=Z_{(a,(d,i)),(a',(d',i'))}R(Z)((a,d),i),((a′,d′),i′)​=Z(a,(d,i)),(a′,(d′,i′))​. The declaration defines Kq,p(Y)K_{q,p}(Y)Kq,p​(Y) if t=∞t=\inftyt=∞, and otherwise defines

inf⁡Y=(L⊗ID×I)Z(R⊗ID×I)[S2t(L)S2t(R)]+Kq,p(Z),\inf_{Y=(L\otimes I_{D\times I})Z(R\otimes I_{D\times I})} [S_{2t}(L)S_{2t}(R)]_+K_{q,p}(Z),Y=(L⊗ID×I​)Z(R⊗ID×I​)inf​[S2t​(L)S2t​(R)]+​Kq,p​(Z),

over all square L,RL,RL,R on AAA and ZZZ on A×(D×I)A\times(D\times I)A×(D×I). No positivity, adjoint relation, or invertibility is required. Empty index types and zero or infinite parameters are allowed, and all optimization and multiplication use [0,∞][0,\infty][0,∞], including 0⋅∞=00\cdot\infty=00⋅∞=0.

QAlgorithms.Papers.Independent.Advance50.P16.uniformEntropyQuotient

For finite types D,ID,ID,I, any real ppp, and any complex matrix XXX indexed by D×ID\times ID×I, let

Ra,b=∑i∈IX(a,i),(b,i),H(A)=−Re⁡tr⁡[(x↦xlog⁡x)(A)],gp(x)={0,x=0,xp,x≠0.R_{a,b}=\sum_{i\in I}X_{(a,i),(b,i)},\qquad H(A)=-\operatorname{Re}\operatorname{tr}\bigl[(x\mapsto x\log x)(A)\bigr], \qquad g_p(x)= \begin{cases} 0,&x=0,\\ x^p,&x\ne0. \end{cases}Ra,b​=i∈I∑​X(a,i),(b,i)​,H(A)=−Retr[(x↦xlogx)(A)],gp​(x)={0,xp,​x=0,x=0.​

This defines the real value

{H(X)−H(R),p=1,1−Re⁡tr⁡gp(X)Re⁡tr⁡gp(R)p−1,p≠1.\begin{cases} H(X)-H(R),&p=1,\\[2mm] \displaystyle \frac{1-\dfrac{\operatorname{Re}\operatorname{tr}g_p(X)} {\operatorname{Re}\operatorname{tr}g_p(R)}}{p-1},&p\ne1. \end{cases}⎩⎨⎧​H(X)−H(R),p−11−Retrgp​(R)Retrgp​(X)​​,​p=1,p=1.​

All matrix functions use real continuous functional calculus, including its total zero value for non-Hermitian arguments; log⁡\loglog is the natural total real logarithm with log⁡0=0\log0=0log0=0, and powers use total real powers. The definition requires no positivity or normalization of XXX and permits empty D,ID,ID,I. The branch at p=1p=1p=1 is specified directly, without asserting a limiting relation. In the other branch, a zero denominator in the inner trace ratio makes that ratio 000.

QAlgorithms.Papers.Independent.Advance50.P16.variationalSize

For finite types D,ID,ID,I, p∈[0,+∞]p\in[0,+\infty]p∈[0,+∞], a complex matrix YYY indexed by D×ID\times ID×I, and a complex matrix BBB indexed by DDD, write a=(p−1).toReala=(p^{-1}).\mathrm{toReal}a=(p−1).toReal. This definition takes the extended nonnegative supremum, over all positive semidefinite matrices AAA indexed by DDD with tr⁡A=1\operatorname{tr}A=1trA=1, of

ofReal⁡ ⁣(Sp[(A[a/2]B[−a/2]⊗1I)Y(B[−a/2]A[a/2]⊗1I)]).\operatorname{ofReal}\!\left( S_p\left[ \bigl(A^{[a/2]}B^{[-a/2]}\otimes\mathbf1_I\bigr) Y \bigl(B^{[-a/2]}A^{[a/2]}\otimes\mathbf1_I\bigr) \right]\right).ofReal(Sp​[(A[a/2]B[−a/2]⊗1I​)Y(B[−a/2]A[a/2]⊗1I​)]).

Here M[t]=cfc⁡(x↦if x=0 then 0 else xt,M)M^{[t]}=\operatorname{cfc}(x\mapsto\text{if }x=0\text{ then }0\text{ else }x^t,M)M[t]=cfc(x↦if x=0 then 0 else xt,M), and ofReal⁡(x)=max⁡(x,0)\operatorname{ofReal}(x)=\max(x,0)ofReal(x)=max(x,0) in [0,+∞][0,+\infty][0,+∞]. The quantity Sp(M)S_p(M)Sp​(M) is the Euclidean operator norm at p=+∞p=+\inftyp=+∞; otherwise, with pR=p.toRealp_{\mathbb R}=p.\mathrm{toReal}pR​=p.toReal, it is

Sp(M)=(Re⁡tr⁡cfc⁡(x↦xpR/2,M†M))1/pR.S_p(M)= \left(\operatorname{Re}\operatorname{tr} \operatorname{cfc}(x\mapsto x^{p_{\mathbb R}/2},M^\dagger M)\right)^{1/p_{\mathbb R}}.Sp​(M)=(Retrcfc(x↦xpR​/2,M†M))1/pR​.

No positivity, density, invertibility, or support condition is imposed on BBB or YYY. Both p=0p=0p=0 and p=+∞p=+\inftyp=+∞ give a=0a=0a=0, and support powers at exponent zero still send zero eigenvalues to zero. Empty types are allowed; if DDD is empty there are no density matrices AAA, so this supremum is 000.

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