Re: [Kwant] Regarding smatrix and spin

2017-01-08 Thread Anton Akhmerov
Hi Camilla, everyone, I've slightly modified Tómas's example to a case where the spins do get coupled, check it out: http://nbviewer.jupyter.org/url/antonakhmerov.org/misc/spin_conductance.ipynb I've also provided more detailed installation instructions in the notebook. Cheers, Anton On Sun,

Re: [Kwant] Regarding smatrix and spin

2017-01-08 Thread Tómas Örn Rosdahl
Dear Camilla, For a Hamiltonian with degeneracies due to a conservation law, the scattering states will in general not have a definite value of the conservation law. In your case, Kwant returns scattering states that are arbitrary linear combinations of spin up and down, so it is not possible to

Re: [Kwant] STM tip as lead

2017-01-08 Thread Abbout Adel
Dear Eric, Yes, you can use a 3D lattice and define a lead as you proposed, but you can also do that more easily and stay in the 2D space. The main idea is to add a self-energy to the potential of the site below the tip. I suppose that you want to use 1D lead to mimic the effect of tip so you

Re: [Kwant] STM tip as lead

2017-01-08 Thread Anton Akhmerov
Hi Eric, Do you mind providing more information about what you are trying to achieve? An STM tip is much simpler than an actual lead, so one could avoid the complexity potentially. Best, Anton On Sun, Jan 8, 2017 at 1:28 AM, Eric Mascot wrote: > Hello > > I was wondering, is