Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2604.18754

Quantum embedding of graphs for subgraph counting

Bibhas Adhikari

quant-phcs.CCSubmitted Apr 20, 2026• Announced Apr 22, 2026• 1 citation
arXivHTMLPDF

Abstract

We develop a unified quantum framework for subgraph counting in graphs. We encode a graph on $N$ vertices into a quantum state on $2\lceil \log_2 N \rceil$ working qubits and $2$ ancilla qubits using its adjacency list, with worst-case gate complexity $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 $m$-fold tensor product of the adjacency state, where $m$ 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.

Related papers

Quantum algorithm for identifying RNA 3D motifs by processing RNA secondary structure graphs

Jing-Kai Fang, Fengmin Guo, Teng Ma +4 more

Abstract The identification of RNA motifs plays a crucial role in understanding biological functions, predicting RNA 3D structures, and designing RNA-based therapeutics. One of the efficient strategies approaches this task by analyzing secondary structure graphs annotated with non-canonical base interactions, effectively reframing the problem as a two-dimensional graph-theoretic challenge. However, both the graph isomorphism problem and the maximum common subgraph problem in this domain are classified as NP-complete. Classical computing architectures struggle to address these problems efficiently due to their substantial computational resource demands. In this work, we propose a quantum algorithm specifically designed for processing RNA secondary structure graphs. By encoding the adjacency matrix into a quantum circuit and incorporating base interaction families as edge weights, our approach achieves a resource efficiency of 𝒪 (log 2 N ) in terms of qubits. Numerical simulations demonstrate the algorithm’s capability to identify 15 distinct motifs across three structural categories: hairpin loops, internal loops, and three-way junction loops. Furthermore, the method successfully detects the common motif between two complete RNA chains. Finally, 29 high conserved RNA motifs were identified in four cell lines of a key lung cancer biomarker gene (MIF), and their potential roles as drug targets were explored. This work presents a highly promising quantum computing framework for addressing the RNA motif identification problem.

•Apr 28, 2025•0 citations

A combinatorial framework for clustering graph states: Algorithms and hardness for rank-integrity

Romain Bourneuf, Nathan Claudet, Sang Yoon Kim +3 more

We introduce a new notion of distance between two graph states $|G\rangle$ and $|G'\rangle$ on the same set of qubits. This distance is the minimum number of ancilla qubits in a graph state $|\widehat{G}\rangle$ from which both $|G\rangle$ and $|G'\rangle$ can be ``easily prepared''. (When preparing graph states, we are only allowed to use one-qubit Clifford gates, one-qubit Pauli measurements, and classical communication.) We give a graphical description of this distance through the lens of vertex-minors. We then show how this distance yields quantum network analogs of many graph edit-distance problems. Using this framework, we develop classical algorithms for identifying the ``highly entangled clusters'' of a graph state $|G\rangle$. The ancilla integrity problem asks, given a graph $G$ and integer $k$, for the minimum -- over all graph states $|G'\rangle$ with distance at most $k$ from $|G\rangle$ -- of the maximum component size of $G'$. Up to a factor of $2$ in the number of ancilla qubits, this problem is equivalent to rank integrity, where the distance between $G$ and $G'$ is instead the minimum rank of the sum of their adjacency matrices over $\text{GF}(2)$. We prove that rank integrity is XP parameterized by $k$. We also prove the complementary hardness result that rank integrity is W[1]-hard in $k$. Finally, we give an explicit $\mathcal{O}(n^6)$-time algorithm for ancilla integrity when $G$ has $n$ vertices and $k=1$.

cs.DSCross-listedarXiv:2607.09469•Jul 13, 2026•2 citations

Scaling of Graph Embedding for Quantum Annealers

Ulrik de Muelenaere, Allison O'Brien, Kelly Williams +1 more

Many combinatorial optimization problems are NP-hard, giving significant value to the discovery of efficient quantum solvers. In the context of quantum annealing, problems are expressed in the Ising model, and can be viewed as graphs. Thus an understanding of how such graphs can be embedded in an array of qubits, and how many qubits will be needed, are interesting questions. We review the currently known embedding algorithms, and apply them in a controlled fashion to graphs with a variety of sizes and characteristics, comparing the quality of embeddings and execution time. Multiple topologies for qubit couplings are considered, as well as the effect of defects. We develop analytic models and compare to the experimental results. Our lower bound shows that the qubit count scales linearly with the edge count, and gives a good estimate of the actual qubit requirements for dense graphs, without assuming any particular topology.

IEEE International Conference on Quantum Computing and Engineering (QCE)•Sep 15, 2024•1 citation

Superlinear Quantum Query Lower Bounds for Subgraph Detection

Amin Shiraz Gilani, Xingyu Zhou

Subgraph detection asks whether an $n$-vertex graph, accessed through queries to its adjacency matrix, contains a copy of a fixed graph $H$. We prove the first unconditional superlinear lower bounds on the bounded-error quantum query complexity of this problem, answering a longstanding open question. A copy of $H$ is a certificate of constant size, so the adversary method with nonnegative weights cannot prove superlinear lower bounds. For every fixed $r\ge 4$, detecting the clique $K_r$ requires $n^{λ_r-o(1)}$ queries, where $λ_4=19/18$, the exponents $λ_r$ increase strictly with $r$, and $λ_r\ge 2-4\sqrt{2/r}+O(1/r)$. More generally, we prove superlinear lower bounds for detecting every fixed connected graph $H$ with chromatic number $c\ge 4$. These bounds approach quadratic as $c$ grows: for sufficiently large $c$, detection requires $n^{2-O(\sqrt{\log\log c/c})-o(1)}$ queries. Chromatic number alone does not characterize the quantum query complexity of subgraph detection: we show that detecting the complete bipartite graph $K_{r,r}$ requires $n^{β_r-o(1)}$ queries, where $β_{10}=181/180$ and $β_r\ge 2-O(1/\sqrt{r})$. Our main technical result is a lower bound for finding an all-ones certificate from a known family when the input bits are sampled independently. Its proof combines Zhandry's compressed oracle [CRYPTO 2019] with conditioning on a randomly planted certificate, adapting an argument of Belovs [FOCS 2026]. Our hard instances are built from graphs containing many copies of the desired subgraph with limited overlap. For cliques, we use a construction of Gowers and Janzer [CPC 2021]; for complete bipartite graphs, we use a random construction.

quant-pharXiv:2609.40263•Oct 1, 2026•2 citations

Quantum Motif Clustering

Chris Cade, Farrokh Labib, Ido Niesen

We present three quantum algorithms for clustering graphs based on higher-order patterns, known as motif clustering. One uses a straightforward application of Grover search, the other two make use of quantum approximate counting, and all of them obtain square-root like speedups over the fastest classical algorithms in various settings. In order to use approximate counting in the context of clustering, we show that for general weighted graphs the performance of spectral clustering is mostly left unchanged by the presence of constant (relative) errors on the edge weights. Finally, we extend the original analysis of motif clustering in order to better understand the role of multiple `anchor nodes' in motifs and the types of relationships that this method of clustering can and cannot capture.

arXiv:2111.13222•Quantum•Jul 3, 2023•4 citations

Multipartite Entanglement in Quantum Networks Using Subgraph Complementations

Aniruddha Sen, Kenneth Goodenough, Don Towsley

Quantum networks are important for quantum communication and consist of entangled states that are essential for many tasks such as quantum teleportation, quantum key distribution, quantum sensing and quantum error correction. Graph states are a specific class of multipartite entangled states that can be represented by graphs. We propose a novel approach for distributing graph states across a quantum network. We show that the distribution of graph states can be characterised by$\boldsymbol{a}$system of subgraph complementations, which we also relate to the minimum rank of the underlying graph and the degree of entanglement quantified by the Schmidt-rank of the quantum state. We analyse resource usage for our algorithm and show it to match or be improved in the number of qubits, bits for classical communication and EPR pairs utilised, as compared to prior work. The number of local operations is efficient, and the resource consumption for our approach scales linearly in the number of vertices. This presents a quadratic improvement in completion time for several classes of graph states represented by dense graphs, and implies a potential for improved fidelity in the presence of noise. Common classes of graph states are classified along with the optimal time for their distribution using subgraph complementations. We also provide a framework to similarly find the optimal sequence of operations to distribute an arbitrary graph state, and prove upper bounds along with providing approximate greedy algorithms.

IEEE International Conference on Quantum Computing and Engineering (QCE)•Sep 17, 2023•5 citations
We develop a unified quantum framework for subgraph counting in graphs. We encode a graph on NNN vertices into a quantum state on 2⌈log⁡2N⌉2\lceil \log_2 N \rceil2⌈log2​N⌉ working qubits and 222 ancilla qubits using its adjacency list, with worst-case gate complexity O(N2)O(N^2)O(N2), 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 mmm-fold tensor product of the adjacency state, where mmm 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.
Abstract The identification of RNA motifs plays a crucial role in understanding biological functions, predicting RNA 3D structures, and designing RNA-based therapeutics. One of the efficient strategies approaches this task by analyzing secondary structure graphs annotated with non-canonical base interactions, effectively reframing the problem as a two-dimensional graph-theoretic challenge. However, both the graph isomorphism problem and the maximum common subgraph problem in this domain are classified as NP-complete. Classical computing architectures struggle to address these problems efficiently due to their substantial computational resource demands. In this work, we propose a quantum algorithm specifically designed for processing RNA secondary structure graphs. By encoding the adjacency matrix into a quantum circuit and incorporating base interaction families as edge weights, our approach achieves a resource efficiency of 𝒪 (log 2 N ) in terms of qubits. Numerical simulations demonstrate the algorithm’s capability to identify 15 distinct motifs across three structural categories: hairpin loops, internal loops, and three-way junction loops. Furthermore, the method successfully detects the common motif between two complete RNA chains. Finally, 29 high conserved RNA motifs were identified in four cell lines of a key lung cancer biomarker gene (MIF), and their potential roles as drug targets were explored. This work presents a highly promising quantum computing framework for addressing the RNA motif identification problem.
We introduce a new notion of distance between two graph states ∣G⟩|G\rangle∣G⟩ and ∣G′⟩|G'\rangle∣G′⟩ on the same set of qubits. This distance is the minimum number of ancilla qubits in a graph state ∣G^⟩|\widehat{G}\rangle∣G⟩ from which both ∣G⟩|G\rangle∣G⟩ and ∣G′⟩|G'\rangle∣G′⟩ can be ``easily prepared''. (When preparing graph states, we are only allowed to use one-qubit Clifford gates, one-qubit Pauli measurements, and classical communication.) We give a graphical description of this distance through the lens of vertex-minors. We then show how this distance yields quantum network analogs of many graph edit-distance problems. Using this framework, we develop classical algorithms for identifying the ``highly entangled clusters'' of a graph state ∣G⟩|G\rangle∣G⟩. The ancilla integrity problem asks, given a graph GGG and integer kkk, for the minimum -- over all graph states ∣G′⟩|G'\rangle∣G′⟩ with distance at most kkk from ∣G⟩|G\rangle∣G⟩ -- of the maximum component size of G′G'G′. Up to a factor of 222 in the number of ancilla qubits, this problem is equivalent to rank integrity, where the distance between GGG and G′G'G′ is instead the minimum rank of the sum of their adjacency matrices over GF(2)\text{GF}(2)GF(2). We prove that rank integrity is XP parameterized by kkk. We also prove the complementary hardness result that rank integrity is W[1]-hard in kkk. Finally, we give an explicit O(n6)\mathcal{O}(n^6)O(n6)-time algorithm for ancilla integrity when GGG has nnn vertices and k=1k=1k=1.
Many combinatorial optimization problems are NP-hard, giving significant value to the discovery of efficient quantum solvers. In the context of quantum annealing, problems are expressed in the Ising model, and can be viewed as graphs. Thus an understanding of how such graphs can be embedded in an array of qubits, and how many qubits will be needed, are interesting questions. We review the currently known embedding algorithms, and apply them in a controlled fashion to graphs with a variety of sizes and characteristics, comparing the quality of embeddings and execution time. Multiple topologies for qubit couplings are considered, as well as the effect of defects. We develop analytic models and compare to the experimental results. Our lower bound shows that the qubit count scales linearly with the edge count, and gives a good estimate of the actual qubit requirements for dense graphs, without assuming any particular topology.
Subgraph detection asks whether an nnn-vertex graph, accessed through queries to its adjacency matrix, contains a copy of a fixed graph HHH. We prove the first unconditional superlinear lower bounds on the bounded-error quantum query complexity of this problem, answering a longstanding open question. A copy of HHH is a certificate of constant size, so the adversary method with nonnegative weights cannot prove superlinear lower bounds. For every fixed r≥4r\ge 4r≥4, detecting the clique KrK_rKr​ requires nλr−o(1)n^{λ_r-o(1)}nλr​−o(1) queries, where λ4=19/18λ_4=19/18λ4​=19/18, the exponents λrλ_rλr​ increase strictly with rrr, and λr≥2−42/r+O(1/r)λ_r\ge 2-4\sqrt{2/r}+O(1/r)λr​≥2−42/r​+O(1/r). More generally, we prove superlinear lower bounds for detecting every fixed connected graph HHH with chromatic number c≥4c\ge 4c≥4. These bounds approach quadratic as ccc grows: for sufficiently large ccc, detection requires n2−O(log⁡log⁡c/c)−o(1)n^{2-O(\sqrt{\log\log c/c})-o(1)}n2−O(loglogc/c​)−o(1) queries. Chromatic number alone does not characterize the quantum query complexity of subgraph detection: we show that detecting the complete bipartite graph Kr,rK_{r,r}Kr,r​ requires nβr−o(1)n^{β_r-o(1)}nβr​−o(1) queries, where β10=181/180β_{10}=181/180β10​=181/180 and βr≥2−O(1/r)β_r\ge 2-O(1/\sqrt{r})βr​≥2−O(1/r​). Our main technical result is a lower bound for finding an all-ones certificate from a known family when the input bits are sampled independently. Its proof combines Zhandry's compressed oracle [CRYPTO 2019] with conditioning on a randomly planted certificate, adapting an argument of Belovs [FOCS 2026]. Our hard instances are built from graphs containing many copies of the desired subgraph with limited overlap. For cliques, we use a construction of Gowers and Janzer [CPC 2021]; for complete bipartite graphs, we use a random construction.
We present three quantum algorithms for clustering graphs based on higher-order patterns, known as motif clustering. One uses a straightforward application of Grover search, the other two make use of quantum approximate counting, and all of them obtain square-root like speedups over the fastest classical algorithms in various settings. In order to use approximate counting in the context of clustering, we show that for general weighted graphs the performance of spectral clustering is mostly left unchanged by the presence of constant (relative) errors on the edge weights. Finally, we extend the original analysis of motif clustering in order to better understand the role of multiple `anchor nodes' in motifs and the types of relationships that this method of clustering can and cannot capture.
Quantum networks are important for quantum communication and consist of entangled states that are essential for many tasks such as quantum teleportation, quantum key distribution, quantum sensing and quantum error correction. Graph states are a specific class of multipartite entangled states that can be represented by graphs. We propose a novel approach for distributing graph states across a quantum network. We show that the distribution of graph states can be characterised bya\boldsymbol{a}asystem of subgraph complementations, which we also relate to the minimum rank of the underlying graph and the degree of entanglement quantified by the Schmidt-rank of the quantum state. We analyse resource usage for our algorithm and show it to match or be improved in the number of qubits, bits for classical communication and EPR pairs utilised, as compared to prior work. The number of local operations is efficient, and the resource consumption for our approach scales linearly in the number of vertices. This presents a quadratic improvement in completion time for several classes of graph states represented by dense graphs, and implies a potential for improved fidelity in the presence of noise. Common classes of graph states are classified along with the optimal time for their distribution using subgraph complementations. We also provide a framework to similarly find the optimal sequence of operations to distribute an arbitrary graph state, and prove upper bounds along with providing approximate greedy algorithms.