Abstract
This work revisits quantum algorithms for the well-known welded tree problem, proposing a succinct quantum algorithm based on the simple coined quantum walks. It iterates the naturally defined coined quantum walk operator for a classically precomputed number of iterations, and measures. The number of iterations is linear in the depth of the tree. The success probability of this procedure is inversely linear in the depth of the tree. Moreover, it is the same for all instances of the problem of a fixed size, therefore, we can use the exact quantum amplitude amplification subroutine to answer with probability 1. This gives an exponential speedup over any classical algorithm for the same problem. The significance of the results may be seen as follows. (i) Our algorithm is rather simple compared with the one in (Jeffery and Zur, STOC’2023), which not only breaks the stereotype that coined quantum walks can only achieve quadratic speedups over classical algorithms, but also demonstrates the power of the simplest quantum walk model. (ii) Our algorithm achieves certainty of success for the first time. Thus, it becomes one of the few examples that exhibit exponential separation between exact quantum and randomized query complexities.









Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Data Availability
No datasets were generated or analysed during the current study.
References
Aharonov, Y., Davidovich, L., Zagury, N.: Quantum random walks. Phys. Rev. A 48, 1687–1690 (1993). https://doi.org/10.1103/PhysRevA.48.1687
Kempe, J.: Quantum random walks: an introductory overview. Contemp. Phys. 44(4), 307–327 (2003). https://doi.org/10.1080/00107151031000110776
Ambainis, A.: Quantum walks and their algorithmic applications. Int. J. Quantum Inform. 01(04), 507–518 (2003). https://doi.org/10.1142/S0219749903000383
Venegas-Andraca, S.E.: Quantum walks: a comprehensive review. Quantum Inf. Process. 11(5), 1015–1106 (2012). https://doi.org/10.1007/s11128-012-0432-5
Kadian, K., Garhwal, S., Kumar, A.: Quantum walk and its application domains: a systematic review. Comput. Sci. Rev. 41, 100419 (2021). https://doi.org/10.1016/j.cosrev.2021.100419
Ambainis, A., Bach, E., Nayak, A., Vishwanath, A., Watrous, J.: One-dimensional quantum walks. In: Proceedings of the 33rd ACM Symposium on Theory of Computing, pp. 37–49 (2001). https://doi.org/10.1145/380752.380757
Aharonov, D., Ambainis, A., Kempe, J., Vazirani, U.V.: Quantum walks on graphs. In: Proceedings of the 33rd ACM Symposium on Theory of Computing, pp. 50–59 (2001). https://doi.org/10.1145/380752.380758
Szegedy, M.: Quantum speed-up of markov chain based algorithms. In: 45th Annual IEEE Symposium on Foundations of Computer Science, pp. 32–41 (2004). https://doi.org/10.1109/FOCS.2004.53
Magniez, F., Nayak, A., Roland, J., Santha, M.: Search via quantum walk. SIAM J. Comput. 40(1), 142–164 (2011). https://doi.org/10.1137/090745854
Krovi, H., Magniez, F., Ozols, M., Roland, J.: Quantum walks can find a marked element on any graph. Algorithmica 74(2), 851–907 (2016). https://doi.org/10.1007/s00453-015-9979-8
Belovs, A.: Quantum Walks and Electric Networks (2013). arXiv:1302.3143
Apers, S., Gilyén, A., Jeffery, S.: A Unified Framework of Quantum Walk Search. In: Bläser, M., Monmege, B. (eds.) 38th International Symposium on Theoretical Aspects of Computer Science (STACS 2021). Leibniz International Proceedings in Informatics (LIPIcs), vol. 187, pp. 6–1613. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany (2021). https://doi.org/10.4230/LIPIcs.STACS.2021.6
Ambainis, A.: Quantum walk algorithm for element distinctness. SIAM J. Comput. 37(1), 210–239 (2007). https://doi.org/10.1137/S0097539705447311
Buhrman, H., Spalek, R.: Quantum verification of matrix products. In: Proceedings of the Seventeenth ACM-SIAM Symposium on Discrete Algorithms, pp. 880–889 (2006). https://dl.acm.org/doi/10.5555/1109557.1109654
Magniez, F., Santha, M., Szegedy, M.: Quantum algorithms for the triangle problem. SIAM J. Comput. 37(2), 413–424 (2007). https://doi.org/10.1137/050643684
Jeffery, S., Kothari, R., Magniez, F.: Nested quantum walks with quantum data structures. In: Proceedings of the Twenty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms. SODA ’13, pp. 1474–1485. Society for Industrial and Applied Mathematics, USA (2013). https://doi.org/10.1137/1.9781611973105.106
Gall, F.L.: Improved quantum algorithm for triangle finding via combinatorial arguments. In: 2014 IEEE 55th Annual Symposium on Foundations of Computer Science, pp. 216–225 (2014). https://doi.org/10.1109/FOCS.2014.31
Magniez, F., Nayak, A.: Quantum complexity of testing group commutativity. Algorithmica 48(3), 221–232 (2007). https://doi.org/10.1007/s00453-007-0057-8
Childs, A.M., Cleve, R., Deotto, E., Farhi, E., Gutmann, S., Spielman, D.A.: Exponential algorithmic speedup by a quantum walk. In: Proceedings of the Thirty-Fifth Annual ACM Symposium on Theory of Computing. STOC ’03, pp. 59–68. Association for Computing Machinery, New York (2003). https://doi.org/10.1145/780542.780552
Childs, A.M., Farhi, E., Gutmann, S.: An example of the difference between quantum and classical random walks. Quantum Inf. Process. 1(1), 35–43 (2002). https://doi.org/10.1023/A:1019609420309
Kempe, J.: Quantum Random Walks Hit Exponentially Faster (2002). arXiv:quant-ph/0205083
Jeffery, S., Zur, S.: Multidimensional quantum walks. In: Proceedings of the 55th Annual ACM Symposium on Theory of Computing. STOC 2023, pp. 1125–1130. Association for Computing Machinery, New York (2023). https://doi.org/10.1145/3564246.3585158
Childs, A.M., Wang, D.: Can graph Properties Have Exponential Quantum Speedup? (2020). arXiv:2001.10520
Ben-David, S., Childs, A.M., Gilyén, A., Kretschmer, W., Podder, S., Wang, D.: Symmetries, graph properties, and quantum speedups. In: 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pp. 649–660 (2020). https://doi.org/10.1109/FOCS46700.2020.00066
Brassard, G., Hoyer, P.: An exact quantum polynomial-time algorithm for Simon’s problem. In: Proceedings of the Fifth Israeli Symposium on Theory of Computing and Systems, pp. 12–23 (1997). https://doi.org/10.1109/ISTCS.1997.595153
Ye, Z., Huang, Y., Li, L., Wang, Y.: Query complexity of generalized Simon’s problem. Inf. Comput. 281, 104790 (2021). https://doi.org/10.1016/j.ic.2021.104790
Ide, Y., Konno, N., Segawa, E., Xu, X.-P.: Localization of discrete time quantum walks on the glued trees. Entropy 16(3), 1501–1514 (2014). https://doi.org/10.3390/e16031501
Atia, Y., Chakraborty, S.: Improved upper bounds for the hitting times of quantum walks. Phys. Rev. A 104, 032215 (2021). https://doi.org/10.1103/PhysRevA.104.032215
Gilyén, A., Su, Y., Low, G.H., Wiebe, N.: Quantum singular value transformation and beyond: Exponential improvements for quantum matrix arithmetics. In: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing. STOC 2019, pp. 193–204. Association for Computing Machinery, New York (2019). https://doi.org/10.1145/3313276.3316366
Yoder, T.J., Low, G.H., Chuang, I.L.: Fixed-point quantum search with an optimal number of queries. Phys. Rev. Lett. 113, 210501 (2014). https://doi.org/10.1103/PhysRevLett.113.210501
Fenner, S.A., Zhang, Y.: A note on the classical lower bound for a quantum walk algorithm (2003). arXiv:quant-ph/0312230
Childs, A.M.: On the relationship between continuous-and discrete-time quantum walk. Commun. Math. Phys. 294(2), 581–603 (2010). https://doi.org/10.1007/s00220-009-0930-1
Kitaev, A.Y.: Quantum measurements and the Abelian Stabilizer Problem. arXiv (1995). arXiv:quant-ph/9511026
Bernstein, E., Vazirani, U.: Quantum complexity theory. In: Proceedings of the Twenty-Fifth Annual ACM Symposium on Theory of Computing. STOC ’93, pp. 11–20. Association for Computing Machinery, New York (1993). https://doi.org/10.1145/167088.167097
Long, G.L.: Grover algorithm with zero theoretical failure rate. Phys. Rev. A 64, 022307 (2001). https://doi.org/10.1103/PhysRevA.64.022307
Evolution of the reduced state vector of DTQW on welded tree. https://www.bilibili.com/video/BV1kK411179r/
Jordan, C.: Essai sur la géométrie à \(n\) dimensions. Bull. Soc. Math. France 3, 103–174 (1875)
Li, G., Li, L.: Optimal deterministic quantum algorithm for the promised element distinctness problem. Theoret. Comput. Sci. 999, 114551 (2024). https://doi.org/10.1016/j.tcs.2024.114551
Acknowledgements
We would like to thank Yongzhen Xu and Qingwen Wang for helpful discussions on quantum walk search frameworks. We would also like to thank the reviewers for their valuable suggestions which have improved the presentation of the paper. This work is supported by the National Natural Science Foundation of China (Grant No. 62272492), the Guangdong Provincial Quantum Science Strategic Initiative (Grant No. GDZX2303007), and the Innovation Program for Quantum Science and Technology (No.2021ZD0302901).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This work was originally presented at SODA2024 conference.
Appendices
Implementing \(U_\varphi \) in Lemma 2.1
In this appendix, we will implement the unitary operator \(U_\varphi : {|{u,\perp }\rangle } \mapsto {|{u, \varphi (u)}\rangle }\) in Lemma 2.1. We first introduce five auxiliary registers
where register \(q_i\) consists of 2n qubits storing the query result, register a is a qutrit with state space \({\mathbb {C}}^3=\text {span} \{{|{0}\rangle },{|{1}\rangle },{|{2}\rangle } \}\) used for generating \({|{\varphi (u)}\rangle }\) when u is an internal node, register b is a qudit with state space \({\mathbb {C}}^5=\text {span} \{{|{0}\rangle },\cdots ,{|{4}\rangle } \}\) storing conditions, and register c is a qubit used for generating \({|{\varphi (u)}\rangle }\) when u is one of the roots. Now \(U_\varphi \) can be implemented as follows, where oracle query happens in the first and last step.
-
1.
Query the oracle O on registers \(r_1,q_1,q_2,q_3\) to obtain
$$\begin{aligned} {|{u}\rangle }_{r_1} {|{\perp }\rangle }_{r_2} \bigotimes _{i=1}^{3} {|{\Gamma (u,i)}\rangle }_{q_i}\ {|{0}\rangle }_a {|{0}\rangle }_b {|{0}\rangle }_c. \end{aligned}$$(A2) -
2.
Apply the transformation \({|{q}\rangle }{|{b}\rangle } \mapsto {|{q}\rangle } {|{b+f(q)}\rangle }\) on register \(q:=(q_1,q_2,q_3)\) and b. The function \(f: \{0,1\}^{6n} \rightarrow \{0,\cdots ,4\}\) is defined as: \(f(q)=0\) iff there’s no \(q_i=\perp \), so that u is an internal node; \(f(q)=i\) for \(i=1,2,3\) iff there’s one and only one \(q_i=\perp \), so that \(u \in \{s,t\}\), and the ith register \(q_i\) stores the value \(\perp \); \(f(q)=4\) iff there’s more than one \(q_i=\perp \), so that \(u\notin V(G_n)\). It can be easily seen that calculating f takes O(n) basic operations.
-
3.
Conditioned on \(b=0\), i.e. u is an internal node, apply the following two steps.
-
3.1.
Flip all the qubits of register \(r_2\) so that it’s set to \({|{0^{2n}}\rangle }\). Apply quantum Fourier transform \(QFT_3\) to register a, and then controlled by \({|{i}\rangle }_a,\, i\in \{0,1,2\}\), add (i.e. bit-wise modulo 2 addition) the value of register \(q_{(i+1)}\) to register \(r_2\), obtaining
$$\begin{aligned} {|{u}\rangle }_{r_1} (\frac{1}{\sqrt{3}}\sum _{i=0}^2 {|{\Gamma (u,i+1)}\rangle }_{r_2} {|{i}\rangle }_a)\ \bigotimes _{i=0}^{2} {|{\Gamma (u,i+1)}\rangle }_{q_{(i+1)}} {|{b}\rangle }_b {|{0}\rangle }_c. \end{aligned}$$(A3)This controlled addition can be done in O(n) basic operations.
-
3.2.
Compare \({|{\Gamma (u,i)}\rangle }_{r_2}\) with \({|{\Gamma (u,j)}\rangle }_{q_j}\) for \(j=1,2,3\) and subtract \({|{i}\rangle }_a\) with \((j-1)\), where j is the unique index j such that \({|{\Gamma (u,i)}\rangle }_{r_2}={|{\Gamma (u,j)}\rangle }_{q_j}\), obtaining
$$\begin{aligned} {|{u}\rangle }_{r_1} {|{\varphi (u)}\rangle }_{r_2} \bigotimes _{i=1}^{3} {|{\Gamma (u,i)}\rangle }_{q_{i}}\ {|{0}\rangle }_a {|{b}\rangle }_b {|{0}\rangle }_c. \end{aligned}$$(A4)The uniqueness of the index j can be easily seen from the condition that all of u’s neighbours \(\Gamma (u,i)\) are distinct. This compare (between binary strings) and subtract operation can be done in O(n) basic operations.
-
3.1.
-
4.
Conditioned on \(b\in \{1,2,3\}\), i.e. u is one of the two roots and register \(q_b\) stores \(\perp \), apply the following steps.
-
4.1.
Swap register \(q_b\) and \(q_3\) so that the first two auxiliary registers store the genuine adjacent vertex name of \(u \in \{s,t\}\). The conditioned SWAP operation can be done in O(n) basic operations.
-
4.2.
similar to step 3.1 and 3.2, transform \({|{\perp }\rangle }_{r_2}\) to \({|{\varphi (u)}\rangle }_{r_2}\) with the help of \(H {|{0}\rangle }_c = \frac{1}{\sqrt{2}}({|{0}\rangle }+{|{1}\rangle })\).
-
4.3.
Repeat step 4.1 so that the order of register \(q_i\) is restored, ensuring the success of step 6 and step 7.
-
4.1.
-
5.
Conditioned on \(b = 4\), apply the identity transformation I, since register \(r_1\) already stores \({|{\varphi (u)}\rangle }={|{\perp }\rangle }\) (the three ‘neighbours’ of \(u\notin V(G_n)\) are all \(\perp \)).
-
6.
Similar to step 2, apply the transformation \({|{q}\rangle }{|{b}\rangle } \mapsto {|{q}\rangle }{|{b-f(q)}\rangle }\) to register q, b, where the subtraction is modulo 5. Therefore, register b is recovered to \({|{0}\rangle }_b\).
-
7.
Query the oracle O once more as in step 2, so that all the auxiliary registers are restored to zero.
Thus \(U_\varphi \) can be implemented with 2 oracle queries and O(n) basic operations.
Spectral Decomposition of the Reduced Walk Matrix
In this Appendix, we prove Lemma 4.1 about the spectral decomposition of the reduced coined quantum walk matrix \(M_U = M_S M_C\). The proof is inspired by [27], but we improved it with an easy observation of the relationship between monic and regular Chebyshev polynomial of the second kind (see Eq. (B47)), which allows us to obtain the analytical expression of \(U_k\) shown in Eq. (B48). We will show in detail the complete proof for the sake of completeness and convenience of the readers.
We also expand or improve some of the implicit or complicated steps in [27], and point out a connection with another commonly used technique for analyzing quantum walk operators, i.e. the singular value decomposition, or more precisely, Jordan’s Lemma [37] about common invariant subspaces of two reflection operator, which has been used in Refs. [8, 10, 29, 38].
We first present the following helper Lemma B.1, which is implicit in [27] and similar to [32, Theorem 1], saying that in order to obtain the spectral decomposition of \(M_U = M_S M_C\), we can instead consider the spectral decomposition of the following matrix
Lemma B.1
Consider the quantum walk operator \(U=\textrm{Ref}_B\, \textrm{Ref}_A\), where \(\textrm{Ref}_A = (2A A^\dagger -I)\) and A is a matrix with full column rank satisfying \(A^\dagger A =I\). Let
where \(\Vert {|{v}\rangle }\Vert ^2=1\). If
Then, when \(\left| \lambda \right| < 1\), we have
where \({|{u_{\pm }}\rangle }:= {|{a}\rangle } -e^{\pm i\varphi } {|{b}\rangle }\), \(\varphi := \arccos \lambda \), and \(\Vert {|{u_{\pm }}\rangle }\Vert ^2 =2(1-\lambda ^2)\). And when \(\lambda = \pm 1\), we have
Proof
We first consider the case when \( \left| \lambda \right| < 1 \). From Eq. (B6) we know
From Eq. (B7) we know
Therefore, \(\textrm{span} \{{|{a}\rangle },{|{b}\rangle }\}\) is an invariant subspace of U, and U takes the following matrix form:
Let \(\lambda =\cos \varphi \), then we obtain the eigenvalues and eigenvectors of L: \(e^{\pm i\varphi }\) and \([1,-e^{\pm i\varphi }]^T\). This can be verified by the following identities:
Therefore, we obtain two eigenvalues \(e^{\pm i\varphi }\) of U and their respective eigenvectors \({|{u_{\pm }}\rangle }:={|{a}\rangle } -e^{\pm i\varphi } {|{b}\rangle }\). We now calculate the square of its norm:
The second line follows from \({\langle {a|b}\rangle }={\langle {v}|} A^\dagger \text {Ref}_B A {|{v}\rangle } =\lambda \) and the fact that \(A^\dagger \text {Ref}_B A\) is Hermitian whose eigenvalue \(\lambda \) is a real number.
We now consider the case when \(\lambda = \pm 1\). From Eq. (B7), we know \({\langle {v}|} A^\dagger \textrm{Ref}_B A {|{v}\rangle } = \pm 1\), and thus \(\textrm{Ref}_B A {|{v}\rangle } = \pm A {|{v}\rangle }\). Therefore,
\(\square \)
Remark B.1
Suppose \(\textrm{Ref}_B = 2BB^\dagger -I\). Let \(D:=A^\dagger B\), and consider its singular value decomposition \(\sum _i s_i {|{v_i}\rangle } {\langle {w_i}|}\), which is a common approach in Refs. [8, 10, 29, 38]. Then the connection between the eigenvalue \(\lambda \) of \(A^\dagger \, \textrm{Ref}_B\, A\) and the singular value s of D is:
Proof
Since \(DD^\dagger {|{v_i}\rangle } =s_i^2 {|{v_i}\rangle }\), we have
Therefore,
From the identity \( \frac{\cos \phi _i +1}{2} = \cos ^2\frac{\phi _i}{2} \), we obtain Eq.(B28). \(\square \)
We now analyze the eigenvalues and eigenvectors of \(J_{2n}=A^\dagger M_S A\). First, we will need the matrix expression of \(J_{2n}\). Recall from Eq. (36) that the \(2(2n+1)\times 2(n+1)\) matrix A is as follows:
Since \(M_S\) swaps two adjacent rows (columns), the \({2(n+1)\times 2(2n+1)}\) matrix \(A^\dagger M_S\) is as follows:
Thus \(J_{2n}\) is a \({2(n+1)\times 2(n+1)}\) tridiagonal matrix as shown below:
I. Eigenvalues of \(J_{2n}\)
Denote by \(|M|:= \det (M) \) the determinant of matrix M. We will calculate the characteristic equation \(p(\lambda ):=|\lambda I -J_{2n}|\) of \(J_{2n}\) as shown below:
We first introduce the following two principal submatrices. Here, we use the notation \(J_{2n}[l:k]\) to represent the main sub-matrix of \(J_{2n}\) formed by the rows and the columns with indices from l to k.
Then we have the following recursive relations:
where the first two terms are \(|F_1|=\lambda ,\ |F_0|:=1\) and \( |E_1|=\lambda ,\ |E_0|:=1\). Here, Eq. (B40) is obtained by expanding \(|E_k|\) from its lower right corner, while Eq. (B41) is obtained by expanding \(|E_k|\) from its upper left corner. Equation (B42) can be obtained by expanding \(|F_k|\) from either from its upper left corner or its lower right corner. Dividing all the elements in \(F_{k}\) by \(\sqrt{pq}\) and denoting
Eq. (B42) is now transformed to \(U_k(\lambda /\sqrt{pq}) =\lambda /\sqrt{pq}\, U_{k-1}(\lambda /\sqrt{pq}) -U_{k-2}(\lambda /\sqrt{pq})\). If we let \(x:=\frac{\lambda }{\sqrt{pq}}\), then Eq. (B42) further simplifies to
Comparing the above equations with the recurrence relation of Chebyshev polynomial of the second kind:
we know:
From the general formula \({\tilde{U}}_k(\cos \theta ) = \frac{\sin (k+1)\theta }{\sin \theta }\), we let \(\theta \) be such that it satisfies \(\cos \theta := x/2 = \frac{\lambda }{2\sqrt{pq}}\). Therefore,
We now calculate \(p(\lambda ) = |\lambda I -J_{2n}|\) (Eq. (B36)) by expanding its \((n+1)\)-th row as follows. Denote by \(E_{k}' = \lambda I -J_{2n}[2n+2-k+1:2n+2]\) the last k rows and columns of \(\lambda I -J_{2n}\). It is easy to see that \(|E_k'|=|E_k|\) from the centrosymmetry of \(J_{2n}\).
Note that when choosing \(-q\) as the pivot to expand the first determinant in Eq. (B49), the following sub-determinant is zero.
This is because the first n rows are rank deficient as there are only \(n-1\) columns with non zero elements. The same reasoning applies to expanding the third determinant in Eq. (B49). The third line (Eq. (B51)) uses Eq. (B40) to further expand \(|E_{n+1}|\).
We can further simplify the two components of \(p(\lambda )\) in Eq. (B52) by using Eqs. (B40), (B41), (B42) to expand until \(|F_{n-1}|,\ |F_{n-2}|\):
Using Eq. (B43), we now obtain the eigenvalues of \(J_{2n}\): \(\pm 1\) and \(\lambda _{\pm k}:= 2\sqrt{pq} \cos \theta _{\pm k}\), where \(\lambda _{\pm k}\) are the 2n roots of the following equation:
Combined with \(U_{k}(\lambda /\sqrt{pq}) = \frac{\sin (k+1)\theta }{\sin \theta }\) shown by Eq. (B48), we obtain Eq. (41) in Lemma 4.1. It can also be seen that when \(\theta _{k}\) corresponds to a root with ‘\(+\)’, then \(\theta _{-k}:= \pi -\theta _k\) corresponds to a root with ‘−’, thus \(\lambda _{-k} = -\lambda _k\).
II. Eigenvectors of \(J_{2n}\)
We now consider the eigenvectors of \(J_{2n}\). Using Eqs. (B39), (B40), and “\((\lambda _{\pm k} \mp q) |E_n| -pq |E_{n-1}| = 0\)” by Eq. (B54), it is not difficult to verify that the respective (unnormalized) eigenvector \({|{v_{\pm k}}\rangle }\) (which satisfies \((\lambda I -J_{2n}) {|{v_{\pm k}}\rangle }=0\), cf. Equation (B36) for \(\lambda I -J_{2n}\)) is
Where \((*)\) can be deduced from centrosymmetry. Combined with the relation of the sub-determinant \(|E_k|\), \(|F_k|\) shown in Eqs. (B41), (B42), the components and the square of the norm of the eigenvector \({|{v_{\pm k}}\rangle }\) can be calculated as follows.
1. \(\lambda =\pm 1\)
Since \(\lambda ^2 =1\), we have
Thus we know the difference between every other term, i.e. \(|F_k|-p^2 |F_{k-2}|\), is a power series. Therefore,
The second line follows from substituting \(q=1-p\) into Eq. (B42) and rearranging the terms. Thus the \((i+1)\)-th component of \({|{v_{\pm 1}}\rangle }\) is
which corresponds to Eqs. (38), (39) in Lemma 4.1. Hence, the square of the norm of \({|{v_{\pm 1}}\rangle }\) is:
which is Eq. (40) in Lemma 4.1.
2. \(\lambda _{\pm k}\) for \(k\in \{2,\dots ,n+1\}\)
The \((i+1)\)-th component of \({|{v_{\pm k}}\rangle }\) can be calculated as follows, where we omit the subscript “\(\pm k\)” for simplicity.
which corresponds to Eqs. (46), (47) in Lemma 4.1, and the next Eq. (48) follows from Eq. (B48).
We now consider \(\Vert {|{v_\lambda }\rangle } \Vert ^2\). We first calculate the square of the \((i+1)\)-th component. For simplicity we denote \(U_{i}(\lambda /\sqrt{pq})\) by \(U_i\) in the following.
The second line is obtained by squaring both sides of the relation \(U_i = \frac{\lambda }{\sqrt{pq}} U_{i-1} -U_{i-2}\) which follows from Eq. (B45). In order to make the relation true for \(i\ge 1\), we set \(U_{-1}:=0\). Then, using the identity \(p/q -\lambda ^2/q +1 =(1-\lambda ^2)/q\), we have
The third line uses Eq. (B61) satisfied by the eigenvalue \(\lambda \). From the trigonometric expression of \(U_i\) (Eq. (B48)), we have
Hence combined with \(\Vert {|{u}\rangle }\Vert ^2 =2(1-\lambda ^2)\) in Lemma B.1 and the identity \(\theta _{-k} =\pi -\theta _k\), we obtain Eq. (49) in Lemma 4.1. Note that the last line above uses Eq. (41) satisfied by \(\theta \). The third line uses the identity obtained from comparing the real part of the following identities:
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Li, G., Li, L. & Luo, J. Recovering the Original Simplicity: Succinct and Exact Quantum Algorithm for the Welded Tree Problem. Algorithmica 86, 3719–3758 (2024). https://doi.org/10.1007/s00453-024-01273-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-024-01273-w