https://peeterjoot.com/2015/09/05/correlation-function-partition-function-and-ground-state-energy/
Correlation function. Partition function and ground state energy.