Amplitude $\langle0|e^{-iHT}|0\rangle$ in A. Zee's QFT In A Nutshell In his Quantum Field Theory In a Nutshell, in page 12, (Second Ed), A Zee says that conventionally, the amplitude $\langle0|e^{-iHT}|0\rangle$ is denoted by $Z$. In the next paragraph, he considers the amplitude in eq. (6), and performs a Wick rotation to Euclidean time, $t\rightarrow -it$, and writes,
$$
Z=\int Dq(t)e^{-\int_0^Tdt[\frac{1}{2}m\dot{q}^2+V(q)]}
$$
which is the Euclidean Path Integral. I am confused because he denotes this quantity by $Z$. Is it the same $Z$ as $\langle0|e^{-iHT}|0\rangle$? If so, then I cannot see how. Can anybody help me?
I understand that
$$
Z=\langle0|e^{-iHT}|0\rangle=\int dq_F\int dq_I\langle F|q_F\rangle\langle q_F|e^{-iHT}|q_I\rangle\langle q_I|I\rangle
$$
with $|F\rangle=|I\rangle=|0\rangle$. How is this similar to the former integral?
 A: The step of evaluating your second expression for $Z$ and arriving at the path integral form, which is the first expression you mention, is a nontrivial but standard derivation in the path integral formulation of QFT. It is quite lengthy, but can be found in most books that cover the path integral formulation. The general idea it to split the time interval $T$ into $N$ intervals (with $N$ large), and to insert a full set of eigenstates at each intermediate time, such that
$$
\langle q_F|e^{-iHT}|q_I\rangle= \langle q_F|\left(e^{-iHT/N}\right)^N|q_I\rangle\\
=\int dq_1\ldots dq_{N-1}\langle q_F|e^{-iHT/N}|q_{N-1}\rangle\langle q_{N-1}|e^{-iHT/N}|q_{N-2}\rangle\langle q_{N-2}|\ldots|q_1\rangle\langle q_{1}|e^{-iHT/N}|q_I\rangle
$$
This can be solved in the following way. Since Hamiltonian also contains momentum operators you additionally have to insert a complete set of conjugate momentum eigenstates at each intermediate time. Then, all the operators in the Hamiltonian can be evaluated on these inserted states and you are left with C-number functions only. Since the Hamiltonian is quadratic in the momentum operator the momentum integrals are Gaussian and can be performed explicitly. The $N$ integral over intermediate field configurations enter the definition of the path integral (in essence, the path integral is just defined as such an integral over $n$ intermediate time field configurations in the limit where $N\to\infty$).
For more details, see for example the Advanced QFT lecture notes of Hugh Osborn, which can be found here. The derivation you are looking for is at the very beggining of the script.
