[Kwant] Re: How the spin is positioned in the Smatrix?

2022-09-27 Thread binayyr
Hey, I get the same issue when I exclude conservation_law = -sigma_z inside the left lead builder. But according to the documentation there should be a way to run the code without the conservation law I suppose? But I have had no luck in doing that, does anyone have an idea how to do that? Sin

[Kwant] Re: How the spin is positioned in the Smatrix?

2022-09-15 Thread 木呆 叶
hello, I copy your code to run with kwant 1.4.2. But, I get the error "IndexError: index 2 is out of bounds for axis 0 with size 2", when calculate data_ud.append(smatrix.transmission((1,1), (0,0))) # transmission lead 0 up to lead 1 down. Did you meet the same problem?

[Kwant] Re: How the spin is positioned in the Smatrix?

2022-03-06 Thread diegobruno244
these thread can help: https://mail.python.org/archives/list/kwant-discuss@python.org/thread/KZXFIC4N6GOD6IQ7WZYEHPCUEKGRCL5V/#5WUA27JKU6OUEWNTWKDZZW5BXB6RSV2R https://mail.python.org/archives/list/kwant-discuss@python.org/thread/YYOG27S6PAIBI3G2T5OQGKTVCE6G7D2X/#YYOG27S6PAIBI3G2T5OQGKTVCE6G7D2X B

[Kwant] Re: How the spin is positioned in the Smatrix?

2022-03-06 Thread diegobruno244
I searched a lot and got the answer! Here it is some links that helped me Some exemples links: https://kwant-project.org/doc/1/tutorial/spin_potential_shape.html?highlight=spin https://kwant-project.org/doc/1/_downloads/spin_orbit.py https://kwant-project.org/doc/1/tutorial/superconductors.html?hig

[Kwant] Re: How the spin is positioned in the Smatrix?

2022-03-01 Thread Diego Bruno
Can you disponibilize the code?