Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
kwant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Wimmer
kwant
Commits
8ee281a9
Commit
8ee281a9
authored
11 years ago
by
Christoph Groth
Browse files
Options
Downloads
Patches
Plain Diff
setup: extract long description from README; update README from paper abstract
parent
2fd65f0d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+13
-8
13 additions, 8 deletions
README
doc/source/index.rst
+3
-3
3 additions, 3 deletions
doc/source/index.rst
setup.py
+17
-2
17 additions, 2 deletions
setup.py
with
33 additions
and
13 deletions
README
+
13
−
8
View file @
8ee281a9
kwant is a Python package for numerical quantum transport calculations. It
Kwant is a Python package for numerical quantum transport calculations. It aims
aims to be an user-friendly, powerful and efficient toolbox for the simulation
to be an user-friendly, universal, and high-performance toolbox for the
of physical systems (of any dimensionality) that can be described by a
simulation of physical systems of any dimensionality and geometry that can be
tight-binding model. It offers direct support for calculations of Landauer
described by a tight-binding model. Kwant has been designed such that the
transport (conductance, noise), dispersion relations, modes, wave functions,
natural concepts of the theory of quantum transport (lattices, symmetries,
various Green's functions, and local density of states. Being extensible and
electrodes, orbital/spin/electron-hole degrees of freedom) are exposed in a
modular, kwant has been designed to be useful for other computations involving
simple and transparent way: Defining a new simulation setup is very close to
tight-binding Hamiltonians as well.
describing the corresponding mathematical model. Kwant offers direct support for
calculations of transport properties (conductance, noise, scattering matrix),
dispersion relations, modes, wave functions, various Green’s functions, and
out-of-equilibrium local quantities (charge or current densities). Other
computations involving tight-binding Hamiltonians can be implemented easily
thanks to its extensible and modular nature.
See also the files INSTALL, LICENSE, AUTHORS, and ACKNOWLEDGEMENTS in this
See also the files INSTALL, LICENSE, AUTHORS, and ACKNOWLEDGEMENTS in this
directory.
directory.
This diff is collapsed.
Click to expand it.
doc/source/index.rst
+
3
−
3
View file @
8ee281a9
...
@@ -7,9 +7,9 @@ kwant documentation
...
@@ -7,9 +7,9 @@ kwant documentation
Researchers, please note that even though :doc:`kwant is Free Software
Researchers, please note that even though :doc:`kwant is Free Software
<license>`, scientific integrity requires to give appropriate credit. If you
<license>`, scientific integrity requires to give appropriate credit. If you
write a scientific paper whose results have been obtained
thanks to kwant,
write a scientific paper whose results have been obtained
with the help of
please :doc:`acknowledge <acknowledgements>` the work of the :doc:`people
that
kwant,
please :doc:`acknowledge <acknowledgements>` the work of the :doc:`people
have made it possible
<authors>`.
that have developed it
<authors>`.
.. toctree::
.. toctree::
:maxdepth: 1
:maxdepth: 1
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
17
−
2
View file @
8ee281a9
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
# http://kwant-project.org/authors.
# http://kwant-project.org/authors.
CONFIG_FILE
=
'
build.conf
'
CONFIG_FILE
=
'
build.conf
'
README_FILE
=
'
README
'
STATIC_VERSION_FILE
=
'
kwant/_static_version.py
'
STATIC_VERSION_FILE
=
'
kwant/_static_version.py
'
REQUIRED_CYTHON_VERSION
=
(
0
,
17
,
1
)
REQUIRED_CYTHON_VERSION
=
(
0
,
17
,
1
)
MUMPS_DEBIAN_PACKAGE
=
'
libmumps-scotch-dev
'
MUMPS_DEBIAN_PACKAGE
=
'
libmumps-scotch-dev
'
...
@@ -217,6 +218,19 @@ def version():
...
@@ -217,6 +218,19 @@ def version():
return
version
return
version
def
long_description
():
text
=
[]
try
:
with
open
(
README_FILE
)
as
f
:
for
line
in
f
:
if
line
==
"
\n
"
:
break
text
.
append
(
line
.
rstrip
())
except
:
return
''
return
'
\n
'
.
join
(
text
)
def
packages
():
def
packages
():
return
[
root
.
replace
(
'
/
'
,
'
.
'
)
return
[
root
.
replace
(
'
/
'
,
'
.
'
)
for
root
,
dnames
,
fnames
in
os
.
walk
(
'
kwant
'
)
for
root
,
dnames
,
fnames
in
os
.
walk
(
'
kwant
'
)
...
@@ -387,8 +401,9 @@ def main():
...
@@ -387,8 +401,9 @@ def main():
version
=
version
(),
version
=
version
(),
author
=
'
kwant authors
'
,
author
=
'
kwant authors
'
,
author_email
=
'
christoph.groth@cea.fr
'
,
author_email
=
'
christoph.groth@cea.fr
'
,
description
=
"
A package for numerical
"
description
=
"
A package for numerical quantum transport calculations.
"
,
"
quantum transport calculations.
"
,
long_description
=
long_description
(),
platforms
=
[
"
Unix
"
,
"
Linux
"
,
"
Mac OS-X
"
,
"
Windows
"
],
url
=
"
http://kwant-project.org/
"
,
url
=
"
http://kwant-project.org/
"
,
license
=
"
BSD
"
,
license
=
"
BSD
"
,
packages
=
packages
(),
packages
=
packages
(),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment