Equation $H(q,p)=E$ is the equation of motion or energy-conservation law?

I do not completely understand, why do we consider Hamilton–Jacobi equation $H(q,p)=E$ as equation of motion, whereas it is looks like energy-conservation law?

-

That is not the hamilton-jacobi equation. What you have above is an equality between the time-ind. Hamiltonian and the energy of a particle with generalized postion q and momentum p. Energy is conserved in some systems, but it depends on the exact mathematical form of the hamiltonian and has nothing to do with this equation as far as I know.

-
By the way, the hamilton jacobi equation is just a partial differential equation for the transformation between the hamiltonian and a kamiltonian where the generalized coordinates are identically zero (the intial state of the system is described). It also uses an F2 type generating function. cheers! – Timtam Jan 31 '12 at 9:20

As Timtam pointed out, this is not the Hamilton-Jacobi Equation. If you say, quantum mechanically, this does not even make any sense because, there the Hamiltonian is an operator which has to act on some eigenstate to give the energy of that state. Effectively, energy of the different states becomes the eigenvalue of the Hamiltonian. As far as conservation laws are concerned, it comes from the symmetry of the problem. A symmetry is defined as a transformation which keeps the action invariant $$A = \int L dt$$ (If, identity belongs to the group of transformation, then it becomes a continuous symmetry. The symmetries gives rise to Noether currents which are conserved. You get your conservation laws because the system has symmetries, not because the eigenvalues of the Hamiltonian is the energy which is anyways true. Classically, if we consider a non-dispersive system, then the Hamiltonian evaluated at a definite $p$ and $q$ gives you the energy of the system at that point. Go to another point and evaluate $H$, you should get the same number (since, it is non-dissipative). However, to know if energy will be conserved at all or not, you need the explicit form of the Hamiltonian.

-
this is a good explanation of how energy conservation arises – Timtam Jan 31 '12 at 9:32

Hamilton Jacobi equation corresponds to a transformation to a phase space where canonically conjugate variables remain constant over time. {Q,P}=1 The new hamiltonian $K= H+\frac{ds}{dt}$ with the condition $K=0$ In quantum mechanics Schrodinger equation gives rise to HJ equation at the limit $\hbar$ tends to 0.

-