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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Joseph Weston
kwant
Commits
920b09b4
There was a problem fetching the pipeline summary.
Commit
920b09b4
authored
8 years ago
by
Joseph Weston
Browse files
Options
Downloads
Patches
Plain Diff
fix typos in whatsnew
parent
9826bd74
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/source/pre/whatsnew/1.3.rst
+8
-7
8 additions, 7 deletions
doc/source/pre/whatsnew/1.3.rst
with
8 additions
and
7 deletions
doc/source/pre/whatsnew/1.3.rst
+
8
−
7
View file @
920b09b4
...
...
@@ -56,18 +56,19 @@ the system (such as charge density, spin density along some axis etc),
or over hoppings of the system (such as current or spin current). With
the introduction of the ``operator`` module it has now become much easier
to calculate such quantities. To calculate the regular density and current
everywhere in a system due to a wavefunction ``
wf
``, one only needs to do
everywhere in a system due to a wavefunction ``
psi
``, one only needs to do
the following::
syst = make_system().finalized()
wfs
= kwant.wave_function(syst)
wf = wfs[0]
psi
= kwant.wave_function(syst)
(0)[0]
# create the operators
Q = kwant.physics.LocalOperator(syst)
J = kwant.physics.Current(syst)
# evaluate the operator matrix elements
q = Q(wf)
j = J(wf)
# evaluate the expectation value with the wavefunction
q = Q(psi)
j = J(psi)
See the Kwant tutorial for more details.
...
...
@@ -88,7 +89,7 @@ system by just saying::
pyplot.plot(np.eigs(h)[1][0])
Improved build configuration
----------------------------
--------------
----------------------------
The name of the build configuration file, ``build.conf`` by default, is now
configurable with the ``--configfile=PATH`` option to ``setup.py``. (This
makes build configuration usable with the ``pip`` tool.) The build
...
...
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