Jonathan freeman said:
Hi, I am wanting to confirm my understanding of the density matrix in quantum mechanics. Is it the wave function co-efficients squared - in other words the wave amplitudes squared which in turn are the probabilities and then these turn out to be placed into a matrix form with the squared wave amplitudes being the diagonal elements of the density matrix itself?
A density matrix combines two different types of uncertainty: (1) classical uncertainty, which is due to incomplete knowledge of what the system state is, and (2) quantum uncertainty, where even a "pure" state can only make probabilistic predictions.
So for example, suppose you have a complete set of basis states ##|\psi_n\rangle##. You randomly select one of the states, ##j## with probability ##p_j##. Then the resulting density matrix can be written this way:
##\rho = \sum_j p_j |\psi_j\rangle \langle \psi_j|##
That's a density matrix written in terms of a basis in which it is "diagonal". In a different basis, the density matrix would look more complicated. For instance, let's write that in terms of a different basis, ##|\phi_\alpha\rangle##:
##\rho = \sum_j \sum_\alpha \sum_\beta p_j |\phi_\alpha\rangle \langle \phi_\alpha |\psi_j\rangle \langle \psi_j|\phi_\beta\rangle \langle \phi_\beta |##
## = \sum_\alpha \sum_\beta \rho_{\alpha \beta} |\phi_\alpha \rangle \langle \phi_\beta|##
where ##\rho_{\alpha \beta} = \sum_j p_j \langle \phi_\alpha|\psi_j\rangle \langle \psi_j|\phi_\beta\rangle##
Sometimes when people talk about the density matrix, they mean the coefficients ##\rho_{\alpha \beta}## rather than the operator ##\rho##.
If ##\rho## is diagonal in the basis ##|\phi_\alpha\rangle##, that means that ##\rho_{\alpha \beta} = 0## unless ##\alpha = \beta##.
That's the general case. What you're talking about is a special case in which the way that we randomly pick ##|\psi_j\rangle## is by a quantum-mechanical measurement, starting with an initial state ##|\psi\rangle = \sum_j c_j |\psi_j\rangle## and measuring whatever property corresponds to the index ##j##. After the measurement is complete, but before you look at the result, you could describe the situation with a diagonal density matrix as above where ##p_j = |c_j|^2##.
So, it's not true in general that the density matrix coefficients are squares of amplitudes. It's only true for the density matrix describing the result of a measurement on a pure state.