Dear all, I want to set up a 2D system with an out-of-plane magnetic field, where two leads that are perpendicular to each other are attached to the scattering region ('L' shaped system). Because one of the leads is translationally invariant along x direction, while the other one along y direction, I need to interpolate between two different gauge choices. Is there an easy (universal) way to do this? Thanks for any hint, Tibor
Tibor Sekera wrote:
Because one of the leads is translationally invariant along x direction, while the other one along y direction, I need to interpolate between two different gauge choices.
Is there an easy (universal) way to do this?
No, there is no support for this in Kwant. We have been thinking about it, but this is one of the many useful additions that no one yet had the time to implement. A contribution would be very welcome. Of course, we are happy to discuss, accompany and help! I attach an example script that demonstrates magnetic field and leads with different directions. Feel free to use it at will.
Hi Christoph! If I'll have an idea, I will let you know. Thank you very much for the code! However, I am struggling to apply it to a honeycomb lattice: (1) When I create a square lattice 'L' shaped system and plot the current (due to a single edge state from a lead), I get a smooth profile along the edge, as expected. (2) However, when I do the same for a honeycomb lattice 'L' shaped system, I get a disturbance of the current at the spot where the "gauge_transformed_sites" are located. Should the functions in your code defining hopping look differently for a honeycomb lattice? Best, Tibor ________________________________________ From: Christoph Groth [christoph.groth@cea.fr] Sent: Monday, November 13, 2017 4:31 PM To: Tibor Sekera Cc: kwant-discuss@kwant-project.org Subject: Re: [Kwant] interpolate between different gauge choices Tibor Sekera wrote:
Because one of the leads is translationally invariant along x direction, while the other one along y direction, I need to interpolate between two different gauge choices.
Is there an easy (universal) way to do this?
No, there is no support for this in Kwant. We have been thinking about it, but this is one of the many useful additions that no one yet had the time to implement. A contribution would be very welcome. Of course, we are happy to discuss, accompany and help! I attach an example script that demonstrates magnetic field and leads with different directions. Feel free to use it at will.
participants (2)
-
Christoph Groth
-
Tibor Sekera