Definitions for Port-based teleportation in arbitrary dimension
DefinitionQAlgorithms_Papers_Independent_Extend50_P33The objects the formalized statements of Port-based teleportation in arbitrary dimension (arXiv:1612.09260) are stated in. Each was checked against the paper by a blind read-back and a moderator.
sdim: Specht dimension of the actual regular Young ideal; PDF pp.4,8.mult: Natural tensor multiplicity, computed as the GL(d) Young image dimension; PDF pp.4,9,24 (Schur–Weyl multiplicity).Extends: One-box branching, with height already enforced by both shape types; PDF p.4. This applies also to the untruncated appendix shape types.tensorIdentityExtension: Tensor identity extension on the last q registers; PDF pp.7–8.joinWord: Coordinate concatenation for physical tensor cuts; PDF pp.7,22.traceFinalQudits: Partial trace over exactly the last q qudits; PDF pp.11,13,22.transposeLast: Partial transpose on the final qudit, in the computational basis; PDF p.6.unnormalizedPortBell: Unnormalized Bell operator B on port a and input r, identity elsewhere; PDF pp.3,6,14,22. It has B²=dB, rather than B²=B.bellQ: Trace-one Bell projector Q=B/d on the selected pair; identities elsewhere. PDF pp.27–28, Eqs.(100),(106).portSwap: Swap a with the final Alice port; the last (input) register is fixed. PDF pp.8,27. The identity coset is included.effect: A bar-a operator is expressed in the ordered coordinates obtained by swapping a with the final Alice port; PDF pp.12,28, Eq.(108).pbtSwapSum: η is the actual partially transposed swap sum, without d^(-N); PDF p.7, Eq.(3). Here N=k+2 and n=k+3.etaAlpha: The physical α component constructed from Young projectors and Bell operators, PDF p.8 Eq.(7), before taking its support.mBlock: Physical M_alpha, constructed as support of Eq.(7), PDF p.8.fBlock: Physical F_mu(alpha)=M_alpha P_mu, PDF p.8.pbtBlockEigenvalue: Spectral scalar computed by the trace quotient, PDF p.9 Eq.(12). Its multiplicity/character formulas are conclusions below.classScalar: Central transposition-class scalar. Empty classes at degrees zero and one have scalar zero; PDF pp.9,18–20.reciprocalSet: Positive physical successor eigenvalues whose reciprocals are minimized; PDF p.27 Eq.(101). Finite nonemptiness is part of the mathematical result.minReciprocal: The finite minimum, used only with d≥2 and N≥2; PDF p.27 Eq.(101).fixedTheta: Optimal fixed-resource auxiliary operators in bar-a coordinates; PDF p.12 Proposition7 and p.27 Eq.(101).pbtSuccessProbability: Objective of the exact-success probabilistic PBT SDP, PDF p.11 Eq.(19).FixedFeasible: Physical fixed-resource primal feasibility; PDF p.11 Eq.(20).fixedValues: Fixed-resource feasible success values, without an empty/unbounded real supremum convention; PDF p.11.fixedValue: The corrected achievable value N/d^N sum_alpha m_alpha d_alpha/max gamma; PDF pp.11,27, missing N in the printed Lemma4 corrected from Eq.(19),(102).fixedRatioValue: Multiplicity-ratio minimum in Theorem3; PDF pp.4,11.pairTrace: Pair trace in the bar-a coordinates; PDF p.11 Eq.(22), p.13 Eq.(28).FixedDual: The fixed-resource dual has all N constraints and uses Q=B/d; PDF pp.11,28 Eqs.(22),(106).MaxSelector: A maximizing successor selector (not a supplied SDP witness); PDF p.11 Eq.(23).fixedOmega: Actual dual matrix for any maximizing selector, PDF p.28 Eq.(106).squareSum: Sum of squared actual tensor multiplicities, including degree zero; PDF p.24 Eq.(84).jointX: Explicit jointly optimal resource matrix X, PDF pp.12,28 Eq.(26),(109).jointTheta: Explicit jointly optimal transformed auxiliary effects, PDF pp.12,28 Eqs.(27),(108). They are transported to physical effects below.JointFeasible: Joint primal feasibility, including positivity and normalization of X; PDF p.12 Eq.(25).jointValues: Jointly attainable SDP success values; PDF pp.12–13.optimalProbability: Closed success expression with N ports, PDF pp.12–13,29 Eq.(112).jointO: O=X^(1/2), using the nonnegative spectral square root; PDF p.12.resourceVector: (O tensor I)|Phi_d>^tensor N, with normalized Bell pairs; PDF p.12 Theorem8. Its norm is a conclusion, not a premise.jointPhysical: Physical success effects obtained from the transformed SDP effects by conjugation with O^(-1); PDF p.12 Eq.(25).jointFailure: Failure effect completing the physical N+1 outcome POVM; PDF pp.2,12.jointOmega: The actual joint dual witness d eta/(N+d²−1), PDF p.29 Eq.(117).JointDual: Joint dual constraints: the third traces out the input n, correcting printed Tr_a in Eq.(28) by Eqs.(119)–(121), PDF pp.13,30.pbtSignal: rho_a=B_a/d^N from PDF pp.3,6, distinct from SDP's Q_a.srmRaw: Uncompleted square-root measurement, with inverse zero on the kernel; PDF pp.5,13,14.srm: Completed deterministic POVM: Delta uses the uncompleted effects, resolving the self-reference in the source; PDF pp.5,13.portOutcome: Physical subchannel for one outcome: measure E on Alice's N ports and input, discard Alice and every Bob port except a, and identify that port with Fin d. The resource amplitudes are O(x,z)/sqrt(d^N). This contraction is independent of the measurement instrument because Alice is discarded. PDF pp.2,4–5,12–14. No output correction or transpose is applied by Bob.ProtocolPOVM: The N conclusive effects together with the residual failure effect form an N+1 outcome POVM; PDF pp.2,11–12.ExactPBT: Perfect conclusive teleportation for every input operator, hence also for inputs entangled with a reference. Each outcome subchannel is its nonnegative probability times the identity; total success is p. PDF pp.2,4,11–12. This is not an SDP certificate.fixedOperationalValues: Operational attainable probabilities for the fixed normalized Bell-pair resource O=I, ranging over every perfect-conclusive POVM, not only effects already supplied in the source's reduced SDP form. PDF pp.4,11.jointOperationalValues: Operational attainable probabilities over all pure resource states and perfect-conclusive POVMs. Every pure resource has coefficients O(x,z)/sqrt(d^N); Tr(O†O)=d^N is precisely its normalization. Singular O is allowed. PDF p.12, Theorem8.pbtDeterministicChannel: Actual deterministic channel: normalized Bell resource, Alice's completed square-root POVM and Bob's selected port, with all other systems discarded. PDF pp.5,13–14.deterministicFidelity: Entanglement fidelity of the actual channel with a normalized Bell reference, rather than a definition by the proof's trace identity (30). PDF pp.5,13–14.cycles: Full number of cycles, including every fixed point, PDF p.24.extendPerm: Inclusion S_r into S_(r+1) fixing the final letter; PDF pp.17,24.fourierSubgroup: Unscaled subgroup Fourier sum F_ij^mu (not F_mu(alpha)); PDF p.20 Eq.(64).permutationSpan: The represented permutation algebra as its actual linear span; PDF pp.22,25. Linear dependence of permutation operators is allowed.transposedSpan: The represented partially transposed permutation algebra, PDF p.22: its underlying vector space is the span of the actual transposed matrices.RealizesSpechtIrrep: Realization of the irreducible labelled by mu in an arbitrary orthonormal coordinate space. The intertwiner identifies the label; no branching, projector rank or sum rule is assumed. PDF pp.17–18.Preds: Every predecessor shape, without the physical height-d truncation; PDF pp.17–18, Eq.(42). At degree zero there is the empty diagram.subgroupProjector: The subgroup isotypic projector in any realization R, independently computed by its character sum, PDF pp.17–18.predecessorAction: The orthonormal Specht direct-sum action on all predecessors; PDF p.17 Eq.(42).
import Mathlib
import Definitions.Def_QAlgorithms_Defs_SchurWeylDecomposition
import Definitions.Def_QAlgorithms_Defs_QuditChannelFidelities
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P58
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P21
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P07
import Definitions.Def_QAlgorithms_Papers_Independent_Gap20_P01
set_option backward.isDefEq.respectTransparency.types false
noncomputable section
open scoped Matrix ComplexOrder Matrix.Norms.L2Operator
namespace QAlgorithms.Papers.Independent.Extend50.P33
attribute [local instance] Classical.propDecidable Classical.decEq
-- Exact accepted type constructors; local notation only reorders Word's arguments.
local notation "Word" => (fun d r : ℕ =>
QAlgorithms.Papers.Independent.Information100.P58.Word r d)
local notation "Op" => (fun d r : ℕ =>
QAlgorithms.Papers.Independent.Information100.P21.Op
(QAlgorithms.Papers.Independent.Information100.P58.Word r d))
open QAlgorithms.Papers.Independent.Information100.P07 (support)
open QAlgorithms.Papers.Independent.Gap20.P01 (spechtMatrix)
/-- Specht dimension of the actual regular Young ideal; PDF pp.4,8. -/
def sdim {d r : ℕ} (a : Schur.Partition d r) : ℕ :=
Module.finrank ℂ (Schur.spechtSpace a)
/-- Natural tensor multiplicity, computed as the GL(d) Young image dimension;
PDF pp.4,9,24 (Schur–Weyl multiplicity). -/
def mult {d r : ℕ} (a : Schur.Partition d r) : ℕ :=
Module.finrank ℂ (Schur.schurModule a)
/-- One-box branching, with height already enforced by both shape types;
PDF p.4. This applies also to the untruncated appendix shape types. -/
def Extends {d e r : ℕ} (a : Schur.Partition d r)
(b : Schur.Partition e (r+1)) : Prop := a.val.cells ⊆ b.val.cells
/-- Tensor identity extension on the last q registers; PDF pp.7–8. -/
def tensorIdentityExtension {d p : ℕ} (q : ℕ) (A : Op d p) : Op d (p+q) :=
fun x y => if ∀ i : Fin (p+q), p ≤ i.val → x i = y i then
A (fun i => x ⟨i.val,by omega⟩) (fun i => y ⟨i.val,by omega⟩) else 0
/-- Coordinate concatenation for physical tensor cuts; PDF pp.7,22. -/
def joinWord {d p q : ℕ} (x : Word d p) (z : Word d q) : Word d (p+q) :=
fun i => if h : i.val < p then x ⟨i.val,h⟩ else z ⟨i.val-p,by omega⟩
/-- Partial trace over exactly the last q qudits; PDF pp.11,13,22. -/
def traceFinalQudits {d p : ℕ} (q : ℕ) (A : Op d (p+q)) : Op d p :=
fun x y => ∑ z : Word d q, A (joinWord x z) (joinWord y z)
/-- Partial transpose on the final qudit, in the computational basis; PDF p.6. -/
def transposeLast {d r : ℕ} (A : Op d (r+1)) : Op d (r+1) :=
fun x y => A (Function.update x (Fin.last r) (y (Fin.last r)))
(Function.update y (Fin.last r) (x (Fin.last r)))
/-- Unnormalized Bell operator B on port a and input r, identity elsewhere;
PDF pp.3,6,14,22. It has B²=dB, rather than B²=B. -/
def unnormalizedPortBell (d r : ℕ) (a : Fin r) : Op d (r+1) :=
fun x y => if x a.castSucc = x (Fin.last r) ∧
y a.castSucc = y (Fin.last r) ∧
(∀ i : Fin (r+1), i ≠ a.castSucc → i ≠ Fin.last r → x i = y i)
then 1 else 0
/-- Trace-one Bell projector Q=B/d on the selected pair; identities elsewhere.
PDF pp.27–28, Eqs.(100),(106). -/
def bellQ (d r : ℕ) (a : Fin r) : Op d (r+1) := (1/(d:ℂ)) • unnormalizedPortBell d r a
/-- Swap a with the final Alice port; the last (input) register is fixed.
PDF pp.8,27. The identity coset is included. -/
def portSwap (d k : ℕ) (a : Fin (k+2)) : Op d (k+3) :=
Schur.tensorPermutation d (k+3)
(Equiv.swap a.castSucc (Fin.last (k+1)).castSucc)
/-- A bar-a operator is expressed in the ordered coordinates obtained by
swapping a with the final Alice port; PDF pp.12,28, Eq.(108). -/
def effect {d k : ℕ} (a : Fin (k+2)) (T : Op d (k+1)) : Op d (k+3) :=
portSwap d k a * (bellQ d (k+2) (Fin.last (k+1)) * tensorIdentityExtension 2 T) *
portSwap d k a
/-- η is the actual partially transposed swap sum, without d^(-N);
PDF p.7, Eq.(3). Here N=k+2 and n=k+3. -/
def pbtSwapSum (d k : ℕ) : Op d (k+3) := ∑ a : Fin (k+2), unnormalizedPortBell d (k+2) a
/-- The physical α component constructed from Young projectors and Bell
operators, PDF p.8 Eq.(7), before taking its support. -/
def etaAlpha {d k : ℕ} (a : Schur.Partition d (k+1)) : Op d (k+3) :=
∑ b : Fin (k+2), portSwap d k b *
(tensorIdentityExtension 2 (Schur.isotypicProjector a) * unnormalizedPortBell d (k+2) (Fin.last (k+1))) *
portSwap d k b
/-- Physical M_alpha, constructed as support of Eq.(7), PDF p.8. -/
def mBlock {d k : ℕ} (a : Schur.Partition d (k+1)) : Op d (k+3) :=
support (etaAlpha a)
/-- Physical F_mu(alpha)=M_alpha P_mu, PDF p.8. -/
def fBlock {d k : ℕ} (a : Schur.Partition d (k+1))
(b : Schur.Partition d (k+2)) : Op d (k+3) :=
mBlock a * tensorIdentityExtension 1 (Schur.isotypicProjector b)
/-- Spectral scalar computed by the trace quotient, PDF p.9 Eq.(12).
Its multiplicity/character formulas are conclusions below. -/
def pbtBlockEigenvalue {d k : ℕ} (a : Schur.Partition d (k+1))
(b : Schur.Partition d (k+2)) : ℝ :=
( (tensorIdentityExtension 1 (Schur.isotypicProjector b) * etaAlpha a).trace ).re /
((mult a : ℝ) * sdim b)
/-- Central transposition-class scalar. Empty classes at degrees zero and one
have scalar zero; PDF pp.9,18–20. -/
def classScalar {d r : ℕ} (a : Schur.Partition d r) : ℝ :=
(∑ i : Fin r, ∑ j : Fin r, if i < j then
(Schur.spechtCharacter a (Equiv.swap i j)).re else 0) / sdim a
/-- Positive physical successor eigenvalues whose reciprocals are minimized;
PDF p.27 Eq.(101). Finite nonemptiness is part of the mathematical result. -/
def reciprocalSet {d k : ℕ} (a : Schur.Partition d (k+1)) : Set ℝ :=
{x | ∃ b : Schur.Partition d (k+2), Extends a b ∧ x = 1 / pbtBlockEigenvalue a b}
/-- The finite minimum, used only with d≥2 and N≥2; PDF p.27 Eq.(101). -/
def minReciprocal {d k : ℕ} (a : Schur.Partition d (k+1)) : ℝ :=
sInf (reciprocalSet a)
/-- Optimal fixed-resource auxiliary operators in bar-a coordinates;
PDF p.12 Proposition7 and p.27 Eq.(101). -/
def fixedTheta (d k : ℕ) : Fin (k+2) → Op d (k+1) := fun _ =>
∑ a : Schur.Partition d (k+1), ((d:ℂ) * (minReciprocal a : ℂ)) •
Schur.isotypicProjector a
/-- Objective of the exact-success probabilistic PBT SDP, PDF p.11 Eq.(19). -/
def pbtSuccessProbability {d k : ℕ} (T : Fin (k+2) → Op d (k+1)) : ℝ :=
(∑ a, (T a).trace.re) / (d:ℝ)^(k+3)
/-- Physical fixed-resource primal feasibility; PDF p.11 Eq.(20). -/
def FixedFeasible {d k : ℕ} (T : Fin (k+2) → Op d (k+1)) : Prop :=
(∀ a, (T a).PosSemidef) ∧ (1 - ∑ a, effect a (T a)).PosSemidef
/-- Fixed-resource feasible success values, without an empty/unbounded real
supremum convention; PDF p.11. -/
def fixedValues (d k : ℕ) : Set ℝ := {p | ∃ T : Fin (k+2) → Op d (k+1),
FixedFeasible (d := d) (k := k) T ∧
p = pbtSuccessProbability (d := d) (k := k) T}
/-- The corrected achievable value N/d^N sum_alpha m_alpha d_alpha/max gamma;
PDF pp.11,27, missing N in the printed Lemma4 corrected from Eq.(19),(102). -/
def fixedValue (d k : ℕ) : ℝ :=
((k+2:ℕ):ℝ) / (d:ℝ)^(k+2) *
∑ a : Schur.Partition d (k+1), (mult a:ℝ) * sdim a * minReciprocal a
/-- Multiplicity-ratio minimum in Theorem3; PDF pp.4,11. -/
def fixedRatioValue (d k : ℕ) : ℝ :=
(1/(d:ℝ)^(k+2)) * ∑ a : Schur.Partition d (k+1), (mult a:ℝ)^2 *
sInf {x : ℝ | ∃ b : Schur.Partition d (k+2), Extends a b ∧
x = (sdim b:ℝ) / mult b}
/-- Pair trace in the bar-a coordinates; PDF p.11 Eq.(22), p.13 Eq.(28). -/
def pairTrace {d k : ℕ} (a : Fin (k+2)) (A : Op d (k+3)) : Op d (k+1) :=
traceFinalQudits 2 (portSwap d k a * A * portSwap d k a)
/-- The fixed-resource dual has all N constraints and uses Q=B/d;
PDF pp.11,28 Eqs.(22),(106). -/
def FixedDual {d k : ℕ} (A : Op d (k+3)) : Prop :=
A.PosSemidef ∧ ∀ a : Fin (k+2), (pairTrace a (bellQ d (k+2) a * A) - 1).PosSemidef
/-- A maximizing successor selector (not a supplied SDP witness); PDF p.11 Eq.(23). -/
def MaxSelector {d k : ℕ}
(s : Schur.Partition d (k+1) → Schur.Partition d (k+2)) : Prop :=
∀ a, Extends a (s a) ∧ ∀ b, Extends a b → pbtBlockEigenvalue a b ≤ pbtBlockEigenvalue a (s a)
/-- Actual dual matrix for any maximizing selector, PDF p.28 Eq.(106). -/
def fixedOmega {d k : ℕ}
(s : Schur.Partition d (k+1) → Schur.Partition d (k+2)) : Op d (k+3) :=
∑ a, ((d:ℂ) * (mult a:ℂ) / (mult (s a):ℂ)) • fBlock a (s a)
/-- Sum of squared actual tensor multiplicities, including degree zero;
PDF p.24 Eq.(84). -/
def squareSum (d r : ℕ) : ℝ := ∑ a : Schur.Partition d r, (mult a:ℝ)^2
/-- Explicit jointly optimal resource matrix X, PDF pp.12,28 Eq.(26),(109). -/
def jointX (d k : ℕ) : Op d (k+2) :=
∑ b : Schur.Partition d (k+2),
((d:ℂ)^(k+2) / (squareSum d (k+2):ℂ) * (mult b:ℂ) / (sdim b:ℂ)) •
Schur.isotypicProjector b
/-- Explicit jointly optimal transformed auxiliary effects, PDF pp.12,28
Eqs.(27),(108). They are transported to physical effects below. -/
def jointTheta (d k : ℕ) : Fin (k+2) → Op d (k+1) := fun _ =>
∑ a : Schur.Partition d (k+1),
((d:ℂ)^(k+3) / (squareSum d (k+2):ℂ) * (mult a:ℂ) /
(((k+2:ℕ):ℂ) * (sdim a:ℂ))) • Schur.isotypicProjector a
/-- Joint primal feasibility, including positivity and normalization of X;
PDF p.12 Eq.(25). -/
def JointFeasible {d k : ℕ} (X : Op d (k+2))
(T : Fin (k+2) → Op d (k+1)) : Prop :=
X.PosSemidef ∧ X.trace = (d:ℂ)^(k+2) ∧ (∀ a, (T a).PosSemidef) ∧
(tensorIdentityExtension 1 X - ∑ a, effect a (T a)).PosSemidef
/-- Jointly attainable SDP success values; PDF pp.12–13. -/
def jointValues (d k : ℕ) : Set ℝ :=
{p | ∃ X : Op d (k+2), ∃ T : Fin (k+2) → Op d (k+1),
JointFeasible (d := d) (k := k) X T ∧
p = pbtSuccessProbability (d := d) (k := k) T}
/-- Closed success expression with N ports, PDF pp.12–13,29 Eq.(112). -/
def optimalProbability (d N : ℕ) : ℝ := (N:ℝ) / ((N:ℝ) + (d:ℝ)^2 - 1)
/-- O=X^(1/2), using the nonnegative spectral square root; PDF p.12. -/
def jointO (d k : ℕ) : Op d (k+2) := cfc Real.sqrt (jointX d k)
/-- (O tensor I)|Phi_d>^tensor N, with normalized Bell pairs;
PDF p.12 Theorem8. Its norm is a conclusion, not a premise. -/
def resourceVector (d k : ℕ) :
EuclideanSpace ℂ (Word d (k+2) × Word d (k+2)) :=
WithLp.toLp 2 fun z => jointO d k z.1 z.2 / (Real.sqrt ((d:ℝ)^(k+2)) : ℂ)
/-- Physical success effects obtained from the transformed SDP effects by
conjugation with O^(-1); PDF p.12 Eq.(25). -/
def jointPhysical (d k : ℕ) (a : Fin (k+2)) : Op d (k+3) :=
tensorIdentityExtension 1 (jointO d k)⁻¹ * effect a (jointTheta d k a) *
tensorIdentityExtension 1 (jointO d k)⁻¹
/-- Failure effect completing the physical N+1 outcome POVM; PDF pp.2,12. -/
def jointFailure (d k : ℕ) : Op d (k+3) := 1 - ∑ a, jointPhysical d k a
/-- The actual joint dual witness d eta/(N+d²−1), PDF p.29 Eq.(117). -/
def jointOmega (d k : ℕ) : Op d (k+3) :=
((d:ℂ) / (((k+2:ℕ):ℂ) + (d:ℂ)^2 - 1)) • pbtSwapSum d k
/-- Joint dual constraints: the third traces out the input n, correcting
printed Tr_a in Eq.(28) by Eqs.(119)–(121), PDF pp.13,30. -/
def JointDual {d k : ℕ} (A : Op d (k+3)) (b : ℝ) : Prop :=
FixedDual A ∧ 0 ≤ b ∧
((b:ℂ) • (1 : Op d (k+2)) - (1/(d:ℂ)^(k+3)) • traceFinalQudits 1 A).PosSemidef
/-- rho_a=B_a/d^N from PDF pp.3,6, distinct from SDP's Q_a. -/
def pbtSignal (d k : ℕ) (a : Fin (k+2)) : Op d (k+3) :=
(1/(d:ℂ)^(k+2)) • unnormalizedPortBell d (k+2) a
/-- Uncompleted square-root measurement, with inverse zero on the kernel;
PDF pp.5,13,14. -/
def srmRaw (d k : ℕ) (a : Fin (k+2)) : Op d (k+3) :=
let R := cfc (fun x : ℝ => (Real.sqrt x)⁻¹) (∑ b, pbtSignal d k b)
R * pbtSignal d k a * R
/-- Completed deterministic POVM: Delta uses the uncompleted effects,
resolving the self-reference in the source; PDF pp.5,13. -/
def srm (d k : ℕ) (a : Fin (k+2)) : Op d (k+3) :=
srmRaw d k a + (1/((k+2:ℕ):ℂ)) • (1 - ∑ b, srmRaw d k b)
/-- Physical subchannel for one outcome: measure E on Alice's N ports and
input, discard Alice and every Bob port except a, and identify that port with
Fin d. The resource amplitudes are O(x,z)/sqrt(d^N). This contraction is
independent of the measurement instrument because Alice is discarded.
PDF pp.2,4–5,12–14. No output correction or transpose is applied by Bob. -/
def portOutcome {d k : ℕ} (O : Op d (k+2)) (E : Op d (k+3))
(a : Fin (k+2)) : Superop (Fin d) (Fin d) :=
fun Z u v => (1/(d:ℂ)^(k+2)) *
∑ z : Word d (k+2), if z a = u then
∑ x : Word d (k+2), ∑ y : Word d (k+2),
∑ i : Fin d, ∑ j : Fin d,
O x z * star (O y (Function.update z a v)) * Z i j *
E (joinWord (d := d) (p := k+2) (q := 1) y (fun _ : Fin 1 => j))
(joinWord (d := d) (p := k+2) (q := 1) x (fun _ : Fin 1 => i))
else 0
/-- The N conclusive effects together with the residual failure effect form
an N+1 outcome POVM; PDF pp.2,11–12. -/
def ProtocolPOVM {d k : ℕ} (E : Fin (k+2) → Op d (k+3)) : Prop :=
(∀ a, (E a).PosSemidef) ∧ (1 - ∑ a, E a).PosSemidef
/-- Perfect conclusive teleportation for every input operator, hence also
for inputs entangled with a reference. Each outcome subchannel is its
nonnegative probability times the identity; total success is p.
PDF pp.2,4,11–12. This is not an SDP certificate. -/
def ExactPBT {d k : ℕ} (O : Op d (k+2))
(E : Fin (k+2) → Op d (k+3)) (p : ℝ) : Prop :=
∃ c : Fin (k+2) → ℝ, (∀ a, 0 ≤ c a) ∧ (∑ a, c a) = p ∧
∀ a Z, portOutcome O (E a) a Z = (c a : ℂ) • Z
/-- Operational attainable probabilities for the fixed normalized Bell-pair
resource O=I, ranging over every perfect-conclusive POVM, not only effects
already supplied in the source's reduced SDP form. PDF pp.4,11. -/
def fixedOperationalValues (d k : ℕ) : Set ℝ :=
{p | ∃ E : Fin (k+2) → Op d (k+3), ProtocolPOVM E ∧
ExactPBT (1 : Op d (k+2)) E p}
/-- Operational attainable probabilities over all pure resource states and
perfect-conclusive POVMs. Every pure resource has coefficients O(x,z)/sqrt(d^N);
Tr(O†O)=d^N is precisely its normalization. Singular O is allowed.
PDF p.12, Theorem8. -/
def jointOperationalValues (d k : ℕ) : Set ℝ :=
{p | ∃ O : Op d (k+2), ∃ E : Fin (k+2) → Op d (k+3),
(star O * O).trace = (d:ℂ)^(k+2) ∧ ProtocolPOVM E ∧ ExactPBT O E p}
/-- Actual deterministic channel: normalized Bell resource, Alice's completed
square-root POVM and Bob's selected port, with all other systems discarded.
PDF pp.5,13–14. -/
def pbtDeterministicChannel (d k : ℕ) : Superop (Fin d) (Fin d) :=
fun Z => ∑ a : Fin (k+2), portOutcome (1 : Op d (k+2)) (srm d k a) a Z
/-- Entanglement fidelity of the actual channel with a normalized Bell
reference, rather than a definition by the proof's trace identity (30).
PDF pp.5,13–14. -/
def deterministicFidelity (d k : ℕ) (hd : 0 < d) : ℝ :=
QuditFidelity.entanglementFidelity d hd (pbtDeterministicChannel d k)
/-- Full number of cycles, including every fixed point, PDF p.24. -/
def cycles {r : ℕ} (pi : Equiv.Perm (Fin r)) : ℕ :=
pi.cycleType.card + (r - pi.support.card)
/-- Inclusion S_r into S_(r+1) fixing the final letter; PDF pp.17,24. -/
def extendPerm {r : ℕ} (pi : Equiv.Perm (Fin r)) : Equiv.Perm (Fin (r+1)) :=
Equiv.permCongr finSumFinEquiv (Equiv.sumCongr pi (Equiv.refl (Fin 1)))
/-- Unscaled subgroup Fourier sum F_ij^mu (not F_mu(alpha)); PDF p.20 Eq.(64). -/
def fourierSubgroup {d k : ℕ} (b : Schur.Partition d (k+2))
(i j : Fin (sdim b)) : Op d (k+2) :=
∑ pi : Equiv.Perm (Fin (k+1)),
spechtMatrix b (extendPerm pi⁻¹) j i •
Schur.tensorPermutation d (k+2) (extendPerm pi)
/-- The represented permutation algebra as its actual linear span;
PDF pp.22,25. Linear dependence of permutation operators is allowed. -/
def permutationSpan (d r : ℕ) : Submodule ℂ (Op d r) :=
Submodule.span ℂ (Set.range (Schur.tensorPermutation d r))
/-- The represented partially transposed permutation algebra, PDF p.22:
its underlying vector space is the span of the actual transposed matrices. -/
def transposedSpan (d r : ℕ) : Submodule ℂ (Op d (r+1)) :=
Submodule.span ℂ (Set.range fun pi : Equiv.Perm (Fin (r+1)) =>
transposeLast (Schur.tensorPermutation d (r+1) pi))
/-- Realization of the irreducible labelled by mu in an arbitrary orthonormal
coordinate space. The intertwiner identifies the label; no branching, projector
rank or sum rule is assumed. PDF pp.17–18. -/
def RealizesSpechtIrrep {r D : ℕ} (mu : Schur.Partition (r+1) (r+1))
(R : Equiv.Perm (Fin (r+1)) →* Matrix.unitaryGroup (Fin D) ℂ) : Prop :=
∃ e : Schur.spechtSpace mu ≃ₗᵢ[ℂ] EuclideanSpace ℂ (Fin D),
∀ pi v, e (Schur.spechtRepresentation mu pi v) =
act (R pi : Matrix (Fin D) (Fin D) ℂ) (e v)
/-- Every predecessor shape, without the physical height-d truncation;
PDF pp.17–18, Eq.(42). At degree zero there is the empty diagram. -/
abbrev Preds {r : ℕ} (mu : Schur.Partition (r+1) (r+1)) :=
{a : Schur.Partition r r // Extends a mu}
/-- The subgroup isotypic projector in any realization R, independently
computed by its character sum, PDF pp.17–18. -/
def subgroupProjector {r D : ℕ}
(R : Equiv.Perm (Fin (r+1)) →* Matrix.unitaryGroup (Fin D) ℂ)
(a : Schur.Partition r r) : Matrix (Fin D) (Fin D) ℂ :=
((sdim a:ℂ)/(r.factorial:ℂ)) •
∑ pi : Equiv.Perm (Fin r), Schur.spechtCharacter a pi⁻¹ •
(R (extendPerm pi) : Matrix (Fin D) (Fin D) ℂ)
/-- The orthonormal Specht direct-sum action on all predecessors; PDF p.17 Eq.(42). -/
def predecessorAction {r : ℕ} (mu : Schur.Partition (r+1) (r+1))
(pi : Equiv.Perm (Fin r))
(v : EuclideanSpace ℂ ((a : Preds mu) × Fin (sdim a.val))) :
EuclideanSpace ℂ ((a : Preds mu) × Fin (sdim a.val)) :=
WithLp.toLp 2 fun z => ∑ j : Fin (sdim z.1.val),
spechtMatrix z.1.val pi z.2 j * v ⟨z.1,j⟩
/-- At the all-zero tensor word, the unnormalized Bell coefficient is one;
PDF p.22 Eq.(70), normalization sanity check. -/
example : unnormalizedPortBell 2 2 0 (fun _ => 0) (fun _ => 0) = 1 := by simp [unnormalizedPortBell]
/-- The normalized Bell coefficient is 1/2 at d=2, PDF p.27 Eq.(100). -/
example : bellQ 2 2 0 (fun _ => 0) (fun _ => 0) = (1/2:ℂ) := by
simp [bellQ,unnormalizedPortBell]
/-- Identity permutations have r cycles, including fixed points; PDF p.24. -/
example (r : ℕ) : cycles (1 : Equiv.Perm (Fin r)) = r := by simp [cycles]
/-- At d=2,N=2 the joint closed value is 2/5; PDF p.29 Eq.(112). -/
example : optimalProbability 2 2 = (2/5:ℝ) := by norm_num [optimalProbability]
/-- Zero operator has zero support; PDF p.8 support convention. -/
example (d r : ℕ) : support (0 : Op d r) = 0 := by
simp [support,
QAlgorithms.Papers.Independent.Information100.P07.projection,
QAlgorithms.Papers.Independent.Information100.P07.operatorRange]
/-- A zero measurement effect produces the zero outcome map on every input;
this checks the effect's placement in the physical contraction. -/
example {d k : ℕ} (O : Op d (k+2)) (a : Fin (k+2))
(Z : Matrix (Fin d) (Fin d) ℂ) : portOutcome O 0 a Z = 0 := by
ext u v
simp [portOutcome]
end QAlgorithms.Papers.Independent.Extend50.P33
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P33.ExactPBT
For arbitrary natural numbers , let , , be a complex matrix indexed by , be complex matrices indexed by , and . This predicate means that there exist real numbers with such that, for every and every complex matrix ,
Appending a coordinate is denoted by , and replaces coordinate . There are no additional conditions on or the , and the equality is required for all matrices , not merely density matrices. The definition includes ; for the matrix equalities are vacuous, and the predicate is equivalent to .
QAlgorithms.Papers.Independent.Extend50.P33.Extends
For natural numbers , a Young diagram with cells and at most rows, and a Young diagram with cells and at most rows, means that every cell of , with its existing row and column coordinates, is also a cell of . The bounds and need not agree. The definition allows ; in that case the cell-inclusion condition holds for every available .
QAlgorithms.Papers.Independent.Extend50.P33.FixedDual
For any natural numbers and any complex matrix indexed by , this predicate means that is positive semidefinite and, for every ,
is a positive semidefinite matrix in the indices . Here , permutes word coordinates by exchanging positions and , and equals when , , and at every position other than , and equals otherwise. Concatenation is denoted by , and division by zero is . There is no trace normalization requirement; for , all these matrices have empty index sets and the predicate holds.
QAlgorithms.Papers.Independent.Extend50.P33.FixedFeasible
For arbitrary natural numbers and a family , , of complex matrices on length- words over , this predicate means
Here all matrices in the second inequality act on length- words; is the permutation matrix interchanging coordinates and ; equals when both final coordinates of agree and is zero otherwise; and precisely when , , and for , with other entries zero. The scalar is taken in , with . The case is included. For , the matrix index sets are empty and the predicate holds for their unique matrix family.
QAlgorithms.Papers.Independent.Extend50.P33.JointDual
For arbitrary natural numbers , a complex matrix on words of length , where , and a real number , this predicate holds exactly when
Here words take values in , swaps positions , and is one exactly when , , and all other corresponding coordinates of agree, and is zero otherwise. For a matrix on words of length , the partial trace used here is defined entrywise by , summing over all length- words and writing for concatenation. The notation means positive semidefinite. There is no trace normalization requirement on . Scalar division by zero is zero; when , all these matrices have empty index sets and the predicate reduces to .
QAlgorithms.Papers.Independent.Extend50.P33.JointFeasible
For any natural numbers , a complex matrix indexed by , and a family of complex matrices indexed by , one for every , this predicate means
Here , has entry when the final coordinates agree and otherwise, and swaps positions in words of length . The matrix equals when , , and for , and equals otherwise. The trace equality is a complex equality, and means positive semidefinite. There is no assumption that ; division by zero is , and for the uniquely determined empty matrices satisfy the predicate.
QAlgorithms.Papers.Independent.Extend50.P33.MaxSelector
For any natural numbers , this predicate applies to a function sending each Young diagram with cells and at most rows to a diagram with cells and at most rows. It requires that and that, for every diagram with cells and at most rows containing ,
The quantities are defined as follows. For a diagram with cells, fix its supplied cell numbering and let preserve rows and columns. Put on words in , let be the dimension of the range of , and let be the range of the permutation-indexed matrix with entries . Set , , where and is orthogonal projection onto , and . The extension has entry when the final coordinates of agree, and otherwise. Finally, , where swaps positions and exactly when , , and all earlier coordinates agree. Division by zero is ; no uniqueness of the selected maximizer is required, and for the requirement is vacuous.
QAlgorithms.Papers.Independent.Extend50.P33.Preds
For any natural number and any Young diagram with cells and at most rows, this abbreviation denotes the type of Young diagrams having exactly cells and at most rows, together with the requirement that every cell of is a cell of . The extension condition is precisely inclusion of the cell sets. In particular, is included, and its predecessor is the empty diagram.
QAlgorithms.Papers.Independent.Extend50.P33.ProtocolPOVM
For arbitrary natural numbers , put and . A family of complex matrices indexed by satisfies this predicate precisely when every is positive semidefinite and
is positive semidefinite. Equality is not required. Both and are included; when , these are matrices on an empty index set and the conditions hold for the unique such family.
QAlgorithms.Papers.Independent.Extend50.P33.RealizesSpechtIrrep
For natural numbers , let be a Young diagram with cells and at most rows, and let be a group homomorphism. To define the space appearing in this predicate, use the definition’s chosen bijection from the cells of to the positions; let and be the permutations that preserve, respectively, each numbered cell’s row and column. On , form the matrix
and let , with its inherited Euclidean inner product. Write for orthogonal projection onto , and let be left translation, . The predicate asserts that there exists a bijective complex linear isometry such that, for every and every ,
Here the action on the right is ordinary matrix multiplication. The quantification permits and ; it imposes no separate positivity assumption on , although the required isometry must exist.
QAlgorithms.Papers.Independent.Extend50.P33.bellQ
For natural numbers and , is the complex matrix indexed by length- words over with entry at when , , and at every coordinate other than , and with entry otherwise. The division is in , where ; no assumption is made, although also makes the word-index set empty. For , there is no possible index .
QAlgorithms.Papers.Independent.Extend50.P33.classScalar
For natural numbers and a Young diagram with cells and first-column length at most , this defines a real scalar as follows. Number the cells by using the chosen cardinality equivalence, and let consist of permutations preserving the row and column, respectively, of every numbered cell. Define the matrix on
Let , let be its orthogonal projection, and let . The scalar is
Thus each unordered pair of distinct coordinates contributes once. The case , including the empty diagram, and the case have empty sums and give zero. Division uses the total real convention that division by zero is zero.
QAlgorithms.Papers.Independent.Extend50.P33.cycles
For every natural number and every permutation of , this defines the natural number consisting of the number of nontrivial cycles in the cycle-type multiset of , plus , where . Thus fixed points contribute through the second term. The subtraction is natural-number subtraction, although here the support has at most elements. When , the value is zero.
QAlgorithms.Papers.Independent.Extend50.P33.deterministicFidelity
For natural numbers and a hypothesis , put and . Define , for and , to be exactly when , , and outside , and otherwise; set , by continuous functional calculus with and , and
The declaration defines the real number
where a dot appends a coordinate and brackets replace one coordinate. Equivalently, it is , with and . The hypothesis excludes , while and are included.
QAlgorithms.Papers.Independent.Extend50.P33.effect
For natural numbers , an index , and any complex matrix indexed by length- words over , the defined matrix is
All four factors are indexed by length- words: if is obtained from by exchanging positions and , and is otherwise; if , , and for every , and is otherwise; and if and , and is otherwise. Products are ordinary matrix products in the displayed order. No positivity or normalization condition on is required; and are allowed, with complex division by zero defined as zero and with an empty matrix index set when .
QAlgorithms.Papers.Independent.Extend50.P33.etaAlpha
For natural numbers and a Young diagram with cells and first-column length at most , this defines a complex matrix on words of length over . The following specifies all its ingredients. For a diagram with cells, use the cell numbering chosen from its cardinality; let be the permutations preserving, respectively, the row and column of every numbered cell. On the permutation group , form
Let , let be its orthogonal projection, and let . On length- words define
For a matrix on length- words, its extension to length has entry if for every , and entry zero otherwise. Put . Let on length- words, and let have entry one precisely when , , and for all , with all other entries zero. The defined matrix is
The value is included; no such exists when .
QAlgorithms.Papers.Independent.Extend50.P33.extendPerm
For every natural number and every permutation of , this defines the permutation of that sends to and fixes . It is obtained by taking the disjoint union of with the identity permutation of a singleton and identifying that disjoint union with in the usual order. The case gives the identity permutation of a singleton.
QAlgorithms.Papers.Independent.Extend50.P33.fBlock
For natural numbers , a Young diagram with cells, and a Young diagram with cells, both having first-column length at most , this defines the matrix
on length- words over , with the multiplication in the displayed order. To specify these ingredients, for an -cell diagram use its chosen cell numbering by ; let preserve rows and columns, respectively, and define
Here is the orthogonal projection onto , , and . The extension has entry when the final coordinates agree, and zero otherwise, for on length- words. Let interchange coordinates and of length- words. Let precisely when , , and for , and let its other entries be zero. Then . No containment relation between and is required. The value is included; admits no such diagrams.
QAlgorithms.Papers.Independent.Extend50.P33.fixedOmega
For any natural numbers and any function from Young diagrams with cells and at most rows to diagrams with cells and at most rows, the definition gives the matrix on
Here , and the coefficients are interpreted in . For a diagram with cells, its fixed cell numbering determines row-preserving and column-preserving permutation sets . With , is the complex dimension of the range of . Let be the range of the matrix on with entries ; writing , , and for orthogonal projection, set . The matrix applies to the initial coordinates and has an identity on the final coordinates. Also, , where swaps positions , and exactly when each of has equal coordinates at positions and their earlier coordinates agree. The projection is orthogonal projection onto that matrix’s range. No extension or maximizing property is assumed of ; zero denominators give zero coefficients, and gives an empty sum.
QAlgorithms.Papers.Independent.Extend50.P33.fixedOperationalValues
For arbitrary natural numbers , put and . This is the set of real numbers for which there exist complex matrices indexed by and real numbers such that
and, for every complex matrix and every ,
Here appends and replaces coordinate ; this formula is the specified outcome function with . The definition includes . For , all matrix constraints are vacuous and the set is .
QAlgorithms.Papers.Independent.Extend50.P33.fixedRatioValue
For any natural numbers , including zero, consider Young diagrams with cells and at most rows. For any diagram with cells, use the fixed bijection between its cells and ; let be the permutations preserving, respectively, each numbered cell’s row and column. Define as the complex dimension of the range of the matrix indexed by permutations whose entry is . Define as the complex dimension of the range of on , where and . The definition assigns
The infimum is the real infimum, whose value on the empty set is , and division by zero is defined to be . In particular, when , the outer sum is empty and the value is .
QAlgorithms.Papers.Independent.Extend50.P33.fixedTheta
For every pair of natural numbers , this defines a family of matrices on length- words over , indexed by , whose value is independent of :
All the ingredients of this sum are specified as follows. For an -cell Young diagram , use its chosen numbering by ; let preserve rows and columns. Define
where acts on length- words, is the orthogonal projection onto , and . Let extend by equality of the final coordinates, with entry zero when they differ. On length- words let swap coordinates , and let exactly when , , and for , with other entries zero. Then
Scalars in are embedded into . Division by zero and the real infimum of an empty set both take value zero. The case is included; for the sum defining is empty and gives the zero matrix.
QAlgorithms.Papers.Independent.Extend50.P33.fixedValue
For arbitrary natural numbers , this defines the real number
with the following complete specification of its ingredients. For any -cell Young diagram of first-column length at most , use its chosen numbering by ; let preserve rows and columns, and put
On length- words over , define
where is the orthogonal projection onto and . Let extend by equality of the final coordinates, with entry zero otherwise. On length- words let interchange coordinates , and let exactly when , , and for , and zero otherwise. Finally set
Dimensions and natural-number factors are converted to real numbers in the defining scalar expression. Division by zero and the real infimum of an empty set take value zero. This definition supplies the displayed scalar without an optimization assertion. It includes ; for its diagram sum is empty and its value is zero.
QAlgorithms.Papers.Independent.Extend50.P33.fixedValues
For arbitrary natural numbers , this defines the set of real numbers
where each is a complex matrix on length- words over . In the second inequality the matrices act on length- words, interchanges coordinates , and equals when the final two coordinates agree between , and zero otherwise. The matrix has entry one exactly when , , and for , and entry zero otherwise. Thus membership requires the existence of such a family and equality to its displayed trace ratio. Both complex and real divisions use zero as the value of division by zero. The case is included, and gives the singleton set .
QAlgorithms.Papers.Independent.Extend50.P33.fourierSubgroup
For arbitrary natural numbers , a Young diagram with cells and at most rows, and indices , this defines the matrix on words
Here acts as on positions and fixes position ; , and . To define the space, projection, dimension, and basis in the coefficient, use the supplied bijective numbering of the cells of ; let consist respectively of permutations preserving each numbered cell’s row and column; and define
Then the space is , is its complex dimension, is its orthogonal projection, and is the supplied chosen orthonormal basis of that space, viewed in the ambient coordinate space. The inner product conjugates its first argument; the coefficient uses row and column . No additional assumptions on are imposed, but if there is no such diagram or if , the corresponding diagram or index arguments cannot be supplied.
QAlgorithms.Papers.Independent.Extend50.P33.joinWord
For natural numbers , a length- word and a length- word , both over , is the length- word given at each index by
The subtraction in the second branch is natural-number subtraction, used only where . Either length may be zero, in which case the corresponding segment is empty; a word of positive length over an alphabet of size does not exist.
QAlgorithms.Papers.Independent.Extend50.P33.jointFailure
For every pair of natural numbers , put and . This defines the matrix on
Here swaps word positions ; exactly when , , and for all , and is zero otherwise. Appended identity factors leave the appended coordinates unchanged. Define
where diagrams have at most rows. For completeness, for each diagram of size , the supplied numbering of its cells defines row-preserving and column-preserving permutation sets . With , let
Then , , and , where is the orthogonal projection onto and . This is a definition by subtraction and does not assert that the resulting matrix is positive semidefinite. Singular matrix inverses and scalar inverses of zero are zero. The case is included and gives a matrix on an empty index set.
QAlgorithms.Papers.Independent.Extend50.P33.jointO
For any natural numbers , the definition assigns through the continuous functional calculus for , where
is a complex matrix on , with . For each diagram with cells, its fixed numbering determines row-preserving and column-preserving permutation sets ; writing , is the complex dimension of the range of . Let be the range of the permutation-indexed matrix with entries , put , and define , where and is orthogonal projection. The scalar divisions in occur in , with zero denominators giving . The definition includes , yielding the matrix on an empty index set, and separately asserts no identity concerning the square or positivity of its result.
QAlgorithms.Papers.Independent.Extend50.P33.jointOmega
For all natural numbers , put . This defines a matrix on words by
Thus each summand is the matrix whose entry is one when the displayed coordinate equalities hold and zero otherwise. The denominator is positive for all permitted . No positivity, trace, or normalization property is asserted. The definition includes , when there are no indexing words.
QAlgorithms.Papers.Independent.Extend50.P33.jointOperationalValues
For arbitrary natural numbers , put and . This is the set of real numbers for which there exist a complex matrix indexed by , complex matrices indexed by , and real numbers such that
and, for every complex matrix , every , and ,
Here appends and replaces coordinate . No positivity or invertibility of is required. The definition includes ; for , the trace condition is , the matrix equalities are vacuous, and the set is .
QAlgorithms.Papers.Independent.Extend50.P33.jointPhysical
For all natural numbers and every , put and . This defines the matrix on
where permutes word coordinates by swapping positions and , leaving position unchanged. For any , the entry is precisely when , , and for every position other than , and is otherwise. The tensor extensions act on the initial positions and leave the appended positions unchanged. The remaining matrices are
with all diagrams restricted to at most rows. To specify these ingredients fully, for a diagram with cells use the supplied cell numbering, let be the permutations preserving the row and column of each cell, let , and set
Here , , and , where projects orthogonally onto and . The inverse is the total matrix inverse, which is zero when is singular; scalar division by zero is also zero. No positivity or measurement property is asserted. The definition includes , when its matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P33.jointTheta
For any natural numbers , the definition gives a family indexed by , constant in , of complex matrices on :
For a diagram with cells, its fixed cell numbering determines row-preserving and column-preserving permutations . Set on , where , and let be the complex dimension of the range of . Let be the range of the matrix on whose -entry is , and put . With its orthogonal projection and , define . The coefficients are complex scalars, and division by zero is . No feasibility claim is included; for , each matrix is an empty sum.
QAlgorithms.Papers.Independent.Extend50.P33.jointValues
For any natural numbers , this is the set of real numbers
where ranges over complex matrices on , over complex matrices on , and . The extension acts as on the initial coordinates and as the identity on the final coordinates. The permutation matrix swaps positions of a length- word. The entry is if , , and all earlier coordinates of agree, and is otherwise. The trace constraint is a complex equality, and division by zero is . Thus is included and gives the set ; the definition takes neither a maximum nor a supremum of this set.
QAlgorithms.Papers.Independent.Extend50.P33.jointX
For any natural numbers , the definition gives the complex matrix indexed by
To specify these quantities, for a diagram with cells use its fixed cell numbering and let preserve rows and columns. On words over , put ; is the complex dimension of the range of . Let be the range of the matrix indexed by with entries , and set . If is orthogonal projection and , then . All scalar factors in the displayed matrix formula are interpreted in , with division by zero equal to . No positivity or normalization is asserted by this definition; gives an empty sum.
QAlgorithms.Papers.Independent.Extend50.P33.mBlock
For natural numbers and a Young diagram with cells and first-column length at most , this defines the matrix of the orthogonal projection onto the range of the matrix specified here. For any -cell diagram , take its chosen numbering by , and let preserve the rows and columns of numbered cells. Set
where is the orthogonal projection onto and . On length- words over , let and
Write for the matrix whose entry is on the first coordinates when the final coordinates agree, and zero otherwise. On length- words let permute coordinates and , and let equal one exactly when , , and for , and zero otherwise. Then
This range is taken for matrix multiplication on the complex Euclidean space of these words; a zero range gives the zero projection. The value is allowed, and admits no such .
QAlgorithms.Papers.Independent.Extend50.P33.minReciprocal
For natural numbers and a Young diagram with cells and first-column length at most , this defines the real infimum
To specify , for every -cell diagram take its chosen numbering by , and let preserve rows and columns. Form
Here acts on length- words over , is the orthogonal projection onto , and . Write for extension by equality of the final coordinates, with zero entries when they disagree. On length- words let swap coordinates , and let precisely when , , and for , and zero otherwise. Set
The definition takes an infimum rather than supplying a minimizing diagram. It uses total real division, including , and the real infimum of the empty set is zero. The value is allowed; admits no such .
QAlgorithms.Papers.Independent.Extend50.P33.mult
For natural numbers and a finite Young diagram with exactly cells and at most rows, is the complex dimension of a subspace of , where . Using the chosen bijection from the cells of to , let and consist respectively of permutations preserving the row and column coordinates of the numbered cells. For a permutation , define if , and otherwise. Then
No positivity assumption on or is imposed; when , the empty word is the sole index and this dimension is , including when .
QAlgorithms.Papers.Independent.Extend50.P33.optimalProbability
For any natural numbers , including zero, the definition assigns the real number
where the subtraction occurs in . No range or positivity condition is imposed. Division by zero is , so the value is when or , the two cases in which the denominator vanishes.
QAlgorithms.Papers.Independent.Extend50.P33.pairTrace
For any natural numbers , any , and any complex matrix indexed by words of length over , let exchange positions and , leaving the other positions fixed, and let . The definition returns the matrix indexed by words with entries
where denotes concatenation. No positivity or normalization of is required. If , the swap is the identity; if , the word index sets here are empty.
QAlgorithms.Papers.Independent.Extend50.P33.pbtBlockEigenvalue
For natural numbers and Young diagrams with, respectively, cells and first-column lengths at most , this defines the real number
Its ingredients are as follows. For an -cell diagram , use its chosen numbering by , and let preserve rows and columns. Define
where acts on length- words over , is the orthogonal projection onto , and . The extension acts by on the initial coordinates and has zero entries unless the final coordinates agree. On length- words, let interchange coordinates , and let exactly when , , and for , with other entries zero. Set . No relation between , or positivity or eigenvector assertion about , is part of this definition. Real division is total, so a zero denominator gives zero. The value is allowed; admits no such .
QAlgorithms.Papers.Independent.Extend50.P33.pbtDeterministicChannel
For arbitrary natural numbers , put and . For each , define a matrix indexed by whose entry is when , , and for every , and is otherwise. Set
where is applied using continuous functional calculus and . This declaration defines the matrix-valued function by
for every complex matrix ; denotes appending . This definition itself imposes no channel property. It includes and , with total reciprocals taking ; for it is the unique function between the empty-index matrix spaces.
QAlgorithms.Papers.Independent.Extend50.P33.pbtSignal
For all natural numbers and every , put . This defines the matrix on length- words over by
The scalar is interpreted in , with inverse zero equal to zero. No trace normalization is part of the definition. The case is allowed, when there are no indexing words.
QAlgorithms.Papers.Independent.Extend50.P33.pbtSuccessProbability
For arbitrary natural numbers and any family , , of complex matrices indexed by pairs of length- words over , this defines the real number
There are no positivity or normalization hypotheses on the family. The case is included. When , the word index set is empty, all the traces are zero, and total real division makes the displayed value zero.
QAlgorithms.Papers.Independent.Extend50.P33.pbtSwapSum
For natural numbers , is the complex matrix indexed by length- words over given by
Thus each entry counts, as a complex number, the port indices satisfying these conditions; no factor is included. The sum always has terms, including when ; when , the matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P33.permutationSpan
For any natural numbers , let . For each permutation of the positions, define the complex matrix , with rows and columns indexed by , by when , and otherwise. This declaration defines the complex linear subspace
of all complex matrices on . Both parameters may be zero: when , there is one empty word and the subspace consists of scalar multiples of its identity matrix; when , there are no words and the ambient matrix space is the zero space.
QAlgorithms.Papers.Independent.Extend50.P33.portOutcome
For arbitrary natural numbers , put and . Given complex matrices indexed by , indexed by , and , this defines a function from complex matrices to complex matrices by
Here replaces coordinate of by , and appends the single coordinate to . No positivity, normalization, or invertibility of or is required, and is arbitrary. The definition includes and ; division uses the total complex reciprocal, so , and for the output is the unique matrix indexed by the empty set.
QAlgorithms.Papers.Independent.Extend50.P33.portSwap
For natural numbers and , let be the permutation of the coordinate positions that exchanges and and fixes all other positions, including the last position . Then is the complex matrix indexed by length- words over whose entry at is if , and otherwise. Here . If , this is the identity matrix; is allowed, and gives an empty index set.
QAlgorithms.Papers.Independent.Extend50.P33.predecessorAction
For any natural number , let be a Young diagram with cells and at most rows, let , and let be any complex Euclidean vector indexed by pairs , where has cells, at most rows, and cell set contained in , and . To define and the action, number ’s cells by the fixed bijection used in the definitions, let preserve rows and columns, set , and put , . For the chosen standard orthonormal basis of , let be orthogonal projection onto and left translation on . The declaration defines the vector whose coordinates are
The inner product is conjugate linear in its first argument. No normalization of is required; is allowed, and any zero-dimensional summand contributes no coordinates.
QAlgorithms.Papers.Independent.Extend50.P33.reciprocalSet
For natural numbers and a Young diagram with cells and first-column length at most , this defines the set
Here the numbers are specified entirely by the following constructions. For an -cell diagram , use its chosen cell numbering by , let preserve rows and columns, and set
The matrices act on length- words over ; projects orthogonally onto , and . Let extend by requiring equality of the final coordinates, with entry zero if they differ. On length- words let swap coordinates , and let be one when , , and for , and zero otherwise. Then
All divisions are total real divisions: a zero denominator produces zero, and , so zero values of are not excluded. The case is included; admits no such .
QAlgorithms.Papers.Independent.Extend50.P33.resourceVector
For every pair of natural numbers , put and let . This defines a vector on whose coordinate at is , where is defined by continuous functional calculus and
Here both sums range over Young diagrams with cells and at most rows. The ingredients are defined as follows, also specifying the particular projectors used: choose the supplied bijective numbering of the cells by , let be the permutations preserving respectively the row and column of every numbered cell, and let be the matrix on words with when , and otherwise. Define matrices
Then , , and
where is the orthogonal projection onto , and . All permutation indices here range over permutations of the positions. There are no positivity or normalization hypotheses in this definition, and it makes no assertion that the resulting vector has norm one. All divisions are total, with inverse zero equal to zero; is allowed, in which case is empty and the vector has no coordinates.
QAlgorithms.Papers.Independent.Extend50.P33.sdim
For natural numbers and a finite Young diagram with exactly cells and at most rows, is the complex dimension of the following subspace of , where permutes . Use the chosen bijection between the cells of and these labels; let be the permutations preserving each label’s cell-row coordinate, and those preserving its cell-column coordinate. Form the matrix
Then . Zero values of are allowed whenever such a diagram exists; for , this dimension is , while for there is no admissible diagram.
QAlgorithms.Papers.Independent.Extend50.P33.squareSum
For any natural numbers , including zero, the definition assigns
as a real number. For each such Young diagram , use its fixed numbering of cells by , let be the permutations preserving cell rows and columns, respectively, and let be the complex dimension of the range, on , of
Here . Empty sums are ; thus the value is when . When , there is one empty diagram and one empty word, and the value is .
QAlgorithms.Papers.Independent.Extend50.P33.srm
For all natural numbers and every , this defines the matrix
on words of length over . Here , and equals exactly when , , and every other corresponding coordinate of agrees, and equals zero otherwise. Functional calculus uses the real function whose value is zero for and for . The identity has the same word index set. Since , the divisor is nonzero; inverse zero in the other scalar expressions is defined as zero. This definition makes no separate positivity assertion. It includes , when its matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P33.srmRaw
For all natural numbers and every , this defines a matrix on words of length over , where
For each , the entry is when , , and for all , and is zero otherwise. The notation denotes continuous functional calculus; the scalar function is zero at zero, and also at negative real arguments because the real square root there is zero. Thus this uses a reciprocal square root with value zero on a zero eigenvalue. All scalar divisions are total. No normalization or measurement property is asserted, and is included, yielding matrices on an empty index set.
QAlgorithms.Papers.Independent.Extend50.P33.subgroupProjector
For natural numbers , a group homomorphism , and a Young diagram with cells and at most rows, this declaration defines the complex matrix
where acts as on the first positions and fixes the final position. The quantities are defined as follows: number the cells of by the definition’s chosen bijection with the positions, let be its row-preserving and column-preserving permutations, set , and let . Then , and , where is orthogonal projection onto and . This definition alone imposes no compatibility between and and asserts no projection property of the resulting matrix. It includes and ; the denominator is always nonzero.
QAlgorithms.Papers.Independent.Extend50.P33.tensorIdentityExtension
For natural numbers and any complex matrix indexed by length- words over , its extension is the matrix indexed by length- words whose entries are
There are no assumptions on . If , the agreement condition is vacuous and this is ; if , has one entry and the result is that scalar times the identity on length- words. Empty word-index sets, including those arising from and positive word length, are allowed.
QAlgorithms.Papers.Independent.Extend50.P33.traceFinalQudits
For natural numbers and any complex matrix indexed by length- words over , is the matrix indexed by length- words with entries
where denotes concatenation: its first coordinates are , and its last coordinates are . No positivity or normalization of is required. For , the sum has the single empty word and returns ; for , its sole entry is . If , the summation set is empty and every resulting entry is zero.
QAlgorithms.Papers.Independent.Extend50.P33.transposeLast
For natural numbers and any complex matrix indexed by length- words over , has entries
where replaces only the last coordinate of by the last coordinate of , and similarly for the other word. No complex conjugation is performed and no assumption on is imposed. When , this is ordinary matrix transpose; when , the word-index set is empty.
QAlgorithms.Papers.Independent.Extend50.P33.transposedSpan
For any natural numbers , let . For every permutation of these positions, let if , and otherwise, and define a matrix by
where the brackets mean replacement of the last coordinate. The declaration defines , a complex subspace of the matrices on . Thus the transpose operation exchanges the last row and column coordinates before evaluating each permutation matrix. The definition includes , when this span consists of scalar multiples of the identity on , and , when the ambient matrix space is zero.
QAlgorithms.Papers.Independent.Extend50.P33.unnormalizedPortBell
For natural numbers and an index , is the complex matrix indexed by length- words over whose -entry is precisely when , , and for every coordinate distinct from both and ; its entry is otherwise. It imposes no further equality between the values of and at those two distinguished coordinates. The parameter admits no index ; for , the matrix has an empty index set.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.