This can be used to evaluate averages (operator X ^ ^ ), variances (using operator X ^ ^ 2 ), covariances (using operator X ^ ^ Y ^ ^ ), etc. The density matrix must always have a trace of 1: Tr ⁡ ⁡ ρ ρ ^ ^ = 1 (this essentially is the condition that the probabilities must add up to one).