Skip to content

FermiWick 0.4.0

Choose a tag to compare

@n4sd4q n4sd4q released this 11 Nov 13:44
· 11 commits to main since this release

Install or update with

PacletInstall["https://github.com/n4sd4q/FermiWick/releases/download/v0.4.0/FermiWick-0.4.0.paclet"]
Needs["FermiWick`"]

Website: https://n4sd4q.github.io/FermiWick/ · the showcase and the manual are attached as PDFs.

What is new in 0.4.0

  • The adjoint of an operator defined with DefineOperator stays compact: Dagger gives the operator itself when it is
    Hermitian, the operator with the sites permuted when that is its adjoint (a hopping), otherwise
    AdjointOperator[head][sites], registered automatically, displayed with a dagger, recognized by ToSpinChargeBasis and
    written by ToTeX. Operators of the user are written by ToTeX with their display.
  • Fixed: ?GaussianState (and ? of other functions) in a notebook printed messages, because the display rules of
    $|x|^2$ and of a state evaluated the held code of the definitions; they now apply only to evaluated expressions.
  • The logo of the banner shown at load draws both contractions, as the full logo does (the outer one in white from the
    creator on the right to the annihilator on the left, the inner one in the tint the other way), with the heavier lines of
    the small badge.
  • Documents: exact diagonalisation done analytically in the showcase, the wiki and the video: the Hubbard dimer's
    eigenstates as kets, its free energy and entropy at finite temperature, and its Green's function as a Lehmann sum.
  • Documents: a demo video (Media/demo.mp4, 1920×1080 at 60 fps, made by Development/make_demo_video.py from the first
    example of the README), its looping preview at the top of the README and the video under the hero of the website.
  • In a notebook, the conjugate of an amplitude or of a symbol is shown as $x^\ast$ and the product $x^\ast x$ as
    $|x|^2$, as ToTeX writes them; only the display changes (copied, the output is the same expression).
  • Documents: the bar of the website has a button, All packages, with the mark of the hub
    (https://n4sd4q.github.io/), beside GitHub.
  • Documents: the README links the showcase and the manual on GitHub Pages, so that they open as PDFs in the browser,
    not on GitHub's page of the file (as the website did already, and now the hub too).
  • Logo: the small badge (16 to 32 px: the icon of the website and of the hub) draws both contractions, as the full one,
    with heavier lines.
  • Documents: the README and the website say what the package does in six lines, from the simplest to the heaviest, and
    build a first example up from the ladder operators to the Hubbard dimer solved exactly, the state you assume and the
    mean field. The guided tour goes the same way, one piece at a time, and ends with Wick's theorem checked against the
    exact ground state of free fermions. A wiki (wiki/, published by .github/workflows/wiki.yml): installation, writing
    operators, declaring a state, mean field with a self-consistent loop, exact diagonalisation, Gutzwiller projectors,
    LaTeX, scripts, conventions and a FAQ, every block checked by Development/check_wiki.wl (run by check_docs.sh).
  • Documents: the picture of Wick's theorem follows the theme of the page (transparent, the ink in the colour of the
    text: Development/make_readme_picture.py); the wiki's page on Gutzwiller projectors shows projectors of your own and
    why the sandwiches are cheap.