Covariance operator (source code)

= Covariance operator
{title2=$C_X$}
{wiki}

For a square-integrable centered <Hilbert-space-valued random variable> $X$, its covariance operator is
$$
C_Xh=\mathbb E[\langle X,h\rangle X]=\mathbb E[X\otimes X]h.
$$
It is a positive self-adjoint <trace-class operator>, and $\operatorname{tr}C_X=\mathbb E\lVert X\rVert^2$.