Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Computer Physics Communications

Computer generation of Feynman diagrams for perturbation theory II. Program description

Heung Wong, Josef Paldus

Published Jul 1, 1973• 44 citations
Publisher
DOI
10.1016/0010-4655(73)90017-9

Related papers

Perturbation Theory and Feynman Diagrams

Michael Rudolf Vogl

UNITEXT for physics•Oct 7, 2026•0 citations

Literate many-body perturbation theory programming: Third-order“ring” diagrams

Stephen S. Wilson

Progress in theoretical chemistry and physics•Jan 1, 2007•1 citation

ADG: Automated generation and evaluation of many-body diagrams II. Particle-number projected Bogoliubov many-body perturbation theory

P. Arthuis, A. Tichai, J. Ripoche +1 more

arXiv:2007.01661•Computer Physics Communications•Oct 19, 2020•14 citations

ADG: Automated generation and evaluation of many-body diagrams I. Bogoliubov many-body perturbation theory

P. Arthuis, T. Duguet, A. Tichai +2 more

We describe the first version (v1.0.0) of the code ADG that automatically (1) generates all valid Bogoliubov many-body perturbation theory (BMBPT) diagrams and (2) evaluates their algebraic expression to be implemented for numerical applications . This is achieved at any perturbative order p for a Hamiltonian containing both two-body (four-legs) and three-body (six-legs) interactions (vertices). The automated generation of BMBPT diagrams of order p relies on elements of graph theory, i.e., it is achieved by producing all oriented adjacency matrices of size ( p + 1 ) × ( p + 1 ) satisfying topological Feynman’s rules. The automated evaluation of BMBPT diagrams of order p relies both on the application of algebraic Feynman’s rules and on the identification of a powerful diagrammatic rule providing the result of the remaining p -tuple time integral. The diagrammatic rule in question constitutes a novel finding allowing for the straight summation of large classes of time-ordered diagrams at play in the time-independent formulation of BMBPT. Correspondingly, the traditional resolvent rule employed to compute time-ordered diagrams happens to be a particular case of the general rule presently identified. The code ADG is written in Python2.7 and uses the graph manipulation package NetworkX . The code is also able to generate and evaluate Hartree–Fock-MBPT (HF-MBPT) diagrams and is made flexible enough to be expanded throughout the years to tackle the diagrammatics used in various many-body formalisms that already exist or are yet to be formulated. Program summary Program Title: ADG Program Files doi: http://dx.doi.org/10.17632/6h4xrydwfb.1 Licensing provisions: GPLv3 Programming language: Python2.7 Nature of problem: As formal and numerical developments in many-body-perturbation-theory-based ab initio methods make higher orders reachable, producing and evaluating all the diagrams become rapidly undoable on a handmade basis as both their number and complexity grow quickly, making it prone to mistakes and oversights. Solution method : BMBPT diagrams are encoded as square matrices known as oriented adjacency matrices in graph theory, and then turned into graph objects using the NetworkX package. Checks on the diagrams and evaluation of their time-integrated expression are then done on a purely diagrammatic basis. HF-MBPT diagrams are produced and evaluated as well using the same principle.

arXiv:1809.01187•Computer Physics Communications•Dec 10, 2018•53 citations

The Automatic Generation of Feynman Diagrams in Quantum Statistical Mechanics

Kaoru Sakamoto, Toshio Aoe

Journal of information processing•Jul 15, 1981•1 citation

Automated symbolic generation of Feynman diagram contributions at finite temperature

Hanna Belghit, Radhia Boukhalfa, Chafia Bendjeroudib +2 more

Abstract In this work, we present a Python code that automatically calculates the integration over imaginary time of the contributions from many-body Feynman diagrams at finite temperature. The method is based on the recently developed finite-temperature many-body perturbation theory (FT-MBPT) and uses algorithms from graph theory. The code systematically generates the analytical expressions for the grand potential associated with each vacuum diagram, together with the corresponding symmetry factor, at a given perturbative order n . This framework can be used to compute the thermodynamic properties of fermionic and bosonic systems at a given temperature, including the zero-temperature limit.

Physica Scripta•May 7, 2026•0 citations
We describe the first version (v1.0.0) of the code ADG that automatically (1) generates all valid Bogoliubov many-body perturbation theory (BMBPT) diagrams and (2) evaluates their algebraic expression to be implemented for numerical applications . This is achieved at any perturbative order p for a Hamiltonian containing both two-body (four-legs) and three-body (six-legs) interactions (vertices). The automated generation of BMBPT diagrams of order p relies on elements of graph theory, i.e., it is achieved by producing all oriented adjacency matrices of size ( p + 1 ) × ( p + 1 ) satisfying topological Feynman’s rules. The automated evaluation of BMBPT diagrams of order p relies both on the application of algebraic Feynman’s rules and on the identification of a powerful diagrammatic rule providing the result of the remaining p -tuple time integral. The diagrammatic rule in question constitutes a novel finding allowing for the straight summation of large classes of time-ordered diagrams at play in the time-independent formulation of BMBPT. Correspondingly, the traditional resolvent rule employed to compute time-ordered diagrams happens to be a particular case of the general rule presently identified. The code ADG is written in Python2.7 and uses the graph manipulation package NetworkX . The code is also able to generate and evaluate Hartree–Fock-MBPT (HF-MBPT) diagrams and is made flexible enough to be expanded throughout the years to tackle the diagrammatics used in various many-body formalisms that already exist or are yet to be formulated. Program summary Program Title: ADG Program Files doi: http://dx.doi.org/10.17632/6h4xrydwfb.1 Licensing provisions: GPLv3 Programming language: Python2.7 Nature of problem: As formal and numerical developments in many-body-perturbation-theory-based ab initio methods make higher orders reachable, producing and evaluating all the diagrams become rapidly undoable on a handmade basis as both their number and complexity grow quickly, making it prone to mistakes and oversights. Solution method : BMBPT diagrams are encoded as square matrices known as oriented adjacency matrices in graph theory, and then turned into graph objects using the NetworkX package. Checks on the diagrams and evaluation of their time-integrated expression are then done on a purely diagrammatic basis. HF-MBPT diagrams are produced and evaluated as well using the same principle.
Abstract In this work, we present a Python code that automatically calculates the integration over imaginary time of the contributions from many-body Feynman diagrams at finite temperature. The method is based on the recently developed finite-temperature many-body perturbation theory (FT-MBPT) and uses algorithms from graph theory. The code systematically generates the analytical expressions for the grand potential associated with each vacuum diagram, together with the corresponding symmetry factor, at a given perturbative order n . This framework can be used to compute the thermodynamic properties of fermionic and bosonic systems at a given temperature, including the zero-temperature limit.