Dear Adel,

Thank you very much for your advice, I am looking at this tutorial now, but I 
have a doubt.
>From https://kwant-project.org/doc/dev/tutorial/faq, I saw an example code:
---------------------------------------------
a = 1
lat = kwant.lattice.square(a)
syst = kwant.Builder()
syst[lat(1, 0)] = 4
syst[lat(1, 1)] = 4
kwant.plot(syst)
---------------------------------------------
And explained, In the above snippet we added 2 sites: lat(1, 0) and lat(0, 1). 
Both of these sites belong to the same family, lat, but have different tags: 
(1, 0) and (0, 1) respectively.
syst[lat(1, 0)] and syst[lat(1, 1)] are written in the Code, why is site lat(1, 
0) and lat(1, 1)?

Sincerely,
Yue Xiang

Reply via email to