Solution
= Solution
For a <density matrix> $\rho$ on a finite-dimensional <Hilbert space>, its <Von Neumann entropy> in bits is
$$
\boxed{S(\rho)=-\operatorname{tr}(\rho\log_2\rho)=-\sum_j\lambda_j\log_2\lambda_j,}
$$
where $\lambda_j$ are its <eigenvalues> and $0\log_20=0$. It is the <Shannon entropy> of the spectrum, is zero for a <pure state>, and is invariant under unitary conjugation.