diff --git a/doc/source/tutorial/discretize.rst b/doc/source/tutorial/discretize.rst index 51f94b790bd1dacdb6b79ab5080791e35d64449a..dabb96f7572c616e46c56b565e72a6f8c39ab248 100644 --- a/doc/source/tutorial/discretize.rst +++ b/doc/source/tutorial/discretize.rst @@ -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 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:: The complete source code of this tutorial can be found in :jupyter-download:script:`discretize` diff --git a/doc/source/tutorial/faq.rst b/doc/source/tutorial/faq.rst index ec52448d7afaf0d3ee4a2440088829a8dfc1b921..22f0ad71c08d29c1e8cc3f23f85355c5a982d157 100644 --- a/doc/source/tutorial/faq.rst +++ b/doc/source/tutorial/faq.rst @@ -5,6 +5,12 @@ questions that are discussed there. The `Kwant paper <https://downloads.kwant-project.org/doc/kwant-paper.pdf>`_ also digs deeper into Kwant's structure. +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. jupyter-execute:: :hide-code: diff --git a/doc/source/tutorial/first_steps.rst b/doc/source/tutorial/first_steps.rst index f509aaa0c262be17a1eaa53b8551812e06e88f22..801bb3e5ad4214d14c88205d600a5b2cbe1a1f34 100644 --- a/doc/source/tutorial/first_steps.rst +++ b/doc/source/tutorial/first_steps.rst @@ -60,6 +60,12 @@ simplicity, we choose to work in such units that :math:`t = a = 1`. Transport through a quantum wire ................................ +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. seealso:: The complete source code of this example can be found in :jupyter-download:script:`quantum_wire` diff --git a/doc/source/tutorial/graphene.rst b/doc/source/tutorial/graphene.rst index 6eaa93d6ed142f430bd078399b2850cdea61cf32..4243b7ffe136277d7ddf5631e8c29c6ddf214ab1 100644 --- a/doc/source/tutorial/graphene.rst +++ b/doc/source/tutorial/graphene.rst @@ -3,6 +3,12 @@ Beyond square lattices: graphene -------------------------------- +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. seealso:: The complete source code of this example can be found in :jupyter-download:script:`graphene` diff --git a/doc/source/tutorial/kpm.rst b/doc/source/tutorial/kpm.rst index a5b2461b5afee6f2955007d6f93fa575ccc8cfd6..10e451d6ba209338960f3158f7cea9505f1588be 100644 --- a/doc/source/tutorial/kpm.rst +++ b/doc/source/tutorial/kpm.rst @@ -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 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:: The complete source code of this example can be found in :jupyter-download:script:`kernel_polynomial_method` diff --git a/doc/source/tutorial/magnetic_field.rst b/doc/source/tutorial/magnetic_field.rst index db4753cd736113437d034da7265bc2874f372826..66bfb80575db9e0ad9c9c4ef18196acf9a1dec9d 100644 --- a/doc/source/tutorial/magnetic_field.rst +++ b/doc/source/tutorial/magnetic_field.rst @@ -4,6 +4,12 @@ Adding magnetic field 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:: The complete source code of this example can be found in :jupyter-download:script:`landau-levels` diff --git a/doc/source/tutorial/operators.rst b/doc/source/tutorial/operators.rst index 897c919c4b0b77e82b5ad39efec28c664df3d75a..ed346f178fc3582a2f8909c8bc4cc76de03cad53 100644 --- a/doc/source/tutorial/operators.rst +++ b/doc/source/tutorial/operators.rst @@ -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 texture. +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. seealso:: The complete source code of this example can be found in :jupyter-download:script:`magnetic_texture` diff --git a/doc/source/tutorial/plotting.rst b/doc/source/tutorial/plotting.rst index 64957a5499125457c7fe3cb8ea2a4e2049d027ce..fc4b65c88325c092c76d73f1c3ff857bf57ce066 100644 --- a/doc/source/tutorial/plotting.rst +++ b/doc/source/tutorial/plotting.rst @@ -10,6 +10,12 @@ these options can be used to achieve various very different objectives. 2D example: graphene quantum dot ................................ +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. seealso:: The complete source code of this example can be found in :jupyter-download:script:`plot_graphene` diff --git a/doc/source/tutorial/spectrum.rst b/doc/source/tutorial/spectrum.rst index b2cbc51d3bef2b378891baca292857360ca6d95d..5e70ba9bc7b63e64520c59bd78eec8d3a74b96a2 100644 --- a/doc/source/tutorial/spectrum.rst +++ b/doc/source/tutorial/spectrum.rst @@ -4,6 +4,12 @@ Beyond transport: Band structure and closed systems Band structure calculations ........................... +.. seealso:: + You can execute the code examples live in your browser by + activating thebelab: + + .. thebe-button:: Activate Thebelab + .. seealso:: The complete source code of this example can be found in :jupyter-download:script:`band_structure` diff --git a/doc/source/tutorial/spin_potential_shape.rst b/doc/source/tutorial/spin_potential_shape.rst index 770ba4a55f06f0c4a8bf0b89669cb66bb2fad407..05aad2e6480c15ca9f219cf640590a95643fbffb 100644 --- a/doc/source/tutorial/spin_potential_shape.rst +++ b/doc/source/tutorial/spin_potential_shape.rst @@ -9,6 +9,12 @@ very simple examples of the previous section. 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:: The complete source code of this example can be found in :jupyter-download:script:`spin_orbit` diff --git a/doc/source/tutorial/superconductors.rst b/doc/source/tutorial/superconductors.rst index 78f004d34820c3c4ef6219a855681ab542f0aa7a..9e0b1d7a5fdb19d700734bb3f7f6256be81f6aae 100644 --- a/doc/source/tutorial/superconductors.rst +++ b/doc/source/tutorial/superconductors.rst @@ -1,6 +1,12 @@ 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:: The complete source code of this example can be found in :jupyter-download:script:`superconductor`