PhysRevA 79 024307

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

PHYSICAL REVIEW A 79, 024307 共2009兲

Faster transport with a directed quantum walk

Stephan Hoyer* and David A. Meyer†


Department of Mathematics, University of California–San Diego, San Diego, California 92093, USA
共Received 9 January 2009; published 18 February 2009兲
We give an example of faster transport with a quantum walk on an inherently directed graph, on the directed
line with a variable number of self-loops at each vertex. These self-loops can be thought of as adding a number
of small dimensions. This is a discrete time quantum walk using the Fourier transform coin, where the walk
proceeds a distance ⌰共1兲 in constant time compared to ⌰共1 / n兲 classically, independent of the number of these
small dimensions. The analysis proceeds by reducing this walk to a walk with a two-dimensional coin.

DOI: 10.1103/PhysRevA.79.024307 PACS number共s兲: 03.67.Ac

I. INTRODUCTION Directed quantum walks have been considered previously,


but unitary evolution on arbitrary directed graphs requires
A quantum random walk is the quantum analog of a clas- reversibility that is not always available. Montanaro 关7兴
sical random walk where the walker may now exist in a showed that a discrete time directed walk may be constructed
superposition of locations. These quantum walks offer im- for any graph where it is possible to return to every position
provement in various measures of speed over corresponding by associating coins with each cycle in the graph and sug-
classical versions, and they can be run efficiently on quan- gested making graphs irreversible by partial measurement of
tum computers. Accordingly, they form the basis for a family regions. This is a prescription for a quantum walk but under
of quantum algorithms that are the accelerated version of continuous measurement it no longer corresponds to the clas-
classical randomized algorithms 关1,2兴 and provide one of the sical walk. This walk also requires global knowledge of the
few alternatives to algorithms based on Grover’s search or graph and thus seems unlikely to be useful for algorithms, as
Shor’s factoring algorithm. Significant examples include in most cases this is equivalent to already knowing the an-
structured search 关3兴 and exponential speedup solving a ran- swer to the problem the graph represents.
domized graph problem 关4兴. To date, all applications of quan- In contrast, following Severini 关8兴, we identify an arbi-
tum walks have all been on undirected graphs, but many trary quantum walk on a directed graph by associating each
classical random-walk algorithms of interest use directed edge of the graph with an independent state, very similarly to
graphs, such as classes of Markov chain Monte Carlo simu- the general prescription for undirected graphs. Then any pair-
lations and algorithms for fast solving of satisfiability prob- ing between incoming and outgoing vertices on a graph
lems 关5兴. It would be very significant to accelerate these where each vertex has the same number of edges in and out
algorithms using quantum walks. will allow for unitary evolution. This condition on suitable
Quantum walks on arbitrary undirected graphs can be de- graphs is clearly sufficient; it can also be shown to be nec-
fined in both continuous and discrete times. In continuous essary 关8兴. The coin operator C applies some unitary trans-
time, a Hamiltonian H is given by the connectivity matrix of formation in the subspace associated with the source of each
the graph, so unitary evolution is given by the operator eiHt. edge at a vertex. Then the shift operator S transfers the am-
In discrete time, additional degrees of freedom are generally plitudes associated with each edge incoming to a vertex to
added by associating an independent state to every distinct some edge outgoing from the same vertex. Implicit in the
vertex and adjacent edge pair 兩v , e典, where e is an edge con- choice of shift operator is some choice of pairings between
necting v to v⬘ 关6兴. If the number of adjacent edges is con- incoming and outgoing edges. In undirected walks this is
stant across vertices, then this is equivalent to the direct done by default, by pairing incoming edges with themselves,
product of vertex space Hv and a “coin space” Hc. In this but in the more general case of directed walks this option is
case there are two operations associated with the walk: a coin not always available.
C and shift S. C performs some unitary operation in the coin Our objective is algorithmic speedup, but before we can
space Hc, and S performs the shift 兩v , e典 → 兩v⬘ , e典. The evo- expect speedup using a directed walk to yield an algorithm,
lution of the walk is given by repeated application of the precedence suggests that we should first identify a toy ex-
operation for a single time step, U = S · 共I 丢 C兲. In the case of ample to show that such speedup is possible. For undirected
general undirected graphs, a generalized coin replacing I walks, this example is the walk along the line, where the
丢 C may have a different action at each vertex but still op- expectation value of the position increases as ⌰共t兲 instead of
erates independently on the subspaces corresponding to each ⌰共冑t兲 classically 关9兴. However, as yet there have been no
vertex. concrete examples of quantum walks on fundamentally di-
rected graphs that are in any sense faster than their classical
equivalents. We present such a directed walk, with an im-
*Author to whom correspondence should be addressed. Present provement in the expectation value of position along a di-
address: Department of Physics, University of California, Berkeley, rected line in constant time to a constant ⌰共1兲 from ⌰共1 / n兲
CA 94720, USA; shoyer@berkeley.edu classically, where n indicates the dimensionality of the

dmeyer@math.ucsd.edu graph.

1050-2947/2009/79共2兲/024307共3兲 024307-1 ©2009 The American Physical Society


BRIEF REPORTS PHYSICAL REVIEW A 79, 024307 共2009兲

HaL Classical walk HbL Quantum walk


n − 1 loops 100 100

80 80

Position HxL

Position HxL
FIG. 1. Directed walk on the line with n − 1 self-loops at each 60 60
vertex.
40 40

II. DIRECTED WALK WITH SELF-LOOPS 20 20

Consider a directed random walk along a line with n − 1 0 0


2 5 10 15 20 2 5 10 15 20
self-loops at each vertex, as shown in Fig. 1. Alternatively, Size of coin space HnL Size of coin space HnL
we can consider these self-loops as paths around an infini-
tesimally small n − 1 dimensional spatial torus T and the FIG. 2. 共Color online兲 Probability of measurement at each posi-
graph as a discretization of R ⫻ T. Initialized at a vertex x tion after 100 time steps as a function of the size of the coin space
= 0, classically there is a probability 1 / n of moving to the for 共a兲 classical and 共b兲 quantum walks on the graph shown in Fig.
next vertex, so the expected position 具x典 = t / n after t steps, 1. The boundaries of the interval for the quantum walk given by Eq.
which is ⌰共1 / n兲. This graph is necessarily more complicated 共8兲 are indicated by dashed lines.
than the base case for undirected walks because simple clas-
sical directed walks oriented in one direction already proceed tance ⌰共1兲 in constant time independent of the number of
a distance ⌰共t兲, leaving no room for improvement, unlike self-loops.
⌰共冑t兲 for the undirected walk. Accordingly we seek a differ- Proof: consider the action of one iteration of the time
ent kind of speedup. evolution operator U = S · 共I 丢 C兲 on the initial state
In the quantum version of this walk, we assign a basis 兩x , →典,
vector to each edge on our graph, identifying each edge with
the vertex at its base. Thus any state is a linear combination U兩x, →典 = 1
冑n 兩x + 1, →典 + 冑 n−1
n 兩x, 典, 共4兲
of the states
where as the amplitude on each self-loop is the same, they
兩x, →典,兩x,1典,兩x,2典, . . . ,兩x,n − 1典, 共1兲 are grouped into a single normalized state
for all non-negative integer values of x, where → indicates n−1
1
冑n − 1 兺
the edge along the line and each number indicates a distinct 兩x, 典 = 兩x,k典. 共5兲
self-loop. Recall that the n-dimensional discrete Fourier k=1
transform may be written as
Now consider the action of U on the superposition of loops

冢 冣
1 1 1 ¯ 1 state 兩x , 典. It is given by
␻ ␻2 ␻n−1
U兩x, 典 = 冑 n−1
1 ¯ 1
n 兩x + 1, →典 − 冑n 兩x, 典, 共6兲
1
C= 1 ␻ 2
␻4 ¯ ␻2共n−1兲 , 共2兲
冑n
] ] ]  ] as each nonzero power of ␻ in the Fourier transform is a root
1 ␻ n−1
␻ 2共n−1兲
¯ ␻ 共n−1兲共n−1兲 of the polynomial
n−1
where ␻ = e2␲i/n is the nth root of unity. Then one step of our
quantum walk is given by applying C as a coin operator on xn−1 + ¯ + x + 1 = 兿 共x − ␻k兲,
k=1
the coin space in the basis given by Eq. 共1兲 and then applying
the shift operator S, transferring amplitudes from incoming and thus for all k,
edges at a vertex to outgoing edges. These edges are paired
by the shift operator in the only nonsymmetry breaking man- ␻k + 共␻k兲2 + ¯ + 共␻k兲n−1 = − 1.
ner by associating self-loops with themselves and pairing the
incoming and outgoing paths along the line, Equations 共4兲 and 共6兲 reduce this walk to a quantum walk
along the line with the two-dimensional coin

冉 冊 冑
S兩x, →典 = 兩x + 1, →典, 共3a兲
␤ ␣ n−1 1
C⬘ = , where ␣ = , ␤= 共7兲
S兩x,k典 = 兩x,k典. 共3b兲 ␣ −␤ n 冑n ,
We initialize this walk in the state 兩0 , →典 and repeatedly on the coin space given by 兵→ , 其. Such a walk can be
apply our time evolution operator. As with many other such easily shown to be equivalent to the standard quantum walk
proofs with quantum walks, our proof of its performance on the line with the coin space 兵R , L其 under a simple map,
relies on a reduction to the quantum walk on the line. The and thus this walk proceeds similarly in linear time. But as
performance gains from this quantum walk can also be veri- Bressler and Pemantle 关10兴 proved directly with this coin
fied numerically, as shown in Fig. 2. space, the form of the coin matrix C⬘ immediately specifies
Theorem: this quantum walk proceeds an expected dis- the probability distribution as spread over the interval

024307-2
BRIEF REPORTS PHYSICAL REVIEW A 79, 024307 共2009兲

冋 1−␤ 1+␤
2
t,
2
t , 册 共8兲
cube, a variation of which is the graph searched by random-
walk satisfiability algorithms.
Numerical investigations suggest that similar results hold
where the probability of being found outside the interval even when the loops are given a finite nontrivial discretiza-
decays at least as fast as t−N for any integer N ⬎ 0. Figure tion, and faster transport is also easy to find on other directed
2共b兲 shows the bounds of this interval. Thus this walk pro- graphs constructed with natural edge pairings. The primary
ceeds a constant distance ⌰共1兲 in constant time independent obstacle to finding algorithmic applications of these directed
of the number of loops n − 1, and as n → ⬁ we have ␤ → 0, so quantum walks is most likely that graphs representing real
x ⬃ t / 2. 䊏 problems are unlikely to have enough symmetry to allow
As a caveat, the speed of this walk depends completely on such meaningful pairing of edges. Since quantum walks such
the natural pairing of incoming and outgoing edges. If these as this one rely on symmetry for useful quantum interfer-
edges are paired randomly at each vertex, this quantum walk ence, this challenge may remain significant.
slows down to the classical speed. In algorithmic terms, this Also remaining is the challenge of constructing useful
means that the walk requires some local sense of where the quantum walks on directed graphs that remain fundamentally
solution is in order to proceed faster. This makes the im- irreversible. In this case, at vertices where there are more
provement in speed with this walk less remarkable, as such paths in than out, some sort of decoherent process must be
information would not be accessible for use in search algo- used to reduce the dimensionality of the space in which the
rithms, to date the most significant direct algorithmic use of walker moves. This may be framed in terms of partial mea-
quantum walks. surement of a path or more broadly as a general quantum
operation. Whether quantum speedup could still be preserved
through such operations remains unclear.
III. FURTHER DIRECTED QUANTUM WALKS
ACKNOWLEDGMENTS
The speedup found here is certainly different from that in
the classic examples for undirected quantum walks, but it S.H. was partially supported by NSF Research Experience
may still be of note. The scaling of speed with the number of for Undergraduates under Grant No. PHY-0552402. D.A.M.
dimensions is also not unprecedented, as seen for instance by was partially supported by ARO under Grant No.
performance gains with quantum walks on the binary hyper- W911NF071003.

关1兴 A. Ambainis, Int. J. Quantum Inf. 1, 507 共2003兲. on Computational Complexity 共Ref. 关5兴兲, pp. 180–187; e-print
关2兴 J. Kempe, Contemp. Phys. 44, 307 共2003兲. arXiv:cs.CC/9812012.
关3兴 N. Shenvi, J. Kempe, and K. Birgitta Whaley, Phys. Rev. A 关7兴 A. Montanaro, Quantum Inf. Comput. 7, 93 共2007兲.
67, 052307 共2003兲. 关8兴 S. Severini, SIAM J. Matrix Anal. Appl. 25, 295 共2003兲.
关4兴 A. M. Childs, R. Cleve, E. Deotto, E. Farhi, S. Gutmann, 关9兴 A. Ambainis, E. Bach, A. Nayak, A. Vishwanath, and J.
and D. A. Spielman, Proceedings of the 35th Annual ACM
Watrous, Proceedings of the 33rd Annual ACM Symposium on
Symposium on Theory of Computing 共ACM, New York, 2003兲,
Theory of Computing 共ACM, New York, 2001兲, pp. 37–49.
pp. 59–68; e-print arXiv:quant-ph/0209131.
关10兴 A. Bressler and R. Pementle, DMTCS Conference on the
关5兴 U. Schöning, Proceedings of the 40th Annual IEEE Symposium
on Foundations of Computer Science 共IEEE Computer Society, Analysis of Algorithms, 2007 共unpublished兲, pp. 403–414,
Los Alamitos, CA, 1999兲, pp. 410–414. http://www.dmtcs.org/dmtcs-ojs/index.php/proceedings/issue/
关6兴 J. Watrous, Proceedings of the 40th Annual IEEE Conference view/92/showToc

024307-3

You might also like