NLAlib.trace_conjTranspose_mul_hermitianPart_mul
Library · theorem
Over \mathbb{R} the trace of a compression sees only the symmetric part: \operatorname{tr}(\mathbf{Q}^{\mathsf{T}}\mathbf{H}\mathbf{Q}) = \operatorname{tr}(\mathbf{Q}^{\mathsf{T}}\mathbf{A}\mathbf{Q}) for \mathbf{H} = \tfrac{1}{2}(\mathbf{A} + \mathbf{A}^{\mathsf{T}}) and any \mathbf{Q}.
NLAlib.trace_conjTranspose_mul_hermitianPart_mul.{u_2, u_3} {n : Type u_2} [Fintype n]
{k : Type u_3} [Fintype k] (Q : Matrix n k ℝ) (A : Matrix n n ℝ) :
(Qᴴ * hermitianPart A * Q).trace = (Qᴴ * A * Q).traceImport NLAlib.Matrix.Spectral.HermitianPart.