Documentation

TauCeti.LinearAlgebra.Matrix.UnitaryGroup.Basic

Coordinate action of unitary matrices #

Matrix.UnitaryGroup.toLinearEquiv_apply describes the linear equivalence associated to a unitary matrix by its matrix-vector action, and Matrix.permMatrix_mem_unitaryGroup records that permutation matrices are unitary. Accordingly Matrix.permutationUnitary is Matrix.permMatrixHom with values in the unitary group.

Matrix.conjTranspose_mul_mul_mem_unitary transfers unitarity along a possibly rectangular matrix whose conjugate transpose is a two-sided inverse.

Matrix.diagonal_update_one_mem_unitary_iff says that a diagonal matrix with all diagonal entries 1 except one is unitary exactly when that entry is.

@[simp]
theorem Matrix.UnitaryGroup.toLinearEquiv_apply {R : Type u} [CommRing R] [StarRing R] {n : Type v} [Fintype n] [DecidableEq n] (U : ↥(unitaryGroup n R)) (x : n → R) :

The linear equivalence associated to a unitary matrix acts by matrix-vector multiplication.

theorem Matrix.conjTranspose_mul_mul_mem_unitary {R : Type u_1} {m : Type u_2} {n : Type u_3} [Semiring R] [StarRing R] [Fintype m] [Fintype n] [DecidableEq m] [DecidableEq n] (P : Matrix m n R) (hP : P.conjTranspose * P = 1) (hP' : P * P.conjTranspose = 1) {X : Matrix m m R} (hX : X ∈ unitary (Matrix m m R)) :

Conjugation by a possibly rectangular matrix with conjugate-transpose inverse preserves unitarity over a possibly noncommutative star semiring.

theorem Matrix.diagonal_update_one_mem_unitary_iff {n : Type u_1} {α : Type u_2} [Fintype n] [DecidableEq n] [Semiring α] [StarRing α] {a : α} {i : n} :

A diagonal matrix whose diagonal entries are all 1 except the i-th one is unitary exactly when its i-th diagonal entry is unitary.

A permutation matrix is unitary: its conjugate transpose is the permutation matrix of the inverse permutation.

A permutation as a unitary matrix: permutationUnitary σ is the permutation matrix of σ⁻¹, which makes this a homomorphism with Mathlib's convention for multiplication in Equiv.Perm.

Instances For
    @[simp]

    The matrix underlying permutationUnitary σ is the permutation matrix of σ⁻¹.