999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

A quantum algorithm for Toeplitz matrix-vector multiplication

2023-11-02 08:08:32ShangGao高尚andYuGuangYang楊宇光
Chinese Physics B 2023年10期

Shang Gao(高尚) and Yu-Guang Yang(楊宇光)

Faculty of Information Technology,Beijing University of Technology,Beijing 100124,China

Keywords: quantum algorithm,Toeplitz matrix-vector multiplication,circulant matrix

1.Introduction

Quantum computing has demonstrated its superior performance in solving certain computing problems,such as factoring large numbers[1]and unstructured database searching.[2]In the era of big data,machine learning methods have become increasingly important,but their computational complexity remains high.Due to the high efficiency of quantum computing, increasing numbers of researchers have devoted themselves to the new research field of quantum machine learning(QML)in recent years,hoping to accelerate classical machine learning algorithms with the help of the superposition and entanglement in quantum systems.Representative QML algorithms include positive semidefinite programming,[3]solving linear equations,[4]clustering,[5,6]topology analysis,[7]principal component analysis,[8,9]support vector machines,[10]association rule mining,[11]dimensionality reduction,[12,13]recommendation systems,[14,39]visual tracking,[15,16]the advanced encryption standard,[17]etc.

Toeplitz matrix-vector multiplication is widely used in the fields of optimal control,[18]systolic finite field multipliers,[19]and multidimensional convolution,[20]and thus it has become a hot topic.[18-29]Generally speaking, the Toeplitz matrix is obtained by discretizing a continuous function,and its dimension is connected to the discretization grid parameter.In other words, the Toeplitz matrix can be generated where its diagonal elements are the Fourier transform coefficients of the generating function.Moreover,in practice,the dimensionality of Toeplitz matrices is usually very large; thus,processing them is computationally expensive.Therefore, it is necessary to explore more efficient algorithms to compute matrix-vector products.Wanet al.[30,31]proposed an asymptotic quantum algorithm and a block-encoding-based algorithm,respectively.Although their tasks are to solve the Toeplitz system,they can also be naturally applied to the multiplication of the Toeplitz matrix and vector.However, these algorithms are either inaccurate or depend on theL1-normρof the displacement of the structured matrices(this parameter may be a large value).To solve this problem, in this paper, we will present a nonasymptotic and efficient (independent ofρ) quantum algorithm for Toeplitz matrix-vector multiplication.

The rest of this paper is organized as follows.In Section 2,we review the classical Toeplitz matrix-vector multiplication.Then,we describe the details of the proposed quantum algorithm in Sections 3 and 4.In Section 5,the error and runtime analyses of the proposed quantum algorithm are given.In Section 6,we make a comparison between the proposed quantum algorithm and other existing algorithms.The conclusion is given in Section 7.

2.Classical Toeplitz matrix-vector multiplication

A Toeplitz matrix is ann×nmatrixT= [tk,j;k,j=0,1,...,n-1],wheretk,j=tk-j.

More clearly,a Toeplitz matrix is of the form

namely, all elements along each diagonal direction in a Toeplitz matrix are constants.In practice, the Toeplitz matrices are usually obtained by discretizing continuous functions;[32]namely, the diagonal elementsofTare the Fourier transform coefficients of a functioni.e.,

wheredenotes the set of all 2π-periodic strictly positive continuous real-valued functions defined on [0,2π].[33]The functionfis called the generating function of the sequence of the Toeplitz matrixT.[34]The Toeplitz matrixTwill be Hermitian iffis a real-valued function.And whenTis Hermitian,its eigenvalues are represented asσk,satisfying

wherefminandfmaxrepresent the minimum and maximum values off, respectively.Note that the generating functionfis strictly positive and thus the Toeplitz matrixTis nonsingular.[35]For a further description of Toeplitz matrices,see Ref.[36].

andω=.

To be specific,

The circulant matrix is a special kind of Toeplitz matrix with the form

wherec=[c0,c1,...,cn-1]T.Specifically,each column of the circulant matrix is a downward circular shift of the column preceding it, which means that the circulant matrixC(c) can be determined by its first columnc.

Obviously,any circulant is a matrix polynomial(namely,the associated polynomial)in the cyclic permutation matrixL,i.e.,

whereLis given by

From this we can get

where

So,

where

Obviously,Eq.(12)is an eigen-decomposition of the circulant matrix, and it is also a unitary decomposition.Here,λjare the eigenvalues of the matrixC(c), and can be calculated by Eq.(14),i.e.,by performing a fast Fourier transform(FFT)on the vectorc.

Therefore, for any vectorx, the product of the circulant matrixC(c)andxcan be calculated as follows:

where⊙denotes element-wise multiplication.

To compute the Toeplitz matrix-vector productTx=y,Tis first embedded into a large circulant matrix of size 2n:

where

In fact,we have exactly[36]

Specifically, the eigenvalues ofC(c) are simply the values off(ι) withιuniformly spaced between 0 and 2π.Defining 2πk/n=ιk,for any powers,we have[36]

where the continuity off(ι) guarantees the existence of the limit of Eq.(20)as a Riemann integral.

Finally, the product ofTand any vectorxcan be calculated by multiplying the circulant matrixC(c) with the extended vector

3.Quantum Toeplitz matrix-vector multiplication

In this section, we design a quantum algorithm for Toeplitz matrix-vector multiplication.Specifically,we bypass the phase estimation operation commonly used in other quantum algorithms by taking full advantage of the special properties of Toeplitz matrices.

The proposed quantum algorithm is formally introduced below.

(1)Generate the initial quantum state

(2) Apply an inverse quantum Fourier transform(QFT)[37]on|χ〉,and yield

(3) Similar to Ref.[30], suppose there is an Oracle that accesses the values (eigenvalues ofC(c)) of the generating functionf:

The cost of invoking the Oracle isO(1).It can be known from Eq.(19)that the eigenvalues of the circulant matrixC(c)can be directly calculated by the generating function.From Eqs.(14)and(15),it can be seen that the element-by-element multiplication of the eigenvalues with the vector after the discrete Fourier transform will be used in the calculation of the product of the circulant matrix and the vectorx0.In this quantum version of the operation, the implementation steps are as follows.

(4)Add an ancillary qubit and perform a controlled rotation on it to get the state

(7)Discard the last qubit in the quantum register and yield|y〉after performing the“incomplete”QFT.

4.Special case

In the previous section we gave a quantum algorithm for Toeplitz matrix-vector multiplication with a known generating functionf.However,in some special cases only the Toeplitz matrices are given while the generating function is unknown.In view of these situations, in this section we will design another quantum algorithm.

Similarly, in the quantum random access memory(QRAM)[38,39]data structured model,one can also prepare the quantum stateOc|0〉→|c〉=∑i ci|i〉/‖c‖with time complexityO(polylogn).

A formal description of the quantum algorithm is given below.

(1)Prepare the initial quantum state

(2)Apply an inverse QFT on|χ〉and perform a Hadamard gate on the qubit|0〉in the second register,resulting in

(3)Perform a controlled quantum gate to the third register of log2nqubits,and obtain

(4) Perform a controlled QFT operation on the qubits in the third register,and the quantum state becomes

(5) Repeat a Hadamard gate operation on the auxiliary qubit in the second register,get

where

And

(6) According to the quantum amplitude estimation(QAE)[37,40]algorithm,get

(7)Append an extra register and perform a quantum arithmetic operation on it to obtain

(8)Add an ancillary qubit and perform a controlled rotation on it,and obtain

(9)Uncompute quantum registers,except for the first and last registers, and then measure the last ancillary qubit to see|0〉,and transform the system to

In this special case, when the generating function is unknown, to calculate the eigenvalues of the circulant matrix,it is necessary to calculate the discrete Fourier transform of a specific vectorc.And this is exactly what the previous series of steps have done.

(10)Discard the last qubit in the quantum register and obtain|y〉 after performing the “incomplete” QFT on the quantum state in Eq.(37).

5.Complexity analysis

In this section,we will give the complexity analysis of the proposed quantum algorithms for Toeplitz matrix-vector multiplication.We first analyze the complexity of the first quantum algorithm with the generating function.The complexity of preparing the initial quantum state and that of performing the(inverse)QFT are bothO(polylogn).In the measurement operation, the success probability of obtaining the measurement|0〉is

In step (9), the probability of getting the measurement outcome|0〉is

Similarly,according to the error analysis in Ref.[4],introducing an error ofO() when calculatingλjwill result in an error of ?0in the final resulty.In conclusion, the time complexity of the second quantum algorithm with the unknown generating functionfis

6.Discussion

In this paper,we have proposed a quantum algorithm for Toeplitz matrix-vector multiplication by taking full advantage of the properties of Toeplitz matrices.The table below shows a comparison between our proposed quantum algorithms and other quantum algorithms.

Table 1.A comparison of existing quantum algorithms. κ' is the condition number of the Toeplitz matrix.

In Ref.[41], Zhouet al.also presented a quantum algorithm for Toeplitz matrix-vector multiplication,for the case where the generating function is not known,and its time complexity is,which greatly depends on||C|x〉||and||T|x〉||.In addition, in Ref.[30], Wanet al.gave two asymptotic quantum algorithm frameworks works that focused on resolving the Toeplitz system, corresponding to the cases with and without the generating function, respectively.But it can also be used to calculate the multiplication of the Toeplitz matrix and vector.Later, they proposed a blockencoding-based quantum algorithm,[31]whose time complexity has a linear dependence onρ.As a conclusion, for the well-conditioned matrices, i.e.,κ=κ'=O(polylogn), the proposed quantum algorithms are two exact algorithms with the time complexity independent ofρ(this number may be very large).

In addition,it is worth mentioning that the proposed quantum algorithms can be extended to the case with Hankel matrices.To be more specific, ann×nHankel matrix is of the form

It can be observed that if the columns are permuted left-toright,thenHwill become a Toeplitz matrixT.Therefore,the following relation holds:

Thus,it becomes a Toeplitz matrix-vector multiplication.

7.Conclusion

In this article, we present two accurate and efficient quantum algorithms for Toeplitz matrix-vector multiplication.Specifically,we first present a non-asymptotic quantum algorithm for Toeplitz matrix-vector multiplication with time complexityO(κpolylogn).For the case with an unknown generating function, we also give a corresponding non-asymptotic quantum version that eliminates the dependency on theL1-normρof the displacement of the structured matrices.Actually, the proposed quantum algorithms benefit from taking full advantage of the special properties of Toeplitz matrices.Here,we hope that the proposed quantum algorithms can provide some inspiration to researchers in related fields.

Acknowledgements

We thank S.-J.Pan and L.-C.Wan for fruitful discussions.This work was supported by the National Natural Science Foundation of China(Grant Nos.62071015 and 62171264).

主站蜘蛛池模板: 91久久偷偷做嫩草影院免费看| 国产精选自拍| 人人91人人澡人人妻人人爽| 亚洲中文字幕久久精品无码一区| 久久窝窝国产精品午夜看片| 精品人妻无码中字系列| 免费无码网站| 天堂岛国av无码免费无禁网站| 亚洲人成色77777在线观看| 伊人久热这里只有精品视频99| 99久久无色码中文字幕| 久久人人爽人人爽人人片aV东京热| 又黄又湿又爽的视频| 亚洲黄色激情网站| 亚洲最大综合网| 欧美福利在线| 午夜视频在线观看区二区| 国产午夜在线观看视频| 国产黑丝一区| 久久久久人妻精品一区三寸蜜桃| 国产剧情无码视频在线观看| 99精品国产自在现线观看| 伦精品一区二区三区视频| 久久久久中文字幕精品视频| 高清欧美性猛交XXXX黑人猛交 | 欧美第二区| 激情無極限的亚洲一区免费| 国产69精品久久| 国产精品熟女亚洲AV麻豆| 欧美日韩动态图| 69视频国产| 在线观看免费AV网| 尤物亚洲最大AV无码网站| 最新国产在线| 欧美国产日本高清不卡| 蜜桃臀无码内射一区二区三区| 一本一道波多野结衣一区二区 | 亚洲天堂伊人| 国产高清在线精品一区二区三区 | 亚洲无码视频图片| 国产亚洲欧美日韩在线一区二区三区 | 久久人妻xunleige无码| 亚洲日韩国产精品无码专区| 国产成人精品18| 亚洲成人黄色网址| 欧美性猛交xxxx乱大交极品| 亚洲视频无码| 国产精品人莉莉成在线播放| 97久久免费视频| 国产日韩欧美在线播放| 国产欧美日韩另类| 激情综合网址| 欧美国产精品拍自| 色婷婷电影网| 国产自产视频一区二区三区| 亚洲天堂在线视频| 国产精品乱偷免费视频| 人妻无码中文字幕第一区| 在线观看国产小视频| 国产精品污视频| 国产男女免费完整版视频| 国产欧美精品一区二区| 福利在线一区| 欧美日韩综合网| 97人妻精品专区久久久久| 中文字幕 91| 2021国产精品自产拍在线| 久久精品中文字幕少妇| 狠狠综合久久| 无码中文AⅤ在线观看| 中文字幕不卡免费高清视频| 伊人久久福利中文字幕| 久久99精品国产麻豆宅宅| 免费看av在线网站网址| 中文字幕亚洲精品2页| 国产欧美自拍视频| 亚洲免费黄色网| 97精品国产高清久久久久蜜芽| 国产成人亚洲毛片| 青青热久麻豆精品视频在线观看| 久久久久国产精品嫩草影院| 在线日韩日本国产亚洲|