Hermitian matrices #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file defines hermitian matrices and some basic results about them.
See also is_self_adjoint
, which generalizes this definition to other star rings.
Main definition #
matrix.is_hermitian
: a matrixA : matrix n n α
is hermitian ifAᴴ = A
.
Tags #
self-adjoint matrix, hermitian matrix
A matrix is hermitian if it is equal to its conjugate transpose. On the reals, this definition captures symmetric matrices.
Equations
- A.is_hermitian = (A.conj_transpose = A)
A block matrix A.from_blocks B C D
is hermitian,
if A
and D
are hermitian and Bᴴ = C
.
This is the iff
version of matrix.is_hermitian.from_blocks
.
A diagonal matrix is hermitian if the entries are self-adjoint
A diagonal matrix is hermitian if the entries have the trivial star
operation
(such as on the reals).
Note this is more general than is_self_adjoint.mul_star_self
as B
can be rectangular.
Note this is more general than is_self_adjoint.star_mul_self
as B
can be rectangular.
Note this is more general than is_self_adjoint.conjugate'
as B
can be rectangular.
Note this is more general than is_self_adjoint.conjugate
as B
can be rectangular.
Note this is more general for matrices than is_self_adjoint_one
as it does not
require fintype n
, which is necessary for monoid (matrix n n R)
.
The diagonal elements of a complex hermitian matrix are real.
The diagonal elements of a complex hermitian matrix are real.
A matrix is hermitian iff the corresponding linear map is self adjoint.