Wick rotations are useful because of an analogy between two important but seemingly distinct fields of physics: statistical mechanics and quantum mechanics. In this analogy, inverse temperature plays a role in statistical mechanics formally akin to imaginary time in quantum mechanics: that is, it, where t is time and i is the imaginary unit (i = –1).