Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Optimal Port-based Teleportation

Definition
QAlgorithms_Papers_Independent_Extend50_P27

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

prove2quantum

The objects the formalized statements of Optimal Port-based Teleportation (arXiv:1707.08456) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • Predecessor: One-box inclusion, on actual cells (PDF pp.3,5).
  • BoxMove: Moving one box between distinct shapes (PDF pp.5,7).
  • removableCount: Removable corners, counted independently of any height cutoff (PDF p.7).
  • teleportEntry: Definition 3, evaluated on diagrams, independently of any incidence Gram matrix (PDF p.7).
  • teleportMatrix: Definition 10: all shapes of height at most d, with the original diagonal (PDF p.11).
  • fullMatrix: Full matrix, containing all size-N shapes (PDF pp.7,10).
  • incidence: Rectangular physical branching incidence, Definition 18 (PDF p.13).
  • columnGram: Column Gram matrix, Definition 21 (PDF p.14).
  • rowGram: Row Gram matrix, Definition 21 (PDF p.14).
  • heightCorrection: Shape-restricted diagonal correction. The printed height=d in Eq.(54) must be height<d, as Lemma 27 and Eq.(55) require (PDF p.15).
  • topValue: Largest real spectral value. Every use below is on a nonempty finite symmetric matrix; PSD and attainment are conclusions, not fields of this definition (PDF pp.19,27).
  • spectralFidelity: Entanglement-fidelity value singled out by Eq.(78), with one eigenvalue, not its square.
  • maxRowSum: Explicit maximum absolute row sum, the source's norm in Eq.(43) (PDF p.12).
  • includePermutation: Last-letter-fixing embedding S_K into S_(K+1) (PDF pp.5–6).
  • irrepDim: Actual Specht dimension, not an arbitrary shape weight (PDF pp.3–5).
  • pbtIntertwinerSpace: Intertwiners between two actual finite actions. No branching counts are supplied as data; multiplicity is the dimension of this subspace (PDF pp.5,8–9).
  • tensorMultiplicity: Tensor-space multiplicity m_mu, computed by actual intertwiners (PDF pp.3–4).
  • restrictedAction: Restriction of a concrete Specht action to the subgroup fixing the last letter (PDF p.5).
  • inducedAction: Induction in the explicit coset basis of Eqs.(20)–(21); N copies of the actual alpha Specht module, not an array of assumed branching multiplicities (PDF p.6).
  • restrictionMultiplicity: Multiplicity in the restricted Specht module, defined through intertwiners (PDF p.5).
  • inductionMultiplicity: Multiplicity in the explicit induced module, defined through intertwiners (PDF pp.5–6).
  • fixedCount: Number of fixed points, including zero, as in the proof of Lemma 2 (PDF pp.6–7).
  • characterTable: Definition 6 uses literal, unweighted Specht characters (PDF p.9).
  • cycleClassCount: Count of cycle types with exactly k fixed points. Each xi_l is bounded by N; the equation is written without truncated N-k (PDF p.10).
  • AliceIndex: Alice's N local registers.
  • SignalIndex: Alice plus the input register C, with N=K+1.
  • liftAlice: Extend an Alice operator by identity on C (PDF pp.4,16).
  • pbtSignal: Normalized signals sigma_a = d^(-N) V^{t_C}(a,C), Eq.(4) (PDF p.3). The equalities couple a with C on each side; other Alice coordinates are unchanged.
  • effectFidelity: Entanglement fidelity of effective effects, Eq.(57) (PDF p.16).
  • PBTPrimalFeasible: All primal variables; positivity includes Hermiticity. The inequality is a positive-semidefinite difference, not entrywise order (PDF pp.4,16).
  • primalValues: Attainable primal values; no spectral ansatz restricts the variables (PDF p.16).
  • pbtOptimalFidelity: Optimal value of the actual primal program; its greatest element is asserted below, so the real supremum is not used as a substitute for attainment (PDF pp.16–19).
  • PBTDualFeasible: Full dual feasible set, Eq.(80), without the proof's block ansatz (PDF pp.19–20).
  • pbtDualObjective: The Euclidean operator norm in Eq.(79), on a Hermitian positive partial trace. Using the largest real eigenvalue avoids the unrelated maximum row-sum norm.
  • pbtDualValues: Actual dual objective values, Eq.(79) (PDF p.19).
  • projectorSeed: Concrete unnormalized P_alpha tensor tilde P+ seed (PDF p.31, Eq.(145)).
  • etaBlock: Eta(alpha), the explicit sum of transported seeds in Eq.(145) (PDF pp.4,31).
  • pbtGammaValue: Nonzero physical eigenvalue gamma_mu(alpha), Eq.(8) (PDF p.4).
  • lambdaValue: Lambda_mu(alpha)=gamma_mu(alpha)/d^N, Eq.(10) (PDF p.4).
  • physicalProjector: Concrete physical F_mu(alpha), Eq.(145); no projector or spectral identities are assumed as structure fields (PDF p.31). Used only for one-box-compatible labels.
  • blockPower: Spectral power of the physical alpha block, extended by zero off its nonzero support, even at exponent zero or a negative exponent (PDF pp.24,29).
  • blockSignal: Alpha-resolved sigma_a. This is constructed from the seed, not postulated as an eigenspace decomposition (PDF pp.24–25).
  • coefficientFilter: Spectral filter with actual block coefficients p_mu(alpha), Eq.(61) (PDF p.17).
  • filterEffects: Effective effects Pi sigma_a Pi, Eq.(60) (PDF p.17).
  • powerEffects: The general block power-filter effects, Eq.(110). Feasibility is never inferred for arbitrary z,y (PDF pp.24–25).
  • contractionConstant: The scalar contraction coefficient, Eqs.(113),(139) (PDF pp.24,29).
  • eprFormula: Formula (120), with physical labels and actual dimensions (PDF p.26).
  • coefficientFidelity: The scalar expression before maximization in Eq.(68) (PDF p.18).
  • IsOptimalVector: Source-normalized positive Perron vector, with Euclidean unit norm, Eq.(76).
  • optimalFilter: The explicit optimal filter, Eq.(97), with sqrt(m_alpha/d_alpha) times v_mu/m_mu (PDF p.22). Both v_mu and m_mu are outside the radical, also confirmed by Eq.(74).
  • optimalResourceOperator: Positive optimal Alice filter O_A, Eq.(99), with sqrt(d^N) (PDF p.22).
  • resourceState: Actual resource amplitudes (O_A tensor I)|Phi+>^tensor N, Eq.(98) (PDF pp.4,22).
  • absorbedEffects: Absorb the resource filter into physical identity-summing Alice effects (PDF pp.4,16). Bob's operation is solely to retain the named port.
  • positiveInverse: Moore–Penrose inverse of a positive optimizer, zero on its kernel (PDF pp.16–18).
  • completedMeasurement: Deterministic physical POVM obtained by inverse filtering and uniformly completing the residual positive effect (PDF pp.3–4,16–18).
  • pbtBellEmbedding: Normalized Bell embedding on the last two factors, identity on the first K (PDF p.29, Fact 39).
  • powerIterate: Sum-normalized power iteration, Eq.(124), with the source's initial vector and no unspecified normalization convention (PDF p.27).
  • powerOutput: The v_(m+1) in Eq.(124), avoiding an undefined v_0 (PDF pp.27–28).
  • OptimalConstruction: Operational content of Eqs.(96)–(99): explicit filter and resource, the unrestricted optimal value, and support completion to a deterministic physical POVM (PDF pp.21–22).
  • squareRootEffects: Global support inverse square root of rho, Eq.(1), for the fixed EPR resource (PDF pp.3,26). Its value on the zero eigenvalue is zero.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Defs_SchurWeylDecomposition
import Definitions.Def_QAlgorithms_Defs_FiniteRegisters
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Papers_Independent_Renew46_P26
import Definitions.Def_QAlgorithms_Papers_Independent_Gap20_P01
import Definitions.Def_QAlgorithms_Papers_Independent_Claimed50_P28

/-!
Statements from Mozrzymas–Studzinski–Strelchuk–Horodecki,
Optimal Port-based Teleportation, arXiv:1707.08456v1.
All paper-local objects below have complete bodies. Theorems are statement targets.
N = K+1 is used in physical-register formulas to include N=1 without an invalid last index.
-/

noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder
open Filter Topology
open QAlgorithms.Schur

namespace QAlgorithms.Papers.Independent.Extend50.P27

-- Exact accepted interfaces; unrelated short-name homonyms remain paper-specific.
open QAlgorithms.Papers.Independent.Renew46.P26 (deleteLast)
open QAlgorithms.Papers.Independent.Gap20.P01 (spechtMatrix)
open QAlgorithms.Papers.Independent.Claimed50.P28 (traceInput)

attribute [local instance] Classical.propDecidable

/-- One-box inclusion, on actual cells (PDF pp.3,5). -/
def Predecessor (alpha mu : YoungDiagram) : Prop :=
  alpha.cells ⊆ mu.cells ∧ (mu.cells \ alpha.cells).card = 1

/-- Moving one box between distinct shapes (PDF pp.5,7). -/
def BoxMove (mu nu : YoungDiagram) : Prop :=
  mu ≠ nu ∧ (mu.cells \ nu.cells).card = 1 ∧ (nu.cells \ mu.cells).card = 1

/-- Removable corners, counted independently of any height cutoff (PDF p.7). -/
def removableCount (mu : YoungDiagram) : ℕ :=
  ((Finset.range mu.card).filter fun i => mu.rowLen (i+1) < mu.rowLen i).card

/-- Definition 3, evaluated on diagrams, independently of any incidence Gram matrix (PDF p.7). -/
def teleportEntry (mu nu : YoungDiagram) : ℝ :=
  if mu = nu then removableCount mu else if BoxMove mu nu then 1 else 0

/-- Definition 10: all shapes of height at most d, with the original diagonal (PDF p.11). -/
def teleportMatrix (d N : ℕ) : Matrix (Partition d N) (Partition d N) ℝ :=
  fun mu nu => teleportEntry mu.val nu.val

/-- Full matrix, containing all size-N shapes (PDF pp.7,10). -/
def fullMatrix (N : ℕ) : Matrix (Partition N N) (Partition N N) ℝ :=
  teleportMatrix N N

/-- Rectangular physical branching incidence, Definition 18 (PDF p.13). -/
def incidence (d N : ℕ) : Matrix (Partition d (N-1)) (Partition d N) ℝ :=
  fun alpha mu => if Predecessor alpha.val mu.val then 1 else 0

/-- Column Gram matrix, Definition 21 (PDF p.14). -/
def columnGram (d N : ℕ) := (incidence d N).transpose * incidence d N

/-- Row Gram matrix, Definition 21 (PDF p.14). -/
def rowGram (d N : ℕ) := incidence d N * (incidence d N).transpose

/-- Shape-restricted diagonal correction. The printed height=d in Eq.(54) must be
height<d, as Lemma 27 and Eq.(55) require (PDF p.15). -/
def heightCorrection (d N : ℕ) : Matrix (Partition d (N-1)) (Partition d (N-1)) ℝ :=
  Matrix.diagonal fun alpha => if alpha.val.colLen 0 < d then 1 else 0

/-- Largest real spectral value. Every use below is on a nonempty finite symmetric
matrix; PSD and attainment are conclusions, not fields of this definition (PDF pp.19,27). -/
def topValue {I : Type*} [Fintype I] [DecidableEq I] (A : Matrix I I ℝ) : ℝ :=
  sSup (spectrum ℝ A)

/-- Entanglement-fidelity value singled out by Eq.(78), with one eigenvalue, not its square. -/
def spectralFidelity (d N : ℕ) : ℝ := topValue (teleportMatrix d N) / (d : ℝ)^2

/-- Explicit maximum absolute row sum, the source's norm in Eq.(43) (PDF p.12). -/
def maxRowSum {I : Type*} [Fintype I] (A : Matrix I I ℝ) : ℝ :=
  sSup (Set.range (fun i => ∑ j, |A i j|))

/-- Last-letter-fixing embedding S_K into S_(K+1) (PDF pp.5–6). -/
def includePermutation {K : ℕ} (pi : Equiv.Perm (Fin K)) : Equiv.Perm (Fin (K+1)) :=
  finSuccEquivLast.trans ((Equiv.optionCongr pi).trans finSuccEquivLast.symm)

/-- Actual Specht dimension, not an arbitrary shape weight (PDF pp.3–5). -/
def irrepDim {d N : ℕ} (mu : Partition d N) : ℕ := Module.finrank ℂ (spechtSpace mu)

/-- Intertwiners between two actual finite actions. No branching counts are supplied
as data; multiplicity is the dimension of this subspace (PDF pp.5,8–9). -/
def pbtIntertwinerSpace {G I J : Type*} [Fintype I] [Fintype J]
    (A : G → Matrix I I ℂ) (B : G → Matrix J J ℂ) : Submodule ℂ (Matrix J I ℂ) where
  carrier := {T | ∀ g, B g * T = T * A g}
  zero_mem' := by intro g; simp
  add_mem' := by
    intro T S hT hS g
    simp only [Matrix.mul_add, Matrix.add_mul, hT g, hS g]
  smul_mem' := by
    intro c T hT g
    simp only [Matrix.mul_smul, Matrix.smul_mul, hT g]

/-- Tensor-space multiplicity m_mu, computed by actual intertwiners (PDF pp.3–4). -/
def tensorMultiplicity {d N : ℕ} (mu : Partition d N) : ℕ :=
  Module.finrank ℂ (pbtIntertwinerSpace (spechtMatrix mu) (tensorPermutation d N))

/-- Restriction of a concrete Specht action to the subgroup fixing the last letter (PDF p.5). -/
def restrictedAction {d K : ℕ} (mu : Partition d (K+1)) (pi : Equiv.Perm (Fin K)) :=
  spechtMatrix mu (includePermutation pi)

/-- Induction in the explicit coset basis of Eqs.(20)–(21); N copies of the
actual alpha Specht module, not an array of assumed branching multiplicities (PDF p.6). -/
def inducedAction {d K : ℕ} (alpha : Partition d K) (pi : Equiv.Perm (Fin (K+1))) :
    Matrix (Fin (K+1) × Fin (irrepDim alpha)) (Fin (K+1) × Fin (irrepDim alpha)) ℂ :=
  fun a b =>
    let tau := Equiv.swap a.1 (Fin.last K) * pi * Equiv.swap b.1 (Fin.last K)
    if tau (Fin.last K) = Fin.last K then
      spechtMatrix alpha (deleteLast K tau) a.2 b.2 else 0

/-- Multiplicity in the restricted Specht module, defined through intertwiners (PDF p.5). -/
def restrictionMultiplicity {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1)) : ℕ :=
  Module.finrank ℂ (pbtIntertwinerSpace (spechtMatrix alpha) (restrictedAction mu))

/-- Multiplicity in the explicit induced module, defined through intertwiners (PDF pp.5–6). -/
def inductionMultiplicity {d K : ℕ} (mu : Partition d (K+1)) (alpha : Partition d K) : ℕ :=
  Module.finrank ℂ (pbtIntertwinerSpace (spechtMatrix mu) (inducedAction alpha))

/-- Number of fixed points, including zero, as in the proof of Lemma 2 (PDF pp.6–7). -/
def fixedCount {N : ℕ} (pi : Equiv.Perm (Fin N)) : ℕ :=
  (Finset.univ.filter fun i => pi i = i).card

/-- Definition 6 uses literal, unweighted Specht characters (PDF p.9). -/
def characterTable (N : ℕ) :
    Matrix (Partition N N) (ConjClasses (Equiv.Perm (Fin N))) ℂ :=
  fun mu C => spechtCharacter mu (Quotient.out C)

/-- Count of cycle types with exactly k fixed points. Each xi_l is bounded by N;
the equation is written without truncated N-k (PDF p.10). -/
def cycleClassCount (N k : ℕ) : ℕ :=
  (Finset.univ.filter fun xi : Fin (N+1) → Fin (N+1) =>
    xi 0 = 0 ∧ xi 1 = 0 ∧ k + ∑ l : Fin (N+1), l.val * (xi l).val = N).card

/-- Alice's N local registers. -/
abbrev AliceIndex (d N : ℕ) := Fin N → Fin d

/-- Alice plus the input register C, with N=K+1. -/
abbrev SignalIndex (d K : ℕ) := AliceIndex d (K+1) × Fin d

/-- Extend an Alice operator by identity on C (PDF pp.4,16). -/
def liftAlice {d K : ℕ} (A : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  fun x y => if x.2 = y.2 then A x.1 y.1 else 0

/-- Normalized signals sigma_a = d^(-N) V^{t_C}(a,C), Eq.(4) (PDF p.3).
The equalities couple a with C on each side; other Alice coordinates are unchanged. -/
def pbtSignal (d K : ℕ) (a : Fin (K+1)) : Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  fun x y => if x.1 a = x.2 ∧ y.1 a = y.2 ∧ (∀ i, i ≠ a → x.1 i = y.1 i)
    then ((d : ℂ)^(K+1))⁻¹ else 0

/-- Entanglement fidelity of effective effects, Eq.(57) (PDF p.16). -/
def effectFidelity {d K : ℕ}
    (E : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ) : ℝ :=
  (∑ a, (Matrix.trace (E a * pbtSignal d K a)).re) / (d : ℝ)^2

/-- All primal variables; positivity includes Hermiticity. The inequality is a
positive-semidefinite difference, not entrywise order (PDF pp.4,16). -/
def PBTPrimalFeasible {d K : ℕ}
    (X : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
    (E : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ) : Prop :=
  X.PosSemidef ∧ X.trace = (d : ℂ)^(K+1) ∧
    (∀ a, (E a).PosSemidef) ∧ (liftAlice X - ∑ a, E a).PosSemidef

/-- Attainable primal values; no spectral ansatz restricts the variables (PDF p.16). -/
def primalValues (d K : ℕ) : Set ℝ :=
  {f | ∃ (X : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
      (E : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ),
    PBTPrimalFeasible (d := d) (K := K) X E ∧ f = effectFidelity (d := d) (K := K) E}

/-- Optimal value of the actual primal program; its greatest element is asserted
below, so the real supremum is not used as a substitute for attainment (PDF pp.16–19). -/
def pbtOptimalFidelity (d N : ℕ) : ℝ := sSup (primalValues d (N-1))

/-- Full dual feasible set, Eq.(80), without the proof's block ansatz (PDF pp.19–20). -/
def PBTDualFeasible {d K : ℕ} (Omega : Matrix (SignalIndex d K) (SignalIndex d K) ℂ) : Prop :=
  Omega.IsHermitian ∧ ∀ a, (Omega - pbtSignal d K a).PosSemidef

/-- The Euclidean operator norm in Eq.(79), on a Hermitian positive partial trace.
Using the largest real eigenvalue avoids the unrelated maximum row-sum norm. -/
def pbtDualObjective {d K : ℕ} (Omega : Matrix (SignalIndex d K) (SignalIndex d K) ℂ) : ℝ :=
  (d : ℝ)^(K+1) / (d : ℝ)^2 * sSup (spectrum ℝ (traceInput Omega))

/-- Actual dual objective values, Eq.(79) (PDF p.19). -/
def pbtDualValues (d K : ℕ) : Set ℝ :=
  {f | ∃ Omega : Matrix (SignalIndex d K) (SignalIndex d K) ℂ,
    PBTDualFeasible (d := d) (K := K) Omega ∧
      f = pbtDualObjective (d := d) (K := K) Omega}

/-- Concrete unnormalized P_alpha tensor tilde P+ seed (PDF p.31, Eq.(145)). -/
def projectorSeed {d K : ℕ} (alpha : Partition d K) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  fun x y => if x.1 (Fin.last K) = x.2 ∧ y.1 (Fin.last K) = y.2 then
    isotypicProjector alpha (fun i => x.1 i.castSucc) (fun i => y.1 i.castSucc) else 0

/-- Eta(alpha), the explicit sum of transported seeds in Eq.(145) (PDF pp.4,31). -/
def etaBlock {d K : ℕ} (alpha : Partition d K) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  ∑ a : Fin (K+1),
    let V := liftAlice (tensorPermutation d (K+1) (Equiv.swap a (Fin.last K)))
    V * projectorSeed alpha * Vᴴ

/-- Nonzero physical eigenvalue gamma_mu(alpha), Eq.(8) (PDF p.4). -/
def pbtGammaValue {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1)) : ℝ :=
  (K+1 : ℝ) * tensorMultiplicity mu * irrepDim alpha /
    ((tensorMultiplicity alpha : ℝ) * irrepDim mu)

/-- Lambda_mu(alpha)=gamma_mu(alpha)/d^N, Eq.(10) (PDF p.4). -/
def lambdaValue {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1)) : ℝ :=
  pbtGammaValue alpha mu / (d : ℝ)^(K+1)

/-- Concrete physical F_mu(alpha), Eq.(145); no projector or spectral identities
are assumed as structure fields (PDF p.31). Used only for one-box-compatible labels. -/
def physicalProjector {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1)) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  ((pbtGammaValue alpha mu : ℂ)⁻¹) •
    (liftAlice (isotypicProjector mu) * etaBlock alpha * liftAlice (isotypicProjector mu))

/-- Spectral power of the physical alpha block, extended by zero off its nonzero
support, even at exponent zero or a negative exponent (PDF pp.24,29). -/
def blockPower {d K : ℕ} (alpha : Partition d K) (t : ℝ) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  ∑ mu : Partition d (K+1), if Predecessor alpha.val mu.val then
    ((Real.rpow (lambdaValue alpha mu) t : ℝ) : ℂ) • physicalProjector alpha mu else 0

/-- Alpha-resolved sigma_a. This is constructed from the seed, not postulated as
an eigenspace decomposition (PDF pp.24–25). -/
def blockSignal {d K : ℕ} (alpha : Partition d K) (a : Fin (K+1)) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  let V := liftAlice (tensorPermutation d (K+1) (Equiv.swap a (Fin.last K)))
  ((d : ℂ)^(K+1))⁻¹ • (V * projectorSeed alpha * Vᴴ)

/-- Spectral filter with actual block coefficients p_mu(alpha), Eq.(61) (PDF p.17). -/
def coefficientFilter {d K : ℕ} (p : Partition d K → Partition d (K+1) → ℝ) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  ∑ alpha : Partition d K, ∑ mu : Partition d (K+1),
    if Predecessor alpha.val mu.val then (p alpha mu : ℂ) • physicalProjector alpha mu else 0

/-- Effective effects Pi sigma_a Pi, Eq.(60) (PDF p.17). -/
def filterEffects {d K : ℕ} (P : Matrix (SignalIndex d K) (SignalIndex d K) ℂ)
    (a : Fin (K+1)) := P * pbtSignal d K a * P

/-- The general block power-filter effects, Eq.(110). Feasibility is never inferred
for arbitrary z,y (PDF pp.24–25). -/
def powerEffects {d K : ℕ} (z y : Partition d K → ℝ) (a : Fin (K+1)) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  ∑ alpha : Partition d K, (z alpha : ℂ) •
    (blockPower alpha (-(y alpha)⁻¹) * blockSignal alpha a * blockPower alpha (-(y alpha)⁻¹))

/-- The scalar contraction coefficient, Eqs.(113),(139) (PDF pp.24,29). -/
def contractionConstant {d K : ℕ} (alpha : Partition d K) (y : ℝ) : ℝ :=
  (∑ mu : Partition d (K+1), if Predecessor alpha.val mu.val then
    Real.rpow (lambdaValue alpha mu) (-y⁻¹) * tensorMultiplicity mu /
      (tensorMultiplicity alpha : ℝ) else 0) / d

/-- Formula (120), with physical labels and actual dimensions (PDF p.26). -/
def eprFormula (d K : ℕ) : ℝ :=
  (∑ alpha : Partition d K,
    (∑ mu : Partition d (K+1), if Predecessor alpha.val mu.val then
      Real.sqrt ((irrepDim mu : ℝ) * tensorMultiplicity mu) else 0)^2) / (d : ℝ)^(K+3)

/-- The scalar expression before maximization in Eq.(68) (PDF p.18). -/
def coefficientFidelity {d K : ℕ} (p : Partition d K → Partition d (K+1) → ℝ) : ℝ :=
  (K+1 : ℝ) / (d : ℝ)^(2*(K+1)+2) *
    ∑ alpha : Partition d K, (irrepDim alpha : ℝ) / tensorMultiplicity alpha *
      (∑ mu : Partition d (K+1), if Predecessor alpha.val mu.val then
        p alpha mu * tensorMultiplicity mu else 0)^2

/-- Source-normalized positive Perron vector, with Euclidean unit norm, Eq.(76). -/
def IsOptimalVector {d N : ℕ} (v : Partition d N → ℝ) : Prop :=
  (∀ mu, 0 < v mu) ∧ (∑ mu, (v mu)^2) = 1 ∧
    (teleportMatrix d N) *ᵥ v = topValue (teleportMatrix d N) • v

/-- The explicit optimal filter, Eq.(97), with sqrt(m_alpha/d_alpha) times v_mu/m_mu
(PDF p.22). Both v_mu and m_mu are outside the radical, also confirmed by Eq.(74). -/
def optimalFilter {d K : ℕ} (v : Partition d (K+1) → ℝ) :=
  coefficientFilter (fun alpha mu =>
    (d : ℝ)^(K+1) / Real.sqrt (K+1) *
      Real.sqrt ((tensorMultiplicity alpha : ℝ) / irrepDim alpha) * v mu / tensorMultiplicity mu)

/-- Positive optimal Alice filter O_A, Eq.(99), with sqrt(d^N) (PDF p.22). -/
def optimalResourceOperator {d N : ℕ} (v : Partition d N → ℝ) :
    Matrix (AliceIndex d N) (AliceIndex d N) ℂ :=
  ∑ mu : Partition d N,
    ((Real.sqrt ((d : ℝ)^N) * v mu /
      Real.sqrt ((irrepDim mu : ℝ) * tensorMultiplicity mu) : ℝ) : ℂ) • isotypicProjector mu

/-- Actual resource amplitudes (O_A tensor I)|Phi+>^tensor N, Eq.(98) (PDF pp.4,22). -/
def resourceState {d N : ℕ} (O : Matrix (AliceIndex d N) (AliceIndex d N) ℂ) :
    EuclideanSpace ℂ (AliceIndex d N × AliceIndex d N) :=
  WithLp.toLp 2 (fun xy => O xy.1 xy.2 / (Real.sqrt ((d : ℝ)^N) : ℂ))

/-- Absorb the resource filter into physical identity-summing Alice effects
(PDF pp.4,16). Bob's operation is solely to retain the named port. -/
def absorbedEffects {d K : ℕ}
    (O : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
    (M : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ) (a : Fin (K+1)) :=
  (liftAlice O)ᴴ * M a * liftAlice O

/-- Moore–Penrose inverse of a positive optimizer, zero on its kernel (PDF pp.16–18). -/
def positiveInverse {I : Type*} [Fintype I] [DecidableEq I] (A : Matrix I I ℂ) : Matrix I I ℂ :=
  cfc (fun t : ℝ => if t = 0 then 0 else t⁻¹) A

/-- Deterministic physical POVM obtained by inverse filtering and uniformly
completing the residual positive effect (PDF pp.3–4,16–18). -/
def completedMeasurement {d K : ℕ}
    (O : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
    (E : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ) (a : Fin (K+1)) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  let Q := liftAlice (positiveInverse O)
  Q * E a * Q + ((K+1 : ℂ)⁻¹) • (1 - ∑ b, Q * E b * Q)

/-- Normalized Bell embedding on the last two factors, identity on the first K
(PDF p.29, Fact 39). -/
def pbtBellEmbedding (d K : ℕ) : Matrix (SignalIndex d K) (AliceIndex d K) ℂ :=
  fun x y => if (fun i => x.1 i.castSucc) = y ∧ x.1 (Fin.last K) = x.2
    then ((Real.sqrt d)⁻¹ : ℂ) else 0

/-- Sum-normalized power iteration, Eq.(124), with the source's initial vector
and no unspecified normalization convention (PDF p.27). -/
def powerIterate {I : Type*} [Fintype I] (A : Matrix I I ℝ) (w0 : I → ℝ) : ℕ → I → ℝ
  | 0 => w0
  | m+1 => let v := A *ᵥ powerIterate A w0 m; fun i => v i / ∑ j, v j

/-- The v_(m+1) in Eq.(124), avoiding an undefined v_0 (PDF pp.27–28). -/
def powerOutput {I : Type*} [Fintype I] (A : Matrix I I ℝ) (w0 : I → ℝ) (m : ℕ) :=
  A *ᵥ powerIterate A w0 m

example (mu : YoungDiagram) : ¬ BoxMove mu mu := by simp [BoxMove]

example (mu : YoungDiagram) : teleportEntry mu mu = removableCount mu := by
  simp [teleportEntry]

example {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1))
    (h : Predecessor alpha.val mu.val) : incidence d (K+1) alpha mu = 1 := by
  simp [incidence, h]

example {K : ℕ} (pi : Equiv.Perm (Fin K)) :
    includePermutation pi (Fin.last K) = Fin.last K := by simp [includePermutation]

example {I : Type*} [Fintype I] (A : Matrix I I ℝ) (w : I → ℝ) :
    powerIterate A w 0 = w := rfl

example {d K : ℕ} : liftAlice (0 : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ) = 0 := by
  ext x y
  simp [liftAlice]

example {d K : ℕ} (alpha : Partition d K) (mu : Partition d (K+1)) :
    lambdaValue alpha mu = pbtGammaValue alpha mu / (d : ℝ)^(K+1) := rfl

example {d K : ℕ} (O : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
    (M : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ) :
    absorbedEffects O M = fun a => (liftAlice O)ᴴ * M a * liftAlice O := rfl

/-- Operational content of Eqs.(96)–(99): explicit filter and resource, the unrestricted
optimal value, and support completion to a deterministic physical POVM (PDF pp.21–22). -/
def OptimalConstruction {d K : ℕ} (v : Partition d (K+1) → ℝ) : Prop :=
  let O := optimalResourceOperator v
  let E := filterEffects (optimalFilter v)
  let M := completedMeasurement O E
  O.PosSemidef ∧ (Oᴴ * O).trace = (d : ℂ)^(K+1) ∧
    ‖resourceState O‖ = 1 ∧ PBTPrimalFeasible (Oᴴ * O) E ∧
    effectFidelity E = spectralFidelity d (K+1) ∧
    IsGreatest (primalValues d K) (spectralFidelity d (K+1)) ∧
    QAlgorithms.IsPOVM M ∧
    effectFidelity (absorbedEffects O M) = spectralFidelity d (K+1) ∧
    (∀ (Oother : Matrix (AliceIndex d (K+1)) (AliceIndex d (K+1)) ℂ)
      (Mother : Fin (K+1) → Matrix (SignalIndex d K) (SignalIndex d K) ℂ),
      (Ootherᴴ * Oother).trace = (d : ℂ)^(K+1) → QAlgorithms.IsPOVM Mother →
      effectFidelity (absorbedEffects Oother Mother) ≤ spectralFidelity d (K+1))

/-- Global support inverse square root of rho, Eq.(1), for the fixed EPR resource
(PDF pp.3,26). Its value on the zero eigenvalue is zero. -/
def squareRootEffects (d K : ℕ) (a : Fin (K+1)) :
    Matrix (SignalIndex d K) (SignalIndex d K) ℂ :=
  let P := cfc (fun t : ℝ => if t = 0 then 0 else (Real.sqrt t)⁻¹) (∑ b, pbtSignal d K b)
  P * pbtSignal d K a * P

end QAlgorithms.Papers.Independent.Extend50.P27
Source
Optimal Port-based Teleportation, arXiv:1707.08456v1, https://arxiv.org/abs/1707.08456v1
Read-back

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

QAlgorithms.Papers.Independent.Extend50.P27.AliceIndex

For natural numbers d,Nd,Nd,N, this denotes the set {0,…,d−1}{0,…,N−1}\{0,\ldots,d-1\}^{\{0,\ldots,N-1\}}{0,…,d−1}{0,…,N−1} of functions assigning one of ddd values to each of NNN positions. When N=0N=0N=0, it contains exactly the empty function, including when d=0d=0d=0; when d=0<Nd=0<Nd=0<N, it is empty.

QAlgorithms.Papers.Independent.Extend50.P27.BoxMove

For any Young diagrams μ\muμ and ν\nuν, BoxMove⁡(μ,ν)\operatorname{BoxMove}(\mu,\nu)BoxMove(μ,ν) means that μ≠ν\mu\ne\nuμ=ν, exactly one cell belongs to μ\muμ but not ν\nuν, and exactly one cell belongs to ν\nuν but not μ\muμ:

μ≠ν,∣μ.cells∖ν.cells∣=1,∣ν.cells∖μ.cells∣=1.\mu\ne\nu,\qquad |\mu.\mathrm{cells}\setminus\nu.\mathrm{cells}|=1,\qquad |\nu.\mathrm{cells}\setminus\mu.\mathrm{cells}|=1.μ=ν,∣μ.cells∖ν.cells∣=1,∣ν.cells∖μ.cells∣=1.

Neither diagram can be empty when this condition holds.

QAlgorithms.Papers.Independent.Extend50.P27.IsOptimalVector

For arbitrary natural numbers d,Nd,Nd,N, let Pd,N\mathcal P_{d,N}Pd,N​ be the set of Young diagrams with NNN boxes and at most ddd rows. Define a real matrix TTT, indexed by Pd,N\mathcal P_{d,N}Pd,N​, as follows: Tμ,μT_{\mu,\mu}Tμ,μ​ is the number of integers iii with 0≤i<N0\le i<N0≤i<N for which row i+1i+1i+1 of μ\muμ is shorter than row iii; for distinct μ,ν\mu,\nuμ,ν, set Tμ,ν=1T_{\mu,\nu}=1Tμ,ν​=1 if each diagram has exactly one box absent from the other, and set it to 000 otherwise. For any function v:Pd,N→Rv:\mathcal P_{d,N}\to\mathbb Rv:Pd,N​→R, the predicate holds exactly when

vμ>0for every μ,∑μ∈Pd,Nvμ2=1,Tv=(sup⁡spec⁡RT)v.v_\mu>0\quad\text{for every }\mu,\qquad \sum_{\mu\in\mathcal P_{d,N}}v_\mu^2=1,\qquad Tv=\bigl(\sup\operatorname{spec}_{\mathbb R}T\bigr)v.vμ​>0for every μ,μ∈Pd,N​∑​vμ2​=1,Tv=(supspecR​T)v.

The supremum is taken in R\mathbb RR, with its total supremum convention, including value 000 for an empty spectrum. There is no positivity assumption on ddd or NNN. If the indexing set is empty, the normalization condition is impossible; when N=0N=0N=0, the indexing set consists of the empty diagram, T=0T=0T=0, and the predicate requires its sole coordinate to equal 111.

QAlgorithms.Papers.Independent.Extend50.P27.OptimalConstruction

For arbitrary natural numbers d,Kd,Kd,K, put N=K+1N=K+1N=K+1, Xr={0,…,d−1}{0,…,r−1}X_r=\{0,\ldots,d-1\}^{\{0,\ldots,r-1\}}Xr​={0,…,d−1}{0,…,r−1}, Z=XN×{0,…,d−1}Z=X_N\times\{0,\ldots,d-1\}Z=XN​×{0,…,d−1}, and let Pd,r\mathcal P_{d,r}Pd,r​ consist of Young diagrams with rrr boxes and at most ddd rows. The input v:Pd,N→Rv:\mathcal P_{d,N}\to\mathbb Rv:Pd,N​→R is unrestricted. To specify the matrices in this predicate, number each diagram’s boxes using the chosen bijection with {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, and let Rλ,Cλ⊆SrR_\lambda,C_\lambda\subseteq S_rRλ​,Cλ​⊆Sr​ preserve the row and column coordinates, respectively. Define Sλ⊆CSrS_\lambda\subseteq\mathbb C^{S_r}Sλ​⊆CSr​ as the range of the matrix with entries ∑a∈Rλ,b∈Cλ1{g=hab}sgn⁡(b)\sum_{a\in R_\lambda,b\in C_\lambda}\mathbf1_{\{g=hab\}}\operatorname{sgn}(b)∑a∈Rλ​,b∈Cλ​​1{g=hab}​sgn(b), let rλ=dim⁡CSλr_\lambda=\dim_{\mathbb C}S_\lambdarλ​=dimC​Sλ​, let Πλ\Pi_\lambdaΠλ​ be its orthogonal projection, and put χλ(g)=Tr⁡(LgΠλ)\chi_\lambda(g)=\operatorname{Tr}(L_g\Pi_\lambda)χλ​(g)=Tr(Lg​Πλ​), where Lgeh=eghL_ge_h=e_{gh}Lg​eh​=egh​. Let Dλ(g)D_\lambda(g)Dλ​(g) be the matrix of ΠλLg∣Sλ\Pi_\lambda L_g|_{S_\lambda}Πλ​Lg​∣Sλ​​ in its chosen standard orthonormal basis, define Tg(y,x)=1{y=x∘g−1}T_g(y,x)=\mathbf1_{\{y=x\circ g^{-1}\}}Tg​(y,x)=1{y=x∘g−1}​ on XrX_rXr​, and set

Jλ=rλr!∑g∈Srχλ(g−1)Tg,mλ=dim⁡C{W:TgW=WDλ(g) for every g∈Sr},J_\lambda=\frac{r_\lambda}{r!}\sum_{g\in S_r}\chi_\lambda(g^{-1})T_g,\qquad m_\lambda=\dim_{\mathbb C}\{W:T_gW=WD_\lambda(g)\text{ for every }g\in S_r\},Jλ​=r!rλ​​g∈Sr​∑​χλ​(g−1)Tg​,mλ​=dimC​{W:Tg​W=WDλ​(g) for every g∈Sr​},

where W:Crλ→CXrW:\mathbb C^{r_\lambda}\to\mathbb C^{X_r}W:Crλ​→CXr​ is linear. For a matrix AAA on XNX_NXN​, write A^(x,c),(y,e)=1{c=e}Ax,y\widehat A_{(x,c),(y,e)}=\mathbf1_{\{c=e\}}A_{x,y}A(x,c),(y,e)​=1{c=e}​Ax,y​. For α∈Pd,K\alpha\in\mathcal P_{d,K}α∈Pd,K​, let Bα((x,c),(y,e))=(Jα)x∣K,y∣KB_\alpha((x,c),(y,e))=(J_\alpha)_{x|_K,y|_K}Bα​((x,c),(y,e))=(Jα​)x∣K​,y∣K​​ when xK=cx_K=cxK​=c and yK=ey_K=eyK​=e, and zero otherwise; put Va=T(a K)^V_a=\widehat{T_{(a\,K)}}Va​=T(aK)​​, Hα=∑a=0KVaBαVa∗H_\alpha=\sum_{a=0}^{K}V_aB_\alpha V_a^*Hα​=∑a=0K​Va​Bα​Va∗​, and

Fα,μ=(N mμrαmαrμ)−1J^μHαJ^μ.F_{\alpha,\mu} =\left(\frac{N\,m_\mu r_\alpha}{m_\alpha r_\mu}\right)^{-1} \widehat J_\mu H_\alpha\widehat J_\mu.Fα,μ​=(mα​rμ​Nmμ​rα​​)−1Jμ​Hα​Jμ​.

Writing α≺μ\alpha\prec\muα≺μ for inclusion of their box sets with exactly one additional box in μ\muμ, define

O=∑μ∈Pd,NdN vμrμmμJμ,P=∑α∈Pd,K,μ∈Pd,Nα≺μdNNmαrαvμmμFα,μ,O=\sum_{\mu\in\mathcal P_{d,N}} \frac{\sqrt{d^N}\,v_\mu}{\sqrt{r_\mu m_\mu}}J_\mu,\qquad P=\sum_{\substack{\alpha\in\mathcal P_{d,K},\,\mu\in\mathcal P_{d,N}\\\alpha\prec\mu}} \frac{d^N}{\sqrt N}\sqrt{\frac{m_\alpha}{r_\alpha}}\frac{v_\mu}{m_\mu}F_{\alpha,\mu},O=μ∈Pd,N​∑​rμ​mμ​​dN​vμ​​Jμ​,P=α∈Pd,K​,μ∈Pd,N​α≺μ​∑​N​dN​rα​mα​​​mμ​vμ​​Fα,μ​, (σa)(x,c),(y,e)={d−N,xa=c, ya=e, and xi=yi for every i≠a,0,otherwise,Ea=PσaP.(\sigma_a)_{(x,c),(y,e)} =\begin{cases} d^{-N},&x_a=c,\ y_a=e,\text{ and }x_i=y_i\text{ for every }i\ne a,\\ 0,&\text{otherwise}, \end{cases} \qquad E_a=P\sigma_aP.(σa​)(x,c),(y,e)​={d−N,0,​xa​=c, ya​=e, and xi​=yi​ for every i=a,otherwise,​Ea​=Pσa​P.

Real coefficients are embedded in C\mathbb CC. Let f(0)=0f(0)=0f(0)=0, f(t)=t−1f(t)=t^{-1}f(t)=t−1 for t≠0t\ne0t=0, Q=f(O)^Q=\widehat{f(O)}Q=f(O)​, with f(O)f(O)f(O) defined by the total real continuous functional calculus, and put

Ma=QEaQ+1N(I−∑b=0KQEbQ),F(H)=1d2∑a=0KRe⁡Tr⁡(Haσa).M_a=QE_aQ+\frac1N\left(I-\sum_{b=0}^{K}QE_bQ\right),\qquad \mathcal F(H)=\frac1{d^2}\sum_{a=0}^{K}\operatorname{Re}\operatorname{Tr}(H_a\sigma_a).Ma​=QEa​Q+N1​(I−b=0∑K​QEb​Q),F(H)=d21​a=0∑K​ReTr(Ha​σa​).

Finally, define the real matrix TTT on Pd,N\mathcal P_{d,N}Pd,N​ by taking Tμ,μT_{\mu,\mu}Tμ,μ​ to be the number of 0≤i<N0\le i<N0≤i<N for which row i+1i+1i+1 is shorter than row iii, and, for distinct diagrams, taking Tμ,ν=1T_{\mu,\nu}=1Tμ,ν​=1 precisely when each has exactly one box absent from the other, and zero otherwise; put F∗=(sup⁡spec⁡RT)/d2F_*=(\sup\operatorname{spec}_{\mathbb R}T)/d^2F∗​=(supspecR​T)/d2. The predicate is the conjunction of all the following requirements:

O⪰0,Tr⁡(O∗O)=dN,∥(Ox,ydN)x,y∈XN∥2=1,O∗O⪰0,Ea⪰0 for every a,O∗O^−∑aEa⪰0,F(E)=F∗,F∗ belongs to and is at least every element of {F(H):Y⪰0, Tr⁡Y=dN, Ha⪰0 (∀a), Y^−∑aHa⪰0},Ma⪰0 for every a,∑aMa=I,F((O^ ∗MaO^)a)=F∗.\begin{gathered} O\succeq0,\qquad \operatorname{Tr}(O^*O)=d^N,\qquad \left\|\left(\frac{O_{x,y}}{\sqrt{d^N}}\right)_{x,y\in X_N}\right\|_2=1,\\ O^*O\succeq0,\qquad E_a\succeq0\ \text{for every }a,\qquad \widehat{O^*O}-\sum_aE_a\succeq0,\qquad \mathcal F(E)=F_*,\\ F_*\text{ belongs to and is at least every element of } \left\{\mathcal F(H): Y\succeq0,\ \operatorname{Tr}Y=d^N,\ H_a\succeq0\ (\forall a),\ \widehat Y-\sum_aH_a\succeq0\right\},\\ M_a\succeq0\ \text{for every }a,\qquad \sum_aM_a=I,\qquad \mathcal F\bigl((\widehat O^{\,*}M_a\widehat O)_a\bigr)=F_*. \end{gathered}O⪰0,Tr(O∗O)=dN,​(dN​Ox,y​​)x,y∈XN​​​2​=1,O∗O⪰0,Ea​⪰0 for every a,O∗O−a∑​Ea​⪰0,F(E)=F∗​,F∗​ belongs to and is at least every element of {F(H):Y⪰0, TrY=dN, Ha​⪰0 (∀a), Y−a∑​Ha​⪰0},Ma​⪰0 for every a,a∑​Ma​=I,F((O∗Ma​O)a​)=F∗​.​

It additionally requires that, for every complex matrix O′O'O′ on XNX_NXN​ and every family Ma′M'_aMa′​ on ZZZ, if Tr⁡((O′)∗O′)=dN\operatorname{Tr}((O')^*O')=d^NTr((O′)∗O′)=dN, every Ma′M'_aMa′​ is positive semidefinite, and ∑aMa′=I\sum_aM'_a=I∑a​Ma′​=I, then

F((O′^ ∗Ma′O′^)a)≤F∗.\mathcal F\bigl((\widehat{O'}^{\,*}M'_a\widehat{O'})_a\bigr)\le F_*.F((O′∗Ma′​O′)a​)≤F∗​.

There is no additional positivity requirement on O′O'O′, and no separate optimal-vector hypothesis on vvv. All divisions are total with division by zero equal to zero, and empty sums equal zero; the real functional calculus gives zero on non-Hermitian inputs. The parameters include K=0K=0K=0 and d=0d=0d=0; when d=0d=0d=0, the resource index set is empty and the required resource-vector norm cannot equal 111.

QAlgorithms.Papers.Independent.Extend50.P27.PBTDualFeasible

For arbitrary natural numbers d,Kd,Kd,K and a complex matrix Ω\OmegaΩ indexed by pairs (u,b)(u,b)(u,b), where u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, this predicate means that Ω\OmegaΩ is Hermitian and that Ω−Sa\Omega-S_aΩ−Sa​ is positive semidefinite for every a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, where

(Sa)(u,b),(v,c)={(dK+1)−1,u(a)=b, v(a)=c, ∀i≠a, u(i)=v(i),0,otherwise.(S_a)_{(u,b),(v,c)} = \begin{cases} (d^{K+1})^{-1},& u(a)=b,\ v(a)=c,\ \forall i\ne a,\ u(i)=v(i),\\ 0,&\text{otherwise}. \end{cases}(Sa​)(u,b),(v,c)​={(dK+1)−1,0,​u(a)=b, v(a)=c, ∀i=a, u(i)=v(i),otherwise.​

The inverse is the complex inverse, including 0−1=00^{-1}=00−1=0. For K=0K=0K=0 there is one positive semidefinite inequality; for d=0d=0d=0 the matrix index set is empty and the predicate holds for its unique matrix.

QAlgorithms.Papers.Independent.Extend50.P27.PBTPrimalFeasible

For natural numbers d,Kd,Kd,K, a complex matrix XXX indexed by functions u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1}, and a family EaE_aEa​, a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, of complex matrices indexed by pairs (u,b)(u,b)(u,b) with b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, this predicate means precisely that XXX is positive semidefinite, tr⁡X=dK+1\operatorname{tr}X=d^{K+1}trX=dK+1 as a complex equality, every EaE_aEa​ is positive semidefinite, and

liftAlice⁡(X)−∑a=0KEais positive semidefinite,liftAlice⁡(X)(u,b),(v,c)={Xu,v,b=c,0,b≠c.\operatorname{liftAlice}(X)-\sum_{a=0}^{K}E_a \quad\text{is positive semidefinite},\qquad \operatorname{liftAlice}(X)_{(u,b),(v,c)} = \begin{cases} X_{u,v},&b=c,\\ 0,&b\ne c. \end{cases}liftAlice(X)−a=0∑K​Ea​is positive semidefinite,liftAlice(X)(u,b),(v,c)​={Xu,v​,0,​b=c,b=c.​

The final condition is an inequality in the positive semidefinite order, rather than an equality. The definition permits K=0K=0K=0; for d=0d=0d=0, all these matrix index sets are empty and the conditions hold for their unique matrices.

QAlgorithms.Papers.Independent.Extend50.P27.Predecessor

For any Young diagrams α\alphaα and μ\muμ, Predecessor⁡(α,μ)\operatorname{Predecessor}(\alpha,\mu)Predecessor(α,μ) means that the cells of α\alphaα form a subset of the cells of μ\muμ, and exactly one cell of μ\muμ is absent from α\alphaα:

α.cells⊆μ.cellsand∣μ.cells∖α.cells∣=1.\alpha.\mathrm{cells}\subseteq\mu.\mathrm{cells} \quad\text{and}\quad |\mu.\mathrm{cells}\setminus\alpha.\mathrm{cells}|=1.α.cells⊆μ.cellsand∣μ.cells∖α.cells∣=1.

The empty diagram is allowed as either argument, although the condition cannot hold when μ\muμ is empty.

QAlgorithms.Papers.Independent.Extend50.P27.SignalIndex

For natural numbers d,Kd,Kd,K, this denotes the set of pairs (u,b)(u,b)(u,b), where u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}. Thus there are K+1K+1K+1 function positions and one additional coordinate. The set is empty when d=0d=0d=0; K=0K=0K=0 gives one function position and the additional coordinate.

QAlgorithms.Papers.Independent.Extend50.P27.absorbedEffects

For arbitrary natural numbers d,Kd,Kd,K, let X={0,…,d−1}{0,…,K}X=\{0,\ldots,d-1\}^{\{0,\ldots,K\}}X={0,…,d−1}{0,…,K} and Z=X×{0,…,d−1}Z=X\times\{0,\ldots,d-1\}Z=X×{0,…,d−1}. Given any complex matrix OOO on XXX, any family MaM_aMa​ of complex matrices on ZZZ, indexed by a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, and any such index aaa, define the lifted matrix by

O^(x,c),(y,e)={Ox,y,c=e,0,c≠e.\widehat O_{(x,c),(y,e)}= \begin{cases}O_{x,y},&c=e,\\0,&c\ne e.\end{cases}O(x,c),(y,e)​={Ox,y​,0,​c=e,c=e.​

The returned matrix is

O^ ∗MaO^,\widehat O^{\,*}M_a\widehat O,O∗Ma​O,

where ∗*∗ is conjugate transpose. No positivity, completeness, normalization, or invertibility assumption is made on OOO or the family MMM; K=0K=0K=0 and d=0d=0d=0, with their resulting singleton outcome set or empty signal index set, are included.

QAlgorithms.Papers.Independent.Extend50.P27.blockPower

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα with KKK cells and first-column length at most ddd, and any real ttt, the definition gives Bα(t)=∑μ: α≺μλα,μ tFα,μB_\alpha(t)=\sum_{\mu:\,\alpha\prec\mu}\lambda_{\alpha,\mu}^{\,t}F_{\alpha,\mu}Bα​(t)=∑μ:α≺μ​λα,μt​Fα,μ​, a complex matrix on Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}; the sum ranges over diagrams μ\muμ of size K+1K+1K+1 with the same height bound, and α≺μ\alpha\prec\muα≺μ means that the cells of α\alphaα are contained in those of μ\muμ and exactly one cell belongs to μ∖α\mu\setminus\alphaμ∖α. The powers are the total real-power function, converted to complex scalars. Here are the full constructions of the summands. For each diagram ν\nuν of size rrr, number its cells using the supplied fixed numbering; let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve their rows and columns, set (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​, and let Sν=range⁡YνS_\nu=\operatorname{range}Y_\nuSν​=rangeYν​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, and Πν\Pi_\nuΠν​ its orthogonal projection. Put Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​ and Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​. In the chosen standard orthonormal basis sis_isi​ of SνS_\nuSν​, define σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩; let mνm_\numν​ be the complex dimension of {H:∀g, Td,r(g)H=Hσν(g)}\{H:\forall g,\ T_{d,r}(g)H=H\sigma_\nu(g)\}{H:∀g, Td,r​(g)H=Hσν​(g)}. Set Iν=Dνr!∑gtr⁡(Lg−1Πν)Td,r(g)I_\nu=\frac{D_\nu}{r!}\sum_g\operatorname{tr}(L_{g^{-1}}\Pi_\nu)T_{d,r}(g)Iν​=r!Dν​​∑g​tr(Lg−1​Πν​)Td,r​(g), I^μ((x,b),(y,c))=1{b=c}Iμ(x,y)\widehat I_\mu((x,b),(y,c))=\mathbf1_{\{b=c\}}I_\mu(x,y)Iμ​((x,b),(y,c))=1{b=c}​Iμ​(x,y), Qα((x,b),(y,c))=1{x(K)=b, y(K)=c}Iα(x∣<K,y∣<K)Q_\alpha((x,b),(y,c))=\mathbf1_{\{x(K)=b,\ y(K)=c\}}I_\alpha(x|_{<K},y|_{<K})Qα​((x,b),(y,c))=1{x(K)=b, y(K)=c}​Iα​(x∣<K​,y∣<K​), and Va((x,b),(y,c))=1{b=c, x=y∘(a K)}V_a((x,b),(y,c))=\mathbf1_{\{b=c,\ x=y\circ(a\,K)\}}Va​((x,b),(y,c))=1{b=c, x=y∘(aK)}​. Finally, γα,μ=(K+1)mμDαmαDμ\gamma_{\alpha,\mu}=\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}γα,μ​=mα​Dμ​(K+1)mμ​Dα​​, λα,μ=γα,μ/dK+1\lambda_{\alpha,\mu}=\gamma_{\alpha,\mu}/d^{K+1}λα,μ​=γα,μ​/dK+1, and Fα,μ=γα,μ−1I^μ(∑a=0KVaQαVa†)I^μF_{\alpha,\mu}=\gamma_{\alpha,\mu}^{-1}\widehat I_\mu(\sum_{a=0}^{K}V_aQ_\alpha V_a^\dagger)\widehat I_\muFα,μ​=γα,μ−1​Iμ​(∑a=0K​Va​Qα​Va†​)Iμ​. Empty sums are zero, zero inverses are zero, and ttt is unrestricted, including zero and negative values.

QAlgorithms.Papers.Independent.Extend50.P27.blockSignal

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα with KKK cells and first-column length at most ddd, and an index a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, the definition produces d−(K+1)VaQαVa†d^{-(K+1)}V_aQ_\alpha V_a^\daggerd−(K+1)Va​Qα​Va†​ on Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}, where the scalar is the complex inverse of dK+1d^{K+1}dK+1. The matrix VaV_aVa​ has entries Va((x,b),(y,c))=1{b=c, x=y∘(a K)}V_a((x,b),(y,c))=\mathbf1_{\{b=c,\ x=y\circ(a\,K)\}}Va​((x,b),(y,c))=1{b=c, x=y∘(aK)}​, with (a K)(a\,K)(aK) the transposition of aaa and KKK. The seed Qα((x,b),(y,c))Q_\alpha((x,b),(y,c))Qα​((x,b),(y,c)) equals Iα(x∣<K,y∣<K)I_\alpha(x|_{<K},y|_{<K})Iα​(x∣<K​,y∣<K​) if x(K)=bx(K)=bx(K)=b and y(K)=cy(K)=cy(K)=c, and zero otherwise. To define IαI_\alphaIα​, use the fixed cell numbering of α\alphaα; let Rα,Cα⊆SKR_\alpha,C_\alpha\subseteq S_KRα​,Cα​⊆SK​ be the permutations preserving the row and column coordinates, and set (Yα)g,h=∑u∈Rα∑v∈Cαsgn⁡(v)1{g=huv}(Y_\alpha)_{g,h}=\sum_{u\in R_\alpha}\sum_{v\in C_\alpha}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yα​)g,h​=∑u∈Rα​​∑v∈Cα​​sgn(v)1{g=huv}​. Let Sα=range⁡Yα⊆CSKS_\alpha=\operatorname{range}Y_\alpha\subseteq\mathbb C^{S_K}Sα​=rangeYα​⊆CSK​, Dα=dim⁡CSαD_\alpha=\dim_{\mathbb C}S_\alphaDα​=dimC​Sα​, and Πα\Pi_\alphaΠα​ its orthogonal projection. With Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​ and Td,K(g)x,y=1{x=y∘g−1}T_{d,K}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,K​(g)x,y​=1{x=y∘g−1}​, put Iα=DαK!∑g∈SKtr⁡(Lg−1Πα)Td,K(g)I_\alpha=\frac{D_\alpha}{K!}\sum_{g\in S_K}\operatorname{tr}(L_{g^{-1}}\Pi_\alpha)T_{d,K}(g)Iα​=K!Dα​​∑g∈SK​​tr(Lg−1​Πα​)Td,K​(g). The definition includes K=0K=0K=0, when a=0a=0a=0 and the swap is the identity. If d=0d=0d=0, the normalizing inverse is zero.

QAlgorithms.Papers.Independent.Extend50.P27.characterTable

For every natural number NNN, this defines a complex matrix whose rows are Young diagrams μ\muμ with NNN cells and at most NNN rows and whose columns are conjugacy classes CCC of SNS_NSN​. To specify its entry, number the cells of μ\muμ using the selected bijection with {0,…,N−1}\{0,\ldots,N-1\}{0,…,N−1}, let Rμ,Cμ⊆SNR_\mu,C_\mu\subseteq S_NRμ​,Cμ​⊆SN​ preserve their rows and columns, set Yμ(g,h)=∑r∈Rμ,c∈Cμ1{g=hrc}sgn⁡(c)Y_\mu(g,h)=\sum_{r\in R_\mu,c\in C_\mu}\mathbf1_{\{g=hrc\}}\operatorname{sgn}(c)Yμ​(g,h)=∑r∈Rμ​,c∈Cμ​​1{g=hrc}​sgn(c), and let Vμ=range⁡(Yμ)⊆CSNV_\mu=\operatorname{range}(Y_\mu)\subseteq\mathbb C^{S_N}Vμ​=range(Yμ​)⊆CSN​. Write PμP_\muPμ​ for the matrix of orthogonal projection onto VμV_\muVμ​, so that Pμ(g,h)=⟨δg,PVμδh⟩P_\mu(g,h)=\langle\delta_g,P_{V_\mu}\delta_h\ranglePμ​(g,h)=⟨δg​,PVμ​​δh​⟩. Choose the representative σ∈SN\sigma\in S_Nσ∈SN​ of CCC supplied by the quotient representative selection, and let Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​. The (μ,C)(\mu,C)(μ,C)-entry is tr⁡(LσPμ)\operatorname{tr}(L_\sigma P_\mu)tr(Lσ​Pμ​). The case N=0N=0N=0 is included: the sole diagram is empty and S0S_0S0​ has one conjugacy class.

QAlgorithms.Papers.Independent.Extend50.P27.coefficientFidelity

For natural numbers d,Kd,Kd,K and any real-valued function ppp on pairs of Young diagrams (α,μ)(\alpha,\mu)(α,μ) of sizes K,K+1K,K+1K,K+1, each with first-column length at most ddd, the definition gives K+1d 2(K+1)+2∑αDαmα(∑μ: α≺μp(α,μ)mμ)2\frac{K+1}{d^{\,2(K+1)+2}}\sum_\alpha\frac{D_\alpha}{m_\alpha}\left(\sum_{\mu:\,\alpha\prec\mu}p(\alpha,\mu)m_\mu\right)^2d2(K+1)+2K+1​∑α​mα​Dα​​(∑μ:α≺μ​p(α,μ)mμ​)2. Here α≺μ\alpha\prec\muα≺μ means that α\alphaα's cells are contained in μ\muμ's cells and their difference contains exactly one cell. For each diagram ν\nuν of size rrr, use its fixed numbering of cells, let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve row and column coordinates, and set (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​, Sν=range⁡Yν⊆CSrS_\nu=\operatorname{range}Y_\nu\subseteq\mathbb C^{S_r}Sν​=rangeYν​⊆CSr​, and Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​. Let Πν\Pi_\nuΠν​ be its orthogonal projection, Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​, and sis_isi​ the chosen standard orthonormal basis of SνS_\nuSν​; put σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩. On words of length rrr over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, put Td,r(g)x,u=1{x=u∘g−1}T_{d,r}(g)_{x,u}=\mathbf1_{\{x=u\circ g^{-1}\}}Td,r​(g)x,u​=1{x=u∘g−1}​. The number mνm_\numν​ is the complex dimension of all matrices HHH satisfying Td,r(g)H=Hσν(g)T_{d,r}(g)H=H\sigma_\nu(g)Td,r​(g)H=Hσν​(g) for every g∈Srg\in S_rg∈Sr​. All arithmetic in the displayed formula is real, and ppp has no sign, normalization, or other restrictions. The definition includes K=0K=0K=0; empty sums and zero-denominator quotients are zero, so the value at d=0d=0d=0 is zero.

QAlgorithms.Papers.Independent.Extend50.P27.coefficientFilter

For natural numbers d,Kd,Kd,K and an arbitrary real-valued function ppp on pairs (α,μ)(\alpha,\mu)(α,μ) of Young diagrams of sizes K,K+1K,K+1K,K+1, each with first-column length at most ddd, the definition produces the complex matrix ∑α∑μ: α≺μp(α,μ)Fα,μ\sum_{\alpha}\sum_{\mu:\,\alpha\prec\mu}p(\alpha,\mu)F_{\alpha,\mu}∑α​∑μ:α≺μ​p(α,μ)Fα,μ​ on Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}. Here α≺μ\alpha\prec\muα≺μ means cell containment with exactly one new cell. To specify Fα,μF_{\alpha,\mu}Fα,μ​, for each diagram ν\nuν of size rrr, use its fixed cell numbering, let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve rows and columns, set (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​, and let Sν=range⁡YνS_\nu=\operatorname{range}Y_\nuSν​=rangeYν​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, and Πν\Pi_\nuΠν​ its orthogonal projection. Define Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​, Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​, and σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩ in the chosen standard orthonormal basis of SνS_\nuSν​. Let mνm_\numν​ be the complex dimension of {H:∀g, Td,r(g)H=Hσν(g)}\{H:\forall g,\ T_{d,r}(g)H=H\sigma_\nu(g)\}{H:∀g, Td,r​(g)H=Hσν​(g)}, and put Iν=Dνr!∑gtr⁡(Lg−1Πν)Td,r(g)I_\nu=\frac{D_\nu}{r!}\sum_g\operatorname{tr}(L_{g^{-1}}\Pi_\nu)T_{d,r}(g)Iν​=r!Dν​​∑g​tr(Lg−1​Πν​)Td,r​(g). On Ω\OmegaΩ, set I^μ((x,b),(y,c))=1{b=c}Iμ(x,y)\widehat I_\mu((x,b),(y,c))=\mathbf1_{\{b=c\}}I_\mu(x,y)Iμ​((x,b),(y,c))=1{b=c}​Iμ​(x,y), Qα((x,b),(y,c))=1{x(K)=b, y(K)=c}Iα(x∣<K,y∣<K)Q_\alpha((x,b),(y,c))=\mathbf1_{\{x(K)=b,\ y(K)=c\}}I_\alpha(x|_{<K},y|_{<K})Qα​((x,b),(y,c))=1{x(K)=b, y(K)=c}​Iα​(x∣<K​,y∣<K​), and Va((x,b),(y,c))=1{b=c, x=y∘(a K)}V_a((x,b),(y,c))=\mathbf1_{\{b=c,\ x=y\circ(a\,K)\}}Va​((x,b),(y,c))=1{b=c, x=y∘(aK)}​. Then Fα,μ=γα,μ−1I^μ(∑a=0KVaQαVa†)I^μF_{\alpha,\mu}=\gamma_{\alpha,\mu}^{-1}\widehat I_\mu(\sum_{a=0}^{K}V_aQ_\alpha V_a^\dagger)\widehat I_\muFα,μ​=γα,μ−1​Iμ​(∑a=0K​Va​Qα​Va†​)Iμ​, where γα,μ=(K+1)mμDαmαDμ\gamma_{\alpha,\mu}=\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}γα,μ​=mα​Dμ​(K+1)mμ​Dα​​. Real coefficients are converted to complex scalars; they have no sign or normalization restrictions. Empty sums and zero-denominator quotients are zero, and K=0K=0K=0 is included.

QAlgorithms.Papers.Independent.Extend50.P27.columnGram

For all natural numbers d,Nd,Nd,N, let BBB be the real matrix whose rows are Young diagrams with N−1N-1N−1 cells and first-column length at most ddd, whose columns are Young diagrams with NNN cells and the same column bound, and whose entry Bα,μB_{\alpha,\mu}Bα,μ​ is one exactly when α\alphaα's cells are contained in μ\muμ's with exactly one additional cell in μ\muμ, and zero otherwise. The matrix columnGram⁡(d,N)\operatorname{columnGram}(d,N)columnGram(d,N) is BTBB^{\mathsf T}BBTB; thus its (μ,ν)(\mu,\nu)(μ,ν) entry counts the row diagrams α\alphaα satisfying that condition with both μ\muμ and ν\nuν. Subtraction N−1N-1N−1 is truncated at zero, and for N=0N=0N=0 this is a one-by-one zero matrix.

QAlgorithms.Papers.Independent.Extend50.P27.completedMeasurement

For arbitrary natural numbers d,Kd,Kd,K, let X={0,…,d−1}{0,…,K}X=\{0,\ldots,d-1\}^{\{0,\ldots,K\}}X={0,…,d−1}{0,…,K} and Z=X×{0,…,d−1}Z=X\times\{0,\ldots,d-1\}Z=X×{0,…,d−1}. Given any complex matrix OOO on XXX, any family EbE_bEb​ of complex matrices on ZZZ for b∈{0,…,K}b\in\{0,\ldots,K\}b∈{0,…,K}, and any a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, let O0†=f(O)O^\dagger_0=f(O)O0†​=f(O) denote the total real continuous functional calculus with f(0)=0f(0)=0f(0)=0 and f(t)=t−1f(t)=t^{-1}f(t)=t−1 for t≠0t\ne0t=0, and define

Q(x,c),(y,e)=1{c=e}(O0†)x,y.Q_{(x,c),(y,e)}=\mathbf1_{\{c=e\}}(O^\dagger_0)_{x,y}.Q(x,c),(y,e)​=1{c=e}​(O0†​)x,y​.

The returned matrix is

Ma=QEaQ+1K+1(I−∑b=0KQEbQ).M_a=QE_aQ+\frac1{K+1} \left(I-\sum_{b=0}^{K}QE_bQ\right).Ma​=QEa​Q+K+11​(I−b=0∑K​QEb​Q).

For Hermitian OOO, O0†O^\dagger_0O0†​ inverts its nonzero eigenvalues; for non-Hermitian OOO, this real functional calculus returns zero. No positivity or completeness hypothesis is imposed on OOO or EEE, and the definition asserts no such property of MMM. The denominator K+1K+1K+1 is always nonzero; when K=0K=0K=0, the sole returned matrix is III.

QAlgorithms.Papers.Independent.Extend50.P27.contractionConstant

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα of size KKK with first-column length at most ddd, and any real yyy, the definition gives 1d∑μ: α≺μλα,μ−1/ymμmα\frac1d\sum_{\mu:\,\alpha\prec\mu}\lambda_{\alpha,\mu}^{-1/y}\frac{m_\mu}{m_\alpha}d1​∑μ:α≺μ​λα,μ−1/y​mα​mμ​​, where μ\muμ ranges over diagrams of size K+1K+1K+1 with the same height bound, α≺μ\alpha\prec\muα≺μ means that α\alphaα's cells are contained in μ\muμ's cells with exactly one additional cell, and λα,μ=((K+1)mμDαmαDμ)/dK+1\lambda_{\alpha,\mu}=\left(\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}\right)/d^{K+1}λα,μ​=(mα​Dμ​(K+1)mμ​Dα​​)/dK+1. These are real quotients and total real powers. For each diagram ν\nuν of size rrr, use its fixed cell numbering, let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve row and column coordinates, and define (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​. Let Sν=range⁡Yν⊆CSrS_\nu=\operatorname{range}Y_\nu\subseteq\mathbb C^{S_r}Sν​=rangeYν​⊆CSr​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, Πν\Pi_\nuΠν​ its orthogonal projection, and Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​. In the chosen standard orthonormal basis sis_isi​ of SνS_\nuSν​, set σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩, and on words of length rrr over ddd symbols set Td,r(g)x,u=1{x=u∘g−1}T_{d,r}(g)_{x,u}=\mathbf1_{\{x=u\circ g^{-1}\}}Td,r​(g)x,u​=1{x=u∘g−1}​. Then mνm_\numν​ is the complex dimension of all matrices HHH satisfying Td,r(g)H=Hσν(g)T_{d,r}(g)H=H\sigma_\nu(g)Td,r​(g)H=Hσν​(g) for every g∈Srg\in S_rg∈Sr​. The definition imposes no sign or nonzero condition on yyy; at y=0y=0y=0 the exponent is zero. Empty sums and divisions by zero are zero, including the outer division when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P27.cycleClassCount

For arbitrary natural numbers N,kN,kN,k, this defines the number of functions ξ:{0,…,N}→{0,…,N}\xi:\{0,\ldots,N\}\to\{0,\ldots,N\}ξ:{0,…,N}→{0,…,N} satisfying ξ(0)=0\xi(0)=0ξ(0)=0, ξ(1)=0\xi(1)=0ξ(1)=0, and k+∑ℓ=0Nℓ ξ(ℓ)=Nk+\sum_{\ell=0}^{N}\ell\,\xi(\ell)=Nk+∑ℓ=0N​ℓξ(ℓ)=N, where the function values in the sum are their natural-number representatives. The argument 111 is interpreted modulo N+1N+1N+1; thus, when N=0N=0N=0, both specified arguments are 000, and the value is 111 if k=0k=0k=0 and 000 otherwise. For every NNN, the value is 000 when k>Nk>Nk>N.

QAlgorithms.Papers.Independent.Extend50.P27.effectFidelity

For arbitrary natural numbers d,Kd,Kd,K and any family EaE_aEa​, a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, of complex matrices indexed by pairs (u,b)(u,b)(u,b) with u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, this defines the real number

1d2∑a=0KRe⁡tr⁡(EaSa),(Sa)(u,b),(v,c)={(dK+1)−1,u(a)=b, v(a)=c, ∀i≠a, u(i)=v(i),0,otherwise.\frac{1}{d^2}\sum_{a=0}^{K}\operatorname{Re}\operatorname{tr}(E_aS_a), \qquad (S_a)_{(u,b),(v,c)} = \begin{cases} (d^{K+1})^{-1},& u(a)=b,\ v(a)=c,\ \forall i\ne a,\ u(i)=v(i),\\ 0,&\text{otherwise}. \end{cases}d21​a=0∑K​Retr(Ea​Sa​),(Sa​)(u,b),(v,c)​={(dK+1)−1,0,​u(a)=b, v(a)=c, ∀i=a, u(i)=v(i),otherwise.​

No positivity, completeness, or normalization condition is imposed on the family EEE. Both inverses and division are total, with division by zero equal to zero; in particular, the defined value is zero when d=0d=0d=0. The case K=0K=0K=0 has one summand.

QAlgorithms.Papers.Independent.Extend50.P27.eprFormula

For any natural numbers d,Kd,Kd,K, the defined real number is 1dK+3∑α(∑μ: α≺μDμmμ)2\frac{1}{d^{K+3}}\sum_\alpha\left(\sum_{\mu:\,\alpha\prec\mu}\sqrt{D_\mu m_\mu}\right)^2dK+31​∑α​(∑μ:α≺μ​Dμ​mμ​​)2, where α\alphaα ranges over Young diagrams with KKK cells and first-column length at most ddd, μ\muμ ranges over diagrams with K+1K+1K+1 cells and the same height bound, and α≺μ\alpha\prec\muα≺μ means cell containment with exactly one new cell. To define Dμ,mμD_\mu,m_\muDμ​,mμ​, write r=K+1r=K+1r=K+1, use the fixed numbering of μ\muμ's cells by {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, and let Rμ,Cμ⊆SrR_\mu,C_\mu\subseteq S_rRμ​,Cμ​⊆Sr​ preserve their row and column coordinates. Set (Yμ)g,h=∑u∈Rμ∑v∈Cμsgn⁡(v)1{g=huv}(Y_\mu)_{g,h}=\sum_{u\in R_\mu}\sum_{v\in C_\mu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yμ​)g,h​=∑u∈Rμ​​∑v∈Cμ​​sgn(v)1{g=huv}​, Sμ=range⁡Yμ⊆CSrS_\mu=\operatorname{range}Y_\mu\subseteq\mathbb C^{S_r}Sμ​=rangeYμ​⊆CSr​, Dμ=dim⁡CSμD_\mu=\dim_{\mathbb C}S_\muDμ​=dimC​Sμ​, and let Πμ\Pi_\muΠμ​ be its orthogonal projection. With Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​ and the chosen standard orthonormal basis sis_isi​ of SμS_\muSμ​, define σμ(g)i,j=⟨si,ΠμLgsj⟩\sigma_\mu(g)_{i,j}=\langle s_i,\Pi_\mu L_gs_j\rangleσμ​(g)i,j​=⟨si​,Πμ​Lg​sj​⟩. On words x,u:{0,…,r−1}→{0,…,d−1}x,u:\{0,\ldots,r-1\}\to\{0,\ldots,d-1\}x,u:{0,…,r−1}→{0,…,d−1}, define Td,r(g)x,u=1{x=u∘g−1}T_{d,r}(g)_{x,u}=\mathbf1_{\{x=u\circ g^{-1}\}}Td,r​(g)x,u​=1{x=u∘g−1}​. Then mμm_\mumμ​ is the complex dimension of the matrix space {H:∀g, Td,r(g)H=Hσμ(g)}\{H:\forall g,\ T_{d,r}(g)H=H\sigma_\mu(g)\}{H:∀g, Td,r​(g)H=Hσμ​(g)}. Dimensions are converted to real numbers before multiplication and square roots. The definition includes K=0K=0K=0; empty sums are zero, and at d=0d=0d=0 the final quotient is zero.

QAlgorithms.Papers.Independent.Extend50.P27.etaBlock

For natural numbers d,Kd,Kd,K, let α\alphaα be a Young diagram with KKK cells and first-column length at most ddd. The definition produces a complex matrix on Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}. Define the matrix IαI_\alphaIα​ as follows. Use the fixed numbering of the cells of α\alphaα by {0,…,K−1}\{0,\ldots,K-1\}{0,…,K−1}; let Rα,Cα⊆SKR_\alpha,C_\alpha\subseteq S_KRα​,Cα​⊆SK​ be the permutations preserving, respectively, the row and column coordinates of the numbered cells. On CSK\mathbb C^{S_K}CSK​, let YαY_\alphaYα​ have entries (Yα)g,h=∑r∈Rα∑c∈Cαsgn⁡(c)1{g=hrc}(Y_\alpha)_{g,h}=\sum_{r\in R_\alpha}\sum_{c\in C_\alpha}\operatorname{sgn}(c)\mathbf1_{\{g=hrc\}}(Yα​)g,h​=∑r∈Rα​​∑c∈Cα​​sgn(c)1{g=hrc}​, let Sα=range⁡YαS_\alpha=\operatorname{range}Y_\alphaSα​=rangeYα​, let Πα\Pi_\alphaΠα​ be the orthogonal projection onto SαS_\alphaSα​, and let LgL_gLg​ have entries (Lg)h,t=1{h=gt}(L_g)_{h,t}=\mathbf1_{\{h=gt\}}(Lg​)h,t​=1{h=gt}​. Write Dα=dim⁡CSαD_\alpha=\dim_{\mathbb C}S_\alphaDα​=dimC​Sα​, and let Td,K(g)x,y=1{x=y∘g−1}T_{d,K}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,K​(g)x,y​=1{x=y∘g−1}​. Then Iα=DαK!∑g∈SKtr⁡(Lg−1Πα)Td,K(g)I_\alpha=\frac{D_\alpha}{K!}\sum_{g\in S_K}\operatorname{tr}(L_{g^{-1}}\Pi_\alpha)T_{d,K}(g)Iα​=K!Dα​​∑g∈SK​​tr(Lg−1​Πα​)Td,K​(g). Define QαQ_\alphaQα​ on Ω\OmegaΩ by Qα((x,b),(y,c))=Iα(x∣{0,…,K−1},y∣{0,…,K−1})Q_\alpha((x,b),(y,c))=I_\alpha(x|_{\{0,\ldots,K-1\}},y|_{\{0,\ldots,K-1\}})Qα​((x,b),(y,c))=Iα​(x∣{0,…,K−1}​,y∣{0,…,K−1}​) when x(K)=bx(K)=bx(K)=b and y(K)=cy(K)=cy(K)=c, and by zero otherwise. For a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, let Va((x,b),(y,c))=1{b=c, x=y∘(a K)}V_a((x,b),(y,c))=\mathbf1_{\{b=c,\ x=y\circ(a\,K)\}}Va​((x,b),(y,c))=1{b=c, x=y∘(aK)}​, where (a K)(a\,K)(aK) swaps aaa and KKK. The defined matrix is ∑a=0KVaQαVa†\sum_{a=0}^{K}V_aQ_\alpha V_a^\dagger∑a=0K​Va​Qα​Va†​. This includes K=0K=0K=0, when the sum has one term and the swap is the identity; no positivity assumption on ddd is imposed.

QAlgorithms.Papers.Independent.Extend50.P27.filterEffects

For any natural numbers d,Kd,Kd,K, any complex matrix PPP indexed by Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}, and any a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, the definition gives the matrix PSaPP S_a PPSa​P, where Sa((x,b),(y,c))S_a((x,b),(y,c))Sa​((x,b),(y,c)) is the complex inverse of dK+1d^{K+1}dK+1 if x(a)=bx(a)=bx(a)=b, y(a)=cy(a)=cy(a)=c, and x(i)=y(i)x(i)=y(i)x(i)=y(i) for every i≠ai\ne ai=a, and is zero otherwise. Both outer factors are PPP itself. There is no assumption that PPP is Hermitian, positive, unitary, or idempotent. The definition includes K=0K=0K=0; if d=0d=0d=0, the index set is empty and the scalar inverse of zero is zero.

QAlgorithms.Papers.Independent.Extend50.P27.fixedCount

For every natural number NNN, including N=0N=0N=0, and every permutation π\piπ of {0,…,N−1}\{0,\ldots,N-1\}{0,…,N−1}, this defines the number of positions fixed by π\piπ: ∣{i:0≤i<N, π(i)=i}∣\bigl|\{i:0\le i<N,\ \pi(i)=i\}\bigr|​{i:0≤i<N, π(i)=i}​. When N=0N=0N=0, the value is 000.

QAlgorithms.Papers.Independent.Extend50.P27.fullMatrix

For every natural number NNN, fullMatrix⁡(N)\operatorname{fullMatrix}(N)fullMatrix(N) is the real matrix indexed by Young diagrams having exactly NNN cells and first-column length at most NNN. At equal indices μ=ν\mu=\nuμ=ν, its entry counts the indices 0≤i<N0\le i<N0≤i<N for which row i+1i+1i+1 of μ\muμ is shorter than row iii, using zero-based row indices and zero lengths for absent rows. At distinct indices its entry is one if each diagram has exactly one cell absent from the other, and zero otherwise. For N=0N=0N=0, it is a one-by-one zero matrix.

QAlgorithms.Papers.Independent.Extend50.P27.heightCorrection

For all natural numbers d,Nd,Nd,N, heightCorrection⁡(d,N)\operatorname{heightCorrection}(d,N)heightCorrection(d,N) is the real diagonal matrix indexed by Young diagrams with N−1N-1N−1 cells and first-column length at most ddd, where N−1N-1N−1 is truncated at zero. Its diagonal entry at α\alphaα is one if the first-column length of α\alphaα is strictly less than ddd, and zero otherwise; all off-diagonal entries are zero. When N=0N=0N=0, the sole index is the empty diagram, and its diagonal entry is one if d>0d>0d>0 and zero if d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P27.incidence

For all natural numbers d,Nd,Nd,N, the real matrix incidence⁡(d,N)\operatorname{incidence}(d,N)incidence(d,N) has rows indexed by Young diagrams α\alphaα with N−1N-1N−1 cells and first-column length at most ddd, and columns indexed by Young diagrams μ\muμ with NNN cells and first-column length at most ddd. Here N−1N-1N−1 is natural-number subtraction, so it equals zero when N=0N=0N=0. Its entry is one precisely when α.cells⊆μ.cells\alpha.\mathrm{cells}\subseteq\mu.\mathrm{cells}α.cells⊆μ.cells and ∣μ.cells∖α.cells∣=1|\mu.\mathrm{cells}\setminus\alpha.\mathrm{cells}|=1∣μ.cells∖α.cells∣=1, and zero otherwise. When N=0N=0N=0, both index sets consist of the empty diagram and the sole entry is zero.

QAlgorithms.Papers.Independent.Extend50.P27.includePermutation

For every natural number KKK, including K=0K=0K=0, and every permutation π\piπ of {0,…,K−1}\{0,\ldots,K-1\}{0,…,K−1}, this defines the permutation π+\pi^+π+ of {0,…,K}\{0,\ldots,K\}{0,…,K} that agrees with π\piπ on the first KKK positions and fixes the last position: π+(i)=π(i)\pi^+(i)=\pi(i)π+(i)=π(i) for i<Ki<Ki<K, and π+(K)=K\pi^+(K)=Kπ+(K)=K. When K=0K=0K=0, this is the identity permutation of the singleton set.

QAlgorithms.Papers.Independent.Extend50.P27.inducedAction

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα with KKK cells and at most ddd rows, and π∈SK+1\pi\in S_{K+1}π∈SK+1​, this defines a matrix indexed by pairs (a,u)(a,u)(a,u) with 0≤a≤K0\le a\le K0≤a≤K and 0≤u<s0\le u<s0≤u<s. Here, using the selected numbering of the cells of α\alphaα, let Rα,Cα⊆SKR_\alpha,C_\alpha\subseteq S_KRα​,Cα​⊆SK​ preserve rows and columns, set Yα(g,h)=∑r∈Rα,c∈Cα1{g=hrc}sgn⁡(c)Y_\alpha(g,h)=\sum_{r\in R_\alpha,c\in C_\alpha}\mathbf1_{\{g=hrc\}}\operatorname{sgn}(c)Yα​(g,h)=∑r∈Rα​,c∈Cα​​1{g=hrc}​sgn(c), and put Vα=range⁡(Yα)⊆CSKV_\alpha=\operatorname{range}(Y_\alpha)\subseteq\mathbb C^{S_K}Vα​=range(Yα​)⊆CSK​ and s=dim⁡CVαs=\dim_{\mathbb C}V_\alphas=dimC​Vα​. With the selected orthonormal basis eue_ueu​ of VαV_\alphaVα​, define Sα(σ)uv=⟨eu,PVαLσev⟩S_\alpha(\sigma)_{uv}=\langle e_u,P_{V_\alpha}L_\sigma e_v\rangleSα​(σ)uv​=⟨eu​,PVα​​Lσ​ev​⟩, where Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​. For a row (a,u)(a,u)(a,u) and column (b,v)(b,v)(b,v), form τ=(a K)π(b K)\tau=(a\ K)\pi(b\ K)τ=(a K)π(b K), with products interpreted as composition, the rightmost permutation acting first. If τ(K)=K\tau(K)=Kτ(K)=K, the matrix entry is Sα(τ∣{0,…,K−1})uvS_\alpha(\tau|_{\{0,\ldots,K-1\}})_{uv}Sα​(τ∣{0,…,K−1}​)uv​; otherwise it is 000. Swapping KKK with itself means the identity. The case K=0K=0K=0 is included.

QAlgorithms.Papers.Independent.Extend50.P27.inductionMultiplicity

For natural numbers d,Kd,Kd,K, a Young diagram μ\muμ with K+1K+1K+1 cells and at most ddd rows, and a Young diagram α\alphaα with KKK cells and at most ddd rows, this defines a complex dimension. For each diagram λ\lambdaλ with nnn cells, use its selected numbering to obtain row-preserving and column-preserving permutation sets Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​, set Yλ(g,h)=∑r∈Rλ,c∈Cλ1{g=hrc}sgn⁡(c)Y_\lambda(g,h)=\sum_{r\in R_\lambda,c\in C_\lambda}\mathbf1_{\{g=hrc\}}\operatorname{sgn}(c)Yλ​(g,h)=∑r∈Rλ​,c∈Cλ​​1{g=hrc}​sgn(c), and let Vλ=range⁡(Yλ)⊆CSnV_\lambda=\operatorname{range}(Y_\lambda)\subseteq\mathbb C^{S_n}Vλ​=range(Yλ​)⊆CSn​. Put sλ=dim⁡CVλs_\lambda=\dim_{\mathbb C}V_\lambdasλ​=dimC​Vλ​, and define Sλ(σ)uv=⟨euλ,PVλLσevλ⟩S_\lambda(\sigma)_{uv}=\langle e^\lambda_u,P_{V_\lambda}L_\sigma e^\lambda_v\rangleSλ​(σ)uv​=⟨euλ​,PVλ​​Lσ​evλ​⟩ in the selected orthonormal basis, with Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​. For π∈SK+1\pi\in S_{K+1}π∈SK+1​, define Dα(π)D_\alpha(\pi)Dα​(π), indexed by (a,u)∈{0,…,K}×{0,…,sα−1}(a,u)\in\{0,\ldots,K\}\times\{0,\ldots,s_\alpha-1\}(a,u)∈{0,…,K}×{0,…,sα​−1}, by setting its ((a,u),(b,v))((a,u),(b,v))((a,u),(b,v))-entry to Sα(τ∣{0,…,K−1})uvS_\alpha(\tau|_{\{0,\ldots,K-1\}})_{uv}Sα​(τ∣{0,…,K−1}​)uv​ if τ=(a K)π(b K)\tau=(a\ K)\pi(b\ K)τ=(a K)π(b K) fixes KKK, and to 000 otherwise. The defined number is dim⁡C{T∈C((K+1)sα)×sμ:∀π∈SK+1, Dα(π)T=TSμ(π)}\dim_{\mathbb C}\{T\in\mathbb C^{((K+1)s_\alpha)\times s_\mu}:\forall\pi\in S_{K+1},\ D_\alpha(\pi)T=TS_\mu(\pi)\}dimC​{T∈C((K+1)sα​)×sμ​:∀π∈SK+1​, Dα​(π)T=TSμ​(π)}. The case K=0K=0K=0 is included whenever the diagrams exist.

QAlgorithms.Papers.Independent.Extend50.P27.irrepDim

For natural numbers d,Nd,Nd,N, and a Young diagram μ\muμ consisting of NNN cells and having at most ddd rows, this defines a natural number as follows. Let SNS_NSN​ be the permutation group on {0,…,N−1}\{0,\ldots,N-1\}{0,…,N−1}, use the cell-to-position bijection selected in the definition to number the cells of μ\muμ, and let Rμ,Cμ⊆SNR_\mu,C_\mu\subseteq S_NRμ​,Cμ​⊆SN​ be the permutations preserving, respectively, the row and column of every numbered cell. Form the matrix YμY_\muYμ​, indexed by SN×SNS_N\times S_NSN​×SN​, with entries Yμ(g,h)=∑a∈Rμ∑b∈Cμ1{g=hab}sgn⁡(b)Y_\mu(g,h)=\sum_{a\in R_\mu}\sum_{b\in C_\mu}\mathbf1_{\{g=hab\}}\operatorname{sgn}(b)Yμ​(g,h)=∑a∈Rμ​​∑b∈Cμ​​1{g=hab}​sgn(b), where the signs are regarded as complex numbers. The defined number is dim⁡Crange⁡(Yμ)\dim_{\mathbb C}\operatorname{range}(Y_\mu)dimC​range(Yμ​), with YμY_\muYμ​ acting on the complex Euclidean space indexed by SNS_NSN​. Zero values of d,Nd,Nd,N are allowed whenever such a diagram exists; for N=0N=0N=0, the diagram is empty, S0S_0S0​ is a singleton, and this dimension is 111.

QAlgorithms.Papers.Independent.Extend50.P27.lambdaValue

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα of size KKK and a Young diagram μ\muμ of size K+1K+1K+1, each with first-column length at most ddd, the definition gives the real number λα,μ=((K+1)mμDαmαDμ)/dK+1\lambda_{\alpha,\mu}=\left(\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}\right)/d^{K+1}λα,μ​=(mα​Dμ​(K+1)mμ​Dα​​)/dK+1. To define its dimensions, for each such diagram ν\nuν of size rrr, fix the supplied cell numbering by {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ be the permutations preserving row and column coordinates, and set (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​. Let Sν=range⁡Yν⊆CSrS_\nu=\operatorname{range}Y_\nu\subseteq\mathbb C^{S_r}Sν​=rangeYν​⊆CSr​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, and Πν\Pi_\nuΠν​ its orthogonal projection. With Lg(h,t)=1{h=gt}L_g(h,t)=\mathbf1_{\{h=gt\}}Lg​(h,t)=1{h=gt}​ and the chosen standard orthonormal basis sis_isi​ of SνS_\nuSν​, put σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩. On words of length rrr over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}, put Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​. The number mνm_\numν​ is the complex dimension of all matrices FFF satisfying Td,r(g)F=Fσν(g)T_{d,r}(g)F=F\sigma_\nu(g)Td,r​(g)F=Fσν​(g) for every g∈Srg\in S_rg∈Sr​. Arithmetic in the displayed formula is real arithmetic, with zero denominators yielding zero. No predecessor relation is assumed. The definition includes K=0K=0K=0; d=0d=0d=0 admits no μ\muμ of the required size.

QAlgorithms.Papers.Independent.Extend50.P27.liftAlice

For arbitrary natural numbers d,Kd,Kd,K and any complex matrix AAA indexed by functions u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1}, this defines a complex matrix on pairs (u,b)(u,b)(u,b), with b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, by

liftAlice⁡(A)(u,b),(v,c)={Au,v,b=c,0,b≠c.\operatorname{liftAlice}(A)_{(u,b),(v,c)} = \begin{cases} A_{u,v},&b=c,\\ 0,&b\ne c. \end{cases}liftAlice(A)(u,b),(v,c)​={Au,v​,0,​b=c,b=c.​

No positivity or normalization is required of AAA. The definition includes K=0K=0K=0, and for d=0d=0d=0 its matrix index set is empty.

QAlgorithms.Papers.Independent.Extend50.P27.maxRowSum

For any finite type III, equipped with a finite enumeration, and any real matrix A=(Aij)i,j∈IA=(A_{ij})_{i,j\in I}A=(Aij​)i,j∈I​, this defines the real number sup⁡{∑j∈I∣Aij∣:i∈I}\sup\{\sum_{j\in I}|A_{ij}|:i\in I\}sup{∑j∈I​∣Aij​∣:i∈I}. If III is nonempty, this is the largest absolute row sum. If III is empty, the set whose supremum is taken is empty, and the defined real value is 000.

QAlgorithms.Papers.Independent.Extend50.P27.optimalFilter

For arbitrary natural numbers d,Kd,Kd,K, put N=K+1N=K+1N=K+1, let Xr={0,…,d−1}{0,…,r−1}X_r=\{0,\ldots,d-1\}^{\{0,\ldots,r-1\}}Xr​={0,…,d−1}{0,…,r−1}, and let Pd,r\mathcal P_{d,r}Pd,r​ consist of Young diagrams with rrr boxes and at most ddd rows. The input is any real function v:Pd,N→Rv:\mathcal P_{d,N}\to\mathbb Rv:Pd,N​→R. The matrices and dimensions used in the definition are obtained as follows. For each diagram λ\lambdaλ, use the chosen bijection between its boxes and {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}; let Rλ,Cλ⊆SrR_\lambda,C_\lambda\subseteq S_rRλ​,Cλ​⊆Sr​ be the permutations preserving, respectively, each box’s row and column. On CSr\mathbb C^{S_r}CSr​, define

(Yλ)g,h=∑a∈Rλ∑b∈Cλ1{g=hab}sgn⁡(b),(Y_\lambda)_{g,h} =\sum_{a\in R_\lambda}\sum_{b\in C_\lambda} \mathbf1_{\{g=hab\}}\operatorname{sgn}(b),(Yλ​)g,h​=a∈Rλ​∑​b∈Cλ​∑​1{g=hab}​sgn(b),

let Sλ=range⁡YλS_\lambda=\operatorname{range}Y_\lambdaSλ​=rangeYλ​, rλ=dim⁡CSλr_\lambda=\dim_{\mathbb C}S_\lambdarλ​=dimC​Sλ​, and let Πλ\Pi_\lambdaΠλ​ be its orthogonal projection. Write Lgeh=eghL_g e_h=e_{gh}Lg​eh​=egh​, χλ(g)=Tr⁡(LgΠλ)\chi_\lambda(g)=\operatorname{Tr}(L_g\Pi_\lambda)χλ​(g)=Tr(Lg​Πλ​), and let Dλ(g)D_\lambda(g)Dλ​(g) be the matrix of the compressed operator ΠλLg∣Sλ\Pi_\lambda L_g|_{S_\lambda}Πλ​Lg​∣Sλ​​ in the chosen standard orthonormal basis of SλS_\lambdaSλ​. Define

(Tg)y,x=1{y=x∘g−1},Jλ=rλr!∑g∈Srχλ(g−1)Tg,mλ=dim⁡C{Z:TgZ=ZDλ(g) for every g∈Sr}.(T_g)_{y,x}=\mathbf1_{\{y=x\circ g^{-1}\}},\qquad J_\lambda=\frac{r_\lambda}{r!}\sum_{g\in S_r}\chi_\lambda(g^{-1})T_g,\qquad m_\lambda=\dim_{\mathbb C}\{Z:T_gZ=ZD_\lambda(g)\text{ for every }g\in S_r\}.(Tg​)y,x​=1{y=x∘g−1}​,Jλ​=r!rλ​​g∈Sr​∑​χλ​(g−1)Tg​,mλ​=dimC​{Z:Tg​Z=ZDλ​(g) for every g∈Sr​}.

Here ZZZ ranges over matrices from Crλ\mathbb C^{r_\lambda}Crλ​ to CXr\mathbb C^{X_r}CXr​. On the signal index set XN×{0,…,d−1}X_N\times\{0,\ldots,d-1\}XN​×{0,…,d−1}, write A^(x,c),(y,e)=1{c=e}Ax,y\widehat A_{(x,c),(y,e)}=\mathbf1_{\{c=e\}}A_{x,y}A(x,c),(y,e)​=1{c=e}​Ax,y​. For α∈Pd,K\alpha\in\mathcal P_{d,K}α∈Pd,K​, set

(Bα)(x,c),(y,e)={(Jα)x∣K,y∣K,xK=c and yK=e,0,otherwise,Hα=∑a=0KVaBαVa∗,Va=T(a K)^,(B_\alpha)_{(x,c),(y,e)} =\begin{cases} (J_\alpha)_{x|_K,y|_K},&x_K=c\text{ and }y_K=e,\\ 0,&\text{otherwise}, \end{cases} \quad H_\alpha=\sum_{a=0}^{K}V_aB_\alpha V_a^*, \quad V_a=\widehat{T_{(a\,K)}},(Bα​)(x,c),(y,e)​={(Jα​)x∣K​,y∣K​​,0,​xK​=c and yK​=e,otherwise,​Hα​=a=0∑K​Va​Bα​Va∗​,Va​=T(aK)​​,

and, for μ∈Pd,N\mu\in\mathcal P_{d,N}μ∈Pd,N​, set

γα,μ=N mμrαmαrμ,Fα,μ=γα,μ−1J^μHαJ^μ.\gamma_{\alpha,\mu} =\frac{N\,m_\mu r_\alpha}{m_\alpha r_\mu}, \qquad F_{\alpha,\mu} =\gamma_{\alpha,\mu}^{-1}\widehat J_\mu H_\alpha\widehat J_\mu.γα,μ​=mα​rμ​Nmμ​rα​​,Fα,μ​=γα,μ−1​Jμ​Hα​Jμ​.

The defined filter is the complex matrix

∑α∈Pd,K∑μ∈Pd,N1{α⊆μ, ∣μ∖α∣=1}(dNNmαrα vμmμ)Fα,μ.\sum_{\alpha\in\mathcal P_{d,K}}\sum_{\mu\in\mathcal P_{d,N}} \mathbf1_{\{\alpha\subseteq\mu,\ |\mu\setminus\alpha|=1\}} \left( \frac{d^N}{\sqrt N} \sqrt{\frac{m_\alpha}{r_\alpha}}\, \frac{v_\mu}{m_\mu} \right)F_{\alpha,\mu}.α∈Pd,K​∑​μ∈Pd,N​∑​1{α⊆μ, ∣μ∖α∣=1}​(N​dN​rα​mα​​​mμ​vμ​​)Fα,μ​.

All scalar coefficients in this expression are computed in R\mathbb RR and then embedded in C\mathbb CC. No normalization, positivity, or eigenvector condition is imposed on vvv; divisions and inverses are total, with division by zero equal to zero, and empty sums equal zero.

QAlgorithms.Papers.Independent.Extend50.P27.optimalResourceOperator

For arbitrary natural numbers d,Nd,Nd,N, let X={0,…,d−1}{0,…,N−1}X=\{0,\ldots,d-1\}^{\{0,\ldots,N-1\}}X={0,…,d−1}{0,…,N−1} and let Pd,N\mathcal P_{d,N}Pd,N​ consist of Young diagrams with NNN boxes and at most ddd rows. For each such μ\muμ, use the chosen numbering of its boxes by {0,…,N−1}\{0,\ldots,N-1\}{0,…,N−1}, and let Rμ,Cμ⊆SNR_\mu,C_\mu\subseteq S_NRμ​,Cμ​⊆SN​ consist of the permutations preserving row and column coordinates, respectively. Let Sμ⊆CSNS_\mu\subseteq\mathbb C^{S_N}Sμ​⊆CSN​ be the range of the matrix

(Yμ)g,h=∑a∈Rμ∑b∈Cμ1{g=hab}sgn⁡(b),(Y_\mu)_{g,h} =\sum_{a\in R_\mu}\sum_{b\in C_\mu} \mathbf1_{\{g=hab\}}\operatorname{sgn}(b),(Yμ​)g,h​=a∈Rμ​∑​b∈Cμ​∑​1{g=hab}​sgn(b),

put rμ=dim⁡CSμr_\mu=\dim_{\mathbb C}S_\murμ​=dimC​Sμ​, and let Πμ\Pi_\muΠμ​ be the orthogonal projection onto SμS_\muSμ​. For Lgeh=eghL_g e_h=e_{gh}Lg​eh​=egh​, put χμ(g)=Tr⁡(LgΠμ)\chi_\mu(g)=\operatorname{Tr}(L_g\Pi_\mu)χμ​(g)=Tr(Lg​Πμ​), and let Dμ(g)D_\mu(g)Dμ​(g) be the matrix of ΠμLg∣Sμ\Pi_\mu L_g|_{S_\mu}Πμ​Lg​∣Sμ​​ in its chosen standard orthonormal basis. Define Tg(y,x)=1{y=x∘g−1}T_g(y,x)=\mathbf1_{\{y=x\circ g^{-1}\}}Tg​(y,x)=1{y=x∘g−1}​ on XXX, and set

Jμ=rμN!∑g∈SNχμ(g−1)Tg,mμ=dim⁡C{Z:TgZ=ZDμ(g) for every g∈SN},J_\mu=\frac{r_\mu}{N!}\sum_{g\in S_N}\chi_\mu(g^{-1})T_g,\qquad m_\mu=\dim_{\mathbb C}\{Z:T_gZ=ZD_\mu(g)\text{ for every }g\in S_N\},Jμ​=N!rμ​​g∈SN​∑​χμ​(g−1)Tg​,mμ​=dimC​{Z:Tg​Z=ZDμ​(g) for every g∈SN​},

where Z:Crμ→CXZ:\mathbb C^{r_\mu}\to\mathbb C^XZ:Crμ​→CX is linear. For any real function v:Pd,N→Rv:\mathcal P_{d,N}\to\mathbb Rv:Pd,N​→R, the definition returns the complex matrix on XXX

Ov=∑μ∈Pd,NdN vμrμmμ Jμ,O_v=\sum_{\mu\in\mathcal P_{d,N}} \frac{\sqrt{d^N}\,v_\mu}{\sqrt{r_\mu m_\mu}}\,J_\mu,Ov​=μ∈Pd,N​∑​rμ​mμ​​dN​vμ​​Jμ​,

with each real coefficient embedded in C\mathbb CC. There are no conditions on vvv, and the definition itself asserts no positivity or normalization of OvO_vOv​. Zero denominators give zero coefficients, empty sums give zero, and N=0N=0N=0 is included with d0=1d^0=1d0=1, even when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P27.pbtBellEmbedding

For arbitrary natural numbers d,Kd,Kd,K, the definition gives a complex matrix with rows indexed by pairs (x,c)(x,c)(x,c), where x:{0,…,K}→{0,…,d−1}x:\{0,\ldots,K\}\to\{0,\ldots,d-1\}x:{0,…,K}→{0,…,d−1} and c∈{0,…,d−1}c\in\{0,\ldots,d-1\}c∈{0,…,d−1}, and columns indexed by y:{0,…,K−1}→{0,…,d−1}y:\{0,\ldots,K-1\}\to\{0,\ldots,d-1\}y:{0,…,K−1}→{0,…,d−1}. Its entries are

B(x,c),y={(d)−1,xi=yi for every 0≤i<K, and xK=c,0,otherwise.B_{(x,c),y}= \begin{cases} (\sqrt d)^{-1},& x_i=y_i\text{ for every }0\le i<K,\ \text{and }x_K=c,\\ 0,&\text{otherwise}. \end{cases}B(x,c),y​={(d​)−1,0,​xi​=yi​ for every 0≤i<K, and xK​=c,otherwise.​

The nonzero entry is a real scalar embedded in C\mathbb CC. No positive-dimension hypothesis is required and no isometry property is asserted. For K=0K=0K=0, the column index set is a singleton and the prefix condition is vacuous; for d=0d=0d=0, there are no row indices, and the scalar inverse of 0\sqrt00​ is nevertheless defined as zero.

QAlgorithms.Papers.Independent.Extend50.P27.pbtDualObjective

For natural numbers d,Kd,Kd,K and any complex matrix Ω\OmegaΩ indexed by pairs (u,b)(u,b)(u,b), where u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, form the matrix BBB on the function indices by

Bu,v=∑b=0d−1Ω(u,b),(v,b).B_{u,v}=\sum_{b=0}^{d-1}\Omega_{(u,b),(v,b)}.Bu,v​=b=0∑d−1​Ω(u,b),(v,b)​.

The defined objective is

dK+1d2 sup⁡{λ∈R:λI−B is not invertible}.\frac{d^{K+1}}{d^2}\, \sup\{\lambda\in\mathbb R:\lambda I-B\text{ is not invertible}\}.d2dK+1​sup{λ∈R:λI−B is not invertible}.

Thus the supremum is over the real spectrum of this partial trace. No Hermitian or feasibility hypothesis is imposed on Ω\OmegaΩ. The real supremum uses the total convention that an empty or unbounded-above set has supremum zero, and division by zero is zero. In particular, the objective is zero for d=0d=0d=0; K=0K=0K=0 is also included.

QAlgorithms.Papers.Independent.Extend50.P27.pbtDualValues

For natural numbers d,Kd,Kd,K, this is the set of real numbers fff for which there exists a Hermitian complex matrix Ω\OmegaΩ on A×{0,…,d−1}\mathcal A\times\{0,\ldots,d-1\}A×{0,…,d−1}, where A={u:{0,…,K}→{0,…,d−1}}\mathcal A=\{u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}\}A={u:{0,…,K}→{0,…,d−1}}, satisfying Ω−Sa⪰0\Omega-S_a\succeq0Ω−Sa​⪰0 for every a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, and

f=dK+1d2sup⁡Spec⁡R(B),Bu,v=∑b=0d−1Ω(u,b),(v,b).f=\frac{d^{K+1}}{d^2}\sup\operatorname{Spec}_{\mathbb R}(B), \qquad B_{u,v}=\sum_{b=0}^{d-1}\Omega_{(u,b),(v,b)}.f=d2dK+1​supSpecR​(B),Bu,v​=b=0∑d−1​Ω(u,b),(v,b)​.

Here Spec⁡R(B)={λ∈R:λI−B is not invertible}\operatorname{Spec}_{\mathbb R}(B)=\{\lambda\in\mathbb R:\lambda I-B\text{ is not invertible}\}SpecR​(B)={λ∈R:λI−B is not invertible}, and (Sa)(u,b),(v,c)=(dK+1)−1(S_a)_{(u,b),(v,c)}=(d^{K+1})^{-1}(Sa​)(u,b),(v,c)​=(dK+1)−1 precisely when u(a)=bu(a)=bu(a)=b, v(a)=cv(a)=cv(a)=c, and u(i)=v(i)u(i)=v(i)u(i)=v(i) for every i≠ai\ne ai=a, with all other entries zero. Positive semidefiniteness is denoted by ⪰0\succeq0⪰0. Inverses and division by zero are zero, and real suprema use zero for empty or unbounded-above sets. The definition includes K=0K=0K=0; for d=0d=0d=0, the resulting set is {0}\{0\}{0}.

QAlgorithms.Papers.Independent.Extend50.P27.pbtGammaValue

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα with KKK cells and first-column length at most ddd, and a Young diagram μ\muμ with K+1K+1K+1 cells and the same height bound, the defined real number is γα,μ=(K+1)mμDαmαDμ\gamma_{\alpha,\mu}=\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}γα,μ​=mα​Dμ​(K+1)mμ​Dα​​. Here, for either diagram λ\lambdaλ of size rrr, use its fixed numbering of cells by {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, and let Rλ,Cλ⊆SrR_\lambda,C_\lambda\subseteq S_rRλ​,Cλ​⊆Sr​ preserve the row and column coordinates of those cells. Define (Yλ)g,h=∑u∈Rλ∑v∈Cλsgn⁡(v)1{g=huv}(Y_\lambda)_{g,h}=\sum_{u\in R_\lambda}\sum_{v\in C_\lambda}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yλ​)g,h​=∑u∈Rλ​​∑v∈Cλ​​sgn(v)1{g=huv}​, Sλ=range⁡Yλ⊆CSrS_\lambda=\operatorname{range}Y_\lambda\subseteq\mathbb C^{S_r}Sλ​=rangeYλ​⊆CSr​, and Dλ=dim⁡CSλD_\lambda=\dim_{\mathbb C}S_\lambdaDλ​=dimC​Sλ​. Let Πλ\Pi_\lambdaΠλ​ be the orthogonal projection onto this range, LgL_gLg​ the matrix with entries 1{h=gt}\mathbf1_{\{h=gt\}}1{h=gt}​, and s0,…,sDλ−1s_0,\ldots,s_{D_\lambda-1}s0​,…,sDλ​−1​ its chosen standard orthonormal basis. Define σλ(g)i,j=⟨si,ΠλLgsj⟩\sigma_\lambda(g)_{i,j}=\langle s_i,\Pi_\lambda L_gs_j\rangleσλ​(g)i,j​=⟨si​,Πλ​Lg​sj​⟩, and Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​ on words x,y:{0,…,r−1}→{0,…,d−1}x,y:\{0,\ldots,r-1\}\to\{0,\ldots,d-1\}x,y:{0,…,r−1}→{0,…,d−1}. Then mλm_\lambdamλ​ is the complex dimension of the space of matrices FFF satisfying Td,r(g)F=Fσλ(g)T_{d,r}(g)F=F\sigma_\lambda(g)Td,r​(g)F=Fσλ​(g) for every g∈Srg\in S_rg∈Sr​. All natural-number dimensions in the fraction are converted to real numbers. No predecessor relation between α\alphaα and μ\muμ is required, and division by a zero denominator has value zero. The parameter KKK may be zero; when d=0d=0d=0, no diagram μ\muμ of the required positive size exists.

QAlgorithms.Papers.Independent.Extend50.P27.pbtIntertwinerSpace

For arbitrary types G,I,JG,I,JG,I,J, with III and JJJ finite and equipped with finite enumerations, and arbitrary functions A:G→CI×IA:G\to\mathbb C^{I\times I}A:G→CI×I and B:G→CJ×JB:G\to\mathbb C^{J\times J}B:G→CJ×J, this defines the complex linear subspace {T∈CJ×I:∀g∈G, B(g)T=TA(g)}\{T\in\mathbb C^{J\times I}:\forall g\in G,\ B(g)T=TA(g)\}{T∈CJ×I:∀g∈G, B(g)T=TA(g)}. No group structure on GGG, representation identities, or unitarity assumptions on A,BA,BA,B are required. If GGG is empty, the condition is vacuous and the subspace contains every J×IJ\times IJ×I matrix; empty III or JJJ are also permitted.

QAlgorithms.Papers.Independent.Extend50.P27.pbtOptimalFidelity

For natural numbers d,Nd,Nd,N, put K=max⁡(N−1,0)K=\max(N-1,0)K=max(N−1,0), using subtraction truncated at zero. This defines the real supremum of the values

∑a=0KRe⁡tr⁡(EaSa)d2\frac{\sum_{a=0}^{K}\operatorname{Re}\operatorname{tr}(E_aS_a)}{d^2}d2∑a=0K​Retr(Ea​Sa​)​

over all complex matrices XXX indexed by A={u:{0,…,K}→{0,…,d−1}}\mathcal A=\{u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}\}A={u:{0,…,K}→{0,…,d−1}} and families EaE_aEa​ indexed by A×{0,…,d−1}\mathcal A\times\{0,\ldots,d-1\}A×{0,…,d−1} satisfying X⪰0X\succeq0X⪰0, tr⁡X=dK+1\operatorname{tr}X=d^{K+1}trX=dK+1, Ea⪰0E_a\succeq0Ea​⪰0 for every aaa, and X⊗Id−∑aEa⪰0X\otimes I_d-\sum_aE_a\succeq0X⊗Id​−∑a​Ea​⪰0. Here X⊗IdX\otimes I_dX⊗Id​ has entry Xu,vX_{u,v}Xu,v​ when the additional coordinates agree and zero otherwise, while (Sa)(u,b),(v,c)=(dK+1)−1(S_a)_{(u,b),(v,c)}=(d^{K+1})^{-1}(Sa​)(u,b),(v,c)​=(dK+1)−1 when u(a)=bu(a)=bu(a)=b, v(a)=cv(a)=cv(a)=c, and u(i)=v(i)u(i)=v(i)u(i)=v(i) for every i≠ai\ne ai=a, and is zero otherwise. The definition takes a supremum and does not assert that it is attained. In particular, N=0N=0N=0 and N=1N=1N=1 both use K=0K=0K=0, hence one selected position. Division by zero is zero, and the value is zero for d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P27.pbtSignal

For natural numbers d,Kd,Kd,K and a selected position a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, this defines a complex matrix SaS_aSa​ indexed by pairs (u,b)(u,b)(u,b), where u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, with entries

(Sa)(u,b),(v,c)={(dK+1)−1,u(a)=b, v(a)=c, and u(i)=v(i) for every i≠a,0,otherwise.(S_a)_{(u,b),(v,c)} = \begin{cases} (d^{K+1})^{-1},& u(a)=b,\ v(a)=c,\ \text{and }u(i)=v(i)\text{ for every }i\ne a,\\ 0,&\text{otherwise}. \end{cases}(Sa​)(u,b),(v,c)​={(dK+1)−1,0,​u(a)=b, v(a)=c, and u(i)=v(i) for every i=a,otherwise.​

The inverse is taken in C\mathbb CC, where 0−1=00^{-1}=00−1=0. When K=0K=0K=0, the agreement condition away from aaa is vacuous; when d=0d=0d=0, the matrix index set is empty.

QAlgorithms.Papers.Independent.Extend50.P27.physicalProjector

For natural numbers d,Kd,Kd,K, let α,μ\alpha,\muα,μ be Young diagrams of sizes K,K+1K,K+1K,K+1, respectively, with first-column lengths at most ddd. For a diagram ν\nuν of size rrr, use its fixed cell numbering and let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve cell rows and columns. Set (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​, Sν=range⁡YνS_\nu=\operatorname{range}Y_\nuSν​=rangeYν​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, and let Πν\Pi_\nuΠν​ be its orthogonal projection. Write Lg(h,t)=1{h=gt}L_g(h,t)=\mathbf1_{\{h=gt\}}Lg​(h,t)=1{h=gt}​, Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​, and, in the chosen standard orthonormal basis sis_isi​ of SνS_\nuSν​, σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩. Let mνm_\numν​ be the complex dimension of the matrix space {F:∀g, Td,r(g)F=Fσν(g)}\{F:\forall g,\ T_{d,r}(g)F=F\sigma_\nu(g)\}{F:∀g, Td,r​(g)F=Fσν​(g)}, and define Iν=Dνr!∑g∈Srtr⁡(Lg−1Πν)Td,r(g)I_\nu=\frac{D_\nu}{r!}\sum_{g\in S_r}\operatorname{tr}(L_{g^{-1}}\Pi_\nu)T_{d,r}(g)Iν​=r!Dν​​∑g∈Sr​​tr(Lg−1​Πν​)Td,r​(g). On Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}, let I^μ((x,b),(y,c))=1{b=c}Iμ(x,y)\widehat I_\mu((x,b),(y,c))=\mathbf1_{\{b=c\}}I_\mu(x,y)Iμ​((x,b),(y,c))=1{b=c}​Iμ​(x,y). Let Qα((x,b),(y,c))Q_\alpha((x,b),(y,c))Qα​((x,b),(y,c)) equal Iα(x∣<K,y∣<K)I_\alpha(x|_{<K},y|_{<K})Iα​(x∣<K​,y∣<K​) if x(K)=bx(K)=bx(K)=b and y(K)=cy(K)=cy(K)=c, and zero otherwise, and put Va((x,b),(y,c))=1{b=c, x=y∘(a K)}V_a((x,b),(y,c))=\mathbf1_{\{b=c,\ x=y\circ(a\,K)\}}Va​((x,b),(y,c))=1{b=c, x=y∘(aK)}​. The defined matrix is γα,μ−1I^μ(∑a=0KVaQαVa†)I^μ\gamma_{\alpha,\mu}^{-1}\widehat I_\mu\left(\sum_{a=0}^{K}V_aQ_\alpha V_a^\dagger\right)\widehat I_\muγα,μ−1​Iμ​(∑a=0K​Va​Qα​Va†​)Iμ​, where γα,μ=(K+1)mμDαmαDμ\gamma_{\alpha,\mu}=\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}γα,μ​=mα​Dμ​(K+1)mμ​Dα​​, viewed as a complex scalar in this expression. No predecessor relation is assumed. Zero inverses and zero-denominator quotients are zero, so γα,μ=0\gamma_{\alpha,\mu}=0γα,μ​=0 makes the defined matrix zero. The definition itself asserts no idempotence or orthogonality property.

QAlgorithms.Papers.Independent.Extend50.P27.positiveInverse

For any finite type III equipped with decidable equality, including an empty type, and any complex matrix AAA indexed by I×II\times II×I, the definition applies the total real continuous functional calculus to AAA with the scalar function

f(t)={0,t=0,t−1,t≠0.f(t)= \begin{cases} 0,&t=0,\\ t^{-1},&t\ne0. \end{cases}f(t)={0,t−1,​t=0,t=0.​

For Hermitian AAA, this replaces each nonzero eigenvalue by its reciprocal and leaves each zero eigenvalue at zero; negative eigenvalues are also inverted. No Hermitian, positive semidefinite, or invertibility hypothesis is imposed. For a non-Hermitian matrix, the real continuous functional calculus used here returns its default value, the zero matrix.

QAlgorithms.Papers.Independent.Extend50.P27.powerEffects

For natural numbers d,Kd,Kd,K, arbitrary functions z,yz,yz,y from the Young diagrams of size KKK and first-column length at most ddd to R\mathbb RR, and a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, the definition gives ∑αz(α)Bα(−1/y(α))Sα,aBα(−1/y(α))\sum_\alpha z(\alpha)B_\alpha(-1/y(\alpha))S_{\alpha,a}B_\alpha(-1/y(\alpha))∑α​z(α)Bα​(−1/y(α))Sα,a​Bα​(−1/y(α)) on Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}\Omega=(\{0,\ldots,K\}\to\{0,\ldots,d-1\})\times\{0,\ldots,d-1\}Ω=({0,…,K}→{0,…,d−1})×{0,…,d−1}, with real scalars converted to complex scalars. The complete constructions are as follows. For each diagram ν\nuν of size rrr, use its fixed cell numbering, let Rν,Cν⊆SrR_\nu,C_\nu\subseteq S_rRν​,Cν​⊆Sr​ preserve rows and columns, and define (Yν)g,h=∑u∈Rν∑v∈Cνsgn⁡(v)1{g=huv}(Y_\nu)_{g,h}=\sum_{u\in R_\nu}\sum_{v\in C_\nu}\operatorname{sgn}(v)\mathbf1_{\{g=huv\}}(Yν​)g,h​=∑u∈Rν​​∑v∈Cν​​sgn(v)1{g=huv}​, Sν=range⁡YνS_\nu=\operatorname{range}Y_\nuSν​=rangeYν​, Dν=dim⁡CSνD_\nu=\dim_{\mathbb C}S_\nuDν​=dimC​Sν​, and its orthogonal projection Πν\Pi_\nuΠν​. Put Lg(h,u)=1{h=gu}L_g(h,u)=\mathbf1_{\{h=gu\}}Lg​(h,u)=1{h=gu}​, Td,r(g)x,y=1{x=y∘g−1}T_{d,r}(g)_{x,y}=\mathbf1_{\{x=y\circ g^{-1}\}}Td,r​(g)x,y​=1{x=y∘g−1}​, and σν(g)i,j=⟨si,ΠνLgsj⟩\sigma_\nu(g)_{i,j}=\langle s_i,\Pi_\nu L_gs_j\rangleσν​(g)i,j​=⟨si​,Πν​Lg​sj​⟩ in the chosen standard orthonormal basis of SνS_\nuSν​. Let mν=dim⁡C{H:∀g, Td,r(g)H=Hσν(g)}m_\nu=\dim_{\mathbb C}\{H:\forall g,\ T_{d,r}(g)H=H\sigma_\nu(g)\}mν​=dimC​{H:∀g, Td,r​(g)H=Hσν​(g)}, and Iν=Dνr!∑gtr⁡(Lg−1Πν)Td,r(g)I_\nu=\frac{D_\nu}{r!}\sum_g\operatorname{tr}(L_{g^{-1}}\Pi_\nu)T_{d,r}(g)Iν​=r!Dν​​∑g​tr(Lg−1​Πν​)Td,r​(g). Set I^μ((x,b),(u,c))=1{b=c}Iμ(x,u)\widehat I_\mu((x,b),(u,c))=\mathbf1_{\{b=c\}}I_\mu(x,u)Iμ​((x,b),(u,c))=1{b=c}​Iμ​(x,u), Qα((x,b),(u,c))=1{x(K)=b, u(K)=c}Iα(x∣<K,u∣<K)Q_\alpha((x,b),(u,c))=\mathbf1_{\{x(K)=b,\ u(K)=c\}}I_\alpha(x|_{<K},u|_{<K})Qα​((x,b),(u,c))=1{x(K)=b, u(K)=c}​Iα​(x∣<K​,u∣<K​), and Vj((x,b),(u,c))=1{b=c, x=u∘(j K)}V_j((x,b),(u,c))=\mathbf1_{\{b=c,\ x=u\circ(j\,K)\}}Vj​((x,b),(u,c))=1{b=c, x=u∘(jK)}​. For diagrams μ\muμ of size K+1K+1K+1, define γα,μ=(K+1)mμDαmαDμ\gamma_{\alpha,\mu}=\frac{(K+1)m_\mu D_\alpha}{m_\alpha D_\mu}γα,μ​=mα​Dμ​(K+1)mμ​Dα​​, λα,μ=γα,μ/dK+1\lambda_{\alpha,\mu}=\gamma_{\alpha,\mu}/d^{K+1}λα,μ​=γα,μ​/dK+1, and Fα,μ=γα,μ−1I^μ(∑j=0KVjQαVj†)I^μF_{\alpha,\mu}=\gamma_{\alpha,\mu}^{-1}\widehat I_\mu(\sum_{j=0}^{K}V_jQ_\alpha V_j^\dagger)\widehat I_\muFα,μ​=γα,μ−1​Iμ​(∑j=0K​Vj​Qα​Vj†​)Iμ​. Then Bα(t)=∑μ: α≺μλα,μ tFα,μB_\alpha(t)=\sum_{\mu:\,\alpha\prec\mu}\lambda_{\alpha,\mu}^{\,t}F_{\alpha,\mu}Bα​(t)=∑μ:α≺μ​λα,μt​Fα,μ​, where α≺μ\alpha\prec\muα≺μ means cell containment with exactly one added cell and powers use the total real-power function, while Sα,a=d−(K+1)VaQαVa†S_{\alpha,a}=d^{-(K+1)}V_aQ_\alpha V_a^\daggerSα,a​=d−(K+1)Va​Qα​Va†​. No sign or nonzero conditions are imposed on zzz or yyy; in particular, y(α)=0y(\alpha)=0y(α)=0 gives exponent zero. Empty sums are zero, and all inverses at zero are zero.

QAlgorithms.Papers.Independent.Extend50.P27.powerIterate

For any finite type III, including the empty type, any real matrix AAA indexed by I×II\times II×I, and any initial function w0:I→Rw_0:I\to\mathbb Rw0​:I→R, the definition produces functions w(m):I→Rw^{(m)}:I\to\mathbb Rw(m):I→R for every natural number mmm by

wi(0)=(w0)i,ui(m)=∑j∈IAi,jwj(m),wi(m+1)=ui(m)∑j∈Iuj(m).w^{(0)}_i=(w_0)_i,\qquad u^{(m)}_i=\sum_{j\in I}A_{i,j}w^{(m)}_j,\qquad w^{(m+1)}_i=\frac{u^{(m)}_i}{\sum_{j\in I}u^{(m)}_j}.wi(0)​=(w0​)i​,ui(m)​=j∈I∑​Ai,j​wj(m)​,wi(m+1)​=∑j∈I​uj(m)​ui(m)​​.

No nonnegativity, normalization, or nonzero-denominator assumption is imposed. In particular, if the denominator at an update is zero, every coordinate of the next iterate is zero, since division by zero is defined to be zero. Empty index sets and m=0m=0m=0 are included.

QAlgorithms.Papers.Independent.Extend50.P27.powerOutput

For any finite type III, including the empty type, any real matrix AAA on III, any initial function w0:I→Rw_0:I\to\mathbb Rw0​:I→R, and any natural number mmm, define w(0)=w0w^{(0)}=w_0w(0)=w0​ and

wi(ℓ+1)=∑j∈IAi,jwj(ℓ)∑k∈I∑j∈IAk,jwj(ℓ).w^{(\ell+1)}_i= \frac{\sum_{j\in I}A_{i,j}w^{(\ell)}_j} {\sum_{k\in I}\sum_{j\in I}A_{k,j}w^{(\ell)}_j}.wi(ℓ+1)​=∑k∈I​∑j∈I​Ak,j​wj(ℓ)​∑j∈I​Ai,j​wj(ℓ)​​.

The returned function is

i⟼∑j∈IAi,jwj(m).i\longmapsto\sum_{j\in I}A_{i,j}w^{(m)}_j.i⟼j∈I∑​Ai,j​wj(m)​.

Thus the final multiplication is returned without another division by its coordinate sum; at m=0m=0m=0, the output is Aw0Aw_0Aw0​. No sign or normalization conditions are imposed, and every division by zero in the recursive iterates gives zero.

QAlgorithms.Papers.Independent.Extend50.P27.primalValues

For natural numbers d,Kd,Kd,K, this is the set of real numbers fff for which there exist a complex matrix XXX on A={u:{0,…,K}→{0,…,d−1}}\mathcal A=\{u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}\}A={u:{0,…,K}→{0,…,d−1}} and complex matrices EaE_aEa​ on A×{0,…,d−1}\mathcal A\times\{0,\ldots,d-1\}A×{0,…,d−1}, one for each a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, such that

X⪰0,tr⁡X=dK+1,Ea⪰0 for every a,X⊗Id−∑a=0KEa⪰0,f=∑a=0KRe⁡tr⁡(EaSa)d2.X\succeq0,\qquad \operatorname{tr}X=d^{K+1},\qquad E_a\succeq0\ \text{for every }a,\qquad X\otimes I_d-\sum_{a=0}^{K}E_a\succeq0, \qquad f=\frac{\sum_{a=0}^{K}\operatorname{Re}\operatorname{tr}(E_aS_a)}{d^2}.X⪰0,trX=dK+1,Ea​⪰0 for every a,X⊗Id​−a=0∑K​Ea​⪰0,f=d2∑a=0K​Retr(Ea​Sa​)​.

Here (X⊗Id)(u,b),(v,c)=Xu,v(X\otimes I_d)_{(u,b),(v,c)}=X_{u,v}(X⊗Id​)(u,b),(v,c)​=Xu,v​ when b=cb=cb=c, and is zero otherwise; SaS_aSa​ has entry (dK+1)−1(d^{K+1})^{-1}(dK+1)−1 exactly when u(a)=bu(a)=bu(a)=b, v(a)=cv(a)=cv(a)=c, and u(i)=v(i)u(i)=v(i)u(i)=v(i) for all i≠ai\ne ai=a, and has entry zero otherwise. Positive semidefiniteness is denoted by ⪰0\succeq0⪰0. Division by zero is zero; for d=0d=0d=0, the set is {0}\{0\}{0}. The definition also includes K=0K=0K=0.

QAlgorithms.Papers.Independent.Extend50.P27.projectorSeed

For natural numbers d,Kd,Kd,K and a Young diagram α\alphaα having exactly KKK cells and first-column length at most ddd, this defines a complex matrix on pairs (u,b)(u,b)(u,b), where u:{0,…,K}→{0,…,d−1}u:\{0,\ldots,K\}\to\{0,\ldots,d-1\}u:{0,…,K}→{0,…,d−1} and b∈{0,…,d−1}b\in\{0,\ldots,d-1\}b∈{0,…,d−1}, by

projectorSeed⁡(α)(u,b),(v,c)={(Iα)u∣{0,…,K−1}, v∣{0,…,K−1},u(K)=b and v(K)=c,0,otherwise.\operatorname{projectorSeed}(\alpha)_{(u,b),(v,c)} = \begin{cases} (I_\alpha)_{u|_{\{0,\ldots,K-1\}},\,v|_{\{0,\ldots,K-1\}}},& u(K)=b\ \text{and }v(K)=c,\\ 0,&\text{otherwise}. \end{cases}projectorSeed(α)(u,b),(v,c)​={(Iα​)u∣{0,…,K−1}​,v∣{0,…,K−1}​​,0,​u(K)=b and v(K)=c,otherwise.​

The matrix IαI_\alphaIα​ in this formula is defined as follows: fix the chosen bijection numbering the cells of α\alphaα by {0,…,K−1}\{0,\ldots,K-1\}{0,…,K−1}, let Rα,Cα⊆SKR_\alpha,C_\alpha\subseteq S_KRα​,Cα​⊆SK​ be the permutations preserving, respectively, the row and column of every numbered cell, and form the matrix YαY_\alphaYα​ on SKS_KSK​ with entries (Yα)g,h=∑a∈Rα∑b∈Cαsgn⁡(b) 1{g=hab}(Y_\alpha)_{g,h}=\sum_{a\in R_\alpha}\sum_{b\in C_\alpha}\operatorname{sgn}(b)\,\mathbf1_{\{g=hab\}}(Yα​)g,h​=∑a∈Rα​​∑b∈Cα​​sgn(b)1{g=hab}​. Let Sα⊆CSKS_\alpha\subseteq\mathbb C^{S_K}Sα​⊆CSK​ be the range of multiplication by YαY_\alphaYα​, let PαP_\alphaPα​ be its orthogonal projection, put rα=dim⁡CSαr_\alpha=\dim_{\mathbb C}S_\alpharα​=dimC​Sα​, and define χα(σ)=tr⁡(LσPα)\chi_\alpha(\sigma)=\operatorname{tr}(L_\sigma P_\alpha)χα​(σ)=tr(Lσ​Pα​), where (Lσ)g,h=1{g=σh}(L_\sigma)_{g,h}=\mathbf1_{\{g=\sigma h\}}(Lσ​)g,h​=1{g=σh}​. Then

Iα=rαK!∑π∈SKχα(π−1)Tπ,(Tπ)x,y=1{x=y∘π−1},I_\alpha=\frac{r_\alpha}{K!}\sum_{\pi\in S_K}\chi_\alpha(\pi^{-1})T_\pi, \qquad (T_\pi)_{x,y}=\mathbf1_{\{x=y\circ\pi^{-1}\}},Iα​=K!rα​​π∈SK​∑​χα​(π−1)Tπ​,(Tπ​)x,y​=1{x=y∘π−1}​,

where x,y:{0,…,K−1}→{0,…,d−1}x,y:\{0,\ldots,K-1\}\to\{0,\ldots,d-1\}x,y:{0,…,K−1}→{0,…,d−1}. The definition permits K=0K=0K=0, with empty restrictions and 0!=10!=10!=1; for d=0d=0d=0, the matrix defining the seed has an empty index set.

QAlgorithms.Papers.Independent.Extend50.P27.removableCount

For any Young diagram μ\muμ, let ∣μ∣|\mu|∣μ∣ denote its number of cells and let rir_iri​ denote the length of its row with index iii, with row indices starting at zero and absent rows having length zero. The natural number removableCount⁡(μ)\operatorname{removableCount}(\mu)removableCount(μ) is

∣{i∈N:0≤i<∣μ∣, ri+1<ri}∣.\bigl|\{i\in\mathbb N:0\le i<|\mu|,\ r_{i+1}<r_i\}\bigr|.​{i∈N:0≤i<∣μ∣, ri+1​<ri​}​.

For the empty diagram this count is zero.

QAlgorithms.Papers.Independent.Extend50.P27.resourceState

For arbitrary natural numbers d,Nd,Nd,N, let X={0,…,d−1}{0,…,N−1}X=\{0,\ldots,d-1\}^{\{0,\ldots,N-1\}}X={0,…,d−1}{0,…,N−1}. Given any complex matrix OOO indexed by X×XX\times XX×X, the definition returns the vector in the complex Euclidean space indexed by X×XX\times XX×X whose coordinates are

ψO(x,y)=Ox,ydN.\psi_O(x,y)=\frac{O_{x,y}}{\sqrt{d^N}}.ψO​(x,y)=dN​Ox,y​​.

The real square root is embedded in C\mathbb CC before division. No assumption on OOO, and no assertion that this vector has norm one, is included. Division by zero is defined to be zero; when N=0N=0N=0, XXX is a singleton and the denominator is 111, including when d=0d=0d=0.

QAlgorithms.Papers.Independent.Extend50.P27.restrictedAction

For natural numbers d,Kd,Kd,K, a Young diagram μ\muμ with K+1K+1K+1 cells and at most ddd rows, and a permutation π\piπ of {0,…,K−1}\{0,\ldots,K-1\}{0,…,K−1}, this defines a complex square matrix as follows. Number the cells of μ\muμ by {0,…,K}\{0,\ldots,K\}{0,…,K} using the selected bijection, let Rμ,Cμ⊆SK+1R_\mu,C_\mu\subseteq S_{K+1}Rμ​,Cμ​⊆SK+1​ preserve cell rows and columns, and form Yμ(g,h)=∑a∈Rμ,b∈Cμ1{g=hab}sgn⁡(b)Y_\mu(g,h)=\sum_{a\in R_\mu,b\in C_\mu}\mathbf1_{\{g=hab\}}\operatorname{sgn}(b)Yμ​(g,h)=∑a∈Rμ​,b∈Cμ​​1{g=hab}​sgn(b). Let Vμ=range⁡(Yμ)⊆CSK+1V_\mu=\operatorname{range}(Y_\mu)\subseteq\mathbb C^{S_{K+1}}Vμ​=range(Yμ​)⊆CSK+1​, let s=dim⁡CVμs=\dim_{\mathbb C}V_\mus=dimC​Vμ​, and choose the orthonormal basis e0,…,es−1e_0,\ldots,e_{s-1}e0​,…,es−1​ selected in the definition. Extend π\piπ to π+∈SK+1\pi^+\in S_{K+1}π+∈SK+1​ by fixing position KKK, and let Lπ+(g,h)=1{g=π+h}L_{\pi^+}(g,h)=\mathbf1_{\{g=\pi^+h\}}Lπ+​(g,h)=1{g=π+h}​. The defined matrix has entries ⟨ea,PVμLπ+eb⟩\langle e_a,P_{V_\mu}L_{\pi^+}e_b\rangle⟨ea​,PVμ​​Lπ+​eb​⟩, for 0≤a,b<s0\le a,b<s0≤a,b<s. The case K=0K=0K=0 is included, with π+\pi^+π+ the identity on one position.

QAlgorithms.Papers.Independent.Extend50.P27.restrictionMultiplicity

For natural numbers d,Kd,Kd,K, a Young diagram α\alphaα with KKK cells and at most ddd rows, and a Young diagram μ\muμ with K+1K+1K+1 cells and at most ddd rows, this defines the following complex dimension. For either diagram λ\lambdaλ, with nnn cells, use its selected numbering to define row-preserving and column-preserving permutation sets Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​, the matrix Yλ(g,h)=∑r∈Rλ,c∈Cλ1{g=hrc}sgn⁡(c)Y_\lambda(g,h)=\sum_{r\in R_\lambda,c\in C_\lambda}\mathbf1_{\{g=hrc\}}\operatorname{sgn}(c)Yλ​(g,h)=∑r∈Rλ​,c∈Cλ​​1{g=hrc}​sgn(c), and the space Vλ=range⁡(Yλ)⊆CSnV_\lambda=\operatorname{range}(Y_\lambda)\subseteq\mathbb C^{S_n}Vλ​=range(Yλ​)⊆CSn​. Write sλ=dim⁡CVλs_\lambda=\dim_{\mathbb C}V_\lambdasλ​=dimC​Vλ​ and, in the selected orthonormal basis euλe^\lambda_ueuλ​, set Sλ(σ)uv=⟨euλ,PVλLσevλ⟩S_\lambda(\sigma)_{uv}=\langle e^\lambda_u,P_{V_\lambda}L_\sigma e^\lambda_v\rangleSλ​(σ)uv​=⟨euλ​,PVλ​​Lσ​evλ​⟩, where Lσ(g,h)=1{g=σh}L_\sigma(g,h)=\mathbf1_{\{g=\sigma h\}}Lσ​(g,h)=1{g=σh}​. For π∈SK\pi\in S_Kπ∈SK​, let π+∈SK+1\pi^+\in S_{K+1}π+∈SK+1​ agree with π\piπ on the first KKK positions and fix KKK. The defined natural number is dim⁡C{T∈Csμ×sα:∀π∈SK, Sμ(π+)T=TSα(π)}\dim_{\mathbb C}\{T\in\mathbb C^{s_\mu\times s_\alpha}:\forall\pi\in S_K,\ S_\mu(\pi^+)T=TS_\alpha(\pi)\}dimC​{T∈Csμ​×sα​:∀π∈SK​, Sμ​(π+)T=TSα​(π)}. The case K=0K=0K=0 is included whenever the diagrams exist.

QAlgorithms.Papers.Independent.Extend50.P27.rowGram

For all natural numbers d,Nd,Nd,N, let BBB be the real matrix whose rows are Young diagrams with N−1N-1N−1 cells and first-column length at most ddd, whose columns are Young diagrams with NNN cells and the same column bound, and whose entry Bα,μB_{\alpha,\mu}Bα,μ​ is one exactly when α\alphaα's cells are contained in μ\muμ's with exactly one additional cell in μ\muμ, and zero otherwise. The matrix rowGram⁡(d,N)\operatorname{rowGram}(d,N)rowGram(d,N) is BBTBB^{\mathsf T}BBT; thus its (α,β)(\alpha,\beta)(α,β) entry counts the column diagrams μ\muμ satisfying that condition with both α\alphaα and β\betaβ. Subtraction N−1N-1N−1 is truncated at zero, and for N=0N=0N=0 this is a one-by-one zero matrix.

QAlgorithms.Papers.Independent.Extend50.P27.spectralFidelity

For all natural numbers d,Nd,Nd,N, let TTT be the real matrix indexed by Young diagrams having NNN cells and first-column length at most ddd. Its diagonal entry at μ\muμ counts indices 0≤i<N0\le i<N0≤i<N where row i+1i+1i+1 is shorter than row iii, with zero-based rows and absent rows of length zero; its off-diagonal entry at (μ,ν)(\mu,\nu)(μ,ν) is one if each diagram has exactly one cell absent from the other, and zero otherwise. Then

spectralFidelity⁡(d,N)=sup⁡{λ∈R:T−λI is not invertible}d2,\operatorname{spectralFidelity}(d,N) =\frac{\sup\{\lambda\in\mathbb R:T-\lambda I\text{ is not invertible}\}}{d^2},spectralFidelity(d,N)=d2sup{λ∈R:T−λI is not invertible}​,

where the real supremum of an empty spectrum is zero. Both parameters may be zero: division by zero is defined to be zero, so the value is zero when d=0d=0d=0, and it is also zero when N=0N=0N=0.

QAlgorithms.Papers.Independent.Extend50.P27.squareRootEffects

For arbitrary natural numbers d,Kd,Kd,K and any a∈{0,…,K}a\in\{0,\ldots,K\}a∈{0,…,K}, let X={0,…,d−1}{0,…,K}X=\{0,\ldots,d-1\}^{\{0,\ldots,K\}}X={0,…,d−1}{0,…,K} and Z=X×{0,…,d−1}Z=X\times\{0,\ldots,d-1\}Z=X×{0,…,d−1}. For every b∈{0,…,K}b\in\{0,\ldots,K\}b∈{0,…,K}, define the complex matrix

(σb)(x,c),(y,e)={(dK+1)−1,xb=c, yb=e, and xi=yi for every i≠b,0,otherwise.(\sigma_b)_{(x,c),(y,e)} =\begin{cases} \bigl(d^{K+1}\bigr)^{-1},& x_b=c,\ y_b=e,\text{ and }x_i=y_i\text{ for every }i\ne b,\\ 0,&\text{otherwise}. \end{cases}(σb​)(x,c),(y,e)​={(dK+1)−1,0,​xb​=c, yb​=e, and xi​=yi​ for every i=b,otherwise.​

Put S=∑b=0KσbS=\sum_{b=0}^{K}\sigma_bS=∑b=0K​σb​, and apply the total real continuous functional calculus to obtain P=f(S)P=f(S)P=f(S), where

f(t)={0,t=0,(t)−1,t≠0.f(t)= \begin{cases} 0,&t=0,\\ (\sqrt t)^{-1},&t\ne0. \end{cases}f(t)={0,(t​)−1,​t=0,t=0.​

The returned matrix is PσaPP\sigma_aPPσa​P. On positive eigenvalues of SSS, PPP acts by the reciprocal square root, and on its zero eigenvalues it acts by zero. No completeness assertion for this family is part of the definition. Both K=0K=0K=0 and d=0d=0d=0 are included; division and inversion at zero give zero, and for d=0d=0d=0 the signal index set is empty.

QAlgorithms.Papers.Independent.Extend50.P27.teleportEntry

For any Young diagrams μ\muμ and ν\nuν, the real number teleportEntry⁡(μ,ν)\operatorname{teleportEntry}(\mu,\nu)teleportEntry(μ,ν) is defined by

{∣{i∈N:i<∣μ∣, ri+1<ri}∣,μ=ν,1,μ≠ν, ∣μ.cells∖ν.cells∣=1 and ∣ν.cells∖μ.cells∣=1,0,otherwise,\begin{cases} |\{i\in\mathbb N:i<|\mu|,\ r_{i+1}<r_i\}|,&\mu=\nu,\\ 1,&\mu\ne\nu,\ |\mu.\mathrm{cells}\setminus\nu.\mathrm{cells}|=1 \text{ and }|\nu.\mathrm{cells}\setminus\mu.\mathrm{cells}|=1,\\ 0,&\text{otherwise}, \end{cases}⎩⎨⎧​∣{i∈N:i<∣μ∣, ri+1​<ri​}∣,1,0,​μ=ν,μ=ν, ∣μ.cells∖ν.cells∣=1 and ∣ν.cells∖μ.cells∣=1,otherwise,​

where ∣μ∣|\mu|∣μ∣ is the number of cells of μ\muμ, and rir_iri​ is its row length at index iii, starting at zero and equal to zero for absent rows. In particular, the entry is zero whenever either diagram is empty.

QAlgorithms.Papers.Independent.Extend50.P27.teleportMatrix

For all natural numbers d,Nd,Nd,N, including zero, let Pd,N\mathcal P_{d,N}Pd,N​ be the set of Young diagrams with exactly NNN cells and first-column length at most ddd. The real matrix teleportMatrix⁡(d,N)\operatorname{teleportMatrix}(d,N)teleportMatrix(d,N) has rows and columns indexed by Pd,N\mathcal P_{d,N}Pd,N​. Its entry at (μ,ν)(\mu,\nu)(μ,ν) is the number of indices 0≤i<N0\le i<N0≤i<N for which row i+1i+1i+1 of μ\muμ is shorter than row iii if μ=ν\mu=\nuμ=ν; otherwise it is one if each diagram has exactly one cell absent from the other, and zero otherwise. Row indices start at zero, with absent rows having length zero. If N=0N=0N=0, this is a one-by-one zero matrix; if d=0<Nd=0<Nd=0<N, its index set is empty.

QAlgorithms.Papers.Independent.Extend50.P27.tensorMultiplicity

For natural numbers d,Nd,Nd,N and a Young diagram μ\muμ with NNN cells and at most ddd rows, this defines the complex dimension of a matrix subspace. To specify it, number the cells using the selected bijection with {0,…,N−1}\{0,\ldots,N-1\}{0,…,N−1}, let Rμ,Cμ⊆SNR_\mu,C_\mu\subseteq S_NRμ​,Cμ​⊆SN​ preserve their rows and columns, and set Yμ(g,h)=∑a∈Rμ,b∈Cμ1{g=hab}sgn⁡(b)Y_\mu(g,h)=\sum_{a\in R_\mu,b\in C_\mu}\mathbf1_{\{g=hab\}}\operatorname{sgn}(b)Yμ​(g,h)=∑a∈Rμ​,b∈Cμ​​1{g=hab}​sgn(b). Let Vμ=range⁡(Yμ)⊆CSNV_\mu=\operatorname{range}(Y_\mu)\subseteq\mathbb C^{S_N}Vμ​=range(Yμ​)⊆CSN​, let s=dim⁡CVμs=\dim_{\mathbb C}V_\mus=dimC​Vμ​, and let e0,…,es−1e_0,\ldots,e_{s-1}e0​,…,es−1​ be the orthonormal basis selected in the definition. For π∈SN\pi\in S_Nπ∈SN​, let LπL_\piLπ​ have entries Lπ(g,h)=1{g=πh}L_\pi(g,h)=\mathbf1_{\{g=\pi h\}}Lπ​(g,h)=1{g=πh}​, and define Sμ(π)ab=⟨ea,PVμLπeb⟩S_\mu(\pi)_{ab}=\langle e_a,P_{V_\mu}L_\pi e_b\rangleSμ​(π)ab​=⟨ea​,PVμ​​Lπ​eb​⟩, where PVμP_{V_\mu}PVμ​​ is orthogonal projection onto VμV_\muVμ​. On the word set W={x:{0,…,N−1}→{0,…,d−1}}W=\{x:\{0,\ldots,N-1\}\to\{0,\ldots,d-1\}\}W={x:{0,…,N−1}→{0,…,d−1}}, define R(π)yx=1{y=x∘π−1}R(\pi)_{yx}=\mathbf1_{\{y=x\circ\pi^{-1}\}}R(π)yx​=1{y=x∘π−1}​. The defined natural number is dim⁡C{T∈CW×{0,…,s−1}:∀π∈SN, R(π)T=TSμ(π)}\dim_{\mathbb C}\{T\in\mathbb C^{W\times\{0,\ldots,s-1\}}:\forall\pi\in S_N,\ R(\pi)T=TS_\mu(\pi)\}dimC​{T∈CW×{0,…,s−1}:∀π∈SN​, R(π)T=TSμ​(π)}. Zero parameters are included whenever μ\muμ exists; in particular, when N=0N=0N=0, WWW contains the unique empty word.

QAlgorithms.Papers.Independent.Extend50.P27.topValue

For any finite type III equipped with decidable equality and any real matrix AAA with rows and columns indexed by III, topValue⁡(A)\operatorname{topValue}(A)topValue(A) is the real supremum of the spectrum of AAA over R\mathbb RR, namely the set of real λ\lambdaλ for which A−λIA-\lambda IA−λI is not invertible. No symmetry or nonempty-index assumption is imposed. If this real spectrum is empty, the real supremum used here is zero; in particular, the value is zero when the index type is empty.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 2026

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

View graph

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me