"The quantum partition function is $Z=tr(e^{-\\beta H})$ where H is an operator, the Hamiltonian of the ..." . . . .