Re: Peierls phase from kwant.physics.magnetic_gauge

1 Aug
2020
1 Aug
'20
10:46 p.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.
1031
Age (days ago)
1031
Last active (days ago)
0 comments
1 participants
participants (1)
-
Pawel Wojcik