Hamiltonian evolution for the hybrid Monte Carlo algorithm