The Quantica.jl package provides an expressive API to build arbitrary quantum systems on a discrete lattice, and to compute a number of their properties.
- Build Hamiltonians on discrete lattices of arbitrary dimensions, using tight-binding models with arbitrary number of orbitals
- Compute band structures of periodic systems and extract individual bands by interpolation
- Compute electronic structures and expectation values using Kernel Polynomial methods
lattice
,sublat
: build latticeshopping
,onsite
,siteselector
,hopselector
,nrange
,not
: build tightbinding modelshamiltonian
: build a Hamiltonian from tightbinding model and a latticebloch
,bloch!
,similarmatrix
: build the Bloch matrix of a Hamiltonianparametric
,@onsite!
,@hopping!
,parameters
: build a parametric Hamiltoniandims
,sitepositions
,siteindices
,bravais
: inspect lattices and Hamiltonianssupercell
,unitcell
,wrap
,transform!
,combine
: build derived lattices or Hamiltoniansket
,ketmodel
,randomkets
,basiskets
: define kets and ket models for use in e.g. KPM routinesflatten
,unflatten
,orbitalstructure
: operate with multiorbital Hamiltonian, Kets or Subspacescuboid
: build a bandstructure discretization meshbandstructure
,spectrum
,diagonalizer
: compute the generalized bandstructure of a Hamiltonian or a ParametricHamiltonianbands
,energies
,states
,minima
,maxima
,gapedge
,gap
,isinband
: inspect spectrum and bandstructure objectsmomentaKPM
,dosKPM
,averageKPM
,densityKPM
,bandrangeKPM
: Kernel Polynomial Method (KPM)greens
,greensolver
: build Green's functions of a Hamiltonian
Some of this functionality require loading one or more third-party packages, which include the following:
- KPM:
FFTW
,ArnoldiMethod
- Bandstructures:
Arpack
,ArnoldiMethod
,KrylovKit
The user is told when this is needed. We do this to reduce dependencies and launch time with packages whose functionality is not essential for the use of Quantica.jl
Other functions become available after loading specific third-party packages:
- Makie: enables
plot(::Hamiltonian)
andplot(::Bandstructure)
(for 1D and 2D bandstructures) - VegaLite: enables
vlplot(::Hamiltonian)
andvlplot(::Bandstructure)
(for 1D bandstructures)
This work has been partly funded by the Spanish Ministry of Economy and Competitiveness under Grant Nos. FIS2015-65706-P, PCI2018-093026, and the CSIC Intramural Project 201760I086.