Skip to content
Snippets Groups Projects
Forked from kwant / kwant
1113 commits behind the upstream repository.
Christoph Groth's avatar
Christoph Groth authored
The file kwant/_static_version.py is no longer written upon every
invocation of setup.py.  Instead, a file kwant/_kwant_version.py is
injected into source and binary distributions.

The static version in kwant/_kwant_version.py now takes precedence
before any version from git.  This makes the --no-git option to setup.py
no longer necessary, since the existence of kwant/_kwant_version.py has
the same role.  The motivation behind this change is to allow keeping
Kwant distributions in git repositories that have a different layout
from the canonical Kwant git repository.  This is useful for example for
packaging.

The name of the static version file was changed to avoid problems with
stale files.
20171914
History

Kwant is a free (open source) Python package for numerical calculations on tight-binding models with a strong focus on quantum transport. It is designed to be flexible and easy to use. Thanks to the use of innovative algorithms, Kwant is often faster than other available codes, even those entirely written in the low level FORTRAN and C/C++ languages.

Tight-binding models can describe a vast variety of systems and phenomena in quantum physics. Therefore, Kwant can be used to simulate

  • metals,
  • graphene,
  • topological insulators,
  • quantum Hall effect,
  • superconductivity,
  • spintronics,
  • molecular electronics,
  • any combination of the above, and many other things.

Kwant can calculate

  • transport properties (conductance, noise, scattering matrix),
  • dispersion relations,
  • modes,
  • wave functions,
  • various Green’s functions,
  • out-of-equilibrium local quantities.

Other computations involving tight-binding Hamiltonians can be implemented easily.

See the Kwant web site for the latest version. A mailing list is available for discussions, questions, and reporting bugs. The development of Kwant can be followed via the public git repository.

See also in this directory: INSTALL.rst, LICENSE.rst, AUTHORS.rst, CITING.rst, CONTRIBUTE.rst.