Dear KS Chan
The conservation law feature can handle degenerate eigenvalues. The number
of blocks is equal to the number of distinct eigenvalues of the
conservation law, and the degeneracy of each eigenvalue gives the size of
the block. So in your example, the Hamiltonian will indeed be block
diag
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 =
n
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
l
result 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 mod