Wolfram Language packages for quantum field theory and many-body physics
by Nazzareno Africani (SISSA, Trieste)
Website · FunctionalDiagrams · FermiWick · Summa
Calculations as one does them on paper, done by the computer: Feynman diagrams derived by functional derivatives, and fermion operators brought to normal order, contracted in the state you assume and solved exactly on a cluster, and tensor contractions written as on paper, the order of the contractions chosen for you. Every package is a paclet installed with one line, with a showcase, a manual, a guided tour and its tests, and is free software.
|
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. Website · Showcase · Manual · Repository |
|
|
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. Website · Showcase · Manual · Repository |
|
|
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. Website · Showcase · Manual · Repository |
The mark of the family is the smallest Hubbard cluster that both packages treat, one by diagrams and the other by operators: a plaquette of four sites, with hoppings along its sides and an interaction along a diagonal.
It holds the website, served by GitHub Pages at https://n4sd4q.github.io/, and the look that the packages share.
The common look
Every package has one hue: a gradient from a dark start to a lighter end, a solid accent (headings, links, buttons) and a
light tint (one element of its logo, its accent on dark pages); white text has a contrast of at least 4.5:1 on both ends
of the gradient. The logos share one language: a rounded square in the gradient, its central object in white and one
element in the tint (logos/). Each package copies the files of design/ when it builds its
documents, so that a change here never breaks a package:
| File | |
|---|---|
palette.json |
the colours of each package |
n4sd4q.sty, n4sd4q-palette.tex |
the LaTeX style of the manuals and showcases: fonts, headings, the boxes of code and output, the title band in the gradient |
family.css |
the stylesheet of the websites, light and dark |
The website and the design files are free software, under the GNU General Public License, version 3 or
later, as the packages. To cite a package, see its CITATION.cff.