
680 Q Quantum Algorithm for Checking Matrix Identities
query complexity (n
2
). Buhrman and Spalek [5]gavean
O(n
5/3
) quantum query algorithm using [18].
Group Commutativity Testing
Suppose one is presented with a black-box group speci-
fied by its k generators and is required to determine if
the group commutes using as few queries as possible to
the group product operation (i. e., queries of the form
“What is the product of elements g and h?”). The classical
query complexity is (k) group operations. Magniez and
Nayak [11] gave an (essentially optimal)
˜
O(k
2/3
) quantum
query algorithm by walking on the product of two graphs
whose vertices are (ordered) l-tuples of distinct generators
and whose transition probabilities are nonzero only where
the l-tuples at two endpoints differ in at most one coordi-
nate.
Open Problems
Many issues regarding quantization of Markov chains re-
main unresolved, both for the hitting problem and the
closely related mixing problem.
Hitting
Can the quadratic quantum hitting time speedup be ex-
tended from all symmetric Markov chains to all reversible
ones? Can the lower bound of [18] on observation prob-
ability be extended beyond the class of state-transitive
Markov chains with a unique marked state? What other
algorithmic applications of quantum hitting time can be
found?
Mixing
Another wide use of Markov chains in classical algorithms
is in mixing.Inparticular,Markov chain Monte Carlo al-
gorithms work by running an ergodic Markov chain with
carefully chosen stationary distribution until reaching
its mixing time, at which point the current state is guaran-
teed to be distributed "-close to uniform. Such algorithms
form the basis of most randomized algorithms for approx-
imating #P-complete problems. Hence, the problem is:
I
NPUT: Markov chain P on set S,tolerance">0.
O
UTPUT:Astate"-close to in total variation distance.
Notions of quantum mixing time were first proposed and
analyzed on the line, the cycle, and the hypercube by
Nayak et al. [3,15], Aharonov et al. [1], and Moore and
Russell [14]. Recent work of Kendon and Tregenna [10]
and Richter [16] has investigated the use of decoherence
in improving mixing of quantum walks. Two fundamental
questions about the quantum mixing time remain open:
What is the “most natural” definition? And, when is there
a quantum speedup over the classical mixing time?
Cross References
Quantum Algorithm for Element Distinctness
Quantum Algorithm for Finding Triangles
Recommended Reading
1. Aharonov, D., Ambainis, A., Kempe, J., Vazirani, U.: Quantum
walks on graphs. In: Proc. STOC (2001)
2. Ambainis, A.: Quantum walk algorithm for element distinct-
ness. SIAM J. Comput. 37(1), 210–239 (2007). Preliminary ver-
sion in Proc. FOCS 2004
3. Ambainis, A., Bach, E., Nayak, A., Vishwanath, A., Watrous, J.:
One-dimensional quantum walks. In: Proc. STOC (2001)
4. Ambainis, A., Kempe, J., Rivosh, A.: Coins make quantum walks
faster. In: Proc. SODA (2005)
5. Buhrman, H., Spalek, R.: Quantum verification of matrix prod-
ucts. In: Proc. SODA (2006)
6. Childs,A.,Cleve,R.,Deotto,E.,Farhi,E.,Gutmann,S.,Spielman,
D.: Exponential algorithmic speedup by a quantum walk. In:
Proc. STOC (2003)
7. Farhi, E., Gutmann, S.: Quantum computation and decision
trees. Phys. Rev. A 58 (1998)
8. Grover, L.K.: A fast quantum mechanical algorithm for
database search. In: Proc. STOC (1996)
9. Kempe, J.: Discrete quantum walks hit exponentially faster. In:
Proc. RANDOM (2003)
10. Kendon, V., Tregenna, B.: Decoherence can be useful in quan-
tum walks. Phys. Rev. A. 67, 42–315 (2003)
11. Magniez, F., Nayak, A.: Quantum complexity of testing group
commutativity. Algorithmica 48(3), 221–232 (2007) Prelimi-
nary version in Proc. ICALP 2005
12. Magniez,F.,Nayak,A.,Roland,J.,Santha,M.:Searchviaquan-
tum walk. In: Proc. STOC (2007)
13. Magniez, F., Santha, M., Szegedy, M.: Quantum algorithms for
the triangle problem. SIAM J. Comput. 37(2), 413–424 (2007)
Preliminary version in Proc. SODA 2005
14. Moore, C., Russell, A.: Quantum walks on the hypercube. In:
Proc. RANDOM (2002)
15. Nayak, A., Vishwanath, A.: Quantum walk on the line. quant-
ph/0010117
16. Richter, P.C.: Quantum speedup of classical mixing processes.
Phys.Rev.A76, 042306 (2007)
17. Shenvi, N., Kempe, J., Whaley, K.B.: A quantum random walk
search algorithm. Phys. Rev. A 67, 52–307 (2003)
18. Szegedy, M.: Quantum speed-up of Markov chain based algo-
rithms. In: Proc. FOCS (2004)
Quantum Algorithm
for Checking Matrix Identities
2006; Buhrman, Spalek
ASHWIN NAYAK
Department of Combinatorics and Optimization,
University of Waterloo and Perimeter Institute
for Theoretical Physics, Waterloo, ON, Canada