Matrix.IsHermitian.slqMeasure_eq_sum_lanczosQuadrature
Library · theorem
The SLQ measure is the average of the probes' Lanczos rules: for Hermitian \mathbf{A}, every test matrix \mathbf{\Omega} with columns \boldsymbol{\omega}_j and every q, \mathsf{slqMeasure}(\mathbf{A}, \mathbf{\Omega}, q) = \frac{1}{\lvert n\rvert m}\sum_{j=1}^m \mathsf{lanczosQuadrature}(\mathbf{A}, \boldsymbol{\omega}_j, q)\,, the identification of each probe's Gauss rule with its Lanczos rule; atoms at the Ritz values, weights from the tridiagonal matrices (Matrix.IsHermitian.lanczosQuadrature_succ_eq_sum). [MartinssonTropp2020, §6.6]; there for the trace estimate.
Matrix.IsHermitian.slqMeasure_eq_sum_lanczosQuadrature.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
{n : Type u_2} {m : Type u_3} [Fintype n] [DecidableEq n] [Fintype m] {A : Matrix n n 𝕜}
(hA : A.IsHermitian) (Ω : Matrix n m 𝕜) (q : ℕ) :
slqMeasure A Ω q =
(↑(Fintype.card n) * ↑(Fintype.card m))⁻¹ • ∑ j, lanczosQuadrature A (fun i ↦ Ω i j) qImport NLAlib.Estimation.Spectral.SpectralDensity.