Quantum Circuit Optimization by Graph Coloring
Hochang Lee, Kyung Chul Jeong, Panjin Kim
TL;DR
This work addresses depth optimization for quantum circuits composed of pairwise commuting gates by proving an exact equivalence to the graph coloring problem, with the minimum depth equal to the chromatic number $\chi(G)$ of a gate-graph. It provides a constructive reduction via two transformations (circuit to graph and colored graph to circuit) and demonstrates that any graph-coloring solver can yield low-depth circuits, effectively mapping quantum optimization to classical graph algorithms. The authors apply the method to finite field multiplication and QFT-based addition, achieving substantial depth reductions (e.g., Toffoli depth in $\mathbb{F}_{2^n}$ designs from $4n-4$ to $2n-1$) and illustrating depth-qubit tradeoffs controlled by colorings. Overall, the paper delivers a practical optimization strategy for commuting quantum circuits and highlights a bridge between quantum circuit design and classical graph-coloring techniques, with potential extensions to broader circuit classes.
Abstract
Depth optimization of a quantum circuit consisting of commuting operations is shown to be reducible to the vertex coloring problem in graph theory. The reduction immediately leads to an algorithm for circuit optimization of commuting gates utilizing any coloring solver. To examine its applicability, known quantum circuits from the literature are optimized.
