Distributed Graph Isomorphism Using Quantum Walks
Distributed Graph Isomorphism Using Quantum Walks
Volume: 3 Issue: 2
ISSN: 2321-8169
484 - 488
_______________________________________________________________________________________________
AbstractGraph isomorphism being an NP problem, most of the systems that solves the graph isomorphism are constrained with some classes
of the graph, and do not work for all types of graphs in polynomial time. We exploited the two particle quantum walks on different classes of
graphs including strongly regular graphs which are co-spectral in nature. We simulated two particle quantum walks on graph using distributed
algorithm.
To show the effectiveness of the technique, we applied it to the large graphs derived from images using Delauney triangulation. The results show
a remarkable speedup for large data. The two-particle quantum walks is implemented in map-reduce programming technique which scales the
computation as the cluster get scaled to account Big data. We checked the isomorphism of the graphs with upto 100 vertices in polynomial time.
The system is scalable to accept big inputs from any other domain in graph format.
Keywords- Graph isomorphism; Distributed computing; Map-Raduce; Quantum Walks.
__________________________________________________*****_________________________________________________
I.
INTRODUCTION
RELATED WORK
These include probabilistic methods [4] and graphspectral methods which utilizes the Eigen values and
eigenvectors of the Laplacian matrix [5]. The auxiliary graph
484
_______________________________________________________________________________________
ISSN: 2321-8169
484 - 488
_______________________________________________________________________________________________
method by David Emms [6] has the complexity dominated
by the simulation of the walk and is O(|V|6 ).By comparison,
for the Umeyama algorithm [7] the complexity of computing
the spectra of the two adjacency matrices is O(|V|3)and the
complexity of using the Hungarian search method is again
O(|V|3). This is typical of most graph-spectral methods.
Other approximate algorithms have similar complexity. For
instance, Gold and Rangarajan's [8] algorithm has
complexity O(|EG ||EH |) where EG and EH are edges in G
and H graph respectively. There are of course more
sophisticated inexact graph matching algorithms available.
Douglas and Wang [9] have recently explored the use of
discrete quantum walks for graph isomorphism. Their idea is
to use the probability amplitudes associated with the states of
walks on separate graphs as node-attributes. The amplitudes
for corresponding steps of the walk on different graphs are
compared to establish isomorphism or similarity. The
algorithm has complexity O (|V|7).
Two-particle interacting boson walks distinguish all nonisomorphic pairs of SRGs, the SRGs with up to 64 vertices [3].
If the two-particle quantum walks can check for all types of
isomorphic graphs, then the Graph isomorphism is a
polynomial problem and not an NP can be proved.
III.
t u (t) u
(1 )
uV
t e iLt 0
(2)
i | H | j = Aij
(3)
H1P = A
( 4)
U = eitH
(5)
TECHNICAL DETAILS
A2 = (k )I + J +( )A
(6)
An = n I + n J + n A
(7)
485
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________
ISSN: 2321-8169
484 - 488
_______________________________________________________________________________________________
B. Two particle continuous time quantum walks
First, we note that we may write the Hamiltonian for any twoboson Quantum Walk as
1
H 2B = (I + S)(AA) + UR
2
Where
(8)
( ) ( ) is a Kronecker sum,
S ij ji
i, j
R ii ii
(9)
very large data sets. It also includes an implementation of MapReduce, a programming model designed for processing big
data sets on large clusters.
Input for the map reduce is <key, value> pair i. e. two files
containing adjacency matrices derived from two different graph
data. It is actually edge list of the graph.
<vertex1, vertex2, 1>
( 10 )
B {xi , j xi , j i m x, i m y x m i, y m i }
( it)n
1
i, x, y
U=
[ (I + S)(A A) + UR] n ( 11 )
n!
2
n=0
A
distributed
multiplication
using
map-reduce
programming method is implemented. Evolution factor can be
calculated using the differentiating component as B2RB3.
The evolution factors for two graphs are U1and U2 such
that they are elements of the matrices. These values are placed
in the separately and sorted. The difference of these lists if zero
then the two graphs are isomorphic else are non-isomorphic.
It is found that evolution factor can identify distinct graphs
upto 64 vertices for SRGs and upto 100 vertices for images. T
he results are discussed in next section.
IV.
EXPERIMENTAL RESULTS
_______________________________________________________________________________________
ISSN: 2321-8169
484 - 488
_______________________________________________________________________________________________
A. Dataset and implementation Details
We first employed the SRG dataset upto 64 vertices to test
our implementation, which work correctly to identify the nonisomorphic SRGs from the same class of SRGs. The system
required more time as we checked on a cluster of multiple
nodes. In the case of a distributed system the network overhead
is more than that of computations for small datasets. But the
task of complex computation can be distributed in easy steps
and same application can handle big data. We can see in the
fig. 1 that the same number of vertices requires more time if
the distributed file system block size reduced.
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]
_______________________________________________________________________________________
ISSN: 2321-8169
484 - 488
_______________________________________________________________________________________________
[8]
[9]
B.
Douglas and J.
Wang, Journal of Physics A: Mathematical and Theoretical 41,
075303 (2008).
488
IJRITCC | February 2015, Available @ http://www.ijritcc.org
_______________________________________________________________________________________