Definitions for Structure of irreducibly covariant quantum channels for finite groups
DefinitionQAlgorithms_Papers_Independent_Extend50_P31The objects the formalized statements of Structure of irreducibly covariant quantum channels for finite groups (arXiv:1610.05657) are stated in. Each was checked against the paper by a blind read-back and a moderator.
EndMat: PDF pp.4--7: complex-linear endomorphisms on every operator.rowVec: PDF p.4, Eq.(5): row vectorization, also for rectangular matrices.rowMatrixRepresentative: PDF pp.5--6, Eqs.(8),(15): entries in the fixed matrix-unit basis.fromMat: The inverse coordinate representation, acting on every operator.IsPaperChannel: PDF p.8 Definition 7; complete positivity is the frozen all-ancilla definition.UnitaryIrrep: PDF p.7: an ordinary unitary irreducible representation, with positive dimension. Irreducibility means that every complex invariant linear subspace is zero or the whole space.RepEquivalent: PDF p.9: equivalence of representations is an invertible intertwiner.IrrepFamily: PDF pp.9--10: complete, inequivalent, coordinate-fixed unitary irreducibles.character: PDF p.8: character of a fixed-coordinate irrep.conjugationMap: PDF p.7 Eq.(25), conjugation on the full operator space.tensorConjugate: PDF pp.7--8 Eqs.(24),(28): entrywise conjugation on the second tensor factor.IsIrrepCovariant: PDF p.8 Eq.(31), on every operator, without positivity or TP.representationCommutant: PDF p.9 Eq.(36), as an actual complex linear subspace.SimplyReducible: PDF p.11 Eq.(47): an invertible intertwiner to exactly one copy of each listed irrep. This predicate contains no character-projector facts.Data: Only the section's standing assumptions, PDF pp.7--11 and Assumption 1 p.17.OccurringIrrep: PDF p.11 Eq.(47): only the occurring irreducible labels.Row: PDF pp.18--19: one coordinate for every fine irrep basis index, with multiplicity.centralMatrix: PDF p.11 Eq.(49), computed for every irrep, including absent ones.centralMap: PDF p.12 Eq.(54), a group average of conjugation maps.fineMatrix: PDF p.12 Eq.(57), diagonal matrix-coefficient average in the fixed irrep basis.fineMap: PDF p.12 Eq.(59), before any rank conclusion is supplied.rawMatrix: PDF pp.31,36,40: the raw (unnormalized) matrix, including zero pivots.pivotWeight: PDF p.13 Eq.(66): real diagonal weight of the positive rank-one projector.normalizedMatrix: PDF p.13 Eq.(62): normalization is computed, and used only at positive pivots.Pivots: PDF p.14 Remark 23: one independently chosen positive pivot for each fine sector.eigenmatrix: PDF pp.13--14: the selected eigenmatrix, with no assumed normalization.choiVector: PDF p.15 Eq.(74): transpose, with no coefficient conjugation.muAt: PDF p.15 Eq.(77): the eigenvalue for any pivot.spectralMatrix: PDF p.19 Eq.(95): rectangular transform, one row per fine sector.spectralMap: PDF pp.11--12 Eq.(53): spectral map with arbitrary complex sector coefficients.trivialCoefficient: Extract the trivial coefficient without assuming the conclusion that id belongs to theta.choiEigenvalueVector: PDF p.16 Eq.(80).NonnegativeScalar: Complex inequalities mean membership in the embedded nonnegative real scalars.scaledSimplex: PDF p.20 Eq.(104): all eigenvalues, including multiplicities, sum to n.spectralGram: PDF p.19 Eqs.(96)--(98), the Gram matrix is computed from M.leftInverse: PDF p.19 Eq.(96); invertibility of spectralGram is a theorem conclusion.pivotKrausFamily: PDF p.18, corrected by Appendix D: sqrt(choiEigenvalueVector) times unvec(v) transposed.classCoefficients: PDF p.21 Eq.(109); note g, not g inverse.conjugacyClass: PDF p.10 Eq.(46), finite conjugacy class.classAverage: PDF pp.22--23 Eq.(116), the conjugacy-class averaging matrix.characterMatrix: PDF p.22 Definition 53: the character matrix.doubleSumMu: PDF p.16 Eq.(83) and p.15 Eq.(79).squaredSumEpsilon: PDF p.16 Eq.(82), corrected |G|^-3 prefactor (see Appendix B p.39 Eq.(185)).HasDecomposition: PDF p.9 Eq.(34), with actual multiplicity spaces and an intertwining equivalence.permutationSign: Sign character in the paper's Examples 11,12 and Section 8.3.DoubletDecomposition: PDF pp.9--10 Eqs.(39),(40): actual id + sign + doublet intertwining decomposition.flatIndex: Fixed-coordinate flattening for the explicit 4 by 4 matrices, row order 00,01,10,11.tensorFour: Reindex a printed 4 by 4 matrix to tensor coordinates.quaternionQ1: PDF p.24 Eq.(124): Q1 and Q2 generate the concrete quaternion doublet.quaternionQ2: PDF p.24 Eq.(124), Q2.quaternionRepresentation: PDF p.24 Eq.(124), using Mathlib's a^j and x*a^j constructors.quaternionCharacter: PDF p.24 Table 1, ordered id,t1,t2,t3, for the four one-dimensional characters.QuaternionDecomposition: PDF p.24 Eq.(125), with the Table 1 character-labelled one-dimensional summands.quaternionSuperMatrix: PDF p.25 Eq.(127), with real coefficients a=l_t1, b=l_t2, c=l_t3.quaternionMap: PDF p.25 Eq.(127): the concrete map, on every operator.quaternionChoiMatrix: PDF p.25 Eq.(128).quaternionEigenvalues: PDF p.25 Eq.(129), including all multiplicities, order id,t1,t2,t3.QuaternionCP: PDF p.25 Eq.(129), the tetrahedron rather than its containing cube.quaternionTransform: PDF pp.25--26 Eqs.(130),(131), with the corrected minus sign in the third row.quaternionKraus: PDF p.26 Eq.(134), corrected eigenvalue labels t1,t2,t3, ordered id,t1,t2,t3.HasOrthonormalSpectrum: Orthonormal complete eigensystem; eigenvalues are listed with multiplicity.EpsilonRealization: PDF p.26 Eq.(135), choiEigenvalueVector realization in the source's fixed coordinate basis.s3Map: PDF p.26 Eq.(137), s=l_sign and t=l_lambda.s3Eigenvalues: PDF p.27 Eq.(140), order id,sign,lambda_1,lambda_2.S3CP: PDF p.27 Eq.(142), the full triangle.s3Kraus: PDF p.27 Eq.(143), order id,sign,lambda_1,lambda_2.s3Transform: PDF p.27 Eq.(139), rectangular 4 by 3 spectral transform.s3Inverse: PDF p.27 Eq.(141), a left inverse on the spectral range, not necessarily the Gram inverse.permutationFixedCount: Fixed-point count, used to identify S4 partition labels independently of a coordinate basis.s4StandardCharacter: S4 standard character, partition (3,1), source PDF p.28.s4DoubletCharacter: S4 doublet character, partition (2,2), computed from fixed points of g and g squared.s4TwistCharacter: S4 sign twist of the standard character, partition (2,1,1).mapByCharacter: Eq.(54), allowing named concrete characters instead of a full family of labels.S4TripletDecomposition: PDF p.28 Eq.(145), actual summands of dimensions 1,3,2,3.s4Map: PDF p.28, spectral family constructed by character projectors, not printed Eq.(148).s4Eigenvalues: PDF p.29 Eq.(149), order id, three (3,1), two (2,2), three (2,1,1) eigenvalues.QuaternionPPT: PDF p.31 Eq.(155), the four additional PPT inequalities.
import Mathlib
import Definitions.Def_QAlgorithms_Defs_MatrixMapPositivity
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P44
import Definitions.Def_QAlgorithms_Papers_Independent_Frontier18_P17
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P37
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P34
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P26
import Definitions.Def_QAlgorithms_Papers_Independent_Dependency50_P16
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P75
/-!
Statements from Mozrzymas--Studzinski--Datta, arXiv:1610.05657v2.
Pinned accepted definitions and the remaining paper-local substrate use the paper's row vectorization and unnormalized, input-first Choi
matrix. No theorem about the constructed projectors is a field of the input data.
Source corrections are identified at the affected declarations and in MODERATION_NOTES.md.
-/
noncomputable section
open scoped Matrix ComplexConjugate ComplexOrder
attribute [local instance] Classical.propDecidable Classical.decEq
namespace QAlgorithms.Papers.Independent.Extend50.P31
-- Exact pinned definitions; paper-specific interfaces below retain distinct names.
open QAlgorithms.Papers.Independent.Information100.P44 (Mat matrixUnit)
open QAlgorithms.Papers.Independent.Frontier18.P17 (hs)
open QAlgorithms.Papers.Independent.Bridge50.P37 (hsAdjoint)
open QAlgorithms.Papers.Independent.Information100.P34 (choi)
open QAlgorithms.Papers.Independent.Dependency50.P26 (TracePreserving)
open QAlgorithms.Papers.Independent.Dependency50.P16 (sandwich)
open QAlgorithms.Papers.Independent.Information100.P75 (phase)
/-- PDF pp.4--7: complex-linear endomorphisms on every operator. -/
abbrev EndMat (n : ℕ) := Mat n →ₗ[ℂ] Mat n
/-- PDF p.4, Eq.(5): row vectorization, also for rectangular matrices. -/
def rowVec {d e : ℕ} : Matrix (Fin d) (Fin e) ℂ ≃ₗ[ℂ] ((Fin d × Fin e) → ℂ) where
toFun X p := X p.1 p.2
invFun v i j := v (i,j)
left_inv _ := rfl
right_inv _ := rfl
map_add' _ _ := rfl
map_smul' _ _ := rfl
/-- PDF pp.5--6, Eqs.(8),(15): entries in the fixed matrix-unit basis. -/
def rowMatrixRepresentative {n : ℕ} (Phi : EndMat n) : Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ :=
fun p q => Phi (matrixUnit q.1 q.2) p.1 p.2
/-- The inverse coordinate representation, acting on every operator. -/
def fromMat {n : ℕ} (M : Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ) : EndMat n :=
rowVec.symm.toLinearMap.comp (M.mulVecLin.comp rowVec.toLinearMap)
/-- PDF p.8 Definition 7; complete positivity is the frozen all-ancilla definition. -/
def IsPaperChannel {d e : ℕ} (Phi : Mat d →ₗ[ℂ] Mat e) : Prop :=
QAlgorithms.Entanglement.IsCompletelyPositive Phi ∧ TracePreserving Phi
/-- PDF p.7: an ordinary unitary irreducible representation, with positive dimension.
Irreducibility means that every complex invariant linear subspace is zero or the whole space. -/
structure UnitaryIrrep (G : Type*) [Group G] (n : ℕ) where
rho : G → Mat n
positive : 0 < n
one : rho 1 = 1
mul : ∀ g h, rho (g*h) = rho g * rho h
unitary : ∀ g, (rho g)ᴴ * rho g = 1 ∧ rho g * (rho g)ᴴ = 1
irreducible : ∀ S : Submodule ℂ (Fin n → ℂ),
(∀ g v, v ∈ S → (rho g).mulVec v ∈ S) → S = ⊥ ∨ S = ⊤
/-- PDF p.9: equivalence of representations is an invertible intertwiner. -/
def RepEquivalent {G : Type*} {d e : ℕ} (U : G → Mat d) (V : G → Mat e) : Prop :=
∃ T : (Fin d → ℂ) ≃ₗ[ℂ] (Fin e → ℂ),
∀ g x, T ((U g).mulVec x) = (V g).mulVec (T x)
/-- PDF pp.9--10: complete, inequivalent, coordinate-fixed unitary irreducibles. -/
structure IrrepFamily (G A : Type*) [Group G] where
dim : A → ℕ
irrep : (a : A) → UnitaryIrrep G (dim a)
trivial : A
trivial_dim : dim trivial = 1
trivial_action : ∀ g, (irrep trivial).rho g = 1
inequivalent : ∀ a b, RepEquivalent (irrep a).rho (irrep b).rho → a = b
complete : ∀ d (V : UnitaryIrrep G d), ∃ a, RepEquivalent V.rho (irrep a).rho
/-- PDF p.8: character of a fixed-coordinate irrep. -/
def character {G : Type*} [Group G] {n : ℕ} (U : UnitaryIrrep G n) (g : G) : ℂ :=
Matrix.trace (U.rho g)
/-- PDF p.7 Eq.(25), conjugation on the full operator space. -/
def conjugationMap {G : Type*} [Group G] {n : ℕ} (U : UnitaryIrrep G n) (g : G) : EndMat n :=
sandwich (U.rho g) (U.rho g)ᴴ
/-- PDF pp.7--8 Eqs.(24),(28): entrywise conjugation on the second tensor factor. -/
def tensorConjugate {G : Type*} [Group G] {n : ℕ} (U : UnitaryIrrep G n) (g : G) :=
Matrix.kronecker (U.rho g) (fun i j => conj (U.rho g i j))
/-- PDF p.8 Eq.(31), on every operator, without positivity or TP. -/
def IsIrrepCovariant {G : Type*} [Group G] {n : ℕ} (U : UnitaryIrrep G n) (Phi : EndMat n) : Prop :=
∀ g X, Phi (conjugationMap U g X) = conjugationMap U g (Phi X)
/-- PDF p.9 Eq.(36), as an actual complex linear subspace. -/
def representationCommutant {G I : Type*} [Fintype I] [DecidableEq I]
(R : G → Matrix I I ℂ) : Submodule ℂ (Matrix I I ℂ) where
carrier := {M | ∀ g, M * R g = R g * M}
zero_mem' := by simp
add_mem' := by intro M N hM hN g; simp [add_mul, mul_add, hM g, hN g]
smul_mem' := by intro c M hM g; simpa [Matrix.smul_mul, Matrix.mul_smul] using congrArg (c • ·) (hM g)
/-- PDF p.11 Eq.(47): an invertible intertwiner to exactly one copy of each listed irrep.
This predicate contains no character-projector facts. -/
def SimplyReducible {G A : Type*} [Group G] [DecidableEq A] {n : ℕ}
(U : UnitaryIrrep G n) (F : IrrepFamily G A) (theta : Finset A) : Prop :=
∃ T : ((Fin n × Fin n) → ℂ) ≃ₗ[ℂ]
((a : {a // a ∈ theta}) → Fin (F.dim a.val) → ℂ),
∀ g v a, T ((tensorConjugate U g).mulVec v) a =
((F.irrep a.val).rho g).mulVec (T v a)
/-- Only the section's standing assumptions, PDF pp.7--11 and Assumption 1 p.17. -/
structure Data (G A : Type*) [Group G] [Fintype G] [Fintype A] [DecidableEq A] (n : ℕ) where
U : UnitaryIrrep G n
F : IrrepFamily G A
theta : Finset A
decomposition : SimplyReducible U F theta
variable {G A : Type*} [Group G] [Fintype G] [Fintype A] [DecidableEq A] {n : ℕ}
/-- PDF p.11 Eq.(47): only the occurring irreducible labels. -/
abbrev OccurringIrrep (D : Data G A n) := {a // a ∈ D.theta}
/-- PDF pp.18--19: one coordinate for every fine irrep basis index, with multiplicity. -/
abbrev Row (D : Data G A n) := Σ a : OccurringIrrep D, Fin (D.F.dim a.val)
/-- PDF p.11 Eq.(49), computed for every irrep, including absent ones. -/
def centralMatrix (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A) :
Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ :=
((F.dim a : ℂ) / Fintype.card G) •
∑ g : G, character (F.irrep a) g⁻¹ • tensorConjugate U g
/-- PDF p.12 Eq.(54), a group average of conjugation maps. -/
def centralMap (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A) : EndMat n :=
((F.dim a : ℂ) / Fintype.card G) •
∑ g : G, character (F.irrep a) g⁻¹ • conjugationMap U g
/-- PDF p.12 Eq.(57), diagonal matrix-coefficient average in the fixed irrep basis. -/
def fineMatrix (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) : Matrix (Fin n × Fin n) (Fin n × Fin n) ℂ :=
((F.dim a : ℂ) / Fintype.card G) •
∑ g : G, (F.irrep a).rho g⁻¹ i i • tensorConjugate U g
/-- PDF p.12 Eq.(59), before any rank conclusion is supplied. -/
def fineMap (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) : EndMat n :=
((F.dim a : ℂ) / Fintype.card G) •
∑ g : G, (F.irrep a).rho g⁻¹ i i • conjugationMap U g
/-- PDF pp.31,36,40: the raw (unnormalized) matrix, including zero pivots. -/
def rawMatrix (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) (p : Fin n × Fin n) : Mat n :=
fineMap U F a i (matrixUnit p.1 p.2)
/-- PDF p.13 Eq.(66): real diagonal weight of the positive rank-one projector. -/
def pivotWeight (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) (p : Fin n × Fin n) : ℝ :=
(fineMatrix U F a i p p).re
/-- PDF p.13 Eq.(62): normalization is computed, and used only at positive pivots. -/
def normalizedMatrix (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) (p : Fin n × Fin n) : Mat n :=
((Real.sqrt (pivotWeight U F a i p))⁻¹ : ℂ) • rawMatrix U F a i p
/-- PDF p.14 Remark 23: one independently chosen positive pivot for each fine sector. -/
structure Pivots (D : Data G A n) where
pivot : Row D → Fin n × Fin n
positive : ∀ r, 0 < pivotWeight D.U D.F r.1.val r.2 (pivot r)
/-- PDF pp.13--14: the selected eigenmatrix, with no assumed normalization. -/
def eigenmatrix (D : Data G A n) (P : Pivots D) (r : Row D) : Mat n :=
normalizedMatrix D.U D.F r.1.val r.2 (P.pivot r)
/-- PDF p.15 Eq.(74): transpose, with no coefficient conjugation. -/
def choiVector (D : Data G A n) (P : Pivots D) (r : Row D) : (Fin n × Fin n) → ℂ :=
rowVec (eigenmatrix D P r)ᵀ
/-- PDF p.15 Eq.(77): the eigenvalue for any pivot. -/
def muAt (D : Data G A n) (a : A) (r : Row D) (p : Fin n × Fin n) : ℂ :=
((D.F.dim a : ℂ) / Fintype.card G) * ∑ g : G,
character (D.F.irrep a) g⁻¹ *
(Complex.normSq (Matrix.trace (normalizedMatrix D.U D.F r.1.val r.2 p * (D.U.rho g)ᴴ)) : ℂ)
/-- PDF p.19 Eq.(95): rectangular transform, one row per fine sector. -/
def spectralMatrix (D : Data G A n) (P : Pivots D) : Matrix (Row D) (OccurringIrrep D) ℂ :=
fun r a => muAt D a.val r (P.pivot r)
/-- PDF pp.11--12 Eq.(53): spectral map with arbitrary complex sector coefficients. -/
def spectralMap (D : Data G A n) (l : OccurringIrrep D → ℂ) : EndMat n :=
∑ a : OccurringIrrep D, l a • centralMap D.U D.F a.val
/-- Extract the trivial coefficient without assuming the conclusion that id belongs to theta. -/
def trivialCoefficient (D : Data G A n) (l : OccurringIrrep D → ℂ) : ℂ :=
∑ a : OccurringIrrep D, if a.val = D.F.trivial then l a else 0
/-- PDF p.16 Eq.(80). -/
def choiEigenvalueVector (D : Data G A n) (P : Pivots D) (l : OccurringIrrep D → ℂ) : Row D → ℂ :=
(spectralMatrix D P).mulVec l
/-- Complex inequalities mean membership in the embedded nonnegative real scalars. -/
def NonnegativeScalar (z : ℂ) : Prop := z.im = 0 ∧ 0 ≤ z.re
/-- PDF p.20 Eq.(104): all eigenvalues, including multiplicities, sum to n. -/
def scaledSimplex (D : Data G A n) : Set (Row D → ℂ) :=
{e | (∀ r, NonnegativeScalar (e r)) ∧ ∑ r, e r = (n : ℂ)}
/-- PDF p.19 Eqs.(96)--(98), the Gram matrix is computed from M. -/
def spectralGram (D : Data G A n) (P : Pivots D) :=
(spectralMatrix D P)ᴴ * spectralMatrix D P
/-- PDF p.19 Eq.(96); invertibility of spectralGram is a theorem conclusion. -/
def leftInverse (D : Data G A n) (P : Pivots D) :=
(spectralGram D P)⁻¹ * (spectralMatrix D P)ᴴ
/-- PDF p.18, corrected by Appendix D: sqrt(choiEigenvalueVector) times unvec(v) transposed. -/
def pivotKrausFamily (D : Data G A n) (P : Pivots D) (l : OccurringIrrep D → ℂ) (r : Row D) : Mat n :=
(Real.sqrt (choiEigenvalueVector D P l r).re : ℂ) • (rowVec.symm (choiVector D P r))ᵀ
/-- PDF p.21 Eq.(109); note g, not g inverse. -/
def classCoefficients (D : Data G A n) (f : G → ℂ) (a : OccurringIrrep D) : ℂ :=
(∑ g, character (D.F.irrep a.val) g * f g) /
((Fintype.card G : ℂ) * D.F.dim a.val)
/-- PDF p.10 Eq.(46), finite conjugacy class. -/
def conjugacyClass (g : G) : Finset G :=
Finset.univ.filter (fun h => ∃ k : G, h = k * g * k⁻¹)
/-- PDF pp.22--23 Eq.(116), the conjugacy-class averaging matrix. -/
def classAverage : Matrix G G ℂ :=
fun g h => if h ∈ conjugacyClass g then (Fintype.card {x // x ∈ conjugacyClass g} : ℂ)⁻¹ else 0
/-- PDF p.22 Definition 53: the character matrix. -/
def characterMatrix (F : IrrepFamily G A) : Matrix G A ℂ :=
fun g a => character (F.irrep a) g⁻¹
/-- PDF p.16 Eq.(83) and p.15 Eq.(79). -/
def doubleSumMu (D : Data G A n) (a : A) (r : Row D) (p : Fin n × Fin n) : ℂ :=
((D.F.dim a : ℂ) * D.F.dim r.1.val /
((pivotWeight D.U D.F r.1.val r.2 p : ℂ) * (Fintype.card G : ℂ)^2)) *
∑ g : G, ∑ h : G, character (D.F.irrep a) g⁻¹ *
(D.F.irrep r.1.val).rho h⁻¹ r.2 r.2 *
D.U.rho g⁻¹ p.2 p.1 * D.U.rho (h*g*h⁻¹) p.1 p.2
/-- PDF p.16 Eq.(82), corrected |G|^-3 prefactor (see Appendix B p.39 Eq.(185)). -/
def squaredSumEpsilon (D : Data G A n) (l : OccurringIrrep D → ℂ)
(r : Row D) (p : Fin n × Fin n) : ℂ :=
((Fintype.card G : ℂ)^3)⁻¹ * ∑ g : G, ∑ a : OccurringIrrep D,
l a * (D.F.dim a.val : ℂ) * character (D.F.irrep a.val) g⁻¹ *
(Complex.normSq (((D.F.dim r.1.val : ℂ) /
(Real.sqrt (pivotWeight D.U D.F r.1.val r.2 p) : ℂ)) *
∑ h : G, (D.F.irrep r.1.val).rho h⁻¹ r.2 r.2 *
D.U.rho (h⁻¹*g⁻¹*h) p.2 p.1) : ℂ)
/-- Sanity: the row-vectorized (0,1) matrix unit occupies coordinate (0,1). -/
example : rowVec (matrixUnit (0 : Fin 2) 1) (0,1) = 1 := by
change (Matrix.single (0 : Fin 2) 1 (1 : ℂ)) 0 1 = 1
simp [Matrix.single]
/-- Sanity: Choi uses input-first coordinates even for a rectangular map. -/
example {d e : ℕ} (Phi : Mat d →ₗ[ℂ] Mat e) (i j : Fin d) (k l : Fin e) :
choi Phi (i,k) (j,l) = Phi (matrixUnit i j) k l := rfl
/-- Sanity: a zero pivot never generates a spurious nonzero normalized matrix. -/
example (U : UnitaryIrrep G n) (F : IrrepFamily G A) (a : A)
(i : Fin (F.dim a)) (p : Fin n × Fin n) (h : pivotWeight U F a i p = 0) :
normalizedMatrix U F a i p = 0 := by
simp [normalizedMatrix, h]
/-- Sanity: phase zero is the scalar one. -/
example : phase 0 = 1 := by simp [phase]
/-- PDF p.9 Eq.(34), with actual multiplicity spaces and an intertwining equivalence. -/
def HasDecomposition (U : UnitaryIrrep G n) (F : IrrepFamily G A) (m : A → ℕ) : Prop :=
∃ T : ((Fin n × Fin n) → ℂ) ≃ₗ[ℂ]
((a : A) → Fin (m a) → Fin (F.dim a) → ℂ),
∀ g v a j, T ((tensorConjugate U g).mulVec v) a j =
((F.irrep a).rho g).mulVec (T v a j)
/-- Sign character in the paper's Examples 11,12 and Section 8.3. -/
def permutationSign {k : ℕ} (g : Equiv.Perm (Fin k)) : ℂ :=
((Equiv.Perm.sign g : ℤ) : ℂ)
/-- PDF pp.9--10 Eqs.(39),(40): actual id + sign + doublet intertwining decomposition. -/
def DoubletDecomposition {k : ℕ} (U : UnitaryIrrep (Equiv.Perm (Fin k)) 2) : Prop :=
∃ T : ((Fin 2 × Fin 2) → ℂ) ≃ₗ[ℂ] (ℂ × ℂ × (Fin 2 → ℂ)),
∀ g v, T ((tensorConjugate U g).mulVec v) =
((T v).1, permutationSign g * (T v).2.1, (U.rho g).mulVec (T v).2.2)
/-- Fixed-coordinate flattening for the explicit 4 by 4 matrices, row order 00,01,10,11. -/
def flatIndex (p : Fin 2 × Fin 2) : Fin 4 := Fin.ofNat 4 (2*p.1.val + p.2.val)
/-- Reindex a printed 4 by 4 matrix to tensor coordinates. -/
def tensorFour (M : Matrix (Fin 4) (Fin 4) ℂ) :
Matrix (Fin 2 × Fin 2) (Fin 2 × Fin 2) ℂ :=
fun p q => M (flatIndex p) (flatIndex q)
/-- PDF p.24 Eq.(124): Q1 and Q2 generate the concrete quaternion doublet. -/
def quaternionQ1 : Mat 2 := !![Complex.I, 0; 0, -Complex.I]
/-- PDF p.24 Eq.(124), Q2. -/
def quaternionQ2 : Mat 2 := !![0, 1; -1, 0]
/-- PDF p.24 Eq.(124), using Mathlib's a^j and x*a^j constructors. -/
def quaternionRepresentation : QuaternionGroup 2 → Mat 2
| .a j => quaternionQ1 ^ j.val
| .xa j => quaternionQ2 * quaternionQ1 ^ j.val
/-- PDF p.24 Table 1, ordered id,t1,t2,t3, for the four one-dimensional characters. -/
def quaternionCharacter (a : Fin 4) : QuaternionGroup 2 → ℂ
| .a j => if a = 0 ∨ a = 2 then 1 else (-1 : ℂ)^j.val
| .xa j => if a = 0 then 1 else if a = 1 then (-1 : ℂ)^j.val
else if a = 2 then -1 else -((-1 : ℂ)^j.val)
/-- PDF p.24 Eq.(125), with the Table 1 character-labelled one-dimensional summands. -/
def QuaternionDecomposition (U : UnitaryIrrep (QuaternionGroup 2) 2) : Prop :=
∃ T : ((Fin 2 × Fin 2) → ℂ) ≃ₗ[ℂ] (Fin 4 → ℂ),
∀ g v a, T ((tensorConjugate U g).mulVec v) a = quaternionCharacter a g * T v a
/-- PDF p.25 Eq.(127), with real coefficients a=l_t1, b=l_t2, c=l_t3. -/
def quaternionSuperMatrix (a b c : ℝ) : Matrix (Fin 4) (Fin 4) ℂ :=
(1/2 : ℂ) • !![1+(b : ℂ), 0, 0, 1-(b : ℂ);
0, (a : ℂ)+(c : ℂ), (c : ℂ)-(a : ℂ), 0; 0, (c : ℂ)-(a : ℂ), (a : ℂ)+(c : ℂ), 0; 1-(b : ℂ), 0, 0, 1+(b : ℂ)]
/-- PDF p.25 Eq.(127): the concrete map, on every operator. -/
def quaternionMap (a b c : ℝ) : EndMat 2 := fromMat (tensorFour (quaternionSuperMatrix a b c))
/-- PDF p.25 Eq.(128). -/
def quaternionChoiMatrix (a b c : ℝ) : Matrix (Fin 4) (Fin 4) ℂ :=
(1/2 : ℂ) • !![1+(b : ℂ), 0, 0, (a : ℂ)+(c : ℂ);
0, 1-(b : ℂ), (c : ℂ)-(a : ℂ), 0; 0, (c : ℂ)-(a : ℂ), 1-(b : ℂ), 0; (a : ℂ)+(c : ℂ), 0, 0, 1+(b : ℂ)]
/-- PDF p.25 Eq.(129), including all multiplicities, order id,t1,t2,t3. -/
def quaternionEigenvalues (a b c : ℝ) : Fin 4 → ℝ :=
![(1+a+b+c)/2, (1+a-b-c)/2, (1-a+b-c)/2, (1-a-b+c)/2]
/-- PDF p.25 Eq.(129), the tetrahedron rather than its containing cube. -/
def QuaternionCP (a b c : ℝ) : Prop :=
0 ≤ (1+a+b+c)/2 ∧ 0 ≤ (1+a-b-c)/2 ∧ 0 ≤ (1-a+b-c)/2 ∧ 0 ≤ (1-a-b+c)/2
/-- PDF pp.25--26 Eqs.(130),(131), with the corrected minus sign in the third row. -/
def quaternionTransform : Matrix (Fin 4) (Fin 4) ℂ :=
(1/2 : ℂ) • !![1,1,1,1; 1,1,-1,-1; 1,-1,1,-1; 1,-1,-1,1]
/-- PDF p.26 Eq.(134), corrected eigenvalue labels t1,t2,t3, ordered id,t1,t2,t3. -/
def quaternionKraus (a b c : ℝ) (r : Fin 4) : Mat 2 :=
(Real.sqrt (quaternionEigenvalues a b c r / 2) : ℂ) •
(![1, quaternionQ2, !![-1,0;0,1], !![0,1;1,0]] : Fin 4 → Mat 2) r
/-- Orthonormal complete eigensystem; eigenvalues are listed with multiplicity. -/
def HasOrthonormalSpectrum {k d : ℕ} (M : Matrix (Fin d × Fin d) (Fin d × Fin d) ℂ)
(values : Fin k → ℝ) : Prop :=
∃ v : Fin k → (Fin d × Fin d) → ℂ,
(∀ i j, (∑ p, conj (v i p) * v j p) = if i = j then 1 else 0) ∧
Submodule.span ℂ (Set.range v) = ⊤ ∧
∀ i, M.mulVec (v i) = (values i : ℂ) • v i
/-- PDF p.26 Eq.(135), choiEigenvalueVector realization in the source's fixed coordinate basis. -/
def EpsilonRealization (U : UnitaryIrrep (Equiv.Perm (Fin 3)) 2) : Prop :=
let w := Complex.exp (((2*Real.pi/3 : ℝ) : ℂ) * Complex.I)
U.rho (Equiv.swap 0 1) = !![0,1;1,0] ∧
U.rho (Equiv.swap 1 2) = !![0,w^2;w,0]
/-- PDF p.26 Eq.(137), s=l_sign and t=l_lambda. -/
def s3Map (s t : ℝ) : EndMat 2 := quaternionMap t s t
/-- PDF p.27 Eq.(140), order id,sign,lambda_1,lambda_2. -/
def s3Eigenvalues (s t : ℝ) : Fin 4 → ℝ :=
![(1+s)/2+t, (1+s)/2-t, (1-s)/2, (1-s)/2]
/-- PDF p.27 Eq.(142), the full triangle. -/
def S3CP (s t : ℝ) : Prop := -1 ≤ s ∧ s ≤ 1 ∧ |t| ≤ (1+s)/2
/-- PDF p.27 Eq.(143), order id,sign,lambda_1,lambda_2. -/
def s3Kraus (s t : ℝ) : Fin 4 → Mat 2 :=
![(Real.sqrt (s3Eigenvalues s t 0 / 2) : ℂ) • 1,
(Real.sqrt (s3Eigenvalues s t 1 / 2) : ℂ) • !![-1,0;0,1],
(Real.sqrt (s3Eigenvalues s t 2) : ℂ) • !![0,0;1,0],
(Real.sqrt (s3Eigenvalues s t 3) : ℂ) • !![0,1;0,0]]
/-- PDF p.27 Eq.(139), rectangular 4 by 3 spectral transform. -/
def s3Transform : Matrix (Fin 4) (Fin 3) ℂ :=
(1/2 : ℂ) • !![1,1,2;1,1,-2;1,-1,0;1,-1,0]
/-- PDF p.27 Eq.(141), a left inverse on the spectral range, not necessarily the Gram inverse. -/
def s3Inverse : Matrix (Fin 3) (Fin 4) ℂ :=
(1/2 : ℂ) • !![1,1,1,1;1,1,-1,-1;1,-1,0,0]
/-- Fixed-point count, used to identify S4 partition labels independently of a coordinate basis. -/
def permutationFixedCount {k : ℕ} (g : Equiv.Perm (Fin k)) : ℕ :=
(Finset.univ.filter (fun i => g i = i)).card
/-- S4 standard character, partition (3,1), source PDF p.28. -/
def s4StandardCharacter (g : Equiv.Perm (Fin 4)) : ℂ := (permutationFixedCount g : ℂ) - 1
/-- S4 doublet character, partition (2,2), computed from fixed points of g and g squared. -/
def s4DoubletCharacter (g : Equiv.Perm (Fin 4)) : ℂ :=
((permutationFixedCount g : ℂ)^2 + (permutationFixedCount (g*g) : ℂ))/2 - 2*(permutationFixedCount g : ℂ)
/-- S4 sign twist of the standard character, partition (2,1,1). -/
def s4TwistCharacter (g : Equiv.Perm (Fin 4)) : ℂ :=
permutationSign g * s4StandardCharacter g
/-- Eq.(54), allowing named concrete characters instead of a full family of labels. -/
def mapByCharacter {H : Type*} [Group H] [Fintype H] {d : ℕ}
(U : UnitaryIrrep H d) (dimension : ℕ) (chi : H → ℂ) : EndMat d :=
((dimension : ℂ) / Fintype.card H) • ∑ g : H, chi g⁻¹ • conjugationMap U g
/-- PDF p.28 Eq.(145), actual summands of dimensions 1,3,2,3. -/
def S4TripletDecomposition (U : UnitaryIrrep (Equiv.Perm (Fin 4)) 3)
(V : UnitaryIrrep (Equiv.Perm (Fin 4)) 2)
(W : UnitaryIrrep (Equiv.Perm (Fin 4)) 3) : Prop :=
∃ T : ((Fin 3 × Fin 3) → ℂ) ≃ₗ[ℂ]
(ℂ × (Fin 3 → ℂ) × (Fin 2 → ℂ) × (Fin 3 → ℂ)),
∀ g v, T ((tensorConjugate U g).mulVec v) =
((T v).1, (U.rho g).mulVec (T v).2.1,
(V.rho g).mulVec (T v).2.2.1, (W.rho g).mulVec (T v).2.2.2)
/-- PDF p.28, spectral family constructed by character projectors, not printed Eq.(148). -/
def s4Map (U : UnitaryIrrep (Equiv.Perm (Fin 4)) 3) (a b c : ℝ) : EndMat 3 :=
mapByCharacter U 1 (fun _ => 1) + (a : ℂ) • mapByCharacter U 3 s4StandardCharacter +
(b : ℂ) • mapByCharacter U 2 s4DoubletCharacter + (c : ℂ) • mapByCharacter U 3 s4TwistCharacter
/-- PDF p.29 Eq.(149), order id, three (3,1), two (2,2), three (2,1,1) eigenvalues. -/
def s4Eigenvalues (a b c : ℝ) : Fin 9 → ℝ :=
![(1+3*a+2*b+3*c)/3,
(2+3*a-2*b-3*c)/6, (2+3*a-2*b-3*c)/6, (2+3*a-2*b-3*c)/6,
(2-3*a+4*b-3*c)/6, (2-3*a+4*b-3*c)/6,
(2-3*a-2*b+3*c)/6, (2-3*a-2*b+3*c)/6, (2-3*a-2*b+3*c)/6]
/-- PDF p.31 Eq.(155), the four additional PPT inequalities. -/
def QuaternionPPT (a b c : ℝ) : Prop :=
0 ≤ (1-a-b-c)/2 ∧ 0 ≤ (1+a+b-c)/2 ∧ 0 ≤ (1+a-b+c)/2 ∧ 0 ≤ (1-a+b+c)/2
/-- Sanity: row order is 00,01,10,11. -/
example : flatIndex (0,1) = 1 ∧ flatIndex (1,0) = 2 := by decide
/-- Sanity: quaternion depolarization has four unnormalized Choi eigenvalues 1/2. -/
example : quaternionEigenvalues 0 0 0 = ![1/2,1/2,1/2,1/2] := by
norm_num [quaternionEigenvalues]
/-- Sanity: the S3 identity parameter pair has unnormalized Choi eigenvalues 2,0,0,0. -/
example : s3Eigenvalues 1 1 = ![2,0,0,0] := by norm_num [s3Eigenvalues]
end QAlgorithms.Papers.Independent.Extend50.P31
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Extend50.P31.Data
For a finite group , a finite type with decidable equality, and , this structure consists of an irreducible unitary representation of on , requiring ; a complete family of positive-dimensional irreducible unitary representations with dimensions , pairwise inequivalent at distinct indices and with a distinguished one-dimensional trivial member; a finite subset ; and evidence that there exists an invertible complex linear map
for every . Completeness of the family means that every positive-dimensional irreducible unitary representation of is equivalent, through an invertible complex linear intertwiner, to a family member. The structure has no inhabitants for , and its selected set must be nonempty.
QAlgorithms.Papers.Independent.Extend50.P31.DoubletDecomposition
For any natural number , including , and any two-dimensional irreducible unitary representation of the permutation group , this property means that there exists an invertible complex-linear map such that, for every and every vector , writing , one has
Here , , every is unitary, and the only complex subspaces invariant under all are and . The bar denotes entrywise complex conjugation, and the tensor matrix has entry at row , column . The map is not required to preserve inner products.
QAlgorithms.Papers.Independent.Extend50.P31.EndMat
For every natural number , denotes the complex vector space of complex-linear maps from complex matrices to complex matrices. This includes , when the matrix space and its endomorphism space are zero-dimensional.
QAlgorithms.Papers.Independent.Extend50.P31.EpsilonRealization
For a two-dimensional irreducible unitary representation of the permutation group on —a representation preserving identity and multiplication, with unitary matrices and no invariant complex subspaces other than zero and the whole space—this predicate means precisely that, with ,
QAlgorithms.Papers.Independent.Extend50.P31.HasDecomposition
Let be a group, a positive-dimensional irreducible unitary representation, and a family of positive-dimensional irreducible unitary representations with dimensions . Each representation preserves identity and multiplication and has only zero and the whole space as invariant complex subspaces; the family contains a distinguished trivial member of dimension , contains every irreducible unitary representation up to an invertible complex-linear intertwiner, and equivalent members have equal indices. For any multiplicity function , the declaration defines the following property: there exists an invertible complex-linear map
such that, for every , every vector in its domain, every , and every ,
Here the matrix on the left has entry at row , column . Multiplicities may be zero, making the corresponding conditions empty; is required to be a linear equivalence, with no isometry requirement.
QAlgorithms.Papers.Independent.Extend50.P31.HasOrthonormalSpectrum
For arbitrary natural numbers , a complex matrix indexed by pairs in , and real numbers indexed by , this predicate means that there exist complex-valued functions on such that
There is no ordering, positivity, or distinctness requirement on the . The orthonormality and spanning conditions force ; in particular, is allowed and satisfies the predicate for the unique empty matrix and empty list of values.
QAlgorithms.Papers.Independent.Extend50.P31.IrrepFamily
For any group and any index type , this structure specifies a natural-number dimension and a representation for each , where , , , every is unitary, and the only complex subspaces invariant under all are zero and the whole space. It specifies an index with and for every . It requires that any complex-linear bijection intertwining with implies , and that for every natural number and every representation satisfying those same positivity, representation, unitarity, and irreducibility conditions, some admits a complex-linear bijection with for every . Neither nor is assumed finite; the distinguished index forces to be nonempty.
QAlgorithms.Papers.Independent.Extend50.P31.IsIrrepCovariant
For any group , natural number , irreducible unitary representation , and complex-linear endomorphism , this predicate means
The representation data require , preservation of the group identity and multiplication, both unitary identities for every representation matrix, and that its only invariant complex subspaces are zero and the whole space. No positivity or trace-preservation condition is imposed on .
QAlgorithms.Papers.Independent.Extend50.P31.IsPaperChannel
For arbitrary natural numbers and a complex-linear map from to complex matrices, this predicate means that is completely positive and preserves the trace of every matrix. Explicitly, for every natural number , including , and every positive semidefinite matrix indexed by , the matrix with entries
is positive semidefinite; moreover, for every complex matrix . No positivity assumption on or is imposed; if and , trace preservation cannot hold.
QAlgorithms.Papers.Independent.Extend50.P31.NonnegativeScalar
For any complex number , the defined predicate holds exactly when
In particular, zero satisfies the predicate.
QAlgorithms.Papers.Independent.Extend50.P31.OccurringIrrep
Given a finite group , a finite type with decidable equality, , and data consisting of a positive-dimensional irreducible unitary representation on , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with a distinguished one-dimensional trivial member, and a finite subset for which is simultaneously intertwined by a complex linear isomorphism with the action , this abbreviation denotes the type of indices equipped with evidence that . Its elements are precisely the members of the selected finite set.
QAlgorithms.Papers.Independent.Extend50.P31.Pivots
Let be a finite group, a finite type with decidable equality, and . The data specify an -dimensional unitary irreducible representation , so , a complete family of pairwise inequivalent unitary irreducible representations of positive dimensions , a distinguished trivial representation of dimension , and a subset together with a complex linear equivalence intertwining with one copy of each , . Put . A choice of pivots consists of a function and a proof that, for every , writing ,
The structure requires such strict positivity at every selected pivot; it does not assert that a choice exists.
QAlgorithms.Papers.Independent.Extend50.P31.QuaternionCP
For every , this predicate means precisely that all four inequalities
hold simultaneously.
QAlgorithms.Papers.Independent.Extend50.P31.QuaternionDecomposition
For a two-dimensional irreducible unitary representation of the eight-element quaternion group, this property means that there exists an invertible complex-linear map such that
for every group element , every vector , and every . Here , , every is unitary, and its only common invariant complex subspaces are and ; the bar denotes entrywise conjugation. For group elements , with canonical exponent , the respective pairs of values are , , , and for labels . The map need not preserve inner products.
QAlgorithms.Papers.Independent.Extend50.P31.QuaternionPPT
For arbitrary real numbers , the predicate means precisely that all four inequalities
hold simultaneously; equality is allowed in each inequality.
QAlgorithms.Papers.Independent.Extend50.P31.RepEquivalent
For any type , natural numbers , and functions and , this predicate means that there exists a complex-linear bijection such that
There is no group assumption on , no representation or unitarity assumption on , and no requirement that preserve an inner product. Zero dimensions are included; if is empty, the intertwining condition is vacuous.
QAlgorithms.Papers.Independent.Extend50.P31.Row
Given a finite group , a finite type with decidable equality, , and data consisting of a positive-dimensional irreducible unitary representation on , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, and a finite subset such that is simultaneously linearly isomorphic to the action of the on , this abbreviation denotes the dependent pair type
Thus an element records a selected representation index together with a coordinate index in that representation.
QAlgorithms.Papers.Independent.Extend50.P31.S3CP
For every , this predicate means precisely
with all three conditions required simultaneously.
QAlgorithms.Papers.Independent.Extend50.P31.S4TripletDecomposition
For irreducible unitary representations of of dimensions , respectively, this defines the assertion that there exists a complex-linear bijection
such that, for every and every vector , writing , one has
Each supplied representation preserves multiplication and the identity, consists of unitary matrices, and has no invariant complex subspaces other than zero and the whole space. The tensor-product matrix has entry in row and column . The bijection is not required to preserve inner products.
QAlgorithms.Papers.Independent.Extend50.P31.SimplyReducible
Let be a group, let be a type with decidable equality, and let . Suppose is an irreducible unitary representation of on , with , and is a family of positive-dimensional irreducible unitary representations, of dimensions , containing a distinguished one-dimensional trivial representation, containing a representative of every positive-dimensional irreducible unitary representation, and having equivalent members only when their indices agree. For a finite subset , this predicate means that there exists an invertible complex linear map
such that, for every , every vector in its domain, and every ,
where the bar denotes entrywise complex conjugation. The map is required to be a linear isomorphism; preservation of inner products is not included. An empty would make the target zero-dimensional and therefore cannot satisfy this predicate when .
QAlgorithms.Papers.Independent.Extend50.P31.UnitaryIrrep
For any type equipped with a group structure and any natural number , an object of this structure consists of a function , together with the requirements that , , for every , and for every . It also requires that every complex-linear subspace satisfying for all and is either or . No finiteness or topology is assumed on , and no such object exists for .
QAlgorithms.Papers.Independent.Extend50.P31.centralMap
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, and any , this defines the complex linear endomorphism of given, for every matrix , by
The dagger denotes conjugate transpose. Completeness of the family means that every positive-dimensional irreducible unitary representation is equivalent to a family member.
QAlgorithms.Papers.Independent.Extend50.P31.centralMatrix
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, and any , this defines the complex matrix indexed by pairs of coordinates in :
Here complex conjugation is entrywise, and the Kronecker factor has entry at row , column . Completeness of the family means that every positive-dimensional irreducible unitary representation is equivalent to one of its members.
QAlgorithms.Papers.Independent.Extend50.P31.character
For any group , natural number , irreducible unitary representation , and element , this defines
Here includes the requirements , , , both unitary identities for each , and that every invariant complex subspace of is zero or the whole space. No finiteness assumption on is required.
QAlgorithms.Papers.Independent.Extend50.P31.characterMatrix
Let be a group and let be a family of representations indexed by a type , assigning each a positive natural dimension and an irreducible unitary representation . Each preserves identity and multiplication and has no invariant complex subspaces other than zero and the whole space. The family includes a distinguished trivial representation of dimension , every irreducible unitary representation is equivalent to a member, and equivalent members have equal indices, where equivalence means an invertible complex-linear intertwiner. The declaration defines the complex matrix with rows indexed by and columns indexed by whose entries are
QAlgorithms.Papers.Independent.Extend50.P31.choiEigenvalueVector
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each member indexed by . Put and . A pivot choice selects for every , with
Let , where is the standard matrix unit. For arbitrary , the defined function is
QAlgorithms.Papers.Independent.Extend50.P31.choiVector
Let be a finite group, a finite type with decidable equality, and consist of a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of containing one copy of each indexed by . For a row , where and , a pivot choice selects for which
Define , with the standard matrix unit. The defined function on pairs is
Thus it lists the entries of the transpose of , without complex conjugation.
QAlgorithms.Papers.Independent.Extend50.P31.classAverage
For a finite group , the declaration defines a complex matrix , with rows and columns indexed by , by
The cardinality is regarded as a complex number before taking its inverse. Every denominator in the nonzero branch is positive, since belongs to its own conjugacy class.
QAlgorithms.Papers.Independent.Extend50.P31.classCoefficients
Let be a finite group, a finite index type with decidable equality, and contain a positive-dimensional irreducible unitary representation of dimension , a complete family of positive-dimensional irreducible unitary representations of dimensions , a distinguished trivial member of dimension , and a subset together with an invertible complex-linear intertwiner from to the direct sum of the members indexed by , each occurring once. Completeness means every irreducible unitary representation is equivalent to a family member, and equivalence of family members implies equality of their indices; equivalence is by an invertible complex-linear intertwiner. Each representation preserves identity and multiplication, has unitary matrices, and has no invariant complex subspaces other than zero and the whole space. For any function and any , the declaration defines
No conjugation or inversion is applied to the character in this sum, and need not be constant on conjugacy classes. The denominator is nonzero because a group is nonempty and .
QAlgorithms.Papers.Independent.Extend50.P31.conjugacyClass
For a finite group and any , the declaration defines the finite set
This set contains each qualifying element once and includes , by taking to be the identity.
QAlgorithms.Papers.Independent.Extend50.P31.conjugationMap
For any group , natural number , irreducible unitary representation , and , this defines the complex-linear endomorphism of given by
The representation data require , preservation of the group identity and multiplication, both unitary identities for every , and that the only complex subspaces invariant under all representation matrices are zero and . The input matrix is arbitrary.
QAlgorithms.Papers.Independent.Extend50.P31.doubleSumMu
Let be a finite group, a finite index type with decidable equality, and contain a positive-dimensional irreducible unitary representation , a complete family of positive-dimensional irreducible unitary representations of dimensions , a distinguished trivial member of dimension , and a subset with an invertible complex-linear intertwiner identifying with one copy of each , . Representations preserve identity and multiplication, have unitary matrices, and have only zero and the whole space as invariant complex subspaces; completeness and distinctness mean that every irreducible unitary representation is equivalent to a family member and equivalent members have equal indices. Write . For any , row with and , and arbitrary pair of indices less than , define
The declaration defines the complex number
The index need not belong to , and no positivity or nonzero condition is imposed on for the chosen . Division uses the total complex inverse, so the value is zero if .
QAlgorithms.Papers.Independent.Extend50.P31.eigenmatrix
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations, a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each member indexed by . Write and . For , let a pivot choice select with
If denotes the matrix with entry at and zero elsewhere, the defined matrix is
QAlgorithms.Papers.Independent.Extend50.P31.fineMap
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, an index , and , this defines the complex linear endomorphism of
The dagger denotes conjugate transpose, and completeness means that every positive-dimensional irreducible unitary representation is equivalent to a family member.
QAlgorithms.Papers.Independent.Extend50.P31.fineMatrix
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, an index , and , this defines the matrix
on coordinate pairs of . The bar denotes entrywise conjugation, so the Kronecker factor has entry at row , column . The family represents every positive-dimensional irreducible unitary representation up to equivalence.
QAlgorithms.Papers.Independent.Extend50.P31.flatIndex
This function sends a pair to the index in . Since already lies between and , its values are , , , and .
QAlgorithms.Papers.Independent.Extend50.P31.fromMat
For every natural number and every complex matrix whose rows and columns are indexed by pairs from , this defines the complex-linear map on complex matrices given by
Equivalently, it converts to its function of paired indices, applies matrix multiplication by , and converts back. The definition includes , with empty sums.
QAlgorithms.Papers.Independent.Extend50.P31.leftInverse
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each member indexed by . Put and . A pivot choice assigns with
for , where is the standard matrix unit. Form . The defined matrix, with rows indexed by and columns by , is
The inverse here is the total matrix inverse, which is zero for a singular square complex matrix; the declaration itself neither assumes invertibility nor asserts a left-inverse identity.
QAlgorithms.Papers.Independent.Extend50.P31.mapByCharacter
For every finite group , natural number , -dimensional irreducible unitary representation , natural number , and arbitrary function , this defines the complex-linear map on given by
The supplied representation includes , the identities and , unitarity of every , and the condition that every common invariant complex subspace is zero or the whole space. The parameter may be zero, and is not required to be a character.
QAlgorithms.Papers.Independent.Extend50.P31.muAt
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into the members indexed by , each once. Write . For any , any row with and , and any pair with , put
The defined complex number is
Here is the standard matrix unit. There is no positivity assumption on or requirement that ; the real square root and inverse are total, so gives and hence .
QAlgorithms.Papers.Independent.Extend50.P31.normalizedMatrix
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, , , and , define
This declaration defines the matrix
where is the matrix with its sole nonzero entry at , and the real scalar is embedded in . The family represents every positive-dimensional irreducible unitary representation up to equivalence. No positive-weight hypothesis is required: real square root is zero on negative inputs and the reciprocal of zero is zero, so this matrix is zero whenever .
QAlgorithms.Papers.Independent.Extend50.P31.permutationFixedCount
For every natural number and every permutation of , this defines the natural number
The definition includes , when this count is zero.
QAlgorithms.Papers.Independent.Extend50.P31.permutationSign
For every natural number , including , and every permutation of , is the sign of , first regarded as an integer and then as a complex number. Thus it is for an even permutation and for an odd permutation; the unique permutation of the empty set has value .
QAlgorithms.Papers.Independent.Extend50.P31.pivotKrausFamily
Let be a finite group, a finite index type with decidable equality, and consist of a positive-dimensional irreducible unitary representation , a family of positive-dimensional irreducible unitary representations indexed by , a distinguished trivial representation of dimension , and a subset . The family contains every irreducible unitary representation up to an invertible complex-linear intertwiner, equivalent members have equal indices, and supplies an invertible complex-linear intertwiner identifying with one copy of each , . Here a unitary representation preserves identity and multiplication, and irreducibility means that its only invariant complex subspaces are zero and the whole space. Write for the matrix unit and . For , , and , put
Let choose a pair for every row , with , and define
For any complex coefficient function and any such row , the declaration defines the matrix
There is no assumption that is real or nonnegative; the real square root is zero when . The coordinate reshaping and two transposes in the definition cancel, giving the displayed .
QAlgorithms.Papers.Independent.Extend50.P31.pivotWeight
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, , , and , this defines the real number
The family represents every positive-dimensional irreducible unitary representation up to equivalence. The definition itself imposes no positivity condition on this real number.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionCharacter
For each label , this defines a complex-valued function on the eight-element quaternion group. Writing its elements as and , with canonical exponent , the values are
QAlgorithms.Papers.Independent.Extend50.P31.quaternionChoiMatrix
For every , this defines the complex matrix with rows and columns indexed by as
There are no restrictions on and no positivity assumption.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionEigenvalues
For every , this defines a real-valued function on whose values, in that order, are
This definition alone asserts neither that these numbers are eigenvalues of a matrix nor that they are nonnegative or ordered.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionKraus
For every and , let
This defines the complex matrix , where
No restrictions are imposed on ; the real square root used here is zero on negative arguments, so whenever . The definition itself imposes no Kraus normalization identity.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionMap
For arbitrary real numbers , this defines the complex-linear map on complex matrices given, for every , by
This is multiplication by the specified coefficient matrix after listing the entries of in the order , followed by restoring that ordering to a matrix. No positivity or channel condition is assumed or asserted here.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionQ1
This defines the complex matrix
where is the imaginary unit and the row and column indices are .
QAlgorithms.Papers.Independent.Extend50.P31.quaternionQ2
This defines the complex matrix
with row and column indices .
QAlgorithms.Papers.Independent.Extend50.P31.quaternionRepresentation
This defines a matrix-valued function on the quaternion group with eight elements, written and for , by
where is the canonical representative of , and the zeroth matrix power is .
QAlgorithms.Papers.Independent.Extend50.P31.quaternionSuperMatrix
For arbitrary real numbers , this defines the complex matrix
whose real entries are regarded as complex numbers. No restrictions on the parameters are imposed.
QAlgorithms.Papers.Independent.Extend50.P31.quaternionTransform
This defines the complex matrix with rows and columns indexed by as
QAlgorithms.Papers.Independent.Extend50.P31.rawMatrix
For a finite group , an index type , an irreducible unitary representation on with , a complete pairwise inequivalent family of positive-dimensional irreducible unitary representations with dimensions and a distinguished one-dimensional trivial member, , , and a coordinate pair , this defines
where has a single entry at row , column , and zero elsewhere. The family represents every positive-dimensional irreducible unitary representation up to equivalence.
QAlgorithms.Papers.Independent.Extend50.P31.representationCommutant
For any type , any finite type with decidable equality, and any function , this defines the complex linear subspace
There is no group or representation assumption on or . If is empty, the condition is vacuous and the subspace is the whole matrix space; the definition also allows to be empty.
QAlgorithms.Papers.Independent.Extend50.P31.rowMatrixRepresentative
For every natural number and every complex-linear map from complex matrices to themselves, this defines a complex matrix indexed in both directions by pairs of indices from , with entries
where has entry at and zero elsewhere. For , the resulting matrix has empty index sets.
QAlgorithms.Papers.Independent.Extend50.P31.rowVec
For all natural numbers , this defines a complex-linear equivalence between complex matrices and complex-valued functions on , given by . Its inverse sends a function to the matrix with entries . Either dimension may be zero; in that case both spaces contain only their zero element.
QAlgorithms.Papers.Independent.Extend50.P31.s3Eigenvalues
For every , this defines a real-valued function on with respective values
The definition imposes no ordering or nonnegativity condition and does not itself assert an eigenvalue relation.
QAlgorithms.Papers.Independent.Extend50.P31.s3Inverse
This defines the complex matrix, with rows and columns indexed starting at zero,
QAlgorithms.Papers.Independent.Extend50.P31.s3Kraus
For every , this defines a family of four complex matrices, indexed in order by , as
No restrictions are imposed on ; every square root is the real square root, which equals zero on negative arguments. This definition alone requires no normalization identity for the family.
QAlgorithms.Papers.Independent.Extend50.P31.s3Map
For every , this defines the complex linear endomorphism of given by
There are no restrictions on and no positivity assumption.
QAlgorithms.Papers.Independent.Extend50.P31.s3Transform
This defines the complex matrix, with rows and columns indexed starting at zero,
QAlgorithms.Papers.Independent.Extend50.P31.s4DoubletCharacter
For every permutation , this defines the complex number
where counts the indices in fixed by , and counts those fixed by the composition of with itself.
QAlgorithms.Papers.Independent.Extend50.P31.s4Eigenvalues
For arbitrary real numbers , this defines the real vector indexed by :
The definition imposes no positivity or ordering conditions on these entries.
QAlgorithms.Papers.Independent.Extend50.P31.s4Map
For every three-dimensional irreducible unitary representation of and real numbers , this defines the complex-linear map
where counts the fixed points of in . The representation satisfies , , unitarity, and the condition that every common invariant complex subspace is zero or the whole space. No particular character of , or restriction on , is required by this definition.
QAlgorithms.Papers.Independent.Extend50.P31.s4StandardCharacter
For every permutation , this defines the complex number , where is the number of indices in fixed by , interpreted as a complex number.
QAlgorithms.Papers.Independent.Extend50.P31.s4TwistCharacter
For every permutation , this defines the complex number
where is the permutation sign, interpreted in , and is the number of indices in fixed by .
QAlgorithms.Papers.Independent.Extend50.P31.scaledSimplex
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each member indexed by . With and , the defined set consists exactly of functions satisfying
The last equality is an equality of complex numbers; individual coordinates may be zero.
QAlgorithms.Papers.Independent.Extend50.P31.spectralGram
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each member indexed by . Put and . For a pivot choice , let and
for , with the standard matrix unit. Define . The defined square matrix on is , explicitly
QAlgorithms.Papers.Independent.Extend50.P31.spectralMap
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each indexed by . For any complex coefficient function , the defined complex linear endomorphism of complex matrices sends every such matrix to
The coefficients are unrestricted complex numbers.
QAlgorithms.Papers.Independent.Extend50.P31.spectralMatrix
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations with a distinguished one-dimensional trivial member, and a complex linear decomposition of into one copy of each , . Put and . For each , a pivot choice selects such that
Writing , where is the standard matrix unit, the defined matrix has rows indexed by , columns indexed by , and entries
QAlgorithms.Papers.Independent.Extend50.P31.squaredSumEpsilon
Let be a finite group, a finite index type with decidable equality, and contain a positive-dimensional irreducible unitary representation , a complete family of positive-dimensional irreducible unitary representations with dimensions , a distinguished trivial member of dimension , and a subset with an invertible complex-linear intertwiner identifying with one copy of every member indexed by . Representations preserve identity and multiplication, have unitary matrices, and have no invariant complex subspaces other than zero and the whole space; every irreducible unitary representation is equivalent to a family member, and equivalent family members have equal indices. Put . For any , row with and , and arbitrary index pair , let
The declaration defines
where the squared modulus is a real number subsequently regarded as complex. No restriction is imposed on , and no positive-pivot hypothesis is imposed at . The real square root and complex inverse are total: if , the square root and its inverse are zero, and the displayed value is zero.
QAlgorithms.Papers.Independent.Extend50.P31.tensorConjugate
For any group , natural number , irreducible unitary representation , and , this defines the matrix , indexed by pairs from , with entries
Here requires , preservation of identity and multiplication, both unitary identities for each representation matrix, and that every invariant complex subspace is zero or the whole space. The bar denotes entrywise complex conjugation.
QAlgorithms.Papers.Independent.Extend50.P31.tensorFour
For any complex matrix , this defines a matrix whose rows and columns are indexed by , with entries
Thus the pair indices are ordered as ; no condition on is imposed.
QAlgorithms.Papers.Independent.Extend50.P31.trivialCoefficient
Let be a finite group, a finite type with decidable equality, and specify a positive-dimensional unitary irreducible representation on , a complete pairwise inequivalent family of positive-dimensional unitary irreducible representations, a distinguished index whose representation has dimension and acts as the identity at every , and a complex linear decomposition of into one copy of each member indexed by . For any , the defined complex number is
This is when , and the displayed sum is zero when there is no such index in .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.