Skip to main content
Ctrl+K
Kwant 1.5.0 documentation - Home
  • 1. Preliminaries
    • 1.1. About Kwant
    • 1.2. What’s new in Kwant
      • What’s new in Kwant 1.5
      • What’s new in Kwant 1.4
      • What’s new in Kwant 1.3
      • What’s new in Kwant 1.2
      • What’s new in Kwant 1.1
      • What’s new in Kwant 1.0
      • What’s new in Kwant 0.2
    • 1.3. Installation of Kwant
    • 1.4. Authors of Kwant
    • 1.5. Citing Kwant
    • 1.6. Contributing to Kwant and reporting problems
    • 1.7. Kwant license
  • 2. Tutorial: learning Kwant through examples
    • 2.1. Introduction
    • 2.2. First steps: setting up a simple system and computing conductance
    • 2.3. More interesting systems: spin, potential, shape
    • 2.4. Beyond transport: Band structure and closed systems
    • 2.5. Beyond square lattices: graphene
    • 2.6. Superconductors: orbital degrees of freedom, conservation laws and symmetries
    • 2.7. Computing local quantities: densities and currents
    • 2.8. Plotting Kwant systems and data in various styles
    • 2.9. Calculating spectral density with the kernel polynomial method
    • 2.10. Discretizing continuous Hamiltonians
    • 2.11. Adding magnetic field
    • 2.12. Frequently asked questions
  • 3. Core modules
    • 3.1. kwant – Top level package
      • kwant.KwantDeprecationWarning
      • kwant.UserCodeError
    • 3.2. kwant.builder – High-level construction of systems
      • kwant.builder.Builder
      • kwant.builder.Site
      • kwant.builder.HoppingKind
      • kwant.builder.BuilderLead
      • kwant.builder.SelfEnergyLead
      • kwant.builder.ModesLead
      • kwant.builder.FiniteSystem
      • kwant.builder.InfiniteSystem
      • kwant.builder.SiteFamily
      • kwant.builder.Symmetry
      • kwant.builder.Lead
      • kwant.builder.add_peierls_phase
    • 3.3. kwant.lattice – Bravais lattices
      • kwant.lattice.TranslationalSymmetry
      • kwant.lattice.general
      • kwant.lattice.Monatomic
      • kwant.lattice.Polyatomic
      • kwant.lattice.chain
      • kwant.lattice.square
      • kwant.lattice.cubic
      • kwant.lattice.triangular
      • kwant.lattice.honeycomb
      • kwant.lattice.kagome
    • 3.4. kwant.plotter – Plotting of systems
      • kwant.plotter.plot
      • kwant.plotter.map
      • kwant.plotter.density
      • kwant.plotter.current
      • kwant.plotter.bands
      • kwant.plotter.spectrum
      • kwant.plotter.streamplot
      • kwant.plotter.scalarplot
      • kwant.plotter.interpolate_current
      • kwant.plotter.interpolate_density
      • kwant.plotter.sys_leads_sites
      • kwant.plotter.sys_leads_hoppings
      • kwant.plotter.sys_leads_pos
      • kwant.plotter.sys_leads_hopping_pos
      • kwant.plotter.mask_interpolate
    • 3.5. kwant.solvers – Library of solvers
      • kwant.solvers.default.smatrix
      • kwant.solvers.default.greens_function
      • kwant.solvers.default.wave_function
      • kwant.solvers.default.ldos
      • kwant.solvers.common.SMatrix
      • kwant.solvers.common.GreensFunction
      • kwant.solvers.sparse – Basic sparse matrix solver
      • kwant.solvers.mumps – High performance sparse solver based on MUMPS