[1,2]\fnmPedro H. G. \surLugão \equalcontThese authors contributed equally to this work.
These authors contributed equally to this work.
[1]\orgnameNational Laboratory of Scientific Computing - LNCC, \orgaddress\streetAv. Getúlio Vargas, \cityPetrópolis, \postcode25651-075, \stateRJ, \countryBrazil
2]\orgnameUniversidade Federal de Juiz de Fora - UFJF, \orgaddress\streetRua José Lourenço Kelmer, \cityJuiz de Fora, \postcode36036-900, \stateMG, \countryBrazil
Quantum search by continuous-time quantum walk on -designs
Abstract
This work examines the time complexity of quantum search algorithms on combinatorial -designs with multiple marked elements using the continuous-time quantum walk. Through a detailed exploration of -designs and their incidence matrices, we identify a subset of bipartite graphs that are conducive to success compared to random-walk-based search algorithms. These graphs have adjacency matrices with eigenvalues and eigenvectors that can be determined algebraically and are also suitable for analysis in the multiple-marked vertex scenario. We show that the continuous-time quantum walk on certain symmetric -designs achieves an optimal running time of , where is the number of points and blocks, even when accounting for an arbitrary number of marked elements. Upon examining two primary configurations of marked elements distributions, we observe that the success probability is consistently , but it approaches 1 asymptotically in certain scenarios.
keywords:
Quantum walks, Quantum search, -designs, Bipartite graphs1 Introduction
Continuous-time quantum walk, a quantum analog of the continuous-time Markov chain, is a dynamic paradigm that is crucial to quantum computation and information processing [1]. They are powerful computational procedures that encompass the non-classical properties of quantum systems, enabling them to explore superposition and entanglement with a straightforward formalism. Continuous-time quantum walk and the alternative versions in discrete-time are invaluable tools in constructing quantum search algorithms, where they can perform searches over graphs faster than their classical counterparts [2]. This speedup underlies their advantage in finding solutions to various optimization problems [3]. Furthermore, quantum walks offer a robust mechanism for simulating complex quantum physical systems, enabling the understanding and prediction of the behavior of quantum particles in various environments [4].
The fundamental concept behind a quantum walk-based search algorithm involves initializing a quantum walker at a state that is easily prepared, and then allowing it to evolve according to a standard quantum walk operator, which is modified by an oracle that identifies the locations of the marked vertices. When the quantum walk operator is aptly designed, the quantum walker will not only reach the marked vertex eventually but also display a significant probability of being found at one of the marked vertices. Indeed, the efficiency of a quantum walk-based search algorithm is determined by both the runtime and the success probability [5].
Given the current progress in quantum computing, it becomes compelling to explore quantum search algorithms on classes of graphs, as opposed to individual graphs, and to determine the time complexity of these algorithms relative to the number of vertices. Historically, the class of complete graphs was the first to undergo analysis. In this context, quantum-walk-based search mirrors the function of Grover’s algorithm [6]. Quantum search by continuous-time quantum walk on certain specific graph classes is analyzed in [2, 7, 8]. The fascinating interplay between quantum computation and combinatorial graph theory persistently unveils geometrical structures that hold potential for devising new quantum algorithms.
One structure in combinatorial mathematics is the block design [9, 10]. It refers to an incidence structure comprising a set of points and a selection of subset families, termed blocks. The points within these blocks are chosen to meet specific frequency conditions. This meticulous selection ensures that the entire collection of blocks exhibits a sense of symmetry, often termed “balance”. In the absence of additional context, the term “block design” is typically interpreted as a balanced incomplete block design or, equivalently, a 2-design. Historically, this specific type has been extensively researched due to its pivotal role in experimental design, coding theory, cryptography, and software testing [11]. Such applications may also be influential in the quantum realm, making it intriguing to examine the relationship between -designs and quantum algorithms from a theoretical standpoint. A more generalized version of this concept is the -design, which is the structure of our interest.
While our primary focus in this paper lies on combinatorial -designs, it’s worth noting the intriguing extension of these designs into the realm of quantum mechanics, known as quantum -designs [12]. In the context of quantum information theory, a set of quantum states forms a quantum -design if the average of certain quantum operations, specifically those expressible as polynomials of degree or less in the entries of a density matrix, over this set mirrors that of the entire space of quantum states (according to the Haar measure). Essentially, quantum -designs offer a compact and representative subset of quantum states, capturing the statistical properties of random quantum states up to the -th moment. These designs have found applications in quantum algorithms [13] and quantum error correction [14].
Turning our attention back to the concept of combinatorial -designs, the incidence matrix of a -design enumerates the repetitions of each point within every block. As the incidence matrix constitutes a bipartite graph [15], a continuous-time quantum walk on a -design is synonymous with a walk on its corresponding bipartite graph. Apart from the complete bipartite graph, there are limited results in existing literature that establish the time complexity of search algorithms on bipartite graphs. To our best understanding, none of these address scenarios involving multiple marked cases in the continuous-time model. Indeed, quantum-walk-based search algorithms have a rich history in the single-marked case, beginning with the foundational paper by Shenvi et al. [16] and Childs&Goldstone [2] on searching for a single marked vertex on hypercubes and other graphs. However, the focus has recently shifted to the multiple-marked case [17, 18, 19, 20, 21].
The primary goal of this work is to determine the time complexity of quantum search algorithms on -designs with multiple marked elements (points or blocks) using the continuous-time quantum walk. Such effort helps in discerning the time complexity of quantum search on bipartite graphs, a notably challenging problem. Our focus lies in pinpointing specific subsets of bipartite graphs that are most conducive to producing successful results. Ideally, these graphs would have adjacency matrices with determinable eigenvalues and eigenvectors in algebraic terms, underlining their suitability for evaluating the time complexity in the multiple-marked vertex context. We use -designs to identify such a significant subset of bipartite graphs. Our findings indicate that the optimal running time of a continuous-time quantum walk on certain symmetric -designs is , where stands for the number of points and blocks, even when accounting for an arbitrary number of marked elements. We assess two configurations: in the first, all marked elements are situated in one part of the bipartite graph, meaning that all of them are points or all of them are blocks; in the second, the marked elements are evenly distributed between the two parts. The probability of success remains consistently across both setups, but it approaches 1 in particular scenarios.
This paper is organized as follows. In Section 2, we derive the spectral decomposition of symmetric -designs. In Section 3, we first determine the time complexity of a quantum search using a continuous-time quantum walk on symmetric -designs, beginning with the single-marked case. We then address the two-marked case, and subsequently, build up to the multiple-marked scenario. We conclude our discussion in Section 4, where we present our final thoughts and conclusions.
2 Spectral decomposition of symmetric t-designs
Let be a finite set of elements called points. Let and be positive integers. The definition of a -design, which includes the balanced incomplete block design (2-design) is as follows.
Definition 1 (-design).
Given a set of elements (called points) and any positive integer , assuming that , a --design is a class of -subsets of , called blocks, such that every point in appears in exactly blocks, and every -subset appears in exactly blocks.
Let us define
for . Note that and represents the number of blocks that contain any -set of points.
The number of blocks in a -design is given by
Number is given by
Any --design is also an --design for any satisfying [9]. It should be observed that the value changes as described above and is dependent on . It follows that every -design with is also a 2-design. Besides, the number of blocks that contain any -subset of in a -design is independent of the choice of the subset for . The term block design by itself usually means a 2-design. Given numbers , , , and , it is no easy task to find examples of --designs.
Let be a -design with parameters and its incidence graph. By definition, is a -biregular bipartite graph [15]. The adjacency matrix of is
(1) |
where is a incidence matrix.
Theorem 1.
Let be a symmetric -design (i.e., and ). Then, the eigenvalues of the adjacency matrix of are and the spectral idempotents are
(2) | ||||
(3) | ||||
(4) | ||||
(5) |
where and is a matrix of ones.
Proof.
To proof this theorem, it suffices to show that {} is a set of orthogonal projectors obeying the completeness relation and that the spectral decomposition of is
(6) |
The following equations are valid identities:
-
1.
-
2.
-
3.
-
4.
-
5.
-
6.
-
7.
Using Identities (1)-(6), we show that and . Using additionally Identity (7), we show that these projectors are pairwise orthogonal. Summing the matrices we can see that . Finally using the definition of we check that Equation (6) is valid, which concludes the demonstration. ∎
3 Quantum search
Quantum search by continuous-time quantum walk on a graph with adjacency matrix is driven by a Hamiltonian , whose expression is
where is a positive parameter and represents the set of marked vertices [2]. The evolution operator is given by
and the state of the walk at time is , where denotes the initial state. The probability of finding the walker on vertex at time is . For our initial state, we assume an unbiased uniform superposition. Our goals include (1) determining the optimal running time of the search algorithm as a function of the parameters of the -design, and (2) determining its success probability, which is .
Now, let’s assess the time complexity of a quantum search using a continuous-time quantum walk on symmetric -designs. We will begin our analysis with -designs that contain a single marked vertex. Specifically, , where 0 stands for the label of a point or a block.
3.1 Single marked vertex
Assuming that the -design is symmetric and contains only one marked vertex, labeled 0, we next consider as the list of eigenvalues of the -design, ordered from highest to lowest.
Now, take into consideration that the evolution operator is , where , the optimal value for along with its corresponding optimal hitting time are provided by
where . Using that and , we obtain
Given that the number of vertices, , equals , it follows that the optimal time is on the order of . To complete the time complexity analysis, we must calculate the success probability, which is
It’s interesting to note that, if the bipartite graph is complete, then . As a result, the success probability becomes and the optimal running time is . These are the expected results for a complete bipartite graph as shown in [25].
While Theorem 1 doesn’t apply to complete graphs due to an indeterminacy in when (since it implies ), it is indeed a compelling result that the final asymptotic behavior aligns with the theory as approaches . As we increase the number of marked vertices, we may or may not observe this same correspondence.
3.2 Multiple marked vertices
Adhering to the methodology presented in [19] for multiple marked vertices, where is the set of marked vertices, our interest remains focused on only two eigenvalues of the Hamiltonian, which are given by
(7) |
The extension of the one-marked case to the multiple-marked case for the computation of these two eigenvalues implies that we must solve the equation
(8) |
where is a matrix defined as
(9) |
By combining Equations (9) and (7), we derive an expression for , denoted as , accurate up to the second order in , which is
(10) |
where
(11) |
and
(12) |
Despite this modification, Equation (8) remains challenging to compute for a general case. Therefore, we confine our analysis to certain specific cases where the determinant can be more readily managed.
Two-marked vertices
We now proceed to analyze the two-marked case to aid in the computation of the more challenging multiple-marked case. Since we only have two marked vertices, is a matrix. Although the determinant is straightforward to compute, it’s important to note that with can have different expressions depending on the location and relation between the marked vertices, as determined by the values of and . Thus, even with just two marked vertices, we must consider three different cases to exhaust all possibilities using that the bipartite graph has two parts and .
Case 1: and adjacent
In the scenario that and belong to different parts but they are adjacent, we have
Given that is a symmetric matrix, we find that
Term is the eigenvalue of associated with the uniform eigenvector. The correct values for are obtained equating this term to zero. We select such that
with chosen in a manner such that , leading us to two symmetrical roots. This approach yields
(13) |
and
(14) |
By applying the formulas for the two-marked case as outlined in [19], we obtain
and
Case 2: and are non-adjacent and belong to different parts
In this scenario, we have
This minor difference in the scenario results in a different value
(15) |
and in a simpler
(16) |
With those new expressions, we have
and
Case 3: and are in the same part
This is the simplest scenario ( or ) , since the sums are
Then, we obtain
(17) |
and
(18) |
which is the same first-order expression of Case 2. The expression for the optimal running time and success probability are
and
which are the same first-order expressions of Case 2.
All marked vertices are in the same part
To generalize this analysis, we restrict our attention to the case where there are marked vertices in one of the parts of the bipartite graph. This is the only situation where all vertices are related in the same way (as described in the previous subsection), allowing us to fully compute the determinant of the matrix.
The key concept here is that is the same for every pair in the same part ( or ). This fact can be verified by noting that the sums considered in the previous section only depend on the relation between the two vertices, not their position. Consequently, because every pair shares the same relation, we obtain an matrix in the following form
whose determinant is . This can be easily checked noting that is a -eigenvector and that , giving us an -eigenspace of dimension .
Let’s recall that and , with . Our goal is to find a root for the determinant, so we can either take as a root of or a root of . Our calculations show that the which serves as the root of does not follow the format of Equation (7) (as it can be readily resolved by canceling some terms). Therefore, we limit our search to the described by Equation (7) that serves as the root of . More specifically, we deal with
Then, we can proceed in the same way as before, deriving such that and from the final quadratic expression
The expressions for and still derive from the formulas provided by [19]. As the calculations in the cited paper primarily focus on the two marked cases, and we have already used its final formulas in the previous subsection, we will now elaborate on these expressions in more detail. We start by observing that [19] provides us with an expression for the probability of locating a marked vertex as a function of time, following certain assumptions (which we have also considered). The expression is as follows
(19) |
which implies that , giving us
(20) |
The success probability is
(21) |
First, we need to find each , taking note that the definition of in [19] establishes that the vector with as its coordinates is a 0-eigenvector. Based on our choice of , we have as a 0-eigenvector. This is a multiple of the desired vector, and it already demonstrates that for every pair . We find a correction factor , which is provided in [19] and it follows that:
Knowing this term, we can also calculate
Substituting all the calculated terms in Equation (21) finally yields
(22) |
More general cases
Another potential generalization is the scenario where the subgraph induced by the marked vertices is regular with parts of equal size. Although calculating the determinant remains a challenging task in this case, we can leverage the fact that the sum of all rows is the same. Consequently, we can work with the eigenvector consisting entirely of ones and find the value that results in a zero eigenvalue.
Let represent the number of marked vertices in each part of the bipartite graph, and let denote the number of marked vertices each marked vertex is connected to. Additionally, let us define as when and are adjacent, as the expression when they are in different parts and non-adjacent, and as the expression for vertices in the same part. Then, the sum of each row in will be equal to
It is the eigenvalue associated with vector . We wish to reduce this eigenvalue to zero. We employ the same strategy of multiplying the expression by , identifying the that cancels out the linear term, and then calculating the values of . We obtain
From this, we can directly derive
(23) |
In the preceding equation, it’s worth noting that we can revert to the expression for two marked vertices in separate parts () in both the adjacent () and non-adjacent () cases. The scenario where the two marked vertices are within the same part constitutes a subcase of the discussion from the prior subsection.
To calculate the success probability, we follow the method used in the previous subsection calculating and to obtain
In every case we analyzed, it’s evident that the primary factor affecting the success probability is independent of both the number of vertices and the number of marked vertices. In every instance, when we enhance the degree of the graph and the number of nodes , the probability approaches 1. It’s also crucial to highlight that in the final scenario, where the marked vertices are connected, the success probability rises in proportion to the degree of connectivity among the marked vertices. Here, represents the degree of the induced subgraph.
Given that the success probability is , our main concern becomes determining the optimal number of steps to infer the time complexity of the search algorithm. While the optimal time is , Equations (20) and (23) elucidate how the number of marked vertices and their connectivity (expressed by ) can reduce the algorithm’s runtime.
A notable point concerning in Equation (23), particularly in cases where each part of the bipartite graph features marked vertices, emerges as follows: When , we have the option to choose a set of marked vertices inducing a complete bipartite subgraph, where . This implies that each marked vertex connects to the marked vertices in the opposing part. Under these conditions, , assuming stays below a certain fixed . Such behavior is not common in quantum searches that involve multiple marked vertices.
4 Final remarks
In this work, we investigated quantum search algorithms on bipartite graphs using continuous-time quantum walks, with a particular focus on the significance of combinatorial -designs. We determined the eigenvalues and eigenvectors of symmetric -designs. By carefully analyzing these designs and their incidence matrices, we identified a subset with symmetries that are particularly useful for determining the time complexity in scenarios with multiple marked vertices. Our findings highlight the effectiveness of the continuous-time quantum walk on certain symmetric -designs. We show that these designs can achieve a running time of , where is the number of vertices in the corresponding bipartite graph, regardless of the number of marked vertices. Additionally, the success probability remains consistently , but it converges to unity in certain cases. These results are among the first to study multiple marked elements on complex geometric structures where the time complexity of spatial search algorithms can be analytically derived using the continuous-time model.
This work deepens our understanding of the relationship between quantum walks and combinatorial graph theory, especially within the context of symmetrical -designs. Additionally, it aids in paving the path for analytically determining the time complexity of quantum-walk-based search algorithms on bipartite graphs with multiple marked vertices, a notably challenging task in the continuous-time scenario. Anticipated future research offers the prospect of more comprehensive results, potentially broadening the relevance of non-symmetric -designs in quantum search algorithms.
Conflict of interest
The authors declare that there is no conflict of interest.
Data availability
All data generated or analyzed during this study are included in this published article.
Acknowledgements
We are indebted to Chris Godsil and Qiuting Chen for their insightful discussions, which significantly contributed to the formulation of Theorem 1 [26]. The work of P. Lugão was supported by CNPq grant number 140897/2020-8, and FAPERJ grant number E-26/202.351/2022. The work of R. Portugal was supported by FAPERJ grant number CNE E-26/200.954/2022, and CNPq grant numbers 308923/2019-7 and 409552/2022-4. The authors have no competing interests to declare that are relevant to the content of this article.
References
- [1] E. Farhi and S. Gutmann. Quantum computation and decision trees. Phys. Rev. A, 58:915–928, 1998.
- [2] A. M. Childs and J. Goldstone. Spatial search by quantum walk. Phys. Rev. A, 70:022314, 2004.
- [3] S. Marsh and J. B. Wang. Combinatorial optimization via highly efficient quantum walks. Phys. Rev. Res., 2:023302, 2020.
- [4] Karuna Kadian, Sunita Garhwal, and Ajay Kumar. Quantum walk and its application domains: A systematic review. Computer Science Review, 41:100419, 2021.
- [5] R. Portugal. Quantum Walks and Search Algorithms. Springer, Cham, 2nd edition, 2018.
- [6] L. K. Grover. Quantum mechanics helps in searching for a needle in a haystack. Phys. Rev. Lett., 79(2):325–328, 1997.
- [7] P. Philipp, L. Tarrataca, and S. Boettcher. Continuous-time quantum search on balanced trees. Phys. Rev. A, 93:032305, 2016.
- [8] Hajime Tanaka, Mohamed Sabri, and Renato Portugal. Spatial search on johnson graphs by continuous-time quantum walk. Quantum Information Processing, 21(2):74, 2022.
- [9] Douglas R. Stinson. Combinatorial Designs: Constructions and Analysis. Springer, New York, 2004.
- [10] Thomas Beth, Dieter Jungnickel, and Hanfried Lenz. Design Theory, volume 1. Cambridge University Press, Cambridge, UK, second edition, 1999.
- [11] O. S. Rothaus. On “bent” functions. Journal of Combinatorial Theory, Series A, 20(3):300–305, 1976.
- [12] Christoph Dankert, Richard Cleve, Joseph Emerson, and Etera Livine. Exact and approximate unitary 2-designs and their application to fidelity estimation. Phys. Rev. A, 80:012304, 2009.
- [13] Andris Ambainis and Joseph Emerson. Quantum t-designs: t-wise independence in the quantum world. In Twenty-Second Annual IEEE Conference on Computational Complexity (CCC’07), pages 129–140, 2007.
- [14] Joseph Emerson, Robert Alicki, and Karol Życzkowski. Scalable noise estimation with random unitary operators. Journal of Optics B: Quantum and Semiclassical Optics, 7(10):S347, 2005.
- [15] C. Godsil and G. F. Royle. Algebraic Graph Theory, volume 207 of Graduate Texts in Mathematics. volume 207 of Graduate Texts in Mathematics. Springer, New York, 2001.
- [16] N. Shenvi, J. Kempe, and K. B. Whaley. A quantum random walk search algorithm. Phys. Rev. A, 67(5):052307, 2003.
- [17] Thomas G. Wong. Spatial search by continuous-time quantum walk with multiple marked vertices. Quantum Information Processing, 15(4):1411–1443, 2016.
- [18] G. A. Bezerra, P. H. G. Lugão, and R. Portugal. Quantum-walk-based search algorithms with multiple marked vertices. Phys. Rev. A, 103:062202, 2021.
- [19] P. H. G. Lugão, R. Portugal, M. Sabri, and H. Tanaka. Multimarked spatial search by continuous-time quantum walk. arXiv:2203.14384, 2022.
- [20] Simon Apers, Shantanav Chakraborty, Leonardo Novo, and Jérémie Roland. Quadratic speedup for spatial search by continuous-time quantum walk. Phys. Rev. Lett., 129:160502, 2022.
- [21] Mathieu Roget, Hachem Kadri, and Giuseppe Di Molfetta. Optimality conditions for spatial search with multiple marked vertices. Phys. Rev. Res., 5:033021, 2023.
- [22] S. Chakraborty, L. Novo, and J. Roland. Optimality of spatial search via continuous-time quantum walks. Phys. Rev. A, 102:032214, 2020.
- [23] A. Chan, C. D. Godsil, C. Tamon, and W. Xie. Of shadows and gaps in spatial search. Quantum Inf. Comput., 22(13&14):1110–1131, 2022.
- [24] C. F. Teixeira da Silva, D. Posner, and R. Portugal. Walking on vertices and edges by continuous-time quantum walk. Quantum Information Processing, 22(2):93, Jan 2023.
- [25] Renato Portugal and Jalil Khatibi Moqadam. Implementation of continuous-time quantum walks on quantum computers. ArXiv:2212.08889, 2022.
- [26] Qiuting Chen. PhD thesis, University of Waterloo, https://uwspace.uwaterloo.ca/handle/10012/19958.