# Automatic Routing of Goldstone Diagrams using Genetic Algorithms

**Authors:** Nils Herrmann, Michael Hanrath

arXiv: 1907.00426 · 2023-03-06

## TL;DR

This paper introduces a genetic algorithm-based method to automatically route complex Goldstone diagrams, optimizing their graphical representation by minimizing a cost function, and demonstrates its effectiveness on advanced quantum chemistry diagrams.

## Contribution

It presents a novel genetic algorithm approach for automatic routing of Goldstone diagrams, handling both discrete and continuous parameters to produce diagrams comparable to manual routing.

## Key findings

- Successfully routes complex diagrams with multiple loops and crossings.
- Produces diagrams qualitatively equivalent to manual routing.
- Applicable to various Coupled Cluster methods and perturbative expansions.

## Abstract

This paper presents an algorithm for an automatic transformation (=routing) of time ordered topologies of Goldstone diagrams (i.e. Wick contractions) into graphical representations of these topologies. Since there is no hard criterion for an optimal routing, the proposed algorithm minimizes an empirically chosen cost function over a set of parameters. Some of the latter are naturally of discrete type (e.g. interchange of particle/hole lines due to antisymmetry) while others (e.g. x,y-position of nodes) are naturally continuous. In order to arrive at a manageable optimization problem the position space is artificially discretized. In terms of the (i) cost function, (ii) the discrete vertex placement, (iii) the interchange of particle/hole lines the routing problem is now well defined and fully discrete. However, it shows an exponential complexity with the number of vertices suggesting to apply a genetic algorithm for its solution. The presented algorithm is capable of routing non trivial (several loops and crossings) Goldstone diagrams. The resulting diagrams are qualitatively fully equivalent to manually routed ones. The proposed algorithm is successfully applied to several Coupled Cluster approaches and a perturbative (fixpoint iterative) CCSD expansion with repeated diagram substitution.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1907.00426/full.md

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/1907.00426/full.md

## References

30 references — full list in the complete paper: https://tomesphere.com/paper/1907.00426/full.md

---
Source: https://tomesphere.com/paper/1907.00426