Skip to content
Snippets Groups Projects
Commit c86762e5 authored by Joseph Weston's avatar Joseph Weston
Browse files

add thebelab buttons to the tutorials

parent 900cd1a4
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,12 @@ The `~kwant.continuum` sub-package aims to be a solution to this problem. ...@@ -16,6 +16,12 @@ The `~kwant.continuum` sub-package aims to be a solution to this problem.
It is a collection of tools for working with It is a collection of tools for working with
continuum models and for discretizing them into tight-binding models. continuum models and for discretizing them into tight-binding models.
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this tutorial can be found in The complete source code of this tutorial can be found in
:jupyter-download:script:`discretize` :jupyter-download:script:`discretize`
......
...@@ -5,6 +5,12 @@ questions that are discussed there. The `Kwant paper ...@@ -5,6 +5,12 @@ questions that are discussed there. The `Kwant paper
<https://downloads.kwant-project.org/doc/kwant-paper.pdf>`_ also digs deeper <https://downloads.kwant-project.org/doc/kwant-paper.pdf>`_ also digs deeper
into Kwant's structure. into Kwant's structure.
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. jupyter-execute:: .. jupyter-execute::
:hide-code: :hide-code:
......
...@@ -60,6 +60,12 @@ simplicity, we choose to work in such units that :math:`t = a = 1`. ...@@ -60,6 +60,12 @@ simplicity, we choose to work in such units that :math:`t = a = 1`.
Transport through a quantum wire Transport through a quantum wire
................................ ................................
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`quantum_wire` :jupyter-download:script:`quantum_wire`
......
...@@ -3,6 +3,12 @@ ...@@ -3,6 +3,12 @@
Beyond square lattices: graphene Beyond square lattices: graphene
-------------------------------- --------------------------------
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`graphene` :jupyter-download:script:`graphene`
......
...@@ -15,6 +15,12 @@ expansion of the density of states. It can also be used to calculate the ...@@ -15,6 +15,12 @@ expansion of the density of states. It can also be used to calculate the
spectral density of arbitrary operators. Kwant has an implementation of the spectral density of arbitrary operators. Kwant has an implementation of the
KPM method `kwant.kpm`, that is based on the algorithms presented in Ref. [1]_. KPM method `kwant.kpm`, that is based on the algorithms presented in Ref. [1]_.
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`kernel_polynomial_method` :jupyter-download:script:`kernel_polynomial_method`
......
...@@ -4,6 +4,12 @@ Adding magnetic field ...@@ -4,6 +4,12 @@ Adding magnetic field
Computing Landau levels in a harmonic oscillator basis Computing Landau levels in a harmonic oscillator basis
...................................................... ......................................................
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`landau-levels` :jupyter-download:script:`landau-levels`
......
...@@ -11,6 +11,12 @@ In this tutorial we will see how we can calculate more general quantities than ...@@ -11,6 +11,12 @@ In this tutorial we will see how we can calculate more general quantities than
simple densities by studying spin transport in a system with a magnetic simple densities by studying spin transport in a system with a magnetic
texture. texture.
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`magnetic_texture` :jupyter-download:script:`magnetic_texture`
......
...@@ -10,6 +10,12 @@ these options can be used to achieve various very different objectives. ...@@ -10,6 +10,12 @@ these options can be used to achieve various very different objectives.
2D example: graphene quantum dot 2D example: graphene quantum dot
................................ ................................
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`plot_graphene` :jupyter-download:script:`plot_graphene`
......
...@@ -4,6 +4,12 @@ Beyond transport: Band structure and closed systems ...@@ -4,6 +4,12 @@ Beyond transport: Band structure and closed systems
Band structure calculations Band structure calculations
........................... ...........................
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`band_structure` :jupyter-download:script:`band_structure`
......
...@@ -9,6 +9,12 @@ very simple examples of the previous section. ...@@ -9,6 +9,12 @@ very simple examples of the previous section.
Matrix structure of on-site and hopping elements Matrix structure of on-site and hopping elements
................................................ ................................................
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`spin_orbit` :jupyter-download:script:`spin_orbit`
......
Superconductors: orbital degrees of freedom, conservation laws and symmetries Superconductors: orbital degrees of freedom, conservation laws and symmetries
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
.. seealso::
You can execute the code examples live in your browser by
activating thebelab:
.. thebe-button:: Activate Thebelab
.. seealso:: .. seealso::
The complete source code of this example can be found in The complete source code of this example can be found in
:jupyter-download:script:`superconductor` :jupyter-download:script:`superconductor`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment