A wavefunction describes a system known as completely as quantum mechanics allows. Real systems are often less tidy: prepared imperfectly, or entangled with an environment we cannot track. The density matrix, introduced in 1927 by John von Neumann and independently by Lev Landau, handles both cases.

For a system with two possible outcomes it is a two-by-two matrix. The diagonal entries are the probabilities of each outcome. The off-diagonal entries, called coherences, record whether the two possibilities can still interfere. For Schrödinger's atom in an equal superposition, decoherence takes

ρ=12(1111)⟶12(1001).

The probabilities stay at one half each, but with the off-diagonal terms gone the state is indistinguishable from a coin that has already landed, heads or tails, unseen. That is why decoherence makes quantum systems look classical.