English

Quantum embedding of graphs for subgraph counting

Quantum Physics 2026-04-22 v1 Computational Complexity

Abstract

We develop a unified quantum framework for subgraph counting in graphs. We encode a graph on NN vertices into a quantum state on 2log2N2\lceil \log_2 N \rceil working qubits and 22 ancilla qubits using its adjacency list, with worst-case gate complexity O(N2)O(N^2), which we refer to as the graph adjacency state. We design quantum measurement operators that capture the edge structure of a target subgraph, enabling estimation of its count via measurements on the mm-fold tensor product of the adjacency state, where mm is the number of edges in the subgraph. We illustrate the framework for triangles, cycles, and cliques. This approach yields quantum logspace algorithms for motif counting, with no known classical counterpart.

Keywords

Cite

@article{arxiv.2604.18754,
  title  = {Quantum embedding of graphs for subgraph counting},
  author = {Bibhas Adhikari},
  journal= {arXiv preprint arXiv:2604.18754},
  year   = {2026}
}
R2 v1 2026-07-01T12:27:00.944Z