The Subgraph Isomorphism Problem for Port Graphs and Quantum Circuits
- URL: http://arxiv.org/abs/2302.06717v2
- Date: Wed, 21 Feb 2024 06:48:07 GMT
- Title: The Subgraph Isomorphism Problem for Port Graphs and Quantum Circuits
- Authors: Luca Mondada and Pablo Andr\'es-Mart\'inez
- Abstract summary: We give an algorithm to perform pattern matching in quantum circuits for many patterns simultaneously.
In the case of quantum circuits, we can express the bound obtained in terms of the maximum number of qubits.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- 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 $L_v(e)$ unique in $v$. Jiang and Bunke showed that
the subgraph isomorphism problem $H \subseteq G$ for such graphs can be solved
in time $O(|V(G)| \cdot |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} \cdot |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 $\delta$ of the patterns : $O(N)^{N + 1/2} \cdot \delta \log \delta \cdot
|V(G)| + O(m)$.
Related papers
- Implementation of Continuous-Time Quantum Walk on Sparse Graph [0.0]
Continuous-time quantum walks (CTQWs) play a crucial role in quantum computing.
How to efficiently implement CTQWs is a challenging issue.
In this paper, we study implementation of CTQWs on sparse graphs.
arXiv Detail & Related papers (2024-08-20T05:20:55Z) - Graph Unfolding and Sampling for Transitory Video Summarization via Gershgorin Disc Alignment [48.137527345353625]
User-generated videos (UGVs) uploaded from mobile phones to social media sites like YouTube and TikTok are short and non-repetitive.
We summarize a transitory UGV into several discs in linear time via fast graph sampling based on Gershgorin disc alignment (GDA)
We show that our algorithm achieves comparable or better video summarization performance compared to state-of-the-art methods, at a substantially reduced complexity.
arXiv Detail & Related papers (2024-08-03T20:08:02Z) - Scalable Pattern Matching in Computation Graphs [0.0]
Graph rewriting is a popular tool for optimisation and modification of graph expressions.
We propose a new solution to pattern matching in port graphs.
Our algorithm offers a 20x speedup over current implementations on a dataset of 10'000 real world patterns.
arXiv Detail & Related papers (2024-02-20T15:02:24Z) - Provably learning a multi-head attention layer [55.2904547651831]
Multi-head attention layer is one of the key components of the transformer architecture that sets it apart from traditional feed-forward models.
In this work, we initiate the study of provably learning a multi-head attention layer from random examples.
We prove computational lower bounds showing that in the worst case, exponential dependence on $m$ is unavoidable.
arXiv Detail & Related papers (2024-02-06T15:39:09Z) - Quantum computing algorithms for inverse problems on graphs and an
NP-complete inverse problem [2.107421958337625]
We consider an inverse problem for a finite graph $(X,E)$ where we are given a subset of vertices.
We show that this problem has unique solution under certain conditions and develop quantum computing methods to solve it.
arXiv Detail & Related papers (2023-06-08T14:48:48Z) - Detection of Dense Subhypergraphs by Low-Degree Polynomials [72.4451045270967]
Detection of a planted dense subgraph in a random graph is a fundamental statistical and computational problem.
We consider detecting the presence of a planted $Gr(ngamma, n-alpha)$ subhypergraph in a $Gr(n, n-beta) hypergraph.
Our results are already new in the graph case $r=2$, as we consider the subtle log-density regime where hardness based on average-case reductions is not known.
arXiv Detail & Related papers (2023-04-17T10:38:08Z) - On the Unlikelihood of D-Separation [69.62839677485087]
We provide analytic evidence that on large graphs, d-separation is a rare phenomenon, even when guaranteed to exist.
For the PC Algorithm, while it is known that its worst-case guarantees fail on non-sparse graphs, we show that the same is true for the average case.
For UniformSGS, while it is known that the running time is exponential for existing edges, we show that in the average case, that is the expected running time for most non-existing edges as well.
arXiv Detail & Related papers (2023-03-10T00:11:18Z) - From Bit-Parallelism to Quantum String Matching for Labelled Graphs [0.0]
Many problems that can be solved in quadratic time have bit-parallel speed-ups with factor $w$, where $w$ is the computer word size.
We show that a simple bit-parallel algorithm on such restricted family of graphs can indeed be converted into a realistic quantum algorithm.
arXiv Detail & Related papers (2023-02-06T15:14:34Z) - Algebraic Aspects of Boundaries in the Kitaev Quantum Double Model [77.34726150561087]
We provide a systematic treatment of boundaries based on subgroups $Ksubseteq G$ with the Kitaev quantum double $D(G)$ model in the bulk.
The boundary sites are representations of a $*$-subalgebra $Xisubseteq D(G)$ and we explicate its structure as a strong $*$-quasi-Hopf algebra.
As an application of our treatment, we study patches with boundaries based on $K=G$ horizontally and $K=e$ vertically and show how these could be used in a quantum computer
arXiv Detail & Related papers (2022-08-12T15:05:07Z) - Solving Hamiltonian Cycle Problem using Quantum $\mathbb{Z}_2$ Lattice
Gauge Theory [9.83302372715731]
The Hamiltonian cycle (HC) problem in graph theory is a well-known NP-complete problem.
We present an approach in terms of $mathbbZ$ lattice gauge theory defined on the lattice with the graph as its dual.
For some random samples of small graphs, we demonstrate that the dependence of the average value of $g_c$ on $sqrtN_hc$, $N_hc$ being the number of HCs, and that of the average value of $frac1g_c$ on $N
arXiv Detail & Related papers (2022-02-17T18:39:42Z) - Fast Graph Sampling for Short Video Summarization using Gershgorin Disc
Alignment [52.577757919003844]
We study the problem of efficiently summarizing a short video into several paragraphs, leveraging recent progress in fast graph sampling.
Experimental results show that our algorithm achieves comparable video summarization as state-of-the-art methods, at a substantially reduced complexity.
arXiv Detail & Related papers (2021-10-21T18:43:00Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.