How is the partition function related to the moment generating function?
Statistical Mechanics: Why is the relationship between the Helmholtz free energy and the partition function more fundamental than the relationship between another free energy and the partition function?