There seems to be two different definitions of definitions of density matrices in Physics.
In Quantum Information we define a the density matrix associated with a wave function $ | \psi \rangle$ as $| \psi \rangle \langle \psi | $. These represent pure states. Mixed states can be defined by taking convex combinations of these. In any case the density matrix depends on the state of the system and can evolve in time
In Quantum statistical mechanics the density matrix is defined as $e^{ -\beta H}$ . Where $\beta$ is the inverse temperature. By this definition the density matrix depends on the Hamiltonian ($H$) and not on what state the system is in.
I have two questions,
- Are these definitions the same? If not what connects them?
- What is the significance of $\beta$ in the second definition?