Feb. 20, 2023
9:34 a.m.
leegunaun@inu.ac.kr wrote:
Error says 'Polyatomic' object is not callable.
I did a search lat = kwant.lattice.general([[1, 0], [1/2, np.sqrt(3)/2]], # lattice vectors [[0, 0], [0, 1/np.sqrt(3)]]) # Coordinates of the sites a, b = lat. sublattices I understand that this code is polyatomic, and it is not correct to apply it to (lat(x, y).
But i can't find a solution. Can you help me?
Hi, please have a look at the Kwant tutorial on graphene [1]. It demonstrates how to work with polyatomic lattices. Christoph [1] https://kwant-project.org/doc/1/tutorial/graphene