Quantum Algorithms Database
Quantum PageRank
A quantum-walk-based reformulation of the classical PageRank algorithm (originally used by Google to rank web pages), offering different ranking behavior rather than a proven speedup.
Last reviewed September 30, 2026. Check the linked sources for anything that may have changed since.
Year
2012
Inventor(s)
Giuseppe Davide Paparo and Miguel Angel Martin-Delgado; Silvano Garnerone, Paolo Zanardi, and Daniel Lidar (adiabatic ranking)
Speedup Type
No Speedup Claimed
Difficulty
★★★★☆
Overview
PageRank is the algorithm that Google's founders used to rank web pages by importance. It models a random surfer who follows links from page to page, and ranks pages by how often the surfer visits them in the long run. Quantum PageRank replaces the random surfer with a quantum walker, a particle that moves in superposition across the network.
Two lines of work share the name. Paparo and Martin-Delgado defined a quantum PageRank based on a quantum walk whose time-averaged visit probabilities rank the nodes, and found that the resulting ranking differs from the classical one, especially for nodes with similar scores. Garnerone, Zanardi, and Lidar proposed an adiabatic quantum algorithm that estimates the ranks of the top nodes quickly. Neither has been shown to give a proven speedup, and neither is used in production search.
The problem
Ranking nodes in a network (like web pages) by importance, based on the structure of links between them.
History
PageRank was described by Sergey Brin and Larry Page in 1998 and builds on the mathematics of Markov chains. In 2012 Paparo and Martin-Delgado published Google in a Quantum Network in Scientific Reports, introducing a quantum walk on the directed graph of the web based on Szegedy's quantization of Markov chains. Sánchez-Burillo and coauthors published related work on quantum navigation and ranking in complex networks in the same year.
Also in 2012, Garnerone, Zanardi, and Lidar published an adiabatic quantum algorithm for search engine ranking in Physical Review Letters. Their numerical results on scale-free networks suggested that the top-ranked pages could be identified with a runtime that grows polylogarithmically in the number of pages, though that rests on numerical evidence and assumptions. Later studies, including Paparo, Müller, Comellas, and Martin-Delgado in 2013 and comparative analyses in 2017, examined how quantum PageRank behaves on different network types and how robust it is to noise.
Intuition
Classical PageRank defines a transition matrix in which each page passes its importance to the pages it links to, mixed with a small chance of jumping to a random page. This is the Google matrix. The ranking is its stationary distribution, found by repeated multiplication, which is the power method.
A quantum walk on the same network moves a particle in a superposition of edges instead of choosing one link at random. Interference between paths changes how probability spreads. After running the walk for a long time, the time-averaged probability at each node serves as the quantum PageRank. Nodes whose classical scores are nearly equal can have different quantum scores because interference favors some structural features.
The adiabatic approach encodes the Google matrix in a Hamiltonian whose ground state corresponds to the stationary distribution, and slowly evolves toward it. The quantum state then holds the rank vector in its amplitudes, from which the top-ranked nodes can be sampled quickly if the spectral gap is large.
How it works
Replaces the classical random walk underlying PageRank with a quantum walk, which explores the network differently and can reveal structural features classical PageRank misses, particularly for networks with certain symmetries.
- Represent the web or network as a directed graph and build the Google matrix, mixing link-following with a damping factor.
- Define the quantum walk by applying Szegedy's construction to the Markov chain, giving a unitary on pairs of nodes.
- Prepare an initial state, evolve the walk for many steps, and record the probability of finding the walker at each node at each time.
- Average the probabilities over time to obtain the quantum PageRank vector, and sort the nodes by their values.
- Alternatively, in the adiabatic version, prepare the ground state of an initial Hamiltonian and evolve slowly toward one that encodes the stationary distribution, then sample the result.
- Compare the ordering with the classical PageRank, in particular for nodes that the classical method ranks almost equally.
Worked example
Consider a small network of six pages where two pages receive similar numbers of incoming links, giving them nearly identical classical PageRank scores. In the quantum walk, the two pages sit at different places in the network's structure, so interference gives them different long-term visit probabilities, and the quantum ranking breaks the tie.
Researchers have also reported that for some networks the quantum ranking of the highest-ranked nodes is more strongly separated than the classical one, which could help in distinguishing important pages. Whether that matches human notions of importance, or helps real search, has not been demonstrated.
Complexity and resources
| Classical PageRank | About O(N) per power iteration for sparse graphs, with few iterations needed |
|---|---|
| Adiabatic quantum ranking (numerical) | Reported polylogarithmic scaling in N for the top nodes on scale-free networks, not proven |
| Quantum walk ranking | Requires simulating the walk for many steps; no proven speedup |
| Key quantity | The spectral gap of the Google matrix or associated Hamiltonian |
| Output | A ranking of nodes or samples of top-ranked nodes, not the full rank vector |
Hardware needs
Fault-tolerant hardware for large networks, since the walk or adiabatic evolution is deep.
Efficient quantum access to the graph structure, for example through quantum memory.
For small demonstrations, a few qubits can encode networks of a handful of nodes.
Real-world impact
Primarily a research tool for studying network structure differently than classical methods, rather than a faster drop-in replacement for existing web search ranking systems.
Applications
Studying network structure and ranking nodes in social, biological, and citation networks.
Distinguishing nodes that classical PageRank scores as equal.
Research on quantum walks and Markov chains in complex networks.
Limitations
- No proven speedup over classical PageRank, which is already very efficient.
- Reading out the whole rank vector would need as many measurements as nodes, removing any exponential gain.
- The quantum ranking is not necessarily better, only different.
- Real search engines use many signals beyond link structure.
Common misconceptions
- Quantum PageRank is not used by Google or any search engine.
- It does not guarantee a faster ranking. The speedup claims are numerical and limited to the top nodes.
How it compares
Classical PageRank uses the power method on the Google matrix, which converges in tens of iterations for web-scale graphs.
Quantum walk search uses the same walk machinery to find marked nodes with a speedup.
Quantum linear algebra could in principle compute the stationary distribution, but with similar caveats about input and output.
Why it matters
Quantum PageRank is a good example of using quantum walks for network analysis and of how a familiar algorithm can behave differently in the quantum setting. It has sparked work on quantum centrality measures and on how interference reveals network structure.
It is also a case study in being honest about advantage. A different result is not the same as a faster or better result.
A quantum version of the ranking algorithm
Paparo and Martin-Delgado's 'Google in a Quantum Network' (arXiv 1112.2079, December 2011; Scientific Reports, DOI 10.1038/srep00444) defines a class of quantum versions of Google's PageRank algorithm, which ranks web pages by importance. The paper assumes that a quantum network could be built on top of the existing classical internet, even though no quantum computer is available. The authors report one instance of the class that 'outperforms its classical counterpart' and suggest it could alter the classical ranking of web pages depending on the web's topology.
What the claim means
The abstract I opened does not say how the performance claim was established, whether through numerical simulation, analysis or hardware, and it mentions no quantum hardware demonstration. 'Outperforms' here refers to how the quantum ranking behaves on networks, such as resolving differences between nodes, not to a proven faster running time. Check the full paper before quoting it as a speedup.
PageRank itself is computed classically at huge scale with simple iterative methods, and a quantum version would need a quantum network that does not exist. This page therefore treats the work as a theoretical proposal and makes no claim of a practical advantage.
- Proposal: a class of quantum PageRank algorithms on a hypothetical quantum network.
- Claim: one instance outperforms the classical ranking (nature of the evidence not stated in the abstract).
- Status: theoretical; no hardware demonstration mentioned.
Frequently asked questions
What is quantum PageRank?
A version of PageRank that replaces the random surfer with a quantum walker and ranks nodes by their time-averaged visit probability.
Is it faster than classical PageRank?
Not proven. One adiabatic algorithm shows numerical evidence of fast identification of top nodes, but classical PageRank is already efficient.
Does Google use it?
No. It is a research topic.
How does it differ in results?
The quantum version can break ties between nodes with similar classical scores and sometimes separates the top nodes more clearly.
What is the Google matrix?
The matrix that combines link-following with random jumps and whose stationary distribution gives the PageRank scores.
Related algorithms
References and further reading
Sources opened and checked on December 2, 2026. Resource estimates and claims change, so check the originals.
- Google in a Quantum Network (arXiv (G. D. Paparo, M. A. Martin-Delgado), Sci. Rep.) Opened. Source for the proposal and the outperforms claim; evidence type not stated in the abstract.
- Exponential algorithmic speedup by quantum walk (arXiv (Childs et al.)) Opened. Background on quantum walks on graphs.