qgraf
latest version:  4.0.4

Qgraf (‘kew-graph’) — a computer program that generates Feynman diagrams for various types of QFT models — should be seen as a research tool created with the aim of contributing to extend the range of feasible, perturbative QFT calculations. Neither 0-point nor non-connected diagrams are generated, though. Diagrams are represented by symbolic expressions only; nevertheless, should some kind of graphical representation be required, some of the external links (not too far off from the top of the list) might help.

  • Latest version: qgraf-4.0.4 (2024-Jul)
    Please report any error you may happen to find.

  • Programming language(s): Fortran 2008 (starting with qgraf-3.5), Fortran 77 (for earlier versions).
    Executables/binaries are not distributed, the program has to be compiled and linked. Employing GNU Fortran for that task should be straightforward, see eg the latest documentation. There are executable/binary versions of GFortran for several operating systems, as described in the GFortranBinaries webpage.

  • The features added in the last two versions include (eg):
       the partition statement (3.6);
       an extended language for describing input models (3.6);
       a more general loops statement (3.6);
       special directories, automatic deletion of output files (4.0);
       wide(r) input files, a statement continuation mark (4.0);
       the momentum-loop (4.0).

  • Current plans: versions 3.4 and 3.6 are stable, and should be available and supported for some time yet (minimal fixes as need be); in contrast, qgraf-4.0.4 is mainly a showcase development version (a previously announced feature should be released later, with some ‘patch version’); the tentative interface protocol is described in the respective documentation.

  • Notice: for better future-proofing, packages that try to download this program should do so by using the URL that includes the links/ directory (as described in any recent manual, section ‘Automatic downloads’ or similar title), or at least using it as an alternative URL.

Qgraf is based on the method described in the following paper:

  • Automatic Feynman graph generation
    J. Comput. Phys. 105 (1993) 279–289
    https://doi.org/10.1006/jcph.1993.1074

    show outline

This other paper shows that the diagram generation with explicitly mixed propagators can be reduced to the usual one.

  • Feynman graph generation and propagator mixing, I
    Comput. Phys. Commun. 269 (2021) 108103
    https://doi.org/10.1016/j.cpc.2021.108103

    show outline