Dear All,
There are inbuilt crystal lattices in Kwant. As little bit crazy I tried to use
general( ) in constructing monatomic square or rectangular lattice instead of using
lattice.square(). My code was:
lat=kwant.lattice.general([(1,0),(0,1)],[(0,0)])instead of the inbuilt square
lattice i.e. lat=kwant.lattice.square(1).
Error given : polyatomic objects are not callable.
I cant understand how this becomes polyatomic? I have not declared any sublattice.
Please help me how to give a code for manatomic and polyatomic objects as well.
Thanks to all of the discuss forum.
Get your own FREE website, FREE domain & FREE mobile app with Company email.  
Know More >