Connectivity-aware Synthesis of Quantum Algorithms
Florian Dreier, Christoph Fleckenstein, Gregor Aigner, Michael Fellner, Philipp Aumann, Reinhard Stahn, Martin Lanthaler, Wolfgang Lechner
TL;DR
The paper develops a connectivity-aware framework for synthesizing quantum algorithms using Parity Twine chains and parity-label tracking to efficiently implement logical multi-qubit operators. By building k-body generator circuits on various connectivities (LNN, square grids, ladders, heavy hex, all-to-all), it achieves near-optimal asymptotic gate counts ($\mu$) and controlled depths ($\nu$), with explicit constructions for two-, three-, and higher-body operators. The approach yields substantial improvements for QAOA, QFT, and Hamiltonian simulation across hardware topologies and shows practical performance gains in simulations and on noisy quantum hardware, including real-device experiments. This methodology reveals that moderate connectivity can dramatically reduce resource requirements and provides a scalable path toward quantum advantage with realistic architectures.
Abstract
We present a general method for the implementation of quantum algorithms that optimizes both gate count and circuit depth. Our approach introduces connectivity-adapted CNOT-based building blocks called Parity Twine chains. It outperforms all known state-of-the art methods for implementing prominent quantum algorithms such as the quantum Fourier transform or the Quantum Approximate Optimization Algorithm across a wide range of quantum hardware, including linear, square-grid, hexagonal, ladder and all-to-all connected devices. We show that even moderate increments in connectivity can yield significant efficiency improvements and reach the proven optimum for specific cases. Furthermore, we demonstrate a practical performance advantage of this approach for a wide range of compilation problems and quantum hardware.
