Geometric Hamiltonian quantum mechanics and applications