Context: I'm not a physicist.
I've come across the Hamiltonian in classical physics and in quantum physics, and I can't recognise why they have the same name. They seem very different. So I probably am missing something.
Classical. My understanding of the classical Hamiltonian is: it is a function $H(p,q,t)$ of the (generalized) coordinates of the system, letting $q$ be the generalized "position" vector, and $p$ be the generalized momentum vector. The time evolution of the system is obtained as:
$$\dot q=\frac {\partial H} {\partial p}\quad\quad\quad \dot p=-\frac {\partial H} {\partial q}$$ Where the dots denote time derivatives.
Quantum. My understanding of the quantum Hamiltonian, is that it is a Hermitian operator $H$ on the quantum state $|\Psi \rangle $, that is used to calculate the time derivative (generalized Schrodinger equation) :
$$|\dot \Psi\rangle = \alpha H|\Psi \rangle$$
(Where $\alpha=-\frac i {2\pi h}$, which is not important for now).
How are these related? They seem totally different objects:
Type signature. The classical hamiltonian is a function from state-space to $\mathbb R$. The quantum Hamiltonian is an operator from state space to state space. (both possibly time dependent, in the classical case I mean by state space, $(q,p)$ space, in the quantum case I mean the quantum state space).
Derivatives. In the classical case, we take the derivative of the Hamiltonian. In the quantum case, we don't, we just use the hamiltonian itself, and use it to operate on the state space.
Analog of Newton's law?. In classical physics, the Hamiltonian is based on a variational principle (the Hamiltonian is derived from minimizing the Action functional). The "local" laws of motion in classical physics are Newton's laws: $\dot p = F(q,p)$. It seems to me that the Schrodinger equation is the quantum analog of Newton's law (insofar as there is one), not the analog of Hamilton's equations in classical mechanics: The "force operator" also is an operator from state space to state space. Using nonstandard notation by letting the classical state $s=(q,p)$ to emphasize the analogy with the Schrodinger equation, Newton's laws can be written as: $$\dot s = F s$$ Where $F_q(q,p) = \frac 1 m p$ and $F_p(q,p)$ is the force. It is surprising to me that the Schrodinger equation, which has the form of a local law of motion, contains the energy of the system (the Hamiltonian), whereas the classical law of motion contain forces rather than energy.
Am I wrong that the Schrodinger equation is more analogous to Newton's laws than to the classical Hamiltonian equations? Why do they have the same name, if they seem like very different types of objects?