\documentclass{standalone}
\begin{document}
$
\hat{H} = -\frac{\hbar^2}{2m} \frac{\partial^2}{\partial x^2} + \hat{V}
$
\end{document}
