1) ERROR IN FIGURE FOR SPECIFIC "PRIORITY" AND "SNAKE_WINDING":
I made my own ordering function in Honeycomb lattice as:
Code: Select all
elif order=="user_order":
priority=(1,2,0)
snake_winding=(True,False,False)
return get_order(self.shape,snake_winding, priority)
Code: Select all
lat = Honeycomb(4, 4, None, bc=['open','open'],order="user_order")
2) ERROR IN FIGURE FOR PERIODIC BOUNDARY CONDITION:
I want a lattice with periodic boundaries along y-axis with some shift and open boundaries along x-axis.
So I used this command to get the lattice,
Code: Select all
lat = Honeycomb(4, 4, None, bc=['open',-1],order="default")
Please, correct me, If my understanding is wrong. But I made many experiments in Tenpy to construct the lattices and also checked "get_bc" function in tenpy.models.lattice, to understand how tenpy is implementing boundary condition.
Thanks, in advance.