Coder Social home page Coder Social logo

quantica.jl's Introduction

Quantica.jl

Stable Dev Build Status Coverage GitHub commits since last release

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.

Some current features

  • 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

Exported API

  • lattice, sublat: build lattices
  • hopping, onsite, siteselector, hopselector, nrange, not: build tightbinding models
  • hamiltonian: build a Hamiltonian from tightbinding model and a lattice
  • bloch, bloch!, similarmatrix: build the Bloch matrix of a Hamiltonian
  • parametric, @onsite!, @hopping!, parameters: build a parametric Hamiltonian
  • dims, sitepositions, siteindices, bravais: inspect lattices and Hamiltonians
  • supercell, unitcell, wrap, transform!, combine: build derived lattices or Hamiltonians
  • flatten, unflatten, orbitalstructure: operate with multiorbital Hamiltonian or Subspaces
  • cuboid: build a bandstructure discretization mesh
  • bandstructure, spectrum, diagonalizer: compute the generalized bandstructure of a Hamiltonian or a ParametricHamiltonian
  • bands, energies, states: inspect spectrum and bandstructure objects
  • momentaKPM, dosKPM, averageKPM, densityKPM, bandrangeKPM: Kernel Polynomial Method (KPM)
  • ket, randomkets: define ket models for use in e.g. KPM routines
  • 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) and plot(::Bandstructure) (for 1D and 2D bandstructures)
  • VegaLite: enables vlplot(::Hamiltonian) and vlplot(::Bandstructure) (for 1D bandstructures)

Funding

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.

quantica.jl's People

Contributors

pablosanjose avatar github-actions[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.