Skip to content
Snippets Groups Projects
Forked from kwant / kwant
1720 commits behind the upstream repository.
0.2.rst 805 B

What's New in kwant 0.2

This article explains the user-visible changes in kwant 0.2.

Calculation of the local density of states

The new function kwant.solvers.sparse.ldos allows the calculation of the local density of states.

Return value of sparse solver

kwant.solvers.sparse.solve now always returns a single instance of ~kwant.solvers.sparse.BlockResult. The latter has been generalized to include more information for leads defined as infinite systems.

Return value of ~kwant.system.System.hamiltonian_submatrix

~kwant.system.System.hamiltonian_submatrix now always returns a 3-tuple hamiltonian_part, to_norb, from_norb.