Christoph Groth wrote: > araya0...@gmail.com wrote: > > I saw some users mentioning Hall effect computations on the community, > > such as the program 'qhe.py'. But I couldn't find related code or > > tutorials. > > Hi, the program qhe.py is an example from the Kwant paper: > https://kwant-project.org/doc/. You can find the source code in the > paper, but I attach a newer version (that uses params instead of args). > > This should be enough to experiment with QHE. Note that the shown > technique works only for constant field and all leads parallel to each > other. If you need something more generic, see > https://kwant-project.org/doc/1/pre/whatsnew/1.4#automatic-peierls-phase-cal.... > > If all you need are non-parallel leads withconstant field, a manual > approach that uses a clever gauge transformation is also possible. > I attach a quick-and-dirty example. > > Cheers > Christoph
Dear Christoph, I sincerely appreciate your sharing. I am deeply touched, and it has been of great help to me. Sincerely, Araya