I was reading through Kapusta & Gale, "Finite temperature Field theory Principles and applications". In chapter 2, they derive a partition function for a normal field theory (0 temperature case). I see the following argument:
Let $\hat{\phi}({\bf x},0)$ and $\hat{\pi}({\bf x},0)$ be Schroedinger operators.
Then $$\hat{\phi}({\bf x},0)|\phi\rangle = \phi({\bf x})|\phi \rangle\tag{2.1}$$ and similarly, for the conjugate momenta field, $$\hat{\pi}({\bf x},0)|\pi\rangle = \pi({\bf x})|\pi \rangle.\tag{2.4}$$ Here, $\phi({\bf x})$ and $\pi({\bf x})$ are the eigenfunctions to the Schroedinger operators; while $|\phi\rangle$ and $|\pi\rangle$ are the eigenstates.
What they then say in Eq. (2.7) and Eq. (2.8) is the following:
In quantum theory, one has $$\langle x|p \rangle = e^{ipx}. \tag{2.7}$$
On similar lines, in field theory one should have $$\langle \phi|\pi \rangle = \exp \left (i\int d^3x \pi({\bf x})\phi({\bf x}) \right ). \tag{2.8}$$
Is there any way to prove the relation (2.8)?
To me, $\langle \pi|\phi \rangle$ is just a normal inner product space, and hence it should simply be $$\langle \phi|\pi \rangle = i\int d^3x \pi(\bf{x})\phi(\bf{x}),$$ i.e. there should be no exponentiation.
Also, I believe, $$\langle \pi|\phi \rangle\langle \phi|\pi \rangle = |\langle \pi|\phi \rangle|^2 .$$
But, if I use (2.8), I get, $$\langle \pi|\phi \rangle\langle \phi|\pi \rangle = 1.$$ This does not sound right.
Is there a mistake I am making somewhere?