Nested Grover’s Algorithm for Tree Search
Abstract
1. Introduction
- We introduce the definition of a partial candidate solution and the contented oracles.
- We analyze the constraints of the original Grover’s nested search as introduced in [3];
- We introduce the iterative approach with a quadratic speedup in comparison to the original Grover’s algorithm;
- We investigate the possibilities of dividing the original space into two disentanglement subspaces and the resulting consequences;
- We introduce the concept of performing a permutation on a subspace and the corresponding constraint.
2. Quantum Tree Search
Grover’s Algorithm
3. Nested Grover’s Search
3.1. Partial Candidate Solution
3.2. Decomposition
3.3. Nested Grover’s Search and Entanglement
3.4. Concatenated Oracles
3.5. Not Entangled Subspaces
3.6. Entangled Subspaces
4. The Iterative Approach
4.1. Algorithm
- 1.
- For the could-be solution build a circuit;
- 2.
- Determine the solution by Grover algorithm on the subspace ;
- 3.
- Verify if the solution indicated by the oracle exists;
- 4.
- If solution exists success, exit the loop, otherwise, continue the loop.
4.2. Optimal Dimension
4.3. Costs
5. Disentanglement of and
5.1. Example with
5.2. Costs
Implementation
6. Permutation in the Subspace
6.1. Costs
6.2. Permutation Operator P
7. Discussion
7.1. Partial Candidate Solution
7.2. Generalized Quantum Tree Search
8. Conclusions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
References
- Montanaro, A. Quantum-Walk Speedup of Backtracking Algorithms. Theory Comput. 2018, 14, 1–24. [Google Scholar] [CrossRef]
- Rennela, M.; Brand, S.; Laarman, A.; Dunjko, V. Hybrid divide-and-conquer approach for tree search algorithms. Quantum 2023, 7, 959. [Google Scholar] [CrossRef]
- Cerf, N.J.; Grover, L.K.; Williams, C.P. Nested quantum search and structured problems. Phys. Rev. A 2000, 61, 032303. [Google Scholar] [CrossRef]
- Qiskit-Contributors. Qiskit: An Open-Source Framework for Quantum Computing. 2023. Available online: https://zenodo.org/records/8190968 (accessed on 16 December 2023).
- Wichert, A. Quantum Artificial Intelligence with Qiskit; CRC Press: Boca Raton, FL, USA, 2024. [Google Scholar]
- Tarrataca, L.; Wichert, A. Quantum Iterative Deepening with an application to the Halting problem. PLoS ONE 2013, 8, e57309. [Google Scholar] [CrossRef] [PubMed]
- Grover, L.K. A fast quantum mechanical algorithm for database search. In STOC ’96: Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing; ACM: New York, NY, USA, 1996; pp. 212–219. [Google Scholar] [CrossRef]
- Grover, L.K. Quantum Mechanics helps in searching for a needle in a haystack. Phys. Rev. Lett. 1997, 79, 325. [Google Scholar] [CrossRef]
- Grover, L.K. A framework for fast quantum mechanical algorithms. In STOC ’98: Proceedings of the Thirtieth Annual ACM Symposium on Theory of Computing; ACM: New York, NY, USA, 1998; pp. 53–62. [Google Scholar] [CrossRef]
- Grover, L.K. Quantum Computers Can Search Rapidly by Using Almost Any Transformation. Phys. Rev. Lett. 1998, 80, 4329–4332. [Google Scholar] [CrossRef]
- Aharonov, D. Noisy Quantum Computation. Ph.D. Thesis, Hebrew University, Jerusalem, Israel, 1999. [Google Scholar]
- Bennett, C.H.; Bernstein, E.; Brassard, G.; Vazirani, U. Strengths and Weaknesses of Quantum Computing. SIAM J. Comput. 1997, 26, 1510–1523. [Google Scholar] [CrossRef]
- Boyer, M.; Brassard, G.; Hoeyer, P.; Tapp, A. Tight bounds on quantum searching. Fortschritte Phys. 1998, 46, 493. [Google Scholar] [CrossRef]
- Brassard, G.; Hoyer, P.; Tapp, A. Quantum Counting. In Automata, Languages and Programming; Springer: Berlin/Heidelberg, Germany, 1998. [Google Scholar]
- Brassard, G.; Hoyer, P.; Mosca, M.; Tapp, A. Quantum Amplitude Amplification and Estimation. arXiv 2000, arXiv:quant-ph/0005055. [Google Scholar] [CrossRef]
- Kaye, P.R.; Laflamme, R.; Mosca, M. An Introduction to Quantum Computing; Oxford University Press: New York, NY, USA, 2007. [Google Scholar]
- Ventura, D.; Martinez, T. Quantum associative memory with exponential capacity. In Proceedings of the 1998 IEEE International Joint Conference on Neural Networks Proceedings. IEEE World Congress on Computational Intelligence, Anchorage, AK, USA, 4–9 May 1988; Volume 1, pp. 509–513. [Google Scholar]
- Ventura, D.; Martinez, T. Quantum associative memory. Inf. Sci. 2000, 124, 273–296. [Google Scholar] [CrossRef]
- Tay, N.; Loo, C.; Perus, M. Face Recognition with Quantum Associative Networks Using Overcomplete Gabor Wavelet. Cogn. Comput. 2010, 2, 297–302. [Google Scholar] [CrossRef]
- Trugenberger, C.A. Probabilistic Quantum Memories. Phys. Rev. Lett. 2001, 87, 067901. [Google Scholar] [CrossRef] [PubMed]
- Trugenberger, C.A. Quantum Pattern Recognition. Quantum Inf. Process. 2003, 1, 471–493. [Google Scholar] [CrossRef]
- Diamantini, M.C.; Trugenberger, C.A. Mirror modular cloning and fast quantum associative retrieval. arXiv 2022, arXiv:2206.01644. [Google Scholar] [CrossRef]
- Korf, R.E. Depth-first iterative-deepening: An optimal admissible tree search. Artif. Intell. 1985, 27, 97–109. [Google Scholar] [CrossRef]
- Russell, S.; Norvig, P. Artificial Intelligence: A Modern Approach; Prentice Hall series in artificial intelligence; Prentice Hall: Hoboken, NJ, USA, 2010. [Google Scholar]













Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Wichert, A. Nested Grover’s Algorithm for Tree Search. Entropy 2026, 28, 24. https://doi.org/10.3390/e28010024
Wichert A. Nested Grover’s Algorithm for Tree Search. Entropy. 2026; 28(1):24. https://doi.org/10.3390/e28010024
Chicago/Turabian StyleWichert, Andreas. 2026. "Nested Grover’s Algorithm for Tree Search" Entropy 28, no. 1: 24. https://doi.org/10.3390/e28010024
APA StyleWichert, A. (2026). Nested Grover’s Algorithm for Tree Search. Entropy, 28(1), 24. https://doi.org/10.3390/e28010024
