Re: Peierls phase from kwant.physics.magnetic_gauge
2 Aug
2020
2 Aug
'20
12:46 a.m.
Dear Pablo, Yes, now, everything works. Thanks a lot for Your help. Best Regards, Pawel
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.
1355
Age (days ago)
1355
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pawel Wojcik