The quantum canonical ensemble is the quantum extension of the canonical ensemble. It is defined through the density matrix
where is the Hamiltonian of the system and , with the Boltzmann constant and the temperature. The elements of the matrix in the energy eigenstate basis are , where are the energy eigenvalues.
Partition function#
The partition function is
The sum notation holds only if we represent in the energy eigenstate basis, which is generally a bad choice as it's almost never possible to diagonalize . It is possible in an ideal gas, however.
All properties derived from the partition function have identical expressions to the classical canonical.
Internal energy#
The internal energy
Helmholtz free energy#
The Helmholtz free energy is
Entropy#
Since we know the state density, we can determine entropy from the information-theoretical one as
since . It can equivalently be expressed as
Occupation numbers#
The occupation numbers can be derived from the partition function as
This is because the number can be derived from a sum over all possible states
The above form can seen by noticing that this sum is essentially the derivative of up to scaling constant.
Examples#
> We want to find the partition function for a system of $N$ of these particles. If the particles are not coupled (that is, they do not interact), the total partition function is just the product of each particle's partition function: > $$Z=\prod_{i=1}^{N} Z_{i}=2^{N}e^{-N\beta E/2}\cosh^{N}\left( \frac{\beta E}{2} \right)> The last step just comes from applying the exponential definition of the $\tanh$ and simplifying things. This result is identical to the one found with the [[microcanonical ensemble]]. Notably, this was way easier, as we didn't have to use combinatorics at all.The average energy is