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 e incident to v has a label Lv(e) unique in v. Jiang and Bunke showed that the subgraph isomorphism problem H ⊂eq G for such graphs can be solved in time O(|V(G)| · |V(H)|). 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 m pattern matches in time O(P)P+3/2 · |V(G)| + O(m), where P 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 N and depth δ of the patterns : O(N)N + 1/2 · δ δ · |V(G)| + O(m).

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…