Next Article in Journal
Blind and Secured Adaptive Digital Image Watermarking Approach for High Imperceptibility and Robustness
Previous Article in Journal
Entropy in Image Analysis III
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Robust Quantum Search with Uncertain Number of Target States

1
State Key Laboratory of Low-Dimensional Quantum Physics and Department of Physics, Tsinghua University, Beijing 100084, China
2
State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou 450001, China
3
Beijing Academy of Quantum Information Sciences, Beijing 100193, China
*
Author to whom correspondence should be addressed.
Submission received: 3 November 2021 / Revised: 30 November 2021 / Accepted: 4 December 2021 / Published: 8 December 2021
(This article belongs to the Topic Quantum Information and Quantum Computing)

Abstract

:
The quantum search algorithm is one of the milestones of quantum algorithms. Compared with classical algorithms, it shows quadratic speed-up when searching marked states in an unsorted database. However, the success rates of quantum search algorithms are sensitive to the number of marked states. In this paper, we study the relation between the success rate and the number of iterations in a quantum search algorithm of given λ = M / N , where M is the number of marked state and N is the number of items in the dataset. We develop a robust quantum search algorithm based on Grover–Long algorithm with some uncertainty in the number of marked states. The proposed algorithm has the same query complexity O N as the Grover’s algorithm, and shows high tolerance of the uncertainty in the ratio M / N . In particular, for a database with an uncertainty in the ratio M ± M N , our algorithm will find the target states with a success rate no less than 96 % .

1. Introduction

The quantum search algorithm is one of the most significant quantum algorithms [1]. Compared with classical search algorithms, quantum search algorithms exhibit quadratic speedup [2,3]. This demonstrates the superiority of quantum computing over classical computing. Grover proposed the first quantum search algorithm [1,4], which can find M marked items from an unstructured database with N items by querying only O ( N / M ) times [5,6]. If the measurements are made after the optimal iterations, Grover’s algorithm will have a success rate P m a x = sin 2 [ ( 2 j o p + 1 ) β ] to find the marked items, where β = arcsin M / N and j o p = [ ( π / 2 β ) / ( 2 β ) ] is the number of optimal Grover iterations. If ( 2 j o p + 1 ) β π / 2 , the maximum probability approaches 1, which means that the Grover’s algorithm usually has a high success rate if the dimension of the quantum database is very large.
There have been several important developments in the Grover’s algorithm. In some situations, such as structured search [7], where the success rate is the product of the success rates of individual search, high success rate in each individual search is critical; especially, when dimensions are not so large, the standard Grover’s algorithm will not perform well. In order to solve this problem, some modified search algorithms have been proposed [8,9,10,11,12]. The Grover–Long algorithm [11], one of these improved algorithms, has been proved to be the simplest and most optimal [13,14]. This algorithm achieves 100% success rate, whereas Grover’s algorithm can only achieve 100% success rate when finding one out of four.
In both the original Grover and improved versions of Grover’s algorithm, one needs to know the exact number of marked states in advance. Therefore, if the exact number is not known, these algorithms can not determine when to stop [15]. Spatial search [16,17,18] is one of the methods to solve this problem. Fixed-point search algorithm is another method to solve this problem. By constructing the recursively searching operator, the ratio of marked state always amplifies after each search, the π / 3 fixed-point search algorithm of Grover [19], for example. In this algorithm, each search approaches the marked states monotonously, but the cost of monotony is large in this algorithm, and the quadratic speedup of standard Grover’s algorithm is lost.
The Yoder–Low–Chung algorithm [20] was proposed to improve the performance of fixed-point algorithms on wide ranges of M / N . It retains the quadratic speedup advantage of quantum search, and it achieves the fixed-point property at the same time. It also solves overcooking problem, but the success rate of which is not monotonically increasing as in the π / 3 algorithm. The error is bounded by a tunable parameter δ [ 0 , 1 ] over an ever-widening range of M / N , but the phases in each search step need to be calculated by solving a hype-trigonometric equation.
In this paper, we develop a robust quantum search algorithm, based on the Grover–Long algorithm, which overcomes the problem of not knowing the exact ratio M / N in advance. This algorithm has the advantage of easiness in constructing the search operators, and also certain degrees of “fixed-point” properties. Namely, it enjoys a high success rate over a wide range of the ratio of M / N . In our algorithm, we do not need to know the exact number of marked states, but rather an approximate number in the range λ 0 , λ 0 + Δ of the ratio λ = M / N . The error of our algorithm is bounded by a parameter δ [ 0 , 1 ] related to the Δ / λ 0 . Specifically, searching operators in our algorithm are determined by the lower bound λ 0 . After J + 1 J D iterations, the probability of success is larger than 1 δ 2 , where J D is denoted as 1 2 λ 0 + Δ + 4 π δ .
This paper is organized as follows. First of all, the Grover–Long algorithm is summarized. Secondly, the relationship between the success rate of Grover–Long algorithm and iterative steps is studied, and the relation between iteration number and success rate is given. Thirdly, we propose a robust search version of Grover–Long algorithm and show its high tolerance to the ratio M / N . The comparison is then made with the Yoder–Low–Chuang algorithm, standard Grover’s algorithm, and the Grover π / 3 fixed-point algorithm, respectively. Finally, we prove that our algorithm can find the target state with a success rate of more than 96 % from an database, with only an estimate of M, in the range between { M M , M + M } , which can be carried out using the quantum counting algorithm [21,22].

2. Overview of Grover–Long Algorithm

The Grover–Long algorithm can extract M marked items from an unstructured database with N items by querying O N / M times. First, from the given ratio M / N , parameter β can be calculated:
β = arcsin M N ,
which is further used to determine the value of search steps j o p = π 2 β 4 β . The square brackets here represent the floor function. One can set the number of iteration as
J j o p .
Then, the phases in the search algorithm are calculated by
ϕ = 2 arcsin sin π 4 J + 6 sin β .
Next, the oracle operator can be expressed as
I τ = I + e i ϕ 1 | τ τ | ,
where | τ denotes as the superposition of M marked states, and the phase shifting operator for the | 0 state is
I 0 = I + e i ϕ 1 | 0 0 | .
Finally, the Grover–Long operator in each iteration is
Q = H I 0 H I τ ,
where H is the Hadamard gate. After J + 1 steps of iterations, one can obtain the marked states with certainty by measurement. When ϕ = π , we recover the original Grover’s algorithm, which usually does not find the marked states with certainly.
The quantum search algorithm can be described using the SO(3) picture [11,23] instead of SU(2). In this picture, the quantum search operator in Equation (6) corresponds to a rotation in three-dimensional space with the following matrix form
R Q = R 11 R 12 R 13 R 21 R 22 R 23 R 31 R 32 R 33 ,
where the entries of the matrix R Q are calculated in [11]. The states are rotated along the l axis
l = cos ϕ 2 sin ϕ 2 cos ϕ 2 tan β ,
with an angle
α = 4 arcsin sin ϕ 2 sin β = 2 π 2 J + 3 .
In this picture, the state vector | ψ = ( a + b i ) | τ + ( c + d i ) | τ ¯ is represented as
r ψ = ψ | σ | ψ = 2 ( a c + b d ) 2 ( b c + a d ) a 2 + b 2 c 2 d 2 ,
where σ = σ x i + σ y j + σ z k and i , j , k are the unit vector along the x, y, z axis. The initial state | ψ i and the marked state | τ are represented by
r i = sin ( 2 β ) 0 cos ( 2 β ) , r f = 0 0 1 .
Each search step is a rotation of r ψ toward r f . The SO(3) description of the Grover–Long algorithm is pictured as a circle in Figure 1.

3. Relationship between the Success Rate and Searching Iterations

During each search step of the Grover–Long algorithm, state r ψ = O A ¯ rotates toward r f = O B ¯ , which is described geometrically in Figure 1. In other words, this process is point A moving to point B on the blue circle r 0 . In this picture, the probability of finding the marked state is ( z A + 1 ) / 2 [11], where z A is the Z component of point A. Thus, if one wants to find a marked state with a probability greater than 1 δ 2 , point A of the segment r o A ¯ must rotate into the arc C D , where point C and point D are the intersections of the circle r o and the red error circle: x 2 + y 2 + ( 1 2 δ 2 ) 2 = 1 . If we can calculate the arc length C D , then we obtain a reasonable number of iterations.
For this reason, we focus on the spherical cone, which consists of the unit sphere and the red circle. It is shown in Figure 2. The segment B C ¯ in Figure 2 is a segment from point B ( 0 , 0 , 1 ) to point C on the red error circle. In Figure 2, O D ¯ = 1 2 δ 2 , O C ¯ = 1 , B D ¯ = 2 δ 2 . The following relationship holds:
C D ¯ = O C ¯ 2 O D ¯ 2 = 1 ( 1 2 δ 2 ) 2 = 4 δ 2 4 δ 4 ,
B C ¯ = C D ¯ 2 + B D ¯ 2 = 4 δ 2 4 δ 4 + 4 δ 4 = 2 δ
The half length of arc C D is approximated to B C ¯ = 2 δ .
Next, we find the radius of the blue circle r o . As shown in Figure 3, point E is the middle of the segment A B ¯ .
In Figure 3, A O B = π 2 β , O A ¯ = 1 , and A r o E = A r o B 2 = J + 1 2 α = ( J + 1 ) π 2 J + 3 . In A O E and A E r o :
A E ¯ = sin A O B 2 = sin π 2 β 2 = cos β ,
A r o ¯ = A E ¯ csc A r o E = cos β csc ( J + 1 2 J + 3 π ) .
Thus, the number of iterations on the arc length B C is
  J δ = B C A r o ¯ · α B C ¯ A r o ¯ · α = ( 2 J + 3 ) δ π sec β sin ( J + 1 2 J + 3 π )
csc β 2 + 4 π δ ,
where ⌈⌉ denotes ceil function. Therefore, after several iterations with a number in [ J + 1 J δ , J + 1 + J δ ] , the success rate in [ 1 δ 2 , 1 ] will be achieved.
We show the relationship between 1 / λ and the minimum number of queries for a given success rate in Figure 4, which means that if the desired rate of success is not high, the number of queries is correspondingly reduced.

4. Robust Quantum Search with Uncertain Number of Targets

Now, consider the situation where the ratio M / N is not known. Our goal is to find the marked state with high success. Here, we propose a robust search version of the Grover–Long algorithm. In our algorithm, the error is bounded by a parameter δ over Δ / λ 0 . In fact, our algorithm degenerates to the original Grover–Long algorithm if Δ = 0 . We proceed our algorithm as follows. The initial state is prepared to the superposition state | s . Then, we find out the target state | T with success probability higher than 1 δ 2 , in which the overlap s | T = λ e i ξ is nonzero ( ξ is the phase difference between | s and | T ) and δ [ 0 , 1 ] . We provide the oracle operator I τ which will flip the ancilla qubit if it matches the target state, that is, I τ | T | a = | T | a 1 for a = τ and I τ | T ¯ | a = | T ¯ | a for a τ , while | T are orthogonal to | T ¯ . Next, we prove how to extract | T ¯ by querying J + 1 J D times with the successful probability higher than 1 δ 2 . This algorithm is shown as follows.
Suppose there is a database without exact λ but, rather, its upper and lower bounds are denoted as λ 0 λ λ 0 + Δ . If we plug the lower bound λ 0 as the “overlap” into the Grover–Long algorithm, we will obtain
β 0 = arcsin λ 0 arcsin λ = β ,
then
J = j o p 0 = π 2 β 0 4 β 0 π 2 β 4 β = j o p ,
which obeys Equation (2), that J j o p . Thus, J + 1 can be chosen as the number of iterations in Grover–Long algorithm, but when plugging J and β 0 into Equation (3), we will not obtain the right matching phase. Thus, we will not obtain the right rotation angle α in Equation (9) for each iteration along the axis l in Equation (10). Instead, we will obtain
α 0 = 4 arcsin sin ϕ 0 2 sin β = 4 arcsin sin π 4 J + 6 λ λ 0 π 2 J + 3 + tan π 4 J + 6 Δ 2 λ 0 .
The angle difference d α between α 0 and α is
d α = α 0 α tan π 4 J + 6 Δ 2 λ 0 .
The total rotation angle difference is
D α = ( J + 1 ) d α
( J + 1 ) tan π 4 J + 6 Δ 2 λ 0 .
The angle D α is the overcooked angle C o B or arc C B , shown in Figure 2. We define this overcook as 2 δ :
0 D α ( J + 1 ) tan π 4 J + 6 Δ 2 λ 0 = 2 δ .
We then reduce the number of iterations in order to improve the success rate. The relation between the number of iterations and the error is given by Equation (16). Thus, the reduced number of iterations is
J δ = csc β 2 + 4 π δ csc arcsin λ 0 + Δ 2 + 4 π δ
= 1 2 λ 0 + Δ + 4 π δ = J D
which drives the final state into the interval of arc C B instead of C B , so the success rate of the final search is greater than 1 δ 2 .
The flowchart of our Algorithm 1 is listed as follows:
Algorithm 1 Robust quantum search with uncertain number of targets.
for a given database, just know the lower bound λ 0 and upper bound λ 0 + Δ of λ = M / N , ( λ 0 λ λ 0 + Δ ).
Begin
  • Calculate β = arcsin ( λ 0 )
  • Calculate J = [ ( π / 2 β ) / ( 2 β ) ) ]
  • Calculate ϕ = 2 arcsin sin π 4 J + 6 sin β
  • Calculate δ = ( J + 1 ) tan π 4 J + 6 Δ 4 λ 0
  • Calculate J D = 1 2 λ 0 + Δ + 4 π δ
  • Obtain the search operator:
    I τ = I + e i ϕ 1 | τ τ |
    I 0 = I + e i ϕ 1 | 0 0 |
    Q = H I 0 H I τ
  • Implement the search operator Q on the initial state | ψ i for J + 1 J D times.
  • Make measurement of the final state and one will find out the marked state with the probability greater than 1 δ 2 .
End
Compared with other algorithms, our algorithm maintains quadratic speedup. As shown in Figure 5, our algorithm and Yoder–Low–Chuang algorithm have the same query complexity O 1 / λ as the standard Grover’s algorithm. Under the condition of output success rate greater than 1 δ 2 = 0.96 , our algorithm makes eight queries while the Yoder–Low–Chuang algorithm makes 10 queries and the π / 3 -algorithm makes 160 queries for 1 / λ 0 = 100 . For 1 / λ 0 = 4000 , our algorithm makes 46 queries while the Yoder–Low–Chuang algorithm makes 64 queries and the π / 3 -algorithm makes 6437 queries. For 1 / λ 0 = 10,000, our algorithm makes 72 queries while the Yoder–Low–Chuang algorithm makes 100 queries and the π / 3 -algorithm makes 16,094 queries. Both our algorithm and the Yoder–Low–Chuang algorithm have the same query complexity O 1 / λ as the standard Grover’s algorithm, while the query complexity of π / 3 -algorithm is scaled as 1 / λ .

5. Discussions

In our algorithm, the infimum bound of the success rate is described by Equation (24). The infimum bound of the success rate is related to Δ / λ 0 . In Figure 6, we show the relationship between the lower success rate and the overlap rate at different uncertainty Δ . When the uncertainty is zero, 100 % success rate will be achieved every time, and our algorithm degrades to the standard Grover–Long algorithm. The curve increases sharply with the increase of λ , and the success rate is above 80 % when the uncertainty is double λ . When the uncertainty is the same order as λ , one can still achieve a high success rate, as high as 95 % .
Therefore, our algorithm has a high tolerance to the uncertainty of the ratio λ = M / N . In order to see the performance of the robustness of our algorithm clearly, especially when the overlap λ is small, we provide Figure 7, which shows the relationship between probability and 1 / λ . By taking 1 / λ 0 to infinity, one can see that when Δ equals zero, our algorithm degrades to the original Grover–Long algorithm. For Δ equals to 0.8 λ 0 , the success rate of our algorithm exceeds 97 % , and our algorithm has a success rate of more than 90 % when Δ equals 1.6 λ 0 , and a 78 % success rate when Δ equals 2.4 λ 0 . Even if Δ equals 3.2 λ 0 , our algorithm still has success rates above 60%.
In the worst-case scenario, one knows nothing about the rate M / N . Then, one has to run the quantum counting algorithm to estimate M, which will have an uncertainty M . Our algorithm works well in this case, with a success rate above 96 % and keeping the total O N query complexity as in Grover’s algorithms. After running the quantum counting algorithm, one obtains the ratio with uncertainty, that is M ± M / N . Thus, Δ = λ 0 / M λ 0 . Plugging this value into Equation (24), the result shows that the success rate of this algorithm is higher than 96 % .
Our algorithm can be used as a subroutine in any case where amplitude amplification [8] or Grover search are used [24,25,26,27].
In summary, we propose a robust quantum search algorithm with both the advantage of simple search operators, and high success rate over a wide range of M / N values. Therefore, it provides many potential applications [28,29,30,31,32] in future quantum computing.

Author Contributions

Y.Z. formulated the theory and performed the calculation; Z.W. performed the calculation. All work was carried out under the supervision of S.W. All authors contributed to writing the manuscript. B.Y. was responsible for revising and proofreading articles. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China under Grants No.11974205, and No. 11774197; the National Key Research and Development Program of China (2017YFA0303700); the Key Research and Development Program of Guangdong Province (2018B030325002); Beijing Advanced Innovation Center for Future Chip (ICFC). S.W. also acknowledges the National Natural Science Foundation of China under Grants No. 12005015.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Grover, L.K. A Fast Quantum Mechanical Algorithm for Database Search. In Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing, Philadelphia, PA, USA, 22–24 May 1996; pp. 212–219. [Google Scholar]
  2. Brassard, G.; Høyer, P. An exact quantum polynomial-time algorithm for Simon’s problem. In Proceedings of the Fifth Israeli Symposium on Theory of Computing and Systems, Ramat-Gan, Israel, 17–19 June 1997; pp. 12–23. [Google Scholar]
  3. Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information: 10th Anniversary Edition; Cambridge University Press: Cambridge, UK, 2010. [Google Scholar]
  4. Grover, L.K. Quantum mechanics helps in searching for a needle in a haystack. Phys. Rev. Lett. 1997, 79, 325. [Google Scholar] [CrossRef] [Green Version]
  5. Aharonov, D. Quantum computation. In Annual Reviews of Computational Physics VI; World Scientific: Singapore, 1998; pp. 259–346. [Google Scholar]
  6. Zalka, C. Grover’s quantum searching algorithm is optimal. Phys. Rev. A 1999, 60, 2746–2751. [Google Scholar] [CrossRef] [Green Version]
  7. Hunziker, M.; Meyer, D.A. Quantum algorithms for highly structured search problems. Quantum Inf. Process. 2002, 1, 145–154. [Google Scholar] [CrossRef]
  8. Michele, M. Quantum searching, counting and amplitude amplification by eigenvector analysis. In Proceedings of the Randomized Algorithms, Workshop of Mathematical Foundations of Computer Science, Brno, Czech Republic, 24–28 August 1998; pp. 90–100. [Google Scholar]
  9. Guilu, L.; Weilin, Z.; Yansong, L.; Li, N. Arbitrary phase rotation of the marked state cannot be used for Grover’s quantum search algorithm. Commun. Theoret. Phys. 1999, 32, 335. [Google Scholar] [CrossRef] [Green Version]
  10. Brassard, G.; Høyer, P.; Michele, M.; Tapp, A. Quantum Amplitude Amplification and Estimation. In Quantum Computation and Information, Contemporary Mathematics; American Mathematical Society: Providence, RI, USA, 2002; Volume 305, pp. 53–84. [Google Scholar]
  11. Long, G.L. Grover algorithm with zero theoretical failure rate. Phys. Rev. A 2001, 64, 022307. [Google Scholar] [CrossRef] [Green Version]
  12. Liu, Y. An Exact Quantum Search Algorithm with Arbitrary Database. Int. J. Theor. Phys. 2014, 53, 2571–2578. [Google Scholar] [CrossRef]
  13. Toyama, F.; Van Dijk, W.; Nogami, Y. Quantum search with certainty based on modified Grover algorithms: Optimum choice of parameters. Quantum Inf. Process. 2013, 12, 1897–1914. [Google Scholar] [CrossRef]
  14. Castagnoli, G. Highlighting the Mechanism of the Quantum Speedup by Time-Symmetric and Relational Quantum Mechanics. Found. Phys. 2016, 46, 360–381. [Google Scholar] [CrossRef] [Green Version]
  15. Brassard, G. Searching a quantum phone book. Science 1997, 275, 627–628. [Google Scholar] [CrossRef]
  16. Roget, M.; Guillet, S.; Arrighi, P.; Di Molfetta, G. Grover Search as a Naturally Occurring Phenomenon. Phys. Rev. Lett. 2020, 124, 180501. [Google Scholar] [CrossRef] [PubMed]
  17. Childs, A.M.; Goldstone, J. Spatial search by quantum walk. Phys. Rev. A 2004, 70, 022314. [Google Scholar] [CrossRef] [Green Version]
  18. Portugal, R. Quantum Walks and Search Algorithms; Springer: Cham, Switzerland, 2018. [Google Scholar]
  19. Grover, L.K. Fixed-point quantum search. Phys. Rev. Lett. 2005, 95, 150501. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Yoder, T.J.; Low, G.H.; Chuang, I.L. Fixed-point quantum search with an optimal number of queries. Phys. Rev. Lett. 2014, 113, 210501. [Google Scholar] [CrossRef]
  21. Boyer, M.; Brassard, G.; Høyer, P.; Tapp, A. Tight bounds on quantum searching. Fortsch. Phys. 1998, 46, 493–506. [Google Scholar] [CrossRef] [Green Version]
  22. Brassard, G.; Høyer, P.; Tapp, A. Quantum counting. In International Colloquium on Automata, Languages, and Programming; Springer: Berlin/Heidelberg, Germany, 1998; pp. 820–831. [Google Scholar]
  23. Zhao, L.J.; Li, Y.S.; Hao, L.; Zhou, T.; Long, G.L. Geometric pictures for quantum search algorithms. Quantum Inf. Process. 2012, 11, 325–340. [Google Scholar] [CrossRef]
  24. Ambainis, A. A new protocol and lower bounds for quantum coin flipping. J. Comput. Syst. Sci. 2004, 68, 398–416. [Google Scholar] [CrossRef] [Green Version]
  25. Ozols, M.; Roetteler, M.; Roland, J. Quantum Rejection Sampling. ACM Trans. Comput. Theory 2013, 5, 1–33. [Google Scholar] [CrossRef] [Green Version]
  26. Zhang, Y.; Ni, Q. Recent advances in quantum machine learning. Quantum Eng. 2020, 2, e34. [Google Scholar] [CrossRef] [Green Version]
  27. Brassard, G.; Høyer, P.; Tapp, A. Quantum Algorithm for the Collision Problem. In Encyclopedia of Algorithms; Springer: Boston, MA, USA, 2008; pp. 682–683. [Google Scholar]
  28. Mahmud, N.; El-Araby, E.; Caliga, D. Scaling reconfigurable emulation of quantum algorithms at high precision and high throughput. Quantum Eng. 2019, 1, e19. [Google Scholar] [CrossRef] [Green Version]
  29. Wen, J.; Lv, D.; Yung, M.H.; Long, G.L. Variational Quantum Packaged Deflation for Arbitrary Excited States. Quantum Eng. 2021, e80. [Google Scholar] [CrossRef]
  30. Jin, S.; Wu, S.; Zhou, G.; Li, Y.; Li, L.; Li, B.; Wang, X. A query-based quantum eigensolver. Quantum Eng. 2020, 2, e49. [Google Scholar] [CrossRef]
  31. Gao, H.; Wang, J.; Han, Y.; Sun, J. Enhancing crystal structure prediction by decomposition and evolution schemes based on graph theory. Fundam. Res. 2021, 1, 466–471. [Google Scholar] [CrossRef]
  32. Chang, C.R.; Lin, Y.C.; Chiu, K.L.; Huang, T.W. The Second Quantum Revolution with Quantum Computers. AAPPS Bull. 2020, 30, 9–22. [Google Scholar]
Figure 1. Geometrical description of Grover–Long searching algorithm. During each iteration, the state vector O A ¯ rotates around l with an angle α . After J + 1 times iteration, O A ¯ overlaps with O B ¯ , the target state | τ . In this picture, the probability of finding the marked state is ( z A + 1 ) / 2 [11], where z A is the Z component of point A.
Figure 1. Geometrical description of Grover–Long searching algorithm. During each iteration, the state vector O A ¯ rotates around l with an angle α . After J + 1 times iteration, O A ¯ overlaps with O B ¯ , the target state | τ . In this picture, the probability of finding the marked state is ( z A + 1 ) / 2 [11], where z A is the Z component of point A.
Entropy 23 01649 g001
Figure 2. Error circle in a cone.
Figure 2. Error circle in a cone.
Entropy 23 01649 g002
Figure 3. Geometrical description of quantum searching algorithm. Based on Figure 1, connect points A and B for segment A B ¯ , then take the midpoint E of A B ¯ , and connect points r o , E and E, o.
Figure 3. Geometrical description of quantum searching algorithm. Based on Figure 1, connect points A and B for segment A B ¯ , then take the midpoint E of A B ¯ , and connect points r o , E and E, o.
Entropy 23 01649 g003
Figure 4. A comparison of Grover–Long algorithm with different success rates 1 δ 2 . The query times versus the overlap λ = | τ | s | 2 of the target state | τ with the initial state | s . Grover–Long-100% (blue) for the 100% success rate. Grover–Long-90% (orange) for δ 2 = 0.1 . Grover–Long-80% (green) for δ 2 = 0.2 . Grover–Long-70% (red) for δ 2 = 0.3 . Grover–Long-60% (purple) for δ 2 = 0.4 .
Figure 4. A comparison of Grover–Long algorithm with different success rates 1 δ 2 . The query times versus the overlap λ = | τ | s | 2 of the target state | τ with the initial state | s . Grover–Long-100% (blue) for the 100% success rate. Grover–Long-90% (orange) for δ 2 = 0.1 . Grover–Long-80% (green) for δ 2 = 0.2 . Grover–Long-70% (red) for δ 2 = 0.3 . Grover–Long-60% (purple) for δ 2 = 0.4 .
Entropy 23 01649 g004
Figure 5. Query complexity versus 1 / λ with δ 2 = 0.04 for our algorithm (orange), Yoder–Low–Chuang algorithm (green), the π / 3 -fixed-point algorithm (red), and the origin Grover’s algorithm (blue).
Figure 5. Query complexity versus 1 / λ with δ 2 = 0.04 for our algorithm (orange), Yoder–Low–Chuang algorithm (green), the π / 3 -fixed-point algorithm (red), and the origin Grover’s algorithm (blue).
Entropy 23 01649 g005
Figure 6. The horizontal coordinate of the figure is the proportion λ , and the ordinate is infimum bound of the probability of success. In the figure, we use different colors to mark different deviations of Δ . One can see that when the deviation is zero, the success rate is 100 % each time, which corresponds to the standard Grover–Long algorithm. For the same proportion λ , the smaller the deviation, the higher the success rate.
Figure 6. The horizontal coordinate of the figure is the proportion λ , and the ordinate is infimum bound of the probability of success. In the figure, we use different colors to mark different deviations of Δ . One can see that when the deviation is zero, the success rate is 100 % each time, which corresponds to the standard Grover–Long algorithm. For the same proportion λ , the smaller the deviation, the higher the success rate.
Entropy 23 01649 g006
Figure 7. This figure shows that our algorithm has the robustness for the uncertainty of λ through the relationship between the deviation and the infimum bound of the optimal success rate, where horizontal axis is 1 / λ and vertical axis is success rate, with different color curves representing different deviations.
Figure 7. This figure shows that our algorithm has the robustness for the uncertainty of λ through the relationship between the deviation and the infimum bound of the optimal success rate, where horizontal axis is 1 / λ and vertical axis is success rate, with different color curves representing different deviations.
Entropy 23 01649 g007
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhu, Y.; Wang, Z.; Yan, B.; Wei, S. Robust Quantum Search with Uncertain Number of Target States. Entropy 2021, 23, 1649. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121649

AMA Style

Zhu Y, Wang Z, Yan B, Wei S. Robust Quantum Search with Uncertain Number of Target States. Entropy. 2021; 23(12):1649. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121649

Chicago/Turabian Style

Zhu, Yuanye, Zeguo Wang, Bao Yan, and Shijie Wei. 2021. "Robust Quantum Search with Uncertain Number of Target States" Entropy 23, no. 12: 1649. https://0-doi-org.brum.beds.ac.uk/10.3390/e23121649

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop