PackagesGitHub

Packages for theoretical physics

in the Wolfram Language

Feynman diagrams from functional derivatives, fermion operators as symbols and as matrices and tensor contractions written as on paper. Free software, each package with its own documents and tests.

The packages

Each one is a paclet, installed with one line; its showcase goes through everything it does, and its manual describes every function.

FunctionalDiagrams

Feynman diagrams from functional derivatives

Perturbation theory and effective actions as one does them on paper: Luttinger–Ward, parquet, Hedin, Matsubara sums, dimensional regularization and one-loop QED, every diagram drawn.

  • version 2.6.1
  • 875 tests
  • GPL-3.0-or-later

FermiWick

Fermion operators, as symbols and as matrices

Normal ordering with compact local operators, Wick's theorem in Gaussian states declared by their symmetries, mean field of any order, Gutzwiller projectors, and exact diagonalisation on symmetry sectors.

  • version 0.6.0
  • 101 tests
  • GPL-3.0-or-later

Summa

Fast Einstein summation

Tensor contractions written as on paper, with the syntax of numpy.einsum: the order of the contractions and the kernel of each are chosen for you; indices shared by any number of tensors, and the tensor network drawn.

  • version 1.0.0
  • 735 tests
  • GPL-3.0-or-later

About

Written by Nazzareno Africani at SISSA, Trieste, for calculations in quantum field theory and many-body physics. Every package is free software, under the GNU General Public License, version 3 or later; to cite one, see its CITATION.cff.