In the book quantum theory of many-particle systems by Fetter and Walecka, section 1.2, equation (2.4), the Hamiltonian writes:
$$ \hat{H} = \int d^3 x \hat{\psi}^\dagger(x) T(x) \hat{\psi}(x) $$ The comment below the equation says:
The quantities $\hat{\psi}$ and $\hat{\psi}^\dagger$ are not wave functions, however, but field operators; thus in second quantization the fields are the operators and the potential and kinetic energy are just complex coefficients.
I am a bit confused because on the one hand:
let $\hat{\psi} = \sum_k e^{ikx} c_k$, and $T(x)$ as an operator $-\hbar^2\nabla^2/2m$, one can smoothly get the ordinary second quantization form $\hat{H}=\sum_k\frac{\hbar^2k^2}{2m}c_k^\dagger c_k$.
On the other hand (assume bosons for simplicity): $$ [\hat{\psi}(x),\hat{H}] = [\hat{\psi}(x), \int d^3 z \hat{\psi}^\dagger(z) T(z) \hat{\psi}(z)] = \int d^3 z\left([\hat{\psi}(x), \hat{\psi}^\dagger(z) ] T(z) \hat{\psi}(z) + \hat{\psi}^\dagger(z)[\hat{\psi}(x), T(z)]\hat{\psi}(z) + \hat{\psi}^\dagger(z) T(z)[\hat{\psi}(x), \hat{\psi}(z)]\right) = T(x) \hat{\psi}(x) $$ which is obtained using $[\hat{\psi}(x), \hat{\psi}^\dagger(z)]=\delta(x-z)$, $[\hat{\psi}(x), \hat{\psi}(z)]=0$, and assume T(x) is just a c number.