qc hamiltonian works also with new list