Hi, Sebastien Guissart <sebastien.guissart1@u-psud.fr> writes:
But I hope the impurity changes the system in reasonable size and at a reasonable distance of the impurity the system stay unperturbed. so i hope the LDOS near the impurity in this system . . .
............... ............... ............... ............... ... .......*....... ... ............... ............... ............... ...............
. . . could be similar at
. . .
............... ..*....*....*.. ............... ............... ... ..*....*....*.. ... ............... ............... ..*....*....*.. ...............
. . .
As said before, Kwant 1.0 does not support the finalization of builders with more than a single symmetry direction. However, constructing such builders indeed does work already now. With a little trick, this allows to easily create complicated systems with >1-d periodic boundary conditions: The idea is to first create an ancillary system with a 2-d-symmetry. Then, a finite system is created (without symmetries). Now, the sites and hoppings are "copied" from the ancillary system to the finite system. The copying works without problems for the sites. For a hopping (a, b), we need to take into account that while Kwant guarantees that a is a site inside the fundamental domain, b is not in the FD for the hoppings that "wrap around". To see why this works and how, you need to understand how symmetries work in Kwant. Specifically, you need to understand what a "fundamental domain" is. Search for it in Kwant's documentation. This method should work perfectly when you do not use functions to define your Hamiltonian values. If you do, you'll need to take into account the facts that the periodic boundary conditions are fake. I attach a little script that you can run. It creates a piece of graphene with PBCs. You can easily change the hoppings to further than nearest neighbor. This will make the plot messy, but it will work. Once you have your system with "fake" PBCs, you can treat is as any other finite system. For example you can calculate its eigenstates (see tutorial). I hope you'll find this useful, Christoph