The Subgraph Isomorphism Problem for Port Graphs and Quantum Circuits
Abstract
We study a variant of the subgraph isomorphism problem that is of high interest to the quantum computing community. Our results give an algorithm to perform pattern matching in quantum circuits for many patterns simultaneously, independently of the number of patterns. After a pre-computation step in which the patterns are compiled into a decision tree, the running time is linear in the size of the input quantum circuit. More generally, we consider connected port graphs, in which every edge incident to has a label unique in . Jiang and Bunke showed that the subgraph isomorphism problem for such graphs can be solved in time . We show that if in addition the graphs are directed acyclic, then the subgraph isomorphism problem can be solved for an unbounded number of patterns simultaneously. We enumerate all pattern matches in time , where is the number of vertices of the largest pattern. In the case of quantum circuits, we can express the bound obtained in terms of the maximum number of qubits and depth of the patterns : .
Cite
@article{arxiv.2302.06717,
title = {The Subgraph Isomorphism Problem for Port Graphs and Quantum Circuits},
author = {Luca Mondada and Pablo Andrés-Martínez},
journal= {arXiv preprint arXiv:2302.06717},
year = {2024}
}
Comments
The main bound of thm 1 is asymptotically very close to previous work, significantly reducing the novelty and motivation for this work. A new approach to this problem is presented in 2402.13065