Original Post
Make sure you haven't skipped the introduction into Variational Calculus, otherwise nothing in physics and computer science will make sense. This is the VERY BEGINNING - I bet you have all required prerequisites, but this thing never was explained with clarity to actually "get it" well enough to understand advanced quantum mechanics and AI (the "Hamiltonian thing").
Enjoy, happy Sunday!