Definitions for Optimal Multi-port-based Teleportation Schemes
DefinitionQAlgorithms_Papers_Independent_Extend50_P20The objects the formalized statements of Optimal Multi-port-based Teleportation Schemes (arXiv:2011.09256) are stated in. Each was checked against the paper by a blind read-back and a moderator.
MpbtWord: Computational words for r qudits; PDF pp.3-6, Eqs.(1),(13).PortOutcome: Ordered, pairwise distinct port outcomes, PDF p.3, Eq.(2).UnselectedPorts: The unselected port positions for one outcome, PDF pp.7,15.JointWord: All Alice ports followed by the k input/reference positions, PDF pp.4-7. The product coordinate type is the computational basis of N+k factors.JointOp: Matrices on the N+k factors, PDF pp.4-7.ThetaFamily: A conclusive auxiliary operator on precisely the unselected ports, Eq.(49).liftPorts: A matrix tensored with the identity on all k remaining factors, Eq.(18).bellInsertion: Insert k normalized Bell vectors at the selected ordered ports, leaving all unselected positions untouched; PDF pp.4,15, Eqs.(5),(49). Pair j is (i(j),j), so Bob's output is in the indicated order.successEffect: The rotated conclusive effect P_i^+ tensor Theta_i, PDF p.15, Eq.(49). This factorization expresses exact transmission also for entangled inputs.mpbtSignal: Normalized signal state, PDF p.4, Eq.(4); its trace is one for d>0. Printed Eqs.(9)-(10), p.5, use inconsistent n-exponents; Eq.(4) and Appendix B p.18 instead give sigma_i=V_i^(k)/d^N. We use the latter, which also follows directly by tracing normalized Bell pairs.traceOutputs: Trace out all k final factors, not just one; PDF pp.7-8, Eqs.(20),(23).IsResource: The normalized pure-resource Gram operator, PDF p.3, Eq.(1).ProbFeasible: Full probabilistic primal domain, PDF p.7, Eqs.(17)-(18), p.15, Eq.(49). No symmetry ansatz is imposed. The slack is the rotated failure effect.probScore: Average exact success, PDF pp.5,7, Eqs.(7),(17); Bell factors have trace one.probValues: Attainable objective set of the unrestricted probabilistic primal SDP, PDF p.7, Eqs.(17)-(18); both resource and effects vary.optimalMpbtSuccess: Optimal exact success, PDF pp.7,10. The valid-domain theorem below states an attained greatest value, so the real supremum is not used as a default.RealizesMpbtEffects: Physical POVM realization of rotated conclusive effects, PDF pp.3-5. Failure is an actual PSD effect and the unrotated effects sum to identity.DetFeasible: Unrestricted deterministic primal domain, PDF p.8, Eqs.(21)-(22). Its PSD slack can complete the physical POVM; it is not discarded by assuming that rotated effects themselves form a normalized POVM.detScore: Entanglement fidelity against the normalized k-qudit maximally entangled state, PDF p.5, Eq.(6), p.8, Eq.(21).detValues: Attainable deterministic primal objectives, PDF p.8, Eqs.(21)-(22).ProbDualFeasible: Probabilistic dual domain, PDF p.7, Eqs.(19)-(20). Omega acts on N+k factors. E_i^* Omega E_i is the partial Bell trace in (20)(b), an operator on the unselected N-k factors.probDualValues: Attainable probabilistic dual objectives d^N b, PDF p.7, Eq.(19).DetDualFeasible: Deterministic dual in the epigraph form of the positive partial-trace operator norm, PDF p.8, Eqs.(23)-(24). On the valid domain Omega dominates a PSD signal, so its partial trace is PSD and bI >= Tr_out Omega is exactly the upper-eigenvalue epigraph of the source infinity norm.detDualValues: Attainable deterministic dual epigraph objectives, PDF p.8, Eq.(23). The real ratio d^N/d^(2k) avoids truncated natural subtraction in the exponent.mpbtSchurMultiplicity: Actual swap-representation multiplicity: dimension of the constructed Schur GL_d module, PDF p.14, Eqs.(42)-(45).spechtDimension: Actual Specht dimension, distinguished from local dimension d, PDF pp.8-9,14.multiplicitySquares: Sum of squared physical multiplicities, PDF pp.14,22, Eqs.(46),(105).complementNumbering: A fixed complement numbering, PDF p.15, Eq.(50). The Young projector is central, so choosing another numbering leaves the physical operator unchanged.unselectedYoungProjector: Full physical Young projector on the unselected positions, not one Young-symmetrizer copy; PDF p.15, Eq.(50).optimalProbTheta: The conclusive Theta_i prescribed by Theorem 5: S_N is in the denominator, PDF p.11, Eq.(36), and p.16, Eq.(52).optimalProbOperation: The resource operation of Theorem 5, including S_N under the square root, PDF p.11, Eq.(36), p.16, Eq.(53), p.18, Eq.(69).factorialRatio: Closed factorial expression, PDF p.10, Eq.(33). All division is real; usage theorems require positive d and 1 <= k <= N.BoundedShape: All shapes up to a fixed degree, used only as a finite ambient path type, PDF pp.8-9.IsYoungPath: A chain adding exactly one box at each step, including valid intermediate Young diagrams, PDF pp.8-9, Definition 6 pp.11-12. Endpoints are underlying diagrams so no dependent casts identify different partitions.pathCount: Number of all legal k-box paths, zero if endpoints are incompatible, PDF pp.8-9,12. These are counted paths, not free multiplicity parameters.teleportationMatrix: Generalized teleportation matrix, the Gram form of Eqs.(37)-(38),(83)-(85), PDF pp.11-12,19-20. The printed S(N-1) for alpha in Definition 6 is corrected to S(N-k), as required by its k-box definition and the proof.largestTeleportationEigenvalue: Largest eigenvalue in its Rayleigh-variational characterization, PDF p.20, Eq.(85), on the actual constructed finite symmetric matrix. The valid-domain shape set is nonempty and the unit sphere is compact.cycleCount: Count every permutation cycle, including fixed points; Mathlib cycleType alone omits the latter. PDF pp.22-23, Eqs.(105),(109).fixLast: Embed S(r) in S(r+1) by fixing the new final point, PDF p.23, Lemma 12.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_SchurWeylDecomposition
noncomputable section
open scoped BigOperators Matrix ComplexOrder
open Filter
namespace QAlgorithms.Papers.Independent.Extend50.P20
attribute [local instance] Classical.propDecidable
/-- Computational words for r qudits; PDF pp.3-6, Eqs.(1),(13). -/
abbrev MpbtWord (d r : ℕ) := Fin r → Fin d
/-- Ordered, pairwise distinct port outcomes, PDF p.3, Eq.(2). -/
abbrev PortOutcome (N k : ℕ) := Fin k ↪ Fin N
/-- The unselected port positions for one outcome, PDF pp.7,15. -/
abbrev UnselectedPorts {N k : ℕ} (i : PortOutcome N k) :=
{a : Fin N // a ∉ Set.range i}
/-- All Alice ports followed by the k input/reference positions, PDF pp.4-7.
The product coordinate type is the computational basis of N+k factors. -/
abbrev JointWord (d N k : ℕ) := MpbtWord d N × MpbtWord d k
/-- Matrices on the N+k factors, PDF pp.4-7. -/
abbrev JointOp (d N k : ℕ) := Matrix (JointWord d N k) (JointWord d N k) ℂ
/-- A conclusive auxiliary operator on precisely the unselected ports, Eq.(49). -/
abbrev ThetaFamily (d N k : ℕ) :=
(i : PortOutcome N k) → Matrix (UnselectedPorts i → Fin d) (UnselectedPorts i → Fin d) ℂ
/-- A matrix tensored with the identity on all k remaining factors, Eq.(18). -/
def liftPorts {d N k : ℕ} (X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ) : JointOp d N k :=
Matrix.of fun x y => X x.1 y.1 * if x.2 = y.2 then 1 else 0
/-- Insert k normalized Bell vectors at the selected ordered ports, leaving
all unselected positions untouched; PDF pp.4,15, Eqs.(5),(49).
Pair j is (i(j),j), so Bob's output is in the indicated order. -/
def bellInsertion {d N k : ℕ} (i : PortOutcome N k) :
Matrix (JointWord d N k) (UnselectedPorts i → Fin d) ℂ :=
Matrix.of fun x w =>
if (∀ j, x.1 (i j) = x.2 j) ∧ (∀ a : UnselectedPorts i, x.1 a.val = w a)
then (((Real.sqrt ((d : ℝ)^k))⁻¹ : ℝ) : ℂ) else 0
/-- The rotated conclusive effect P_i^+ tensor Theta_i, PDF p.15, Eq.(49).
This factorization expresses exact transmission also for entangled inputs. -/
def successEffect {d N k : ℕ} (i : PortOutcome N k)
(T : Matrix (UnselectedPorts i → Fin d) (UnselectedPorts i → Fin d) ℂ) : JointOp d N k :=
bellInsertion (d := d) i * T * Matrix.conjTranspose (bellInsertion (d := d) i)
/-- Normalized signal state, PDF p.4, Eq.(4); its trace is one for d>0.
Printed Eqs.(9)-(10), p.5, use inconsistent n-exponents; Eq.(4) and
Appendix B p.18 instead give sigma_i=V_i^(k)/d^N. We use the latter,
which also follows directly by tracing normalized Bell pairs. -/
def mpbtSignal {d N k : ℕ} (i : PortOutcome N k) : JointOp d N k :=
((1 : ℂ) / (d : ℂ)^(N-k)) • successEffect i 1
/-- Trace out all k final factors, not just one; PDF pp.7-8, Eqs.(20),(23). -/
def traceOutputs {d N k : ℕ} (Z : JointOp d N k) :
Matrix (MpbtWord d N) (MpbtWord d N) ℂ :=
Matrix.of fun a b => ∑ w : MpbtWord d k, Z (a,w) (b,w)
/-- The normalized pure-resource Gram operator, PDF p.3, Eq.(1). -/
def IsResource {d N : ℕ} (X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ) : Prop :=
X.PosSemidef ∧ X.trace = (d : ℂ)^N
/-- Full probabilistic primal domain, PDF p.7, Eqs.(17)-(18), p.15, Eq.(49).
No symmetry ansatz is imposed. The slack is the rotated failure effect. -/
def ProbFeasible {d N k : ℕ} (X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ)
(T : ThetaFamily d N k) : Prop :=
IsResource X ∧ (∀ i, (T i).PosSemidef) ∧
(liftPorts X - ∑ i : PortOutcome N k, successEffect i (T i)).PosSemidef
/-- Average exact success, PDF pp.5,7, Eqs.(7),(17); Bell factors have trace one. -/
def probScore {d N k : ℕ} (T : ThetaFamily d N k) : ℝ :=
(∑ i : PortOutcome N k, (T i).trace.re) / (d : ℝ)^(N+k)
/-- Attainable objective set of the unrestricted probabilistic primal SDP,
PDF p.7, Eqs.(17)-(18); both resource and effects vary. -/
def probValues (d N k : ℕ) : Set ℝ :=
{p | ∃ X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ, ∃ T : ThetaFamily d N k,
ProbFeasible X T ∧ p = probScore T}
/-- Optimal exact success, PDF pp.7,10. The valid-domain theorem below states
an attained greatest value, so the real supremum is not used as a default. -/
def optimalMpbtSuccess (d N k : ℕ) : ℝ := sSup (probValues d N k)
/-- Physical POVM realization of rotated conclusive effects, PDF pp.3-5.
Failure is an actual PSD effect and the unrotated effects sum to identity. -/
def RealizesMpbtEffects {d N k : ℕ} (O : Matrix (MpbtWord d N) (MpbtWord d N) ℂ)
(P : PortOutcome N k → JointOp d N k) : Prop :=
(Matrix.conjTranspose O * O).trace = (d : ℂ)^N ∧
∃ M : PortOutcome N k → JointOp d N k, ∃ failure : JointOp d N k,
(∀ i, (M i).PosSemidef) ∧ failure.PosSemidef ∧
(∑ i : PortOutcome N k, M i) + failure = 1 ∧
∀ i, Matrix.conjTranspose (liftPorts O) * M i * liftPorts O = P i
/-- Unrestricted deterministic primal domain, PDF p.8, Eqs.(21)-(22).
Its PSD slack can complete the physical POVM; it is not discarded by
assuming that rotated effects themselves form a normalized POVM. -/
def DetFeasible {d N k : ℕ} (X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ)
(P : PortOutcome N k → JointOp d N k) : Prop :=
IsResource X ∧ (∀ i, (P i).PosSemidef) ∧
(liftPorts X - ∑ i : PortOutcome N k, P i).PosSemidef
/-- Entanglement fidelity against the normalized k-qudit maximally entangled
state, PDF p.5, Eq.(6), p.8, Eq.(21). -/
def detScore {d N k : ℕ} (P : PortOutcome N k → JointOp d N k) : ℝ :=
(∑ i : PortOutcome N k, ((P i) * mpbtSignal i).trace.re) / (d : ℝ)^(2*k)
/-- Attainable deterministic primal objectives, PDF p.8, Eqs.(21)-(22). -/
def detValues (d N k : ℕ) : Set ℝ :=
{f | ∃ X : Matrix (MpbtWord d N) (MpbtWord d N) ℂ,
∃ P : PortOutcome N k → JointOp d N k, DetFeasible X P ∧ f = detScore P}
/-- Probabilistic dual domain, PDF p.7, Eqs.(19)-(20).
Omega acts on N+k factors. E_i^* Omega E_i is the partial Bell trace in
(20)(b), an operator on the unselected N-k factors. -/
def ProbDualFeasible {d N k : ℕ} (Z : JointOp d N k) (b : ℝ) : Prop :=
Z.PosSemidef ∧ 0 ≤ b ∧
(∀ i : PortOutcome N k,
(Matrix.conjTranspose (bellInsertion (d := d) i) * Z *
bellInsertion (d := d) i - 1).PosSemidef) ∧
(((b : ℂ) • (1 : Matrix (MpbtWord d N) (MpbtWord d N) ℂ)) -
((1 : ℂ)/(d : ℂ)^(N+k)) • traceOutputs Z).PosSemidef
/-- Attainable probabilistic dual objectives d^N b, PDF p.7, Eq.(19). -/
def probDualValues (d N k : ℕ) : Set ℝ :=
{p | ∃ Z : JointOp d N k, ∃ b : ℝ,
ProbDualFeasible Z b ∧ p = (d : ℝ)^N * b}
/-- Deterministic dual in the epigraph form of the positive partial-trace
operator norm, PDF p.8, Eqs.(23)-(24). On the valid domain Omega dominates
a PSD signal, so its partial trace is PSD and bI >= Tr_out Omega is exactly
the upper-eigenvalue epigraph of the source infinity norm. -/
def DetDualFeasible {d N k : ℕ} (Z : JointOp d N k) (b : ℝ) : Prop :=
(∀ i : PortOutcome N k, (Z - mpbtSignal i).PosSemidef) ∧
(((b : ℂ) • (1 : Matrix (MpbtWord d N) (MpbtWord d N) ℂ)) - traceOutputs Z).PosSemidef
/-- Attainable deterministic dual epigraph objectives, PDF p.8, Eq.(23).
The real ratio d^N/d^(2k) avoids truncated natural subtraction in the exponent. -/
def detDualValues (d N k : ℕ) : Set ℝ :=
{f | ∃ Z : JointOp d N k, ∃ b : ℝ, DetDualFeasible Z b ∧
f = ((d : ℝ)^N / (d : ℝ)^(2*k)) * b}
/-- Actual swap-representation multiplicity: dimension of the constructed
Schur GL_d module, PDF p.14, Eqs.(42)-(45). -/
def mpbtSchurMultiplicity {d r : ℕ} (lambda : QAlgorithms.Schur.Partition d r) : ℕ :=
Module.finrank ℂ (QAlgorithms.Schur.schurModule lambda)
/-- Actual Specht dimension, distinguished from local dimension d,
PDF pp.8-9,14. -/
def spechtDimension {d r : ℕ} (lambda : QAlgorithms.Schur.Partition d r) : ℕ :=
Module.finrank ℂ (QAlgorithms.Schur.spechtSpace lambda)
/-- Sum of squared physical multiplicities, PDF pp.14,22, Eqs.(46),(105). -/
def multiplicitySquares (d r : ℕ) : ℝ :=
∑ lambda : QAlgorithms.Schur.Partition d r, (mpbtSchurMultiplicity lambda : ℝ)^2
/-- A fixed complement numbering, PDF p.15, Eq.(50). The Young projector is
central, so choosing another numbering leaves the physical operator unchanged. -/
def complementNumbering {N k : ℕ} (i : PortOutcome N k) : UnselectedPorts i ≃ Fin (N-k) :=
Fintype.equivFinOfCardEq (by
change Fintype.card ((Set.range i)ᶜ : Set (Fin N)) = N-k
rw [Fintype.card_compl_set, Fintype.card_range i]
simp)
/-- Full physical Young projector on the unselected positions, not one
Young-symmetrizer copy; PDF p.15, Eq.(50). -/
def unselectedYoungProjector {d N k : ℕ} (i : PortOutcome N k)
(alpha : QAlgorithms.Schur.Partition d (N-k)) :
Matrix (UnselectedPorts i → Fin d) (UnselectedPorts i → Fin d) ℂ :=
Matrix.of fun x y => QAlgorithms.Schur.isotypicProjector alpha
(fun a => x ((complementNumbering i).symm a))
(fun a => y ((complementNumbering i).symm a))
/-- The conclusive Theta_i prescribed by Theorem 5: S_N is in the denominator,
PDF p.11, Eq.(36), and p.16, Eq.(52). -/
def optimalProbTheta (d N k : ℕ) : ThetaFamily d N k :=
fun i => ∑ alpha : QAlgorithms.Schur.Partition d (N-k),
((((d : ℝ)^(N+k) * (mpbtSchurMultiplicity alpha : ℝ)) /
(((k.factorial * N.choose k : ℕ) : ℝ) * (spechtDimension alpha : ℝ) *
multiplicitySquares d N) : ℝ) : ℂ) • unselectedYoungProjector i alpha
/-- The resource operation of Theorem 5, including S_N under the square root,
PDF p.11, Eq.(36), p.16, Eq.(53), p.18, Eq.(69). -/
def optimalProbOperation (d N : ℕ) : Matrix (MpbtWord d N) (MpbtWord d N) ℂ :=
∑ mu : QAlgorithms.Schur.Partition d N,
(((Real.sqrt ((d : ℝ)^N) * Real.sqrt ((mpbtSchurMultiplicity mu : ℝ) /
((spechtDimension mu : ℝ) * multiplicitySquares d N))) : ℝ) : ℂ) •
QAlgorithms.Schur.isotypicProjector mu
/-- Closed factorial expression, PDF p.10, Eq.(33). All division is real;
usage theorems require positive d and 1 <= k <= N. -/
def factorialRatio (d N k : ℕ) : ℝ :=
((N.factorial : ℝ) * ((d^2+N-k-1).factorial : ℝ)) /
(((N-k).factorial : ℝ) * ((d^2+N-1).factorial : ℝ))
/-- All shapes up to a fixed degree, used only as a finite ambient path type,
PDF pp.8-9. -/
abbrev BoundedShape (d R : ℕ) := (r : Fin (R+1)) × QAlgorithms.Schur.Partition d r.val
/-- A chain adding exactly one box at each step, including valid intermediate
Young diagrams, PDF pp.8-9, Definition 6 pp.11-12. Endpoints are underlying
diagrams so no dependent casts identify different partitions. -/
def IsYoungPath {d a b : ℕ} (alpha : QAlgorithms.Schur.Partition d a)
(mu : QAlgorithms.Schur.Partition d b) (k : ℕ)
(p : Fin (k+1) → BoundedShape d (a+k)) : Prop :=
(p 0).2.val = alpha.val ∧ (p (Fin.last k)).2.val = mu.val ∧
(∀ j, (p j).1.val = a+j.val) ∧
∀ j : Fin k, (p j.castSucc).2.val ≤ (p j.succ).2.val
/-- Number of all legal k-box paths, zero if endpoints are incompatible,
PDF pp.8-9,12. These are counted paths, not free multiplicity parameters. -/
def pathCount {d a b : ℕ} (alpha : QAlgorithms.Schur.Partition d a)
(mu : QAlgorithms.Schur.Partition d b) (k : ℕ) : ℕ :=
(Finset.univ.filter (IsYoungPath alpha mu k)).card
/-- Generalized teleportation matrix, the Gram form of Eqs.(37)-(38),(83)-(85),
PDF pp.11-12,19-20. The printed S(N-1) for alpha in Definition 6 is corrected
to S(N-k), as required by its k-box definition and the proof. -/
def teleportationMatrix (d N k : ℕ) :
Matrix (QAlgorithms.Schur.Partition d N) (QAlgorithms.Schur.Partition d N) ℝ :=
Matrix.of fun mu nu => ∑ alpha : QAlgorithms.Schur.Partition d (N-k),
(pathCount alpha mu k : ℝ) * (pathCount alpha nu k : ℝ)
/-- Largest eigenvalue in its Rayleigh-variational characterization, PDF p.20,
Eq.(85), on the actual constructed finite symmetric matrix. The valid-domain
shape set is nonempty and the unit sphere is compact. -/
def largestTeleportationEigenvalue (d N k : ℕ) : ℝ :=
sSup {r : ℝ | ∃ v : QAlgorithms.Schur.Partition d N → ℝ,
(∑ mu, v mu ^ 2) = 1 ∧
r = ∑ mu, ∑ nu, v mu * teleportationMatrix d N k mu nu * v nu}
/-- Count every permutation cycle, including fixed points; Mathlib cycleType
alone omits the latter. PDF pp.22-23, Eqs.(105),(109). -/
def cycleCount {r : ℕ} (pi : Equiv.Perm (Fin r)) : ℕ :=
pi.cycleType.card + (Finset.univ.filter fun a => pi a = a).card
/-- Embed S(r) in S(r+1) by fixing the new final point, PDF p.23, Lemma 12. -/
def fixLast {r : ℕ} (pi : Equiv.Perm (Fin r)) : Equiv.Perm (Fin (r+1)) :=
Equiv.permCongr (finSumFinEquiv : Fin r ⊕ Fin 1 ≃ Fin (r+1))
(Equiv.sumCongr pi (Equiv.refl (Fin 1)))
/-- Sanity: the lift preserves a zero operator, independently of input dimension. -/
example (d N k : ℕ) : liftPorts (k := k) (0 : Matrix (MpbtWord d N) (MpbtWord d N) ℂ) = 0 := by
ext x y
simp [liftPorts]
/-- Sanity: one port and one qubit have success 1/4, Eq.(34). -/
example : factorialRatio 2 1 1 = 1/4 := by norm_num [factorialRatio]
/-- Sanity: in dimension one even the full one-port endpoint succeeds surely. -/
example : factorialRatio 1 1 1 = 1 := by norm_num [factorialRatio]
/-- Sanity: the empty permutation has zero cycles, including fixed points. -/
example : cycleCount (1 : Equiv.Perm (Fin 0)) = 0 := by simp [cycleCount]
/-- Sanity: identity on r points has r cycles; fixed points cannot be dropped. -/
example (r : ℕ) : cycleCount (1 : Equiv.Perm (Fin r)) = r := by simp [cycleCount]
/-- Sanity: a zero-step path keeps its diagram and has no edge conditions. -/
example {d a : ℕ} (alpha : QAlgorithms.Schur.Partition d a) :
IsYoungPath alpha alpha 0 (fun _ => ⟨⟨a, by omega⟩, alpha⟩) := by
refine ⟨rfl, rfl, ?_, ?_⟩
· intro j
have hj : j.val = 0 := by omega
simp [hj]
· intro j
exact Fin.elim0 j
end QAlgorithms.Papers.Independent.Extend50.P20
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P20.BoundedShape
For any natural numbers , this abbreviates the type of pairs in which is an integer with and is a Young diagram with exactly cells and at most rows, the latter condition being that its first column has length at most . Thus the diagram’s required size depends on the first component of the pair. Zero values are included: when , the only pair consists of and the empty diagram; when , this is also the only pair for every .
QAlgorithms.Papers.Independent.Extend50.P20.DetDualFeasible
For arbitrary natural numbers , including zero, let , , , and be the injections . Given a complex matrix indexed by and a real number , this predicate means
Here means positive semidefinite, , and , with truncated at zero. The columns of are functions ; its entry at row and column is if for every and for every unselected , and zero otherwise. These are the only imposed conditions; there is no separate requirement that be positive semidefinite or that . If , the first family of conditions is vacuous. All reciprocals use inverse zero equal to zero, , is a singleton, and is empty if .
QAlgorithms.Papers.Independent.Extend50.P20.DetFeasible
For arbitrary natural numbers , including zero, let be the functions , let , and let be the injections . Given a complex matrix indexed by and complex matrices indexed by , this predicate means that is positive semidefinite, , every is positive semidefinite, and
is positive semidefinite, where . If , the family condition is vacuous and the sum is zero. The set is a singleton, is empty when , and .
QAlgorithms.Papers.Independent.Extend50.P20.IsResource
For natural numbers and a complex matrix whose rows and columns are indexed by all functions , means that is positive semidefinite and , with the trace equality taken in . No positivity assumption on or is imposed. When , the index set is a singleton and the trace must be , including when ; when , the index set is empty and its unique matrix satisfies the condition, since its trace and are both zero.
QAlgorithms.Papers.Independent.Extend50.P20.IsYoungPath
For natural numbers , Young diagrams with respectively cells and at most rows, a natural number , and a sequence , this defines a proposition as follows. Each is already required to be a pair with and a Young diagram having cells and at most rows. The proposition holds exactly when
where inclusion means inclusion of the diagrams’ cell sets. Although is not an input hypothesis, these conditions force it, so the proposition is false when . When , there are no inclusion conditions, and the sole diagram must equal both and , with its size component equal to .
QAlgorithms.Papers.Independent.Extend50.P20.JointOp
For natural numbers , is the space of all complex matrices whose rows and columns are indexed by pairs of functions and . There are no positivity, Hermitian, or unitarity requirements. When , these are matrices, including for ; when and , the index set is empty and there is exactly one matrix.
QAlgorithms.Papers.Independent.Extend50.P20.JointWord
For natural numbers , is the set of pairs , where and are arbitrary functions. No relation between and , and no condition , is imposed. When , this set is a singleton even if ; when and at least one of is positive, it is empty.
QAlgorithms.Papers.Independent.Extend50.P20.MpbtWord
For natural numbers , is the set of all functions , that is, words of length with symbols in a -element alphabet. Zero values are allowed: for there is exactly one word, the empty function, including when ; for there are no words.
QAlgorithms.Papers.Independent.Extend50.P20.PortOutcome
For natural numbers , is the set of injective functions . Such a function specifies an ordered selection of distinct indices among indices. When , there is exactly one such function for every ; when , there are none.
QAlgorithms.Papers.Independent.Extend50.P20.ProbDualFeasible
For arbitrary natural numbers , including zero, let , , , and be the injections . Given a complex matrix indexed by and a real number , this predicate means
Here means positive semidefinite, is the set of functions , and . The matrix , with rows and columns , has entry if for all and for all unselected , and zero otherwise. All reciprocals use inverse zero equal to zero, and . If , the conditions indexed by are vacuous; is a singleton, and is empty if .
QAlgorithms.Papers.Independent.Extend50.P20.ProbFeasible
For arbitrary natural numbers , including zero, let , let be the set of functions , and let be the set of injections . For each , let and be the set of functions . Given a complex matrix indexed by and a family of complex matrices indexed by , this predicate means that is positive semidefinite, , every is positive semidefinite, and
is positive semidefinite. Here , indexed by , has entry at , and , with rows and columns , has entry when for every and for every , and entry zero otherwise. The inverse of zero is taken to be zero. If , is empty, so the family condition is vacuous and the sum is zero; if , there is exactly one injection. The word set is a singleton even when , whereas is empty when .
QAlgorithms.Papers.Independent.Extend50.P20.RealizesMpbtEffects
For arbitrary natural numbers , including zero, let be the functions , let , and let be the injections . Given a complex matrix indexed by and a family of complex matrices indexed by , this predicate means that
and there exist complex matrices indexed by , one for each , and a complex matrix indexed by , such that every and are positive semidefinite,
Here , and denotes conjugate transpose. If , the indexed family conditions are vacuous and the sum condition becomes , while the trace condition on remains. Empty word domains give singleton word sets, word sets with nonempty domain and are empty, and .
QAlgorithms.Papers.Independent.Extend50.P20.ThetaFamily
For natural numbers , is the set of families indexed by all injections , where is an arbitrary complex matrix with rows and columns indexed by functions from to . No positivity or other matrix condition is imposed. When , there are no injections and the family is the unique empty family. For an existing injection, the matrix index set is a singleton when , even for , and is empty when and .
QAlgorithms.Papers.Independent.Extend50.P20.UnselectedPorts
For natural numbers and an injective function , is the set . Its elements carry the condition that they are outside the image of . The existence of forces , and this set has elements; it is empty when , and it contains all indices when .
QAlgorithms.Papers.Independent.Extend50.P20.bellInsertion
For natural numbers and an injection , put . The matrix has rows indexed by pairs of functions , , and columns indexed by functions . Its entry is the real number , regarded as complex, if for every and for every ; otherwise it is . The injection forces . Empty-domain conditions are vacuous; when , the coefficient is , including for , since . If , the coefficient is under the convention , and there are no row indices.
QAlgorithms.Papers.Independent.Extend50.P20.complementNumbering
For any natural numbers and any injection , this defines a bijection, chosen by finite-type enumeration,
The choice uses the fact that the complement of the injection’s range has cardinality . Natural-number subtraction is truncated at zero, although the existence of already forces . When , both sides are empty; when , the domain is the whole set of labels. There is no possible argument when .
QAlgorithms.Papers.Independent.Extend50.P20.cycleCount
For every natural number and every permutation of , this defines the natural number
The first term counts the entries of the multiset of nontrivial cycle lengths, including repeated lengths separately, rather than summing those lengths. Thus fixed points each contribute one additional cycle. For , both terms are zero.
QAlgorithms.Papers.Independent.Extend50.P20.detDualValues
For arbitrary natural numbers , including zero, let , , , and be the injections . This definition gives the set of real numbers for which there exist a complex matrix indexed by and a real number such that
Here means positive semidefinite, , and , where natural subtraction is truncated at zero. The matrix has columns indexed by functions , and entry at when for all and for every unselected , and zero otherwise. There are no separate positivity requirements on or . If , the conditions indexed by injections are vacuous. Inverse zero is zero and , so if , every represented value is zero. Word sets with empty domain are singletons, while those with nonempty domain and are empty.
QAlgorithms.Papers.Independent.Extend50.P20.detScore
For arbitrary natural numbers , including zero, let , , , and be the injections . Given arbitrary complex matrices indexed by , their defined real score is
Here is natural subtraction, truncated at zero, and has columns indexed by functions ; its entry at row and column is if for every and for every unselected , and zero otherwise. No positivity or feasibility condition is imposed on . If , the sum is empty and the score is zero. All quotients use inverse zero equal to zero, and ; in particular, if , the score is zero because its denominator is zero. Word sets with empty domain are singletons, and those with nonempty domain and are empty.
QAlgorithms.Papers.Independent.Extend50.P20.detValues
For arbitrary natural numbers , including zero, let , , , and be the injections . This definition gives the set of real numbers for which there exist a complex matrix indexed by and complex matrices indexed by , such that
Here means positive semidefinite, , and , where is truncated natural subtraction. The matrix has columns indexed by functions , and entry at precisely when for all and for every unselected ; its other entries are zero. Negative powers here denote reciprocals, with inverse zero equal to zero, and . If , the indexed conditions are vacuous and the sums vanish. The set is a singleton, while is empty if .
QAlgorithms.Papers.Independent.Extend50.P20.factorialRatio
For arbitrary natural numbers , this defines the real number
where denotes natural-number subtraction, applied successively from left to right, and factorials are embedded in before multiplication and division. No assumptions such as or are required: the formula uses these truncated factorial arguments even when or . Since and every natural-number factorial is positive, the denominator is always positive.
QAlgorithms.Papers.Independent.Extend50.P20.fixLast
For every natural number and every permutation of , this defines its extension to a permutation of by
In particular, it fixes the newly added last element. This also applies to , when it gives the identity permutation of the singleton set.
QAlgorithms.Papers.Independent.Extend50.P20.largestTeleportationEigenvalue
For any natural numbers , let be the set of Young diagrams with exactly cells and at most rows. For and , let count sequences of Young diagrams , each with at most rows, such that , , , and for every ; here is natural-number subtraction, truncated at zero. Define the real matrix
The declared number is
There are no positivity or size restrictions on . Empty sums are zero; if is empty, no vector satisfies the normalization, and the defined real supremum of the empty set is zero. When , the required path sizes are incompatible with the endpoint size, so all the path counts are zero; when , a path exists precisely when its endpoints coincide.
QAlgorithms.Papers.Independent.Extend50.P20.liftPorts
For natural numbers , let denote the set of functions . Given any complex matrix indexed by , its lift is the complex matrix indexed by with entries if , and otherwise; equivalently, it is . No condition on , positivity of the parameters, or inequality between and is required. For , the second word is uniquely empty, so the entries reduce to those of ; empty word-index sets give matrices with no entries.
QAlgorithms.Papers.Independent.Extend50.P20.mpbtSchurMultiplicity
For any natural numbers and any Young diagram with exactly cells and at most rows, this defines a natural number as follows. Use the fixed finite-enumeration bijection from the cells of to , and let and be the permutations of these labels that preserve, respectively, the row and the column of every cell. Let be the set of functions , and define a complex matrix on this set by
The value is the complex dimension of the image of the linear map with matrix on . There are no positivity assumptions on or : when , the unique empty diagram gives dimension ; when , no such exists.
QAlgorithms.Papers.Independent.Extend50.P20.mpbtSignal
For natural numbers and an injection , the matrix is , with the scalar evaluated in and denoting conjugate transpose. To specify , put : its rows are pairs of functions , , its columns are functions , and its entry is if and , and otherwise. The identity matrix on the column index set is used between and . Subtraction is natural-number subtraction, truncated at zero, although the existence of forces . Zero values of are allowed: powers with exponent zero are , and division by zero is defined to be zero.
QAlgorithms.Papers.Independent.Extend50.P20.multiplicitySquares
For any natural numbers , this defines the real number
Here is a natural-number dimension, viewed as a real number: number the cells of using the fixed finite-enumeration bijection, let and be its row-preserving and column-preserving label permutations, and, on the word set , form
Then . Empty sums have value ; in particular, the value is when , whereas for every , including , the value at is .
QAlgorithms.Papers.Independent.Extend50.P20.optimalMpbtSuccess
For arbitrary natural numbers , including zero, let , , and be the set of injections . For each , put , , and define the matrix , with rows and columns , to have entry when for every and for every , and zero otherwise. Also define . The defined real number is the supremum of the set
where is a complex matrix indexed by and each is a complex matrix indexed by . This definition does not assert that the supremum is attained. The real supremum operation returns zero for an empty set or a set unbounded above. Empty sums are zero, inverse zero is zero, and ; in particular, is empty if , is a singleton, and is empty if .
QAlgorithms.Papers.Independent.Extend50.P20.optimalProbOperation
For every pair of natural numbers , this defines a complex matrix on the word set by
with the real coefficients embedded in . To specify every term, use each diagram ’s fixed finite-enumeration numbering of its cells, and let preserve the row and column of every cell. Define
Here acts on , acts on , , and . Let be the orthogonal projection onto , put , and set
No positivity or nonzero-denominator assumptions are imposed; real division by zero is zero, empty sums are zero, and . When , the result is the one-by-one identity on the unique empty word, including when ; when , both the diagram index set and the word index set are empty.
QAlgorithms.Papers.Independent.Extend50.P20.optimalProbTheta
For every natural-number triple , this defines a family indexed by injections . For each such , put , let be the complement of its range, and let be the bijection chosen by finite-type enumeration. The matrix , indexed by functions , is
All coefficients are calculated in and then embedded in . For any diagram with cells, number its cells using the fixed finite-enumeration bijection and let be its row-preserving and column-preserving label permutations. On and on , respectively, define
Then and . If is the orthogonal projection onto and , define
There are no positivity or nonzero-denominator hypotheses: empty sums are zero, division by zero is defined to be zero, and . If , the family has no indices; if , each matrix is indexed by the unique empty word.
QAlgorithms.Papers.Independent.Extend50.P20.pathCount
For any natural numbers , Young diagrams with respectively cells and at most rows, and any natural number , this defines the natural number of sequences of pairs
such that , each is a Young diagram with exactly cells and at most rows, and
The count is the cardinality of the finite set of all such sequences. It is zero if there are no such sequences, in particular if . For , it is when the underlying diagrams and are equal and otherwise. Zero values of are allowed whenever the supplied diagrams exist.
QAlgorithms.Papers.Independent.Extend50.P20.probDualValues
For arbitrary natural numbers , including zero, let , , , and be the injections . This definition gives the set of real numbers for which there exist a complex matrix indexed by and a real number satisfying
Here means positive semidefinite, , and . The matrix has entry at row , column , when for every and for every unselected , and zero otherwise. Inverse zero is zero and . If , the conditions indexed by injections are vacuous; word sets with empty domain are singletons, and those with nonempty domain and are empty.
QAlgorithms.Papers.Independent.Extend50.P20.probScore
For arbitrary natural numbers , including zero, let be the set of functions . For every injection , let be a complex matrix indexed by the functions from the complement of to . The real score of this family is
No positivity or feasibility condition is imposed on the matrices. If , the sum is empty and the score is zero. If , division by the zero denominator also gives zero; when and , the denominator is . Functions from an empty domain form a singleton, while functions from a nonempty domain to the empty set form an empty indexing set.
QAlgorithms.Papers.Independent.Extend50.P20.probValues
For arbitrary natural numbers , including zero, let , , and be the set of injections ; for , put and . This definition gives the set of real numbers for which there exist a complex matrix indexed by and complex matrices indexed by , such that is positive semidefinite with , every is positive semidefinite,
Here on , and if for all and for all , and is zero otherwise. The notation means positive semidefinite. All inverses and quotients use inverse zero equal to zero, and . When , there are no injections, so the family condition is vacuous and the sums are zero; is a singleton, while is empty if .
QAlgorithms.Papers.Independent.Extend50.P20.spechtDimension
For any natural numbers and any Young diagram with exactly cells and at most rows, fix the cell numbering chosen by finite enumeration. Let and consist of the permutations of the cell labels that preserve every cell’s row and column, respectively, and let be the permutation group of . Define the complex matrix
Then is the complex dimension of the image of the linear map with matrix on , returned as a natural number. The case is included and gives dimension for the empty diagram; if , there is no diagram satisfying the argument’s requirements.
QAlgorithms.Papers.Independent.Extend50.P20.successEffect
For natural numbers , an injection , and any complex matrix indexed by functions , where , define , where is the conjugate transpose. Here has rows , with and , and entry when and , and otherwise. Thus the resulting matrix has rows and columns indexed by these pairs . No positivity assumption is imposed on . The injection forces ; zero parameters and empty index sets are included, with and .
QAlgorithms.Papers.Independent.Extend50.P20.teleportationMatrix
For arbitrary natural numbers , this defines a real matrix whose rows and columns are indexed by Young diagrams with exactly cells and at most rows. Put . For row diagram and column diagram , its entry is
where each count is embedded in . For a terminal diagram , is the number of sequences of pairs , , with , each having exactly cells and at most rows, and satisfying
Empty sums are zero. No condition is assumed: if , the required terminal size would be , so all these counts and all matrix entries are zero. If , the matrix is the identity on its diagram index set. When , that index set is empty; when , it consists of the empty diagram.
QAlgorithms.Papers.Independent.Extend50.P20.traceOutputs
For natural numbers , put . Given any complex matrix indexed by , is the complex matrix indexed by whose entries are . No positivity or normalization condition is imposed on . For , the sum has exactly one term, including for ; for , it is an empty sum and equals zero for every available pair .
QAlgorithms.Papers.Independent.Extend50.P20.unselectedYoungProjector
For natural numbers , an injection , and a Young diagram with cells and at most rows, let be the complement of and let be the bijection chosen by finite-type enumeration. The definition returns the complex matrix on functions whose entries are
Here is defined explicitly as follows. Number the cells of using the fixed finite-enumeration bijection, let preserve their rows and columns, and form
Let , let be its orthogonal projection, set , and define and . On words , set
The injection forces ; when , and are empty, and the returned matrix is the one-by-one identity on the unique empty word. No positive lower bound on is assumed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.