H.coeff function

Orthonormal basis expansion of a Hermitian matrix