Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:2412.00332 · Physica Scripta

Quantum algorithm for unstructured search of ranked targets

Kota Tani, Shunji Tsuchiya, Seiichiro Tani, Yuki Takeuchi

Published Jun 10, 2025• 2 citations
arXivHTMLPDF

Abstract

Abstract Grover’s quantum algorithm can find a marked item from an unstructured database faster than any classical algorithm, and hence it has been used for several applications such as cryptanalysis and optimization. When there exist multiple marked items, Grover’s algorithm has the property of finding one of them uniformly at random. To further broaden the application range, it was generalized so that it finds marked items with probabilities according to their priority by encoding the priority into amplitudes applied by Grover’s oracle operator. In this paper, to achieve a similar generalization, we examine a different encoding that incorporates the priority into phases applied by the oracle operator. We compare the previous and our oracle operators and observe that which one performs better depends on priority parameters. Since the priority parameters can be considered as the magnitude of the correlated phase error on Grover’s oracle operator, the analysis of our oracle operator also reveals the robustness of the original Grover’s algorithm against correlated noises. We further numerically show that the coherence between multiple marked items tends to increase the probability of finding the most prioritized one in Grover’s algorithm with our oracle operator.

DOI
10.1088/1402-4896/ade377

Related papers

Practical Guide to Quantum Computing: Grover's Algorithm # 4

Mikhail Pavlov

Abstract This guide is based on the IBM Quantum course Phase Estimation and Factoring and focuses on Grover’s algorithm, a quantum algorithm for unstructured search problems that provides a quadratic speedup over classical approaches. In an unstructured search problem, we are given a function (often represented as an oracle) that marks one or more “correct” solutions among NNN possible candidates. A classical algorithm requires on the order of O(N)O(N)O(N) evaluations in the worst case. In contrast, Grover’s algorithm finds a solution using only O(N)O(\sqrt{N})O(N) oracle queries. This quadratic improvement implies: The quantum algorithm requires roughly the square root of the number of operations needed classically. Any classical algorithm for unstructured search must have cost at least quadratic relative to Grover’s quantum procedure. Core Idea of the Algorithm Grover’s algorithm relies on: Preparation of a uniform superposition (typically using Hadamard gates). An oracle that marks valid solutions via phase inversion. The Grover diffusion operator, which amplifies the probability amplitude of the marked states through interference. By repeatedly applying the Grover operator, the amplitude of the desired solution grows while others diminish, allowing measurement to reveal the correct answer with high probability. Practical Considerations Despite its theoretical elegance and wide applicability, the quadratic speedup of Grover’s algorithm is unlikely to yield near-term practical advantage. Modern classical hardware operates at extremely high clock rates and is vastly more mature than current quantum devices. For problem sizes accessible to today’s quantum computers, classical systems remain dominant. However, history shows that even sub-quadratic classical improvements — such as: Fast Fourier Transform (FFT) Efficient sorting algorithms like quicksort and mergesort have had transformative practical impact. The crucial distinction is that Grover’s algorithm depends on fundamentally different hardware — quantum processors — which are still in early development. Long-Term Perspective As quantum hardware advances in qubit count, coherence time, and error correction, Grover’s quadratic advantage may become practically significant for: Cryptographic key search Optimization heuristics Combinatorial search problems Amplitude amplification subroutines in broader quantum algorithms Through hands-on experimentation on IBM Q, this lesson demonstrates how theoretical amplitude amplification translates into executable quantum circuits, reinforcing the relationship between interference, probability amplitudes, and computational complexity.

•Mar 4, 2026•0 citations

Accelerating Unstructured Text Search with Grover's Algorithm: A Performance Analysis on Simulated and Real-Time Quantum Computers

SaiPrasath B, SasiKumar R, A Dineshkumar

Target item searching in large-scale, unstructured text databases is a major computational task for traditional systems and usually requires algorithms whose time complexity is on the order of$O(N)$. Quantum computing presents a strong competitor by using Grover's algorithm, where theoretically the search complexity comes down to$O(\sqrt{N})$, making faster retrieval possible. This research considers the design and assessment of Grover's algorithm as it is used to find a target word in a paragraph. The process entails encoding a group of unique words into a quantum register and implementing a circuit that incorporates a bespoke oracle and a diffusion operator to amplify the probability amplitude of the target state. Performance was evaluated in two situations: an ideal noise-free simulation with Qiskit's AerSimulator and a real-world run on IBM's quantum hardware. Simulation results demonstrated always-high accuracy in identifying the target word. But tests on real quantum machines indicated that the reliability of the algorithm decreases with an increase in qubits. Though circuits of up to five qubits had tolerable accuracy, larger configurations were plagued by noise, gate errors, and decoherence effects. These results highlight both the potential of quantum search algorithms for text processing and the limitations of NISQ today.

International Conference on Applied Artificial Intelligence and Computing (ICAAIC)•Dec 17, 2025•0 citations

The Quadratic Leap: How Grover's Algorithm is Redefining Core Problems in Computer Science and Engineering

Palaganti Venkata Nagendra Sai Sandeep

Grover's algorithm stands as a cornerstone of quantum computing, offering a theoretical quadratic speedup for unstructured search problems. This allows for finding a target item in an unsorted database of N entries in approximately the square root of N steps, a significant improvement over classical algorithms which require a number of operations on the order of N in the worst case. This speedup becomes particularly compelling for very large datasets, where classical exhaustive search becomes computationally intractable. The algorithm achieves this by leveraging fundamental quantum mechanical principles, primarily superposition and interference. It operates by preparing qubits in a uniform superposition of all possible states, then iteratively applying a quantum oracle to mark the desired state by flipping its phase, followed by a diffusion operator that amplifies the probability of the marked state. Despite its theoretical promise, real-world implementation faces substantial challenges stemming from Noisy Intermediate-Scale Quantum (NISQ) hardware, which is characterized by high error rates and short coherence times. Consequently, achieving a true, scalable quantum advantage remains a future endeavor, contingent on significant hardware advancements. Nevertheless, Grover's algorithm holds significant potential across diverse fields, including enhancing brute-force attacks on cryptographic systems, accelerating solutions for optimization problems, and speeding up search processes in machine learning and unstructured database queries.

•Aug 2, 2025•2 citations

Quantum search algorithm on weighted databases

Yifan Sun, Lian-Ao Wu

The Grover algorithm is a crucial solution for addressing unstructured search problems and has emerged as an essential quantum subroutine in various complex algorithms. By using a different approach with previous studies, this research extensively investigates Grover's search methodology within non-uniformly distributed databases, a scenario frequently encountered in practical applications. Our analysis reveals that the behavior of the Grover evolution differs significantly when applied to non-uniform databases compared to uniform or 'unstructured databases'. Based on the property of differential equation, it is observed that the search process facilitated by this evolution does not consistently result in a speed-up, and we have identified specific criteria for such situations. Furthermore, we have extended this investigation to databases characterized by coherent states, confirming the speed-up achieved through Grover evolution via rigorous numerical verification. In conclusion, our study provides an enhancement to the original Grover algorithm, offering insights to optimize implementation strategies and broaden its range of applications.

arXiv:2312.01590•Scientific Reports•Dec 4, 2024•5 citations

Quantum exact search with adjustable parameters and its applications

Guanzhong Li, Lvzhou Li

Abstract Grover's algorithm provides a quadratic speedup over classical algorithms to search for marked elements in an unstructured database. The original algorithm is probabilistic, returning a marked element with bounded error. When it is known beforehand there are M marked elements in N elements, there exist several schemes to achieve the exact version that returns a marked element with certainty, by using the generalized Grover's iteration G(α, β) := Sr(β) So(α), where the phase oracle So(α) multiplies a marked state by eiα, and the phase rotation Sr(β) multiplies the initial state |ψ0⟩ (an equal-superposition of all states) by e-iβ.However, in all the existing schemes the value range of α and β is limited; for instance, in the three early schemes α and β are determined by M/N. Thus, a natural question arises: Given the phase oracle So(α) with an arbitrary angle α, or the phase rotation Sr(β) with an arbitrary angle β, can we always construct an exact search algorithm without sacrificing the quadratic speedup advantage? The significance of this problem lies not only in the expansion of mathematical form, but also in its application value. We answer the question affirmatively, by presenting a search framework with adjustable parameters. Technically, we propose the fixed-axis-rotation (FXR) method where each iteration of the search algorithm can be geometrically seen as rotating about a fixed axis on the Bloch sphere. Furthermore, two applications of the proposed search framework are developed: the first is to learn exactly the secret string hidden by the Hamming distance oracle, and the other to solve the element distinctness promise problem deterministically. The two applications correspond to the two different cases where α or β is fixed respectively.

•Nov 10, 2022•0 citations

Approximate quantum search

Prathyush Poduval, Zhuowen Zou, Mohsen Imani

Grover’s quantum search algorithm achieves a quadratic speedup over classical search methods but requires an exact oracle that perfectly distinguishes marked states. We propose a modification that replaces the exact oracle with an approximate oracle constructed from a local similarity operator. This operator applies phase shifts based on the similarity between candidate states and the marked state, enabling approximate search while improving robustness to noise. Our analysis shows that the algorithm reliably amplifies marked states even under oracle imperfections, with a tunable trade-off between optimality and error resilience. We validate the method with analytical results and simulations, demonstrating efficient performance in both single- and multi-object search scenarios. Potential applications include error-prone quantum systems and quantum machine learning tasks involving similarity-based search over feature vectors.

Physics Letters A•Apr 6, 2026•0 citations
Abstract Grover’s quantum algorithm can find a marked item from an unstructured database faster than any classical algorithm, and hence it has been used for several applications such as cryptanalysis and optimization. When there exist multiple marked items, Grover’s algorithm has the property of finding one of them uniformly at random. To further broaden the application range, it was generalized so that it finds marked items with probabilities according to their priority by encoding the priority into amplitudes applied by Grover’s oracle operator. In this paper, to achieve a similar generalization, we examine a different encoding that incorporates the priority into phases applied by the oracle operator. We compare the previous and our oracle operators and observe that which one performs better depends on priority parameters. Since the priority parameters can be considered as the magnitude of the correlated phase error on Grover’s oracle operator, the analysis of our oracle operator also reveals the robustness of the original Grover’s algorithm against correlated noises. We further numerically show that the coherence between multiple marked items tends to increase the probability of finding the most prioritized one in Grover’s algorithm with our oracle operator.
Abstract This guide is based on the IBM Quantum course Phase Estimation and Factoring and focuses on Grover’s algorithm, a quantum algorithm for unstructured search problems that provides a quadratic speedup over classical approaches. In an unstructured search problem, we are given a function (often represented as an oracle) that marks one or more “correct” solutions among NNN possible candidates. A classical algorithm requires on the order of O(N)O(N)O(N) evaluations in the worst case. In contrast, Grover’s algorithm finds a solution using only O(N)O(\sqrt{N})O(N) oracle queries. This quadratic improvement implies: The quantum algorithm requires roughly the square root of the number of operations needed classically. Any classical algorithm for unstructured search must have cost at least quadratic relative to Grover’s quantum procedure. Core Idea of the Algorithm Grover’s algorithm relies on: Preparation of a uniform superposition (typically using Hadamard gates). An oracle that marks valid solutions via phase inversion. The Grover diffusion operator, which amplifies the probability amplitude of the marked states through interference. By repeatedly applying the Grover operator, the amplitude of the desired solution grows while others diminish, allowing measurement to reveal the correct answer with high probability. Practical Considerations Despite its theoretical elegance and wide applicability, the quadratic speedup of Grover’s algorithm is unlikely to yield near-term practical advantage. Modern classical hardware operates at extremely high clock rates and is vastly more mature than current quantum devices. For problem sizes accessible to today’s quantum computers, classical systems remain dominant. However, history shows that even sub-quadratic classical improvements — such as: Fast Fourier Transform (FFT) Efficient sorting algorithms like quicksort and mergesort have had transformative practical impact. The crucial distinction is that Grover’s algorithm depends on fundamentally different hardware — quantum processors — which are still in early development. Long-Term Perspective As quantum hardware advances in qubit count, coherence time, and error correction, Grover’s quadratic advantage may become practically significant for: Cryptographic key search Optimization heuristics Combinatorial search problems Amplitude amplification subroutines in broader quantum algorithms Through hands-on experimentation on IBM Q, this lesson demonstrates how theoretical amplitude amplification translates into executable quantum circuits, reinforcing the relationship between interference, probability amplitudes, and computational complexity.
Target item searching in large-scale, unstructured text databases is a major computational task for traditional systems and usually requires algorithms whose time complexity is on the order ofO(N)O(N)O(N). Quantum computing presents a strong competitor by using Grover's algorithm, where theoretically the search complexity comes down toO(N)O(\sqrt{N})O(N​), making faster retrieval possible. This research considers the design and assessment of Grover's algorithm as it is used to find a target word in a paragraph. The process entails encoding a group of unique words into a quantum register and implementing a circuit that incorporates a bespoke oracle and a diffusion operator to amplify the probability amplitude of the target state. Performance was evaluated in two situations: an ideal noise-free simulation with Qiskit's AerSimulator and a real-world run on IBM's quantum hardware. Simulation results demonstrated always-high accuracy in identifying the target word. But tests on real quantum machines indicated that the reliability of the algorithm decreases with an increase in qubits. Though circuits of up to five qubits had tolerable accuracy, larger configurations were plagued by noise, gate errors, and decoherence effects. These results highlight both the potential of quantum search algorithms for text processing and the limitations of NISQ today.
Grover's algorithm stands as a cornerstone of quantum computing, offering a theoretical quadratic speedup for unstructured search problems. This allows for finding a target item in an unsorted database of N entries in approximately the square root of N steps, a significant improvement over classical algorithms which require a number of operations on the order of N in the worst case. This speedup becomes particularly compelling for very large datasets, where classical exhaustive search becomes computationally intractable. The algorithm achieves this by leveraging fundamental quantum mechanical principles, primarily superposition and interference. It operates by preparing qubits in a uniform superposition of all possible states, then iteratively applying a quantum oracle to mark the desired state by flipping its phase, followed by a diffusion operator that amplifies the probability of the marked state. Despite its theoretical promise, real-world implementation faces substantial challenges stemming from Noisy Intermediate-Scale Quantum (NISQ) hardware, which is characterized by high error rates and short coherence times. Consequently, achieving a true, scalable quantum advantage remains a future endeavor, contingent on significant hardware advancements. Nevertheless, Grover's algorithm holds significant potential across diverse fields, including enhancing brute-force attacks on cryptographic systems, accelerating solutions for optimization problems, and speeding up search processes in machine learning and unstructured database queries.
The Grover algorithm is a crucial solution for addressing unstructured search problems and has emerged as an essential quantum subroutine in various complex algorithms. By using a different approach with previous studies, this research extensively investigates Grover's search methodology within non-uniformly distributed databases, a scenario frequently encountered in practical applications. Our analysis reveals that the behavior of the Grover evolution differs significantly when applied to non-uniform databases compared to uniform or 'unstructured databases'. Based on the property of differential equation, it is observed that the search process facilitated by this evolution does not consistently result in a speed-up, and we have identified specific criteria for such situations. Furthermore, we have extended this investigation to databases characterized by coherent states, confirming the speed-up achieved through Grover evolution via rigorous numerical verification. In conclusion, our study provides an enhancement to the original Grover algorithm, offering insights to optimize implementation strategies and broaden its range of applications.
Abstract Grover's algorithm provides a quadratic speedup over classical algorithms to search for marked elements in an unstructured database. The original algorithm is probabilistic, returning a marked element with bounded error. When it is known beforehand there are M marked elements in N elements, there exist several schemes to achieve the exact version that returns a marked element with certainty, by using the generalized Grover's iteration G(α, β) := Sr(β) So(α), where the phase oracle So(α) multiplies a marked state by eiα, and the phase rotation Sr(β) multiplies the initial state |ψ0⟩ (an equal-superposition of all states) by e-iβ.However, in all the existing schemes the value range of α and β is limited; for instance, in the three early schemes α and β are determined by M/N. Thus, a natural question arises: Given the phase oracle So(α) with an arbitrary angle α, or the phase rotation Sr(β) with an arbitrary angle β, can we always construct an exact search algorithm without sacrificing the quadratic speedup advantage? The significance of this problem lies not only in the expansion of mathematical form, but also in its application value. We answer the question affirmatively, by presenting a search framework with adjustable parameters. Technically, we propose the fixed-axis-rotation (FXR) method where each iteration of the search algorithm can be geometrically seen as rotating about a fixed axis on the Bloch sphere. Furthermore, two applications of the proposed search framework are developed: the first is to learn exactly the secret string hidden by the Hamming distance oracle, and the other to solve the element distinctness promise problem deterministically. The two applications correspond to the two different cases where α or β is fixed respectively.
Grover’s quantum search algorithm achieves a quadratic speedup over classical search methods but requires an exact oracle that perfectly distinguishes marked states. We propose a modification that replaces the exact oracle with an approximate oracle constructed from a local similarity operator. This operator applies phase shifts based on the similarity between candidate states and the marked state, enabling approximate search while improving robustness to noise. Our analysis shows that the algorithm reliably amplifies marked states even under oracle imperfections, with a tunable trade-off between optimality and error resilience. We validate the method with analytical results and simulations, demonstrating efficient performance in both single- and multi-object search scenarios. Potential applications include error-prone quantum systems and quantum machine learning tasks involving similarity-based search over feature vectors.