In quantum field theory, we have a generating functional, Z[J] of correlation functions and this value, called the partition function is usually expressed by something like the following functional integral:

where S is the action functional. This is very analogous to statistical mechanics. In fact, a Wick rotation emphasizes the similarities.

This article is a stub. You can help Wikipedia by fixing it.