Quantum Graph Neural Network (QGNN)
A reinforcement learning model built on equivariant quantum circuits for the Travelling Salesperson Problem.
750 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 2
- Operations
- 750
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2019
- Cited by
- 252 (as of 29 November 2026)
- Authors
- Guillaume Verdon, Trevor McCourt, Enxhell Luzhnica and others
- Source
- GitHub: yeray142/QML-QGNN
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19564
- Graph hash
- 4f8485a64199fbbc6c8681b22dc770eaa84e678d12e8aa174442eb397682b8c8
- Skeleton hash
- 930b3ac6dac31bf8e58a7166de9557ca5aade511ab238ec63a1e859d9e2e14c8
- Architecture hash
- 6adec3fe653816f162ee0e0ca82e360e2e847a0bf53fc340fda1f1c093c86ce8
- Diagram SHA-256
- 337c6ca162630b56183fcf60c1af35f03eee3622270cd8af44b40b2c29ca9edc
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is a quantum machine learning approach to the Travelling Salesperson Problem (TSP): a Reinforcement Learning model built on Equivariant Quantum Circuits. It comes from a bachelor's degree final project in Computer Engineering at Universitat Autònoma de Barcelona, titled Quantum Graph Neural Network for solving TSP. The project's README states its main objective as learning and researching Quantum Computing concepts, not implementing something entirely new.
An Equivariant Quantum Circuit is tailored to learning on structures like weighted graphs: it embeds a representation of the graph's symmetry group into the circuit. The property the README describes is equivariance under node permutation, which makes the model's predictions independent of how the nodes are labeled or ordered. The README reports that the reinforcement learning model reaches an approximation to an optimal tour within a mean of 300 iterations.
The name is also the title of the paper Quantum Graph Neural Networks, which introduces QGNN as a class of quantum neural network ansatze for quantum processes that have a graph structure. That paper gives four example applications: learning Hamiltonian dynamics of quantum systems, learning how to create multipartite entanglement in a quantum network, unsupervised learning for spectral clustering, and supervised learning for graph isomorphism classification.
Key idea. The project builds a Reinforcement Learning model from Equivariant Quantum Circuits and applies it to the Travelling Salesperson Problem.
- quantum graph neural network
- qgnn
- equivariant quantum circuit
- eqc
- travelling salesperson problem
- tsp
- quantum machine learning
- quantum reinforcement learning
- variational quantum circuit
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{verdon2019quantumgraphneuralnetworks,
title={Quantum Graph Neural Networks},
author={Guillaume Verdon and Trevor McCourt and Enxhell Luzhnica and Vikash Singh and Stefan Leichenauer and Jack Hidary},
year={2019},
eprint={1909.12264},
archivePrefix={arXiv},
primaryClass={quant-ph},
url={https://arxiv.org/abs/1909.12264},
}