This is the question I'm struggling with:
Given
$\left<p|q\right> = \frac{e^{-ipq/h}}{\sqrt{2\pi h}}$
and that
$\hat{H} = \frac{\hat{P^2}}{2m} + V(\hat{Q})$
show that:
$\left<p|\hat{H}(\hat{P}, \hat{Q})|q\right> = \frac{e^{-ipq/h}}{\sqrt{2\pi h}} \cdot H(p,q)$
My working is as follows:
$\left<p|\hat{H}(\hat{P}, \hat{Q})|p\right> = H(p,q)$
$\left<p|\hat{H}(\hat{P}, \hat{Q})|q\right> = \left<p|\hat{H}(\hat{P}, \hat{Q})|p\right> \left<p|q\right>$
$= \frac{e^{-ipq/h}}{\sqrt{2\pi h}} \cdot H(p,q)$
but this is wrong. Any help would be very much appreciated.