The following question is about chapter 2 of Sakurai's Modern Quantum Mechanics. I wish I could link to the Google book, but it doesn't seem to have a satisfactory preview to be able to read the section I'm talking about, so I'll do my best to write out the part I'm talking about...
In the section about propagators and Feynman path integrals (p. 113 in my edition) he gives the following example:
$G(t) \equiv \int d^3 x' K(x', t; x',0) $
$=\int d^3 x' \sum_{a'} |\langle x'|a'\rangle|^2 \textrm{exp} \left(\frac{-iE_{a'}t}{\hbar}\right)$
$=\sum_{a'}\textrm{exp} \left( \frac{-iE_{a'}t}{\hbar} \right)$
He goes on to say that this is equivalent to taking the trace of the time evolution operator in the $\{|a'\rangle\}$ basis, or a "sum over states", reminiscent of the partition function in statistical mechanics. He then writes $\beta$ defined by
$\beta=\frac{it}{\hbar}$
real and positive, but with with $t$ purely imaginary, rewriting the last line of the previous example as the partition function itself:
$Z=\sum_{a'} \textrm{exp} \left( -\beta E_{a'} \right)$.
So my question is this: What is the physical significance (if any) of representing time as purely imaginary? What does this say about the connection between thermodynamics and quantum? The fact that you get the partition function exactly, save for the imaginary time, here seems too perfect to be just a trick. Can someone explain this to me?