Re: [Kwant] Conductance for a rectangular geometry

2018-02-24 Thread Abbout Adel
Dear Amrita, Yes, you can add the two builders as follows: left_lead1+=left_lead2 but in the new version of kwant, the operator += for builders is deprecated. So, you better use: left_lead1.update(left_lead2) and then you add your missing hopping, before you attach the lead: left_lead1[(lat(0,0)

Re: [Kwant] Conductance for a rectangular geometry

2018-02-22 Thread Abbout Adel
Dear Amrita, This is a normal result: your two systems are different. In fact, if you zoom on your left lead you will see that the upper and the bottom parts of your lead do not communicate. There are hoppings missing and thus the two situations are not the same. (check the enclosed figure). I ho