Canonical ensemble

If you have a classical Hamiltonian system and you assume it is in thermal equilibrium with a large heat bath at temperature T (i.e. it may exchange energy with the bath, coupling is weak and the bath is so large that its temperature is unchanged), then the description of that system is the canonical ensemble, i.e., the distribution on phase space given by the Boltzmann distribution

ρ(q,p)eβH(q,p),β=(kBT)1.

Important caveats / distinctions:

Here we are a well-known partition function, that let us compute the entropy, energy and Helmholtz free energy.