> Dear Joseph,
>
> As per your instructions I have build the system, but the code is not
> giving the desired result.
> Here is the code please have a look on it.


'y' should be the y position of the sites of the hopping, not an input
parameter to the system construction:

    def hoppingz(site0, site1):

         y = site0.pos[1]

         ...


Happy Kwanting,

Joe



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to