Re: Peierls phase from kwant.physics.magnetic_gauge

Aug. 2, 2020
5:46 a.m.
Dear Pablo, Yes, now, everything works. Thanks a lot for Your help. Best Regards, Pawel
<pablo.perez.piskunow@gmail.com> 07/31/20 10:13 PM >>> Hi again Paweł,
I realized that `substutited` *returns* a new builder, and does not change it in-place. The docs of `magnetic_gauge` were misleading there. You can simply replace ``` l_lead = l_lead.substituted(peierls='peierls_llead') ... r_lead = r_lead.substituted(peierls='peierls_llead') ``` in your code, and should work.
1666
Age (days ago)
1666
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pawel Wojcik