updated notebook with state dependent hamiltonian callback functions: unified api between sesolve and mcsolve