I'm studying quantum mechanics and I have a question about the momentum operator. We have that the momentum operator is given by
\begin{equation*} p = -i\hbar\nabla \end{equation*}
and so its adjoint is given by
\begin{equation*} p^{\dagger} = i\hbar\nabla^{\dagger}. \end{equation*}
The momentum operator is also self-adjoint, so
\begin{equation*} -i\hbar\nabla = i\hbar\nabla^{\dagger} \quad\Leftrightarrow\quad \nabla^{\dagger} = -\nabla \end{equation*}
in some sense. However, I haven't run across any explanation of in what sense such a relation might hold, or if I'm just completely incorrect. I appreciate any guidance on this!
Edit: My thought process is to examine $\nabla$ in a weak sense in Hilbert space, keeping in mind the boundary conditions imposed on wave functions, but I haven't made any useful conclusions.
Edit: The domain on which I mean the momentum operator to act is the set of quantum states.