hybrid hamiltonian