Quantum walk search

Last updated

In the context of quantum computing, the quantum walk search is a quantum algorithm for finding a marked node in a graph. [1]

Contents

The concept of a quantum walk is inspired by classical random walks, in which a walker moves randomly through a graph or lattice. In a classical random walk, the position of the walker can be described using a probability distribution over the different nodes of the graph. In a quantum walk, on the other hand, the walker is represented by a quantum state, which can be in a superposition of several locations simultaneously. [1]

Search algorithms based on quantum walks have the potential to find applications in various fields, including optimization, machine learning, cryptography, and network analysis. [2] The efficiency and probability of success of a quantum walk search depend heavily on the structure of the search space. In general, quantum walk search algorithms offer an asymptotic quadratic speedup similar to that of Grover's algorithm. [3] [4]

One of the first works on the application of quantum walk to search problems was proposed by Neil Shenvi, Julia Kempe, and K. Birgitta Whaley. [5]

Classical problem description

Given a search space and a subset which contains the marked elements, a probabilistic search algorithm samples an element uniformly at random at each step, until it finds a marked element from . If we define as the fraction of marked elements, a procedure of that kind must be repeated times to find a marked element. [6]

If we have information about the structure of we can model it as a graph , where every vertex represents a sample from the search space with , while the edges represent the conditional probability to sample the next element starting from the current sample. [6]

We perform a search by starting from a random vertex and, if it does not belong to , we sample the next vertex among the ones connected to . This procedure is known as random walk search. To have a probability close to to find the marked node, we need to take asymptotically steps on the graph, where the parameter is the spectral gap associated to the stochastic matrix of the graph. [7]

To assess the computational cost of a random walk algorithm, one usually divides the procedure into three sub-phases such as Setup, Check, and Update, and analyses their cost. [6]

Setup

The setup cost refers to the initialization of the stationary distribution over the vertices of the graph. [6]

Update

The update cost is the cost to simulate a transition on the graph according to the transition probability defined in . [6]

Check

The check cost is the cost to verify if the current element belongs to the set . [6]

The total cost of a random walk search algorithm is . The greedy version of the algorithm, where the check is performed after every step on the graph has a complexity of . The presence of the spectral gap term in the cost formulation can be thought of as the minimum number of steps that the walker must perform to reach the stationary distribution. This quantity is also known as mixing time. [8]

Algorithm description

The quantum walk search algorithm was first proposed by Magniez et al., [7] also known as MNRS algorithm, and is based on the quantum walk formulation proposed by Mario Szegedy. The walk is performed on the directed edges of the graph so to represent the quantum state associated with the search space we need two quantum registers , which correspond to the edge from to . To easily understand how it works, the algorithm can be explained through its geometric interpretation. We first define as the uniform superposition over the neighbours of . We additionally define the superposition over the marked and non-marked states, often referred to as the good and bad states, as

and

where is the set of marked elements. The uniform superposition over all the edges can be viewed a combination of good and bad states.

with . [9]

Schematic view of quantum phase estimation on walk operator Schematic view of quantum phase estimation on walk operator.png
Schematic view of quantum phase estimation on walk operator

The algorithm is composed of the following steps:

  1. Initialize the quantum state with , usually it is done by some state preparation routine.
  2. Repeat for :
    • Perform a reflection through
    • Perform a reflection through
  3. Measure the first quantum register and check if it is marked

Since the way the algorithm finds a marked element is based on the amplitude amplification technique, [10] the proof of correctness is similar to the one of Grover's algorithm (which can also be viewed as a special case of a quantum walk on a fully connected graph ). The two reflections through and exhibit the effect of moving the quantum state toward the good state. After applications of the reflections the state can be written as , and by setting we have that which yields the good state with a high probability. [9]

First reflection

The first reflection has the effect of checking if the current vertex is marked and applying a phase shift equal to if it is so. This is a common procedure in many quantum algorithms based on amplitude amplification and can be realized through a quantum oracle function that verifies the condition . [9]

Second reflection

The second reflection is implemented with a quantum phase estimation over the walk operator which must reflect the structure of the graph we are exploring. The walk operator can be defined as where and are two reflections through the subspaces and . [9] Since the eigenvalues of are on the form and the operator has a unique eigenvalue equal to corresponding to given by , we can perform a phase estimation with precision to find the unique eigenvalue. The precision of the reflection depends on the number of qubits used to estimate the phase. [9]

Complexity

With the same formalism used to estimate the cost of the classical random walk algorithm, the quantum costs can be summarised with:

The total cost of the quantum walk search is , which results in a quadratic speedup compared to the classical version. Compared to Grover's algorithm quantum walks become advantageous in the presence of large data structures associated with each quantum state, since in the first case they are entirely rebuilt at each iteration while in walks they are only partially updated in each step. [11]

Hypercube example

This is an example of how to apply the quantum walk search on a hypercube graph. [12]

Four-dimensional hypercube with binary labels Hypercubestar binary.svg
Four-dimensional hypercube with binary labels

Although in the original description Szegedy quantum walks are used, for this example we show the use of coined quantum walk as it is more intuitive to understand. In any case, the two formalizations turn out to be equivalent under specific assumptions. [13]

The search space is a -hypercube with , it has vertices and it has a degree equal to . Each node can be labeled with a binary string of bits and two nodes are connected by an edge if their Hamming distance is . To set up the quantum walk search we need a coin register of dimension to encode all the possible directions which a walker can choose and a vertex register of dimension to represent the vertices. [12]

The computational basis is with.

The walk is performed by two operators:

Thus, the walk operator is . [12]

In the case of the hypercube graph, we can leverage the fact that the binary encoding of the vertices differ by only one bit for any couple of adjacent nodes to construct an efficient shift operator. The shift operator can be written as:

where is the -basis for the hypercube ( if the basis are ). For the coin there are multiple choices such as the Grover coin or the Fourier coin, one can choose the Grover coin to have an equal superposition over all the directions. [12]

The algorithm works as follows:

  1. Repeat for
    • Initialise the counting register for the phase in superposition
    • Perform a phase estimation on with precision
    • Mark an auxiliary qubit if the estimated phase is
    • Un-compute auxiliary data structure
  2. Measure the vertex register

The shift operator is a key factor to the implementation on an efficient quantum walk, while for certain families of graph such as toroids and lattices, the shift is known, for non-regular graph the design of an effective shift operator is still an open challenge. [14]

Applications

The following applications are based on quantum walk on Johnson graph . [15]

Element distinctness

Given a function defined on , it asks to find two distinct elements such that if there exist such a pair. [16]

Matrix product verification

Given three matrices and , the problem asks to verify if or otherwise find the indices such that . [6]

Triangle

A triangle is a complete subgraph on three vertices part of an undirected graph . Given the adjacent matrix of a graph the problem asks to find a triangle if there is any. [6]

See also

Related Research Articles

In quantum computing, Grover's algorithm, also known as the quantum search algorithm, is a quantum algorithm for unstructured search that finds with high probability the unique input to a black box function that produces a particular output value, using just evaluations of the function, where is the size of the function's domain. It was devised by Lov Grover in 1996.

In physics, the CHSH inequality can be used in the proof of Bell's theorem, which states that certain consequences of entanglement in quantum mechanics cannot be reproduced by local hidden-variable theories. Experimental verification of the inequality being violated is seen as confirmation that nature cannot be described by such theories. CHSH stands for John Clauser, Michael Horne, Abner Shimony, and Richard Holt, who described it in a much-cited paper published in 1969. They derived the CHSH inequality, which, as with John Stewart Bell's original inequality, is a constraint—on the statistical occurrence of "coincidences" in a Bell test—which is necessarily true if an underlying local hidden-variable theory exists. In practice, the inequality is routinely violated by modern experiments in quantum mechanics.

In quantum computing and specifically the quantum circuit model of computation, a quantum logic gate is a basic quantum circuit operating on a small number of qubits. Quantum logic gates are the building blocks of quantum circuits, like classical logic gates are for conventional digital circuits.

In quantum field theory, the theta vacuum is the semi-classical vacuum state of non-abelian Yang–Mills theories specified by the vacuum angleθ that arises when the state is written as a superposition of an infinite set of topologically distinct vacuum states. The dynamical effects of the vacuum are captured in the Lagrangian formalism through the presence of a θ-term which in quantum chromodynamics leads to the fine tuning problem known as the strong CP problem. It was discovered in 1976 by Curtis Callan, Roger Dashen, and David Gross, and independently by Roman Jackiw and Claudio Rebbi.

In theoretical physics, the Wess–Zumino model has become the first known example of an interacting four-dimensional quantum field theory with linearly realised supersymmetry. In 1974, Julius Wess and Bruno Zumino studied, using modern terminology, dynamics of a single chiral superfield whose cubic superpotential leads to a renormalizable theory. It is a special case of 4D N = 1 global supersymmetry.

Photon polarization is the quantum mechanical description of the classical polarized sinusoidal plane electromagnetic wave. An individual photon can be described as having right or left circular polarization, or a superposition of the two. Equivalently, a photon can be described as having horizontal or vertical linear polarization, or a superposition of the two.

Stochastic approximation methods are a family of iterative methods typically used for root-finding problems or for optimization problems. The recursive update rules of stochastic approximation methods can be used, among other things, for solving linear systems when the collected data is corrupted by noise, or for approximating extreme values of functions which cannot be computed directly, but only estimated via noisy observations.

Quantum walks are quantum analogs of classical random walks. In contrast to the classical random walk, where the walker occupies definite states and the randomness arises due to stochastic transitions between states, in quantum walks randomness arises through (1) quantum superposition of states, (2) non-random, reversible unitary evolution and (3) collapse of the wave function due to state measurements.

<span class="mw-page-title-main">One-way quantum computer</span> Method of quantum computing

The one-way or measurement-based quantum computer (MBQC) is a method of quantum computing that first prepares an entangled resource state, usually a cluster state or graph state, then performs single qubit measurements on it. It is "one-way" because the resource state is destroyed by the measurements.

Amplitude amplification is a technique in quantum computing which generalizes the idea behind Grover's search algorithm, and gives rise to a family of quantum algorithms. It was discovered by Gilles Brassard and Peter Høyer in 1997, and independently rediscovered by Lov Grover in 1998.

Entanglement distillation is the transformation of N copies of an arbitrary entangled state into some number of approximately pure Bell pairs, using only local operations and classical communication.

<span class="mw-page-title-main">Kicked rotator</span>

The kicked rotator, also spelled as kicked rotor, is a paradigmatic model for both Hamiltonian chaos and quantum chaos. It describes a free rotating stick in an inhomogeneous "gravitation like" field that is periodically switched on in short pulses. The model is described by the Hamiltonian

In quantum computing, the quantum phase estimation algorithm is a quantum algorithm to estimate the phase corresponding to an eigenvalue of a given unitary operator. Because the eigenvalues of a unitary operator always have unit modulus, they are characterized by their phase, and therefore the algorithm can be equivalently described as retrieving either the phase or the eigenvalue itself. The algorithm was initially introduced by Alexei Kitaev in 1995.

In pure and applied mathematics, quantum mechanics and computer graphics, a tensor operator generalizes the notion of operators which are scalars and vectors. A special class of these are spherical tensor operators which apply the notion of the spherical basis and spherical harmonics. The spherical basis closely relates to the description of angular momentum in quantum mechanics and spherical harmonic functions. The coordinate-free generalization of a tensor operator is known as a representation operator.

The Peierls substitution method, named after the original work by Rudolf Peierls is a widely employed approximation for describing tightly-bound electrons in the presence of a slowly varying magnetic vector potential.

Quantum counting algorithm is a quantum algorithm for efficiently counting the number of solutions for a given search problem. The algorithm is based on the quantum phase estimation algorithm and on Grover's search algorithm.

In plasma physics and magnetic confinement fusion, neoclassical transport or neoclassical diffusion is a theoretical description of collisional transport in toroidal plasmas, usually found in tokamaks or stellerators. It is a modification of classical diffusion adding in effects of non-uniform magnetic fields due to the toroidal geometry, which give rise to new diffusion effects.

Exact diagonalization (ED) is a numerical technique used in physics to determine the eigenstates and energy eigenvalues of a quantum Hamiltonian. In this technique, a Hamiltonian for a discrete, finite system is expressed in matrix form and diagonalized using a computer. Exact diagonalization is only feasible for systems with a few tens of particles, due to the exponential growth of the Hilbert space dimension with the size of the quantum system. It is frequently employed to study lattice models, including the Hubbard model, Ising model, Heisenberg model, t-J model, and SYK model.

Quantum Signal Processing is a Hamiltonian simulation algorithm with optimal lower bounds in query complexity. It linearizes the operator of a quantum walk using eigenvalue transformation. The quantum walk takes a constant number of queries. So quantum signal processing's cost depends on the constant number of calls to the quantum walk operator, number of single qubit quantum gates that aid in the eigenvalue transformation and an ancilla qubit.

The two-dimensional critical Ising model is the critical limit of the Ising model in two dimensions. It is a two-dimensional conformal field theory whose symmetry algebra is the Virasoro algebra with the central charge . Correlation functions of the spin and energy operators are described by the minimal model. While the minimal model has been exactly solved, see also, e.g., the article on Ising critical exponents, the solution does not cover other observables such as connectivities of clusters.

References

  1. 1 2 Portugal, Renato, ed. (2013). Quantum walks and search algorithms. Quantum science and technology. New York Heidelberg: Springer. pp. 17–37. ISBN   978-1-4614-6335-1.
  2. Kadian, Karuna; Garhwal, Sunita; Kumar, Ajay (2021-08-01). "Quantum walk and its application domains: A systematic review". Computer Science Review. 41: 100419. doi:10.1016/j.cosrev.2021.100419. ISSN   1574-0137. S2CID   238207718.
  3. Grover, Lov K. (1996-07-01). "A fast quantum mechanical algorithm for database search". Proceedings of the twenty-eighth annual ACM symposium on Theory of computing - STOC '96. New York, NY, USA: Association for Computing Machinery. pp. 212–219. doi:10.1145/237814.237866. ISBN   978-0-89791-785-8. S2CID   207198067.
  4. Santos, Raqueline A. M. (2016-08-26). "Szegedy's quantum walk with queries". Quantum Information Processing. 15 (11): 4461–4475. arXiv: 1603.05473 . Bibcode:2016QuIP...15.4461S. doi:10.1007/s11128-016-1427-4. ISSN   1570-0755. S2CID   254989663.
  5. Shenvi, Neil; Kempe, Julia; Whaley, K. Birgitta (2003-05-23). "A Quantum Random Walk Search Algorithm". Physical Review A. 67 (5): 052307. arXiv: quant-ph/0210064 . Bibcode:2003PhRvA..67e2307S. doi:10.1103/PhysRevA.67.052307. ISSN   1050-2947. S2CID   8688989.
  6. 1 2 3 4 5 6 7 8 Santha, Miklos (2008), Agrawal, Manindra; Du, Dingzhu; Duan, Zhenhua; Li, Angsheng (eds.), "Quantum walk based search algorithms", Theory and Applications of Models of Computation, Lecture Notes in Computer Science, vol. 4978, Berlin, Heidelberg: Springer Berlin Heidelberg, pp. 31–46, arXiv: 0808.0059 , doi:10.1007/978-3-540-79228-4_3, ISBN   978-3-540-79227-7, S2CID   47163843 , retrieved 2023-07-05
  7. 1 2 Magniez, Frederic; Nayak, Ashwin; Roland, Jeremie; Santha, Miklos (2007-06-11). "Search via quantum walk". Proceedings of the thirty-ninth annual ACM symposium on Theory of computing. STOC '07. New York, NY, USA: Association for Computing Machinery. pp. 575–584. doi:10.1145/1250790.1250874. ISBN   978-1-59593-631-8. S2CID   1918990.
  8. Levin, David Asher; Peres, Yuval (2017). Markov chains and mixing times. Elizabeth L. Wilmer, James G. Propp, David Bruce Wilson, American Mathematical Society (Second ed.). Providence, Rhode Island: American Mathematical Society. pp. 8–15. ISBN   978-1-4704-2962-1.
  9. 1 2 3 4 5 de Wolf, Ronald (2019). "Quantum Computing: Lecture Notes". arXiv: 1907.09415 [quant-ph].
  10. Brassard, Gilles; Hoyer, Peter; Mosca, Michele; Tapp, Alain (2002), "Quantum Amplitude Amplification and Estimation", Quantum Computation and Information, Contemporary Mathematics, vol. 305, pp. 53–74, arXiv: quant-ph/0005055 , doi:10.1090/conm/305/05215, ISBN   9780821821404, S2CID   54753
  11. Jaques, Samuel (2019-05-01). Quantum Cost Models for Cryptanalysis of Isogenies (Master Thesis thesis). University of Waterloo.p 67-68.
  12. 1 2 3 4 "Quantum Walk Search Algorithm". learn.qiskit.org. Retrieved 2023-07-05.
  13. Wong, Thomas G. (2017). "Equivalence of Szegedy's and Coined Quantum Walks". Quantum Information Processing. 16 (9): 215. arXiv: 1611.02238 . Bibcode:2017QuIP...16..215W. doi:10.1007/s11128-017-1667-y. ISSN   1570-0755. S2CID   254985379.
  14. Douglas, B. L.; Wang, J. B. (2007). "Efficient quantum circuit implementation of quantum walks". arXiv: 0706.0304 [quant-ph].
  15. Agong, Louis Anthony; Amarra, Carmen; Caughman, John S.; Herman, Ari J.; Terada, Taiyo S. (2018-01-01). "On the girth and diameter of generalized Johnson graphs". Discrete Mathematics. 341 (1): 138–142. arXiv: 2304.02864 . doi: 10.1016/j.disc.2017.08.022 . ISSN   0012-365X. S2CID   257985351.
  16. Ambainis, Andris (2007). "Quantum Walk Algorithm for Element Distinctness". SIAM Journal on Computing. 37 (1): 210–239. CiteSeerX   10.1.1.251.5460 . doi:10.1137/S0097539705447311. ISSN   0097-5397.

Further reading