Matrix.IsHermitian.re_trace_pow_eq_sum_range_eigenvalue_pow
Library ยท theorem
The real part of the trace of a power of a Hermitian matrix is the power sum of its eigenvalues: \operatorname{Re} \operatorname{tr}(\mathbf{A}^p) = \sum_{k < \lvert n \rvert} \lambda_k(\mathbf{A})^p. This is the form used by the moment method.
Matrix.IsHermitian.re_trace_pow_eq_sum_range_eigenvalue_pow.{u_1, u_2} {๐ : Type u_1} [RCLike ๐]
{n : Type u_2} [Fintype n] [DecidableEq n] {A : Matrix n n ๐} (hA : A.IsHermitian) (p : โ) :
RCLike.re (A ^ p).trace = โ k โ Finset.range (Fintype.card n), eigenvalue A k ^ pImport NLAlib.Matrix.Spectral.EigenvalueTransform.