Re: [Kwant] Plotting Hamiltonian for overlapping lattices

2016-11-08 Thread Tómas Örn Rosdahl
t looks completely random. > > > > I hope my explanation was understandable. > > > > Best, > > Camilla > > > """ This modules extends kwant.system.InfiniteSystem and kwant.solvers.common.SMatrix, to allow for the construction of lead m

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] conservation law in the case of a spinfull Nambu basis

2017-12-08 Thread Tómas Örn Rosdahl
Hi Tibor, The number of projectors is the same as the number of distinct eigenvalues in the specified conservation law. Note that the eigenvalues themselves are not important, only the order in which they appear and whether they are distinct or not. In your case, you could set conservation_law =