Positive functional on a C-star algebra (source code)

= Positive functional on a C-star algebra
{wiki}

A complex <linear functional> $\tau$ on a <C-star algebra> is positive when $\tau(a)\geq0$ for every <Positive element of a C-star algebra> $a$. Such a <linear functional> is automatically bounded and satisfies the <Cauchy–Schwarz inequality for positive C-star functionals>:
$$
|\tau(y^*x)|^2\leq\tau(x^*x)\tau(y^*y).
$$
For a \b[unital] <C-star algebra>, positivity gives $\|\tau\|=\tau(1)$. Conversely, a bounded complex <linear functional> with $\|\tau\|=\tau(1)$ is positive. The unit assumption belongs to these formulas; it is not needed for the definition of positivity.

A concrete example on complex <matrices> is $\tau(a)=\operatorname{tr}(\rho a)$ with $\rho$ a <positive semidefinite matrix>. It is a <state on a C-star algebra> when $\operatorname{tr}\rho=1$. The positivity follows from $\operatorname{tr}(\rho b^*b)=\operatorname{tr}((b\rho^{1/2})^*b\rho^{1/2})\geq0$.