Re: [Kwant] Problem with semimetals

2019-03-22 Thread Abbout Adel
Dear Luca, Your problem is not clear at all. Your code is not well written so that we can follow it easily (a lot of variables and loops). Even with that, there is no error message. If you specify what you want to do and what is the part which makes problem for you with the corresponding code

Re: [Kwant] Problem with semimetals

2019-03-22 Thread Luca Lepori
Dear Adel, I think I have solved the problem. I wrote again just for completeness, in case somebody encountered the same problem. However, I will try to be more clear. Best, L. Il giorno ven 22 mar 2019 alle ore 17:16 Abbout Adel ha scritto: > > Dear Luca, > > Your problem is not clear at

Re: [Kwant] Problem with semimetals

2019-03-22 Thread Luca Lepori
Sorry, a typo was in my previous mail. Now it is correct. L. Dear authors, I think the problem relies in that the particle-hole symmetry in the leads is not correctly implemented. Indeed, in the present form H_leads (k) \neq - U H^*_leads (-k) U^{-1} (as it holds instead for the scattering