Skip to content
github-actions[bot] edited this page Nov 10, 2026 · 2 revisions

FermiWick

Practical guides and a FAQ for FermiWick, a Wolfram Language package that does the algebra of fermion operators: you write operators as on paper, and it brings them to normal order, evaluates them by Wick's theorem in the state you assume, gives their mean field, and solves small clusters exactly. The website gives the overview and a first example, the guided tour builds everything up step by step, the showcase goes through the physics and the manual describes every function.

Pages

  • Start
    • Installation: installing, loading, updating, and what to do when loading fails
    • Writing operators: ladder operators, sums, local operators, spins, "+ h.c.", any labels
    • FAQ: short answers to the usual questions
  • Recipes
    • Declaring a state: Gaussian states by their symmetries or by rules, and what they contract
    • Mean field: the Hartree–Fock–Bogoliubov Hamiltonian of an operator, its fields, a self-consistent loop
    • Exact diagonalisation: matrices on Fock spaces and sectors, spectra, correlations, Green's functions, spin models
    • Gutzwiller projectors: projected operators and the Gutzwiller approximation
    • LaTeX output: formulas for a paper, and Wick's theorem written out
    • Working in scripts: running the package without a notebook
  • Reference
    • Conventions: operators, contractions and signs, in one place

The code on these pages is run, and gives what is shown after it: a formula as the package writes it in LaTeX (ToTeX), or a number as a terminal prints it.

Clone this wiki locally