Diag2PS

Purpose

High quality rendering of (anti-symmetrized) Goldstone and Hugenholtz diagrams for quantum many body therories (e.g. coupled cluster and perturbation theory).

Diag2PS translates a simple memorizable scripting language inspired by Logo into PSTricks which is processed by latex and dvips to Postscript. It may be further converted to PDF or SVG.

Examples:
loop D il R ~cross

phl Ul < @Eu "$I$" phl Ur > @Eu "$A$" cl R;~ phl Ul < @Eu "$J$" phl Ur > @Eu "$B$"

phl Ul > @E "$e^-$" phl Dl < @E "$e^-$" (move |r;uput {7pt}[d] | $\gamma$) pl R;~ phl Ur < @E "$e^+$" phl Dr > @E "$e^+$"

further examples
try out Diag2PS interactively


Downloads


Installation


Related work (mostly used in high energy physics)


Publications using Diag2PS

  1. M. Hanrath, Chem. Phys. 356 (2009) 31
  2. M. Hanrath, Theor. Chem. Acc. 137 (2018) 86
  3. N. Herrmann, M. Hanrath, arXiv:1907.00426 (2019)