Definitions for Optimality of the pretty good measurement for port-based teleportation
DefinitionQAlgorithms_Papers_Independent_Extend50_P19The objects the formalized statements of Optimality of the pretty good measurement for port-based teleportation (arXiv:2008.11194) are stated in. Each was checked against the paper by a blind read-back and a moderator.
DiscriminationIndex: Alice's N ports followed by the extra single system (PDF pp.6-7).ResourceIndex: Physical port resource coordinates A^N B^N (PDF p.5).spectralInverse: Generalized inverse of a finite Hermitian PSD operator, zero on its kernel (PDF p.3). Its use below always carries PSD, either explicitly or by construction.spectralInverseSqrt: Generalized inverse square root, with zero eigenvalues sent to zero (PDF p.7, (4.11)).weylDim: Actual Weyl dimension, from the accepted tensor Young image (PDF p.4).spechtDim: Actual Specht dimension, from the accepted regular Young ideal (PDF p.4).AddsBox: Addition of one box, retaining valid height-bounded partitions (PDF pp.3-4). This never includes the negative highest weights in footnote 3 on p.7.liftAlice: Tensor an Alice operator with identity on the extra system (PDF p.3).portRho: The normalized state Phi^+_{A_i B} tensor I/d^(N-1), in the original port order (PDF p.6, (4.2)). Its nonzero entries are 1/d^N.portAverage: The UNNORMALIZED ensemble sum (PDF p.7, (4.9)); labels have prior 1/N.standardPGM: The PGM from the original maximally entangled ensemble, completed to a full POVM by equally distributing the complementary support projection (PDF p.7, (4.11)-(4.12)). The added term contributes zero on every ensemble used here, including all the symmetric canonical resources of Section 5.discriminationSuccess: Uniform-prior mixed-state discrimination success (PDF p.5, (3.5)).mixedAction: Actual mixed action U^(tensor N) tensor conjugate(U) (PDF pp.6-8). Complex conjugation is in the computational basis, without a transpose.mixedIsotypic: The physical alpha-isotypic subspace for the mixed action: the span of images of ALL intertwiners from the actual polynomial Schur module of shape alpha (PDF pp.7-8, (4.8) and Q_alpha). This is independent of portAverage and of its claimed eigenvalues. Nonpolynomial sectors remain in the orthogonal complement, rather than being assigned an invalid partition.mixedProjector: Orthogonal projection onto the physical mixed-action isotypic subspace (PDF p.8). Both basis vectors use the conjugate-linear-first convention.mixedBlock: Joint physical U_d and S_N block (PDF p.7, (4.9)). P_mu is the accepted full isotypic projector, never a single tensor Young image.portEigenvalue: Eigenvalue in Lemma 3: N/d^N times m_mu d_alpha/(m_alpha d_mu) (PDF p.7, (4.10)).portsVector: The N independent normalized maximally entangled pairs, grouped A^N B^N (PDF pp.3,6, (2.1) and (4.1)).standardResource: The fixed independent maximally entangled resource (PDF p.6, (4.1)).canonicalFilter: O_c = sum_mu sqrt(c_mu) P_mu, computed from the actual full physical Schur projectors (PDF pp.13-14, (5.15) and (5.26)).FeasibleWeights: Nonnegative canonical weights and the exact trace normalization sum c_mu m_mu d_mu = d^N (PDF p.12, (5.9)). Zeros are permitted.canonicalVector: Canonical resource vector (O_c tensor I)|Phi^+>^(tensor N) (PDF p.11, (5.1)); feasible weights make it a unit vector.canonicalResource: Pure density operator of the canonical resource (PDF p.11, (5.1)).canonicalEnsemble: eta_i = (O_c tensor I) rho_i (O_c tensor I)^dagger (PDF pp.11-12, (5.2)); the PGM below is not recomputed from eta.insertPort: Insert the kept Bob port into its original position (PDF p.5, (3.1)).resourceMarginal: Trace out Bob's other N-1 ports and relabel B_i as the output B (PDF p.5, (3.4)); this applies to arbitrary mixed resource states.pbtChannel: Physical deterministic PBT channel, entrywise version of (3.1), PDF p.5. The Alice trace contracts E against sigma tensor phi; no correction is made on Bob's kept port. The POVM order is A^N A_0, with A_0 last.pbtFidelity: Entanglement fidelity of the actual channel (3.1), namely <Phi^+|(Lambda tensor id)(Phi^+)|Phi^+> (PDF p.5, (3.2)). The coordinate contraction is d^(-2) sum_{k,l} Lambda(|k><l|)_{k,l}. It is not defined using any representation-theoretic performance formula.coefficientScore: The coefficient numerator in (5.8), PDF p.12. The square is inside the sum over alpha. At c=1 this is the numerator in (4.13), PDF p.8.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Ensemble
import Definitions.Def_QAlgorithms_Defs_Information
import Definitions.Def_QAlgorithms_Defs_SchurWeylDecomposition
/-!
Statements from Felix Leditzky, arXiv:2008.11194v2 (2022).
Tensor words list ports in their original order; the extra single system is last.
All new constructions are local to this paper. No dual certificate, decomposition,
or symmetry reduction is an assumption of a headline theorem.
-/
set_option backward.isDefEq.respectTransparency.types false
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
open QAlgorithms
namespace QAlgorithms.Papers.Independent.Extend50.P19
attribute [local instance] Classical.propDecidable
/-- Alice's N ports followed by the extra single system (PDF pp.6-7). -/
abbrev DiscriminationIndex (d N : ℕ) := (Fin N → Fin d) × Fin d
/-- Physical port resource coordinates A^N B^N (PDF p.5). -/
abbrev ResourceIndex (d N : ℕ) := (Fin N → Fin d) × (Fin N → Fin d)
/-- Generalized inverse of a finite Hermitian PSD operator, zero on its kernel
(PDF p.3). Its use below always carries PSD, either explicitly or by construction. -/
def spectralInverse {ι : Type*} [Fintype ι] [DecidableEq ι]
(X : Matrix ι ι ℂ) : Matrix ι ι ℂ :=
cfc (fun x : ℝ => x⁻¹) X
/-- Generalized inverse square root, with zero eigenvalues sent to zero
(PDF p.7, (4.11)). -/
def spectralInverseSqrt {ι : Type*} [Fintype ι] [DecidableEq ι]
(X : Matrix ι ι ℂ) : Matrix ι ι ℂ :=
cfc (fun x : ℝ => (Real.sqrt x)⁻¹) X
/-- Actual Weyl dimension, from the accepted tensor Young image (PDF p.4). -/
def weylDim {d n : ℕ} (mu : Schur.Partition d n) : ℕ :=
Module.finrank ℂ (Schur.schurModule mu)
/-- Actual Specht dimension, from the accepted regular Young ideal (PDF p.4). -/
def spechtDim {d n : ℕ} (mu : Schur.Partition d n) : ℕ :=
Module.finrank ℂ (Schur.spechtSpace mu)
/-- Addition of one box, retaining valid height-bounded partitions (PDF pp.3-4).
This never includes the negative highest weights in footnote 3 on p.7. -/
def AddsBox {d m n : ℕ} (alpha : Schur.Partition d m)
(mu : Schur.Partition d n) : Prop :=
alpha.val.cells ⊆ mu.val.cells ∧ mu.val.card = alpha.val.card + 1
/-- Tensor an Alice operator with identity on the extra system (PDF p.3). -/
def liftAlice {d N : ℕ} (X : Matrix ((Fin N → Fin d)) ((Fin N → Fin d)) ℂ) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
Matrix.kronecker X (1 : Matrix (Fin d) (Fin d) ℂ)
/-- The normalized state Phi^+_{A_i B} tensor I/d^(N-1), in the original
port order (PDF p.6, (4.2)). Its nonzero entries are 1/d^N. -/
def portRho (d N : ℕ) (i : Fin N) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
Matrix.of fun x y =>
if x.1 i = x.2 ∧ y.1 i = y.2 ∧ (∀ j, j ≠ i → x.1 j = y.1 j)
then ((d : ℂ)^N)⁻¹ else 0
/-- The UNNORMALIZED ensemble sum (PDF p.7, (4.9)); labels have prior 1/N. -/
def portAverage (d N : ℕ) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
∑ i : Fin N, portRho d N i
/-- The PGM from the original maximally entangled ensemble, completed to a
full POVM by equally distributing the complementary support projection
(PDF p.7, (4.11)-(4.12)). The added term contributes zero on every ensemble
used here, including all the symmetric canonical resources of Section 5. -/
def standardPGM (d N : ℕ) (i : Fin N) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
let R := portAverage d N
let S := spectralInverseSqrt R
S * portRho d N i * S + (N : ℂ)⁻¹ • (1 - R * spectralInverse R)
/-- Uniform-prior mixed-state discrimination success (PDF p.5, (3.5)). -/
def discriminationSuccess {d N : ℕ}
(rho E : Fin N → Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ) : ℝ :=
(N : ℝ)⁻¹ * ∑ i, effectProb (E i) (rho i)
/-- Actual mixed action U^(tensor N) tensor conjugate(U) (PDF pp.6-8).
Complex conjugation is in the computational basis, without a transpose. -/
def mixedAction (d N : ℕ) (U : Matrix (Fin d) (Fin d) ℂ) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
Matrix.of fun x y => piKron N U x.1 y.1 * conj (U x.2 y.2)
/-- The physical alpha-isotypic subspace for the mixed action: the span of
images of ALL intertwiners from the actual polynomial Schur module of shape
alpha (PDF pp.7-8, (4.8) and Q_alpha). This is independent of portAverage
and of its claimed eigenvalues. Nonpolynomial sectors remain in the
orthogonal complement, rather than being assigned an invalid partition. -/
def mixedIsotypic {d N : ℕ} (alpha : Schur.Partition d (N-1)) :
Submodule ℂ (EuclideanSpace ℂ (DiscriminationIndex d N)) :=
Submodule.span ℂ {w | ∃ T : Schur.schurModule alpha →ₗ[ℂ]
EuclideanSpace ℂ (DiscriminationIndex d N),
(∀ (U : Matrix.unitaryGroup (Fin d) ℂ) (v : Schur.schurModule alpha),
T (Schur.polynomialRepresentation alpha (U : Matrix (Fin d) (Fin d) ℂ) v) =
act (mixedAction d N (U : Matrix (Fin d) (Fin d) ℂ)) (T v)) ∧
∃ v, T v = w}
/-- Orthogonal projection onto the physical mixed-action isotypic subspace
(PDF p.8). Both basis vectors use the conjugate-linear-first convention. -/
def mixedProjector {d N : ℕ} (alpha : Schur.Partition d (N-1)) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
Matrix.of fun x y => inner ℂ (ket x) ((mixedIsotypic alpha).starProjection (ket y))
/-- Joint physical U_d and S_N block (PDF p.7, (4.9)). P_mu is the accepted
full isotypic projector, never a single tensor Young image. -/
def mixedBlock {d N : ℕ} (alpha : Schur.Partition d (N-1))
(mu : Schur.Partition d N) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
liftAlice (Schur.isotypicProjector mu) * mixedProjector alpha
/-- Eigenvalue in Lemma 3: N/d^N times m_mu d_alpha/(m_alpha d_mu)
(PDF p.7, (4.10)). -/
def portEigenvalue {d N : ℕ} (alpha : Schur.Partition d (N-1))
(mu : Schur.Partition d N) : ℝ :=
(N : ℝ) / (d : ℝ)^N *
(((weylDim mu : ℝ) * (spechtDim alpha : ℝ)) /
((weylDim alpha : ℝ) * (spechtDim mu : ℝ)))
/-- The N independent normalized maximally entangled pairs, grouped A^N B^N
(PDF pp.3,6, (2.1) and (4.1)). -/
def portsVector (d N : ℕ) : EuclideanSpace ℂ (ResourceIndex d N) :=
WithLp.toLp 2 fun x =>
if x.1 = x.2 then ((Real.sqrt ((d : ℝ)^N))⁻¹ : ℂ) else 0
/-- The fixed independent maximally entangled resource (PDF p.6, (4.1)). -/
def standardResource (d N : ℕ) : Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ :=
pureDensity (portsVector d N)
/-- O_c = sum_mu sqrt(c_mu) P_mu, computed from the actual full physical
Schur projectors (PDF pp.13-14, (5.15) and (5.26)). -/
def canonicalFilter {d N : ℕ} (c : Schur.Partition d N → ℝ) :
Matrix ((Fin N → Fin d)) ((Fin N → Fin d)) ℂ :=
∑ mu, (Real.sqrt (c mu) : ℂ) • Schur.isotypicProjector mu
/-- Nonnegative canonical weights and the exact trace normalization
sum c_mu m_mu d_mu = d^N (PDF p.12, (5.9)). Zeros are permitted. -/
def FeasibleWeights {d N : ℕ} (c : Schur.Partition d N → ℝ) : Prop :=
(∀ mu, 0 ≤ c mu) ∧
∑ mu, c mu * (spechtDim mu : ℝ) * (weylDim mu : ℝ) = (d : ℝ)^N
/-- Canonical resource vector (O_c tensor I)|Phi^+>^(tensor N)
(PDF p.11, (5.1)); feasible weights make it a unit vector. -/
def canonicalVector {d N : ℕ} (c : Schur.Partition d N → ℝ) :
EuclideanSpace ℂ (ResourceIndex d N) :=
act (Matrix.kronecker (canonicalFilter c) (1 : Matrix ((Fin N → Fin d)) ((Fin N → Fin d)) ℂ))
(portsVector d N)
/-- Pure density operator of the canonical resource (PDF p.11, (5.1)). -/
def canonicalResource {d N : ℕ} (c : Schur.Partition d N → ℝ) :
Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ :=
pureDensity (canonicalVector c)
/-- eta_i = (O_c tensor I) rho_i (O_c tensor I)^dagger
(PDF pp.11-12, (5.2)); the PGM below is not recomputed from eta. -/
def canonicalEnsemble {d N : ℕ} (c : Schur.Partition d N → ℝ) (i : Fin N) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
liftAlice (canonicalFilter c) * portRho d N i * (liftAlice (canonicalFilter c))ᴴ
/-- Insert the kept Bob port into its original position (PDF p.5, (3.1)). -/
def insertPort {d N : ℕ} (i : Fin N) (b : Fin d)
(rest : {j : Fin N // j ≠ i} → Fin d) : (Fin N → Fin d) :=
fun j => if h : j = i then b else rest ⟨j, h⟩
/-- Trace out Bob's other N-1 ports and relabel B_i as the output B
(PDF p.5, (3.4)); this applies to arbitrary mixed resource states. -/
def resourceMarginal {d N : ℕ}
(phi : Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ) (i : Fin N) :
Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ :=
Matrix.of fun x y => ∑ rest : {j : Fin N // j ≠ i} → Fin d,
phi (x.1, insertPort i x.2 rest) (y.1, insertPort i y.2 rest)
/-- Physical deterministic PBT channel, entrywise version of (3.1), PDF p.5.
The Alice trace contracts E against sigma tensor phi; no correction is made
on Bob's kept port. The POVM order is A^N A_0, with A_0 last. -/
def pbtChannel {d N : ℕ}
(phi : Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ)
(E : Fin N → Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ)
(sigma : Matrix (Fin d) (Fin d) ℂ) : Matrix (Fin d) (Fin d) ℂ :=
Matrix.of fun b bprime => ∑ i : Fin N, ∑ a : (Fin N → Fin d), ∑ aprime : (Fin N → Fin d),
∑ t : Fin d, ∑ tprime : Fin d,
E i (a,t) (aprime,tprime) * sigma tprime t *
resourceMarginal phi i (aprime,b) (a,bprime)
/-- Entanglement fidelity of the actual channel (3.1), namely
<Phi^+|(Lambda tensor id)(Phi^+)|Phi^+> (PDF p.5, (3.2)).
The coordinate contraction is d^(-2) sum_{k,l} Lambda(|k><l|)_{k,l}.
It is not defined using any representation-theoretic performance formula. -/
def pbtFidelity {d N : ℕ}
(phi : Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ)
(E : Fin N → Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ) : ℝ :=
((d : ℝ)^2)⁻¹ *
(∑ k : Fin d, ∑ l : Fin d,
pbtChannel phi E (Matrix.of fun x y => if x = k ∧ y = l then 1 else 0) k l).re
/-- The coefficient numerator in (5.8), PDF p.12. The square is inside the
sum over alpha. At c=1 this is the numerator in (4.13), PDF p.8. -/
def coefficientScore {d N : ℕ} (c : Schur.Partition d N → ℝ) : ℝ :=
∑ alpha : Schur.Partition d (N-1),
(∑ mu : Schur.Partition d N,
if AddsBox alpha mu then
Real.sqrt (c mu * (spechtDim mu : ℝ) * (weylDim mu : ℝ)) else 0)^2
/-! Definitional sanity checks; these are not proofs of any source theorem. -/
/-- On a one-dimensional local system every port state has its unique entry 1. -/
example (N : ℕ) (i : Fin N) :
portRho 1 N i ((fun _ => 0),0) ((fun _ => 0),0) = 1 := by
simp [portRho]
/-- The empty tensor product has normalized scalar amplitude 1. -/
example (d : ℕ) (x : (Fin 0 → Fin d)) : portsVector d 0 (x,x) = 1 := by
simp [portsVector]
/-- Tracing the identity on one local system gives its dimension. -/
example (d : ℕ) (x : (Fin 0 → Fin d)) :
traceLeft ((1 : Matrix (Fin 1 → Fin d) (Fin 1 → Fin d) ℂ).submatrix
(fun p : Fin d × (Fin 0 → Fin d) => Fin.cons p.1 p.2)
(fun p : Fin d × (Fin 0 → Fin d) => Fin.cons p.1 p.2)) x x = (d : ℂ) := by
simp [traceLeft]
/-- The kept port is inserted in its original position. -/
example {d N : ℕ} (i : Fin N) (b : Fin d)
(rest : {j : Fin N // j ≠ i} → Fin d) : insertPort i b rest i = b := by
simp [insertPort]
/-- Zero input gives zero output in the actual channel formula. -/
example {d N : ℕ} (phi : Matrix (ResourceIndex d N) (ResourceIndex d N) ℂ)
(E : Fin N → Matrix (DiscriminationIndex d N) (DiscriminationIndex d N) ℂ) :
pbtChannel phi E 0 = 0 := by
ext b bprime
simp [pbtChannel]
/-- With no ordinary tensor factors, the mixed action is the conjugate action. -/
example (d : ℕ) (U : Matrix (Fin d) (Fin d) ℂ)
(x y : (Fin 0 → Fin d)) (b bprime : Fin d) :
mixedAction d 0 U (x,b) (y,bprime) = conj (U b bprime) := by
simp [mixedAction, piKron]
/-- Zero coefficients give zero score; at d,N positive they are not feasible. -/
example (d N : ℕ) : coefficientScore (d := d) (N := N) (fun _ => 0) = 0 := by
simp [coefficientScore]
end QAlgorithms.Papers.Independent.Extend50.P19
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P19.AddsBox
For natural numbers , a finite Young diagram with cells and at most rows, and a finite Young diagram with cells and at most rows, the predicate “ adds a box to ” means precisely
Consequently, the predicate requires and says that the cell set of contains that of with exactly one additional cell. Empty diagrams are included; no separate positivity assumption is made on .
QAlgorithms.Papers.Independent.Extend50.P19.DiscriminationIndex
For natural numbers , let . The discrimination index set is : an index consists of a function assigning an element of to each of the positions, together with one additional element of . When , the function component is the unique empty function, so this set is naturally identified with ; when , the index set is empty for every .
QAlgorithms.Papers.Independent.Extend50.P19.FeasibleWeights
For any natural numbers and any real-valued function on the Young diagrams with cells and at most rows, this defines the proposition
Here, for each diagram , use the construction’s chosen cell labelling by , and let be the label permutations preserving row and column coordinates respectively. On permutations of these labels put ; then . On words over , put ; then . These dimensions are interpreted as real numbers in the displayed equality. Zero parameters are allowed, , and an empty sum is zero; in particular, for , there are no such diagrams, so both conditions hold vacuously or as the equality .
QAlgorithms.Papers.Independent.Extend50.P19.ResourceIndex
For natural numbers , let . The resource index set is : an index is an ordered pair of functions from the positions to . When , this set has one element, the pair of empty functions, including when ; when and , it is empty.
QAlgorithms.Papers.Independent.Extend50.P19.canonicalEnsemble
For any natural numbers , any real-valued function on the Young diagrams with cells and at most rows, and any , this defines a complex matrix on , where , by
Here the star denotes conjugate transpose. To specify , label each diagram ’s cells by the construction’s chosen bijection with labels, let preserve row and column coordinates respectively, and define . Let , let be its Euclidean orthogonal projection, and put and on . The matrix used above is
Real coefficients are regarded as complex, and no nonnegativity or normalization hypothesis on is imposed. Real square roots of negative arguments and reciprocals of zero equal zero. Although is a natural number, the required index has no possible value when ; is allowed and gives an empty matrix index set.
QAlgorithms.Papers.Independent.Extend50.P19.canonicalFilter
For any natural numbers and any real-valued function on the Young diagrams with cells and at most rows, this defines a complex matrix on . For each such diagram , label its cells by the construction’s chosen bijection with , and let be the label permutations preserving row and column coordinates respectively. On the Euclidean space indexed by permutations of labels, define
and let be orthogonal projection onto . Define for . Then the defined matrix is
where real coefficients are regarded as complex. There are no sign or normalization hypotheses on ; the real square root is zero for negative arguments. Zero parameters are included, empty sums are zero, and .
QAlgorithms.Papers.Independent.Extend50.P19.canonicalResource
For any natural numbers and any real-valued function on the Young diagrams with cells and at most rows, this defines a complex matrix on , where , with entries
To specify , for each diagram use the construction’s chosen cell labelling by labels, and let preserve row and column coordinates respectively. Set , let and be its Euclidean orthogonal projection, and put and on . Then
Thus the defined matrix is the outer product for . No nonnegativity or normalization of is required, and no unit-norm condition on is imposed. Real square roots of negative arguments and reciprocals of zero are zero; zero parameters are included, , , and empty sums are zero.
QAlgorithms.Papers.Independent.Extend50.P19.canonicalVector
For any natural numbers and any real-valued function on the Young diagrams with cells and at most rows, this defines a vector , where , by
The matrix is specified as follows. For each diagram , use the construction’s chosen cell labelling, let preserve row and column coordinates respectively, and define . Let , let be its Euclidean orthogonal projection, define , and define on . Then
All real coefficients are embedded in . The coordinate formula for applies to the first component of the vector whose coordinate at is when , and zero otherwise. No nonnegativity or normalization condition on is assumed; negative arguments have real square root zero. Zero parameters are included, , , empty sums are zero, and the reciprocal of zero equals zero.
QAlgorithms.Papers.Independent.Extend50.P19.coefficientScore
For arbitrary natural numbers , let be the finite set of Young diagrams with exactly cells and at most rows, and let be any function. Define the dimensions used in the score as follows: for , use the fixed numbering of its cells by , let be the permutations preserving each cell’s row and column, respectively, and put
Writing , also put
where each is the coordinate vector at . The definition returns
Here is natural-number subtraction, so it is when . No sign or normalization condition is imposed on , and the real square root of a negative number is defined to be zero. Empty sums are zero; in particular, the score is zero when or .
QAlgorithms.Papers.Independent.Extend50.P19.discriminationSuccess
For natural numbers , let and . For arbitrary families and of complex matrices indexed by , one matrix of each family for every , the discrimination success is the real number
No positivity, trace normalization, or measurement condition is assumed for either family. The inverse of is taken in with , so the value is when ; it is also when , because then is empty and every trace is an empty sum.
QAlgorithms.Papers.Independent.Extend50.P19.insertPort
For natural numbers , write . Given , , and a function , this definition returns the function specified by
The arguments and require and , respectively. When , is the unique function on the empty set.
QAlgorithms.Papers.Independent.Extend50.P19.liftAlice
For natural numbers and any complex matrix indexed by functions , where , its lift is the Kronecker product , indexed by pairs with and . Explicitly,
No condition is imposed on . The definition includes , when the function index set is a singleton, and , when the lifted matrix has empty row and column index sets.
QAlgorithms.Papers.Independent.Extend50.P19.mixedAction
For any natural numbers , including zero, and any complex matrix , this defines a matrix on the index set . Writing its row and column indices as and , where , its entries are
There is no assumption that is unitary. When , the product is ; when , the matrix has an empty index set.
QAlgorithms.Papers.Independent.Extend50.P19.mixedBlock
For any natural numbers , a Young diagram with cells and at most rows, and a Young diagram with cells and at most rows, this defines a matrix on , where . The ingredients are defined explicitly as follows. For a diagram with cells, use the chosen cell labelling by , and let be the label permutations preserving row and column coordinates respectively; write on length- words, and put . On the Euclidean space indexed by permutations of labels, define
and let denote orthogonal projection onto . Define the matrix on
Let be the complex span of all , where , is complex linear, and, for every unitary matrix and every , ; here is orthogonal projection, with , and . The defined matrix is the ordered product
where is orthogonal projection onto ; the definition imposes no additional relation between and . Zero parameters are allowed, subtraction is truncated at zero, and empty products equal .
QAlgorithms.Papers.Independent.Extend50.P19.mixedIsotypic
For any natural numbers , put , and let be a Young diagram with cells and at most rows. This defines a complex linear subspace of , with its Euclidean inner product, where . To specify it, use the construction’s chosen bijection between the cells of and ; let be the permutations of these labels that preserve, respectively, the row coordinate and the column coordinate of each labelled cell. For a permutation of the labels, define if , and otherwise, on words . Set
and write for orthogonal projection onto . For a complex matrix , let , and let . The defined subspace is
All actions in this formula are ordinary matrix multiplication. Zero values of are included, products over empty sets equal , and the subtraction defining is truncated at zero.
QAlgorithms.Papers.Independent.Extend50.P19.mixedProjector
For any natural numbers and any Young diagram with cells and at most rows, this defines the matrix of an orthogonal projection on , where . The subspace being projected onto is specified as follows: label the cells of by the construction’s chosen bijection with , let be the label permutations preserving row and column coordinates respectively, and define on length- words over . Put , and let be its orthogonal projection. Define and . Let be the complex span of all vectors , where is complex linear, , and for every unitary matrix and every . If denotes orthogonal projection onto this span and is the coordinate vector with value at and elsewhere, the defined matrix has entries
Zero dimensions and empty index sets are included, with empty products equal to .
QAlgorithms.Papers.Independent.Extend50.P19.pbtChannel
For arbitrary natural numbers , write , , and . Given a complex matrix indexed by , a family of complex matrices indexed by for , and a complex matrix indexed by , this definition returns the matrix indexed by , with
where inserts at position into the assignment . All three inputs are unrestricted complex matrices or matrix families. The definition includes , in which case the outer sum is empty and the output is zero, and , in which case the output is the matrix with an empty index set.
QAlgorithms.Papers.Independent.Extend50.P19.pbtFidelity
For arbitrary natural numbers , let , , and . Given any complex matrix indexed by and any family of complex matrices indexed by , for , this definition returns the real number
where is the function equal to at and to elsewhere. Equivalently, it sums the -entry of the preceding matrix transformation applied to the matrix having its only nonzero entry, equal to , at , takes the real part, and multiplies by . No positivity, trace, or measurement assumptions are imposed. Real inversion is total, with ; the value is zero when or .
QAlgorithms.Papers.Independent.Extend50.P19.portAverage
For natural numbers , let . The port average is the complex matrix indexed by obtained by summing, without a factor of , the matrices
Here the inverse is in with . For , the sum is empty and is the zero matrix; for , the matrix index set is empty.
QAlgorithms.Papers.Independent.Extend50.P19.portEigenvalue
For any natural numbers , any Young diagram with cells and at most rows, and any Young diagram with cells and at most rows, this defines the real number
For each diagram with cells, use the construction’s chosen cell labelling by , and let be the label permutations preserving row and column coordinates respectively. Define on length- words over , and define for permutations of the labels. Then is the complex dimension of the range of , and is the complex dimension of the range of . Dimensions and natural numbers in the displayed formula are interpreted as real numbers. No relation between , or positivity of either denominator, is required; real division by zero equals zero, even for , and is truncated at zero.
QAlgorithms.Papers.Independent.Extend50.P19.portRho
For natural numbers and a specified position , define a complex matrix indexed by pairs with and by
The inverse is taken in , where . Supplying requires ; if , the matrix has empty row and column index sets.
QAlgorithms.Papers.Independent.Extend50.P19.portsVector
For any natural numbers , let . This defines the vector in the Euclidean complex space by
with the displayed real coefficient regarded as complex. Both parameters may be zero: for , consists of the unique empty word and the vector’s sole coordinate is , including when ; for , is empty and the vector lies in the zero-dimensional space. The reciprocal of zero is defined as zero.
QAlgorithms.Papers.Independent.Extend50.P19.resourceMarginal
For natural numbers , let , , and . Given any complex matrix indexed by in both its rows and columns, and , this definition returns the complex matrix indexed by , whose entries are
where takes value at and value at every . There are no positivity or trace assumptions on . The argument excludes ; when , the sum has the single empty function as its index, and when , the resulting matrix has an empty row and column index set.
QAlgorithms.Papers.Independent.Extend50.P19.spechtDim
For natural numbers and a finite Young diagram having exactly cells and at most rows, the Specht dimension is the complex dimension of an explicitly defined range in the complex Euclidean space indexed by permutations of . Use the fixed cell numbering chosen from the equality of their cardinalities, and let and consist of permutations preserving, respectively, the row and column of every numbered cell. Form the matrix
The defined number is . The parameters may be zero whenever such a diagram exists; when , the permutation index set contains the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Extend50.P19.spectralInverse
For any finite type equipped with decidable equality and any complex matrix indexed by , the spectral inverse is the real continuous functional calculus of for the function . Thus, when is Hermitian, it acts on each eigenspace of real eigenvalue by multiplication by , with the value at defined to be . No Hermitian or invertibility hypothesis is imposed on the input; for a non-Hermitian input, this real functional calculus returns the zero matrix. The definition also includes the empty index type.
QAlgorithms.Papers.Independent.Extend50.P19.spectralInverseSqrt
For any finite type equipped with decidable equality and any complex matrix indexed by , the spectral inverse square root is the real continuous functional calculus of for the function . When is Hermitian, it therefore acts on an eigenspace of eigenvalue by multiplication by , and on an eigenspace of eigenvalue by multiplication by : the real square root is on negative arguments, and inversion at is defined to be . No Hermitian, positivity, or invertibility hypothesis is imposed; for a non-Hermitian input, this real functional calculus returns the zero matrix. The definition includes the empty index type.
QAlgorithms.Papers.Independent.Extend50.P19.standardPGM
For natural numbers and a position , let and index matrices by . Define
Let be the real continuous functional calculus of for , and let be that for . The defined matrix is
For these scalar functions, inversion at zero is and the real square root of a negative number is ; the real functional calculus returns zero for non-Hermitian inputs. The inverses appearing in the matrix formula are complex scalar inverses. The supplied position requires , while is allowed and gives an empty matrix index set. This definition imposes no additional predicate on the resulting matrix.
QAlgorithms.Papers.Independent.Extend50.P19.standardResource
For any natural numbers , put and , viewed as a real number. This defines a complex matrix indexed by whose entries are
Equivalently, its entries are , where for and otherwise. Zero parameters are included: when , including , this is the one-entry matrix ; when , its index set is empty. Reciprocals of zero equal zero.
QAlgorithms.Papers.Independent.Extend50.P19.weylDim
For natural numbers and a finite Young diagram having exactly cells and at most rows, the Weyl dimension is the complex dimension of the following explicitly defined range. Write , and use the fixed cell numbering chosen from the equality of their cardinalities. Let and be the permutations of preserving, respectively, the row and column of each numbered cell. For a permutation , let be the matrix indexed by words with entry when and otherwise. Then the defined number is
where the range is taken as a linear map on the complex Euclidean space indexed by those words. Zero values of and are included whenever such a diagram exists; for , the word set consists of the unique empty word.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.