Abstract
Circulant matrices are an important family of operators, which have a wide range of applications in science and engineering-related fields. They are, in general, non-sparse and non-unitary. In this paper, we present efficient quantum circuits to implement circulant operators using fewer resources and with lower complexity than existing methods. Moreover, our quantum circuits can be readily extended to the implementation of Toeplitz, Hankel and block circulant matrices. Efficient quantum algorithms to implement the inverses and products of circulant operators are also provided, and an example application in solving the equation of motion for cyclic systems is discussed.
Keywords: quantum computation, quantum circuit, dense circulant operator, block circulant operator, Toeplitz and Hankel matrices
1. Introduction
Quantum computation exploits the intrinsic nature of quantum systems in a way that promises to solve problems otherwise intractable on conventional computers. As the most widely used model of quantum computation, a quantum circuit provides a complete description of a specified quantum algorithm, whose computational complexity is determined by the number of quantum gates required. In general, the number of two-level gates (i.e. unitary matrices acting non-trivially on two-dimensional subspaces, which are universal for computation) needed to decompose an arbitrary unitary in N dimensions scales as O(N2). There are many known N-dimensional matrices that cannot be decomposed as a product of fewer than N−1 two-level gates [1], and thus cannot be implemented efficiently on a quantum computer. An essential research focus in quantum computation is to explore which kinds of linear operations (either unitary or non-unitary) can be efficiently implemented using number of elementary quantum gates (i.e. one- or two-level unitary matrices) and measurements.
Significant breakthroughs in the area include the development of efficient quantum algorithms for Hamiltonian simulation, which is central to the studies of chemical and biological processes [2–8]. Recently, Berry, Childs and Kothari presented an algorithm for sparse Hamiltonian simulation achieving near-linear scaling with the sparsity and sublogarithmic scaling with the inverse of the error [8]. Additionally, using the Hamiltonian simulation algorithm as an essential ingredient, Harrow et al. [9] showed that for a sparse and well-conditioned matrix A, there is an efficient algorithm (known as the HHL algorithm) that provides a quantum state proportional to the solution of the linear system of equations Ax=b.
However, as proven by Childs & Kothari [10], it is impossible to perform a generic simulation of an arbitrary dense Hamiltonian H in in time , where ∥H∥ is the spectral norm, but possible for certain non-trivial classes of Hamiltonians. It is then natural to ask under what conditions we can extend the sparse Hamiltonian simulation algorithm and the HHL algorithm to the realm of dense matrices. In this paper, we use the ‘unitary decomposition’ approach developed by Berry et al. [7] to implement dense circulant Hamiltonians in time . Combining this with the HHL algorithm, we can also efficiently implement the inverse of dense circulant matrices and thus solve systems of circulant matrix linear equations.
Furthermore, we provide an efficient algorithm to implement circulant matrices C directly, by decomposing them into a linear combination of unitary matrices. We then apply the same technique to implement block circulant matrices, Toeplitz and Hankel matrices, which have significant applications in physics, mathematics and engineering [11–21]. For example, we can simulate classical random walks on circulant, Toeplitz and Hankel graphs [22,23]. In fact, any arbitrary matrix can be decomposed into a product of Toeplitz matrices [24]. If the number of Toeplitz matrices required is in the order of , we can have an efficient quantum circuit.
This paper is organized as follows. In §2, we present an algorithm to implement circulant matrices, followed by discussions on block circulant matrices, Toeplitz and Hankel matrices in §3. In §§4 and 5, we provide efficient methods to simulate circulant Hamiltonians and to implement the inverse of circulant matrices. In §6, we describe a technique to efficiently implement products of circulant matrices. In the last section, we provide an example application in solving the equation of motion for vibrating systems with cyclic symmetry.
2. Implementation of circulant matrices
A circulant matrix has each row right-rotated by one element with respect to the previous row, defined as
| 2.1 |
using an N-dimensional vector c=(c0 c1 ⋯ cN−1) [25]. In this paper, we will assume cj to be non-negative for all j, which is often the case in practical applications. We also assume that the spectral norm (the largest eigenvalue) of the circulant matrix C is equal to 1 for simplicity.
Note that C can be decomposed into a linear combination of efficiently realizable unitary matrices as follows:
| 2.2 |
where . Such a linear combination of unitary matrices can be dealt with by the unitary decomposition approach introduced by Berry et al. [7]. For completeness, we restate their method as lemma 2.1 given below.
Lemma 2.1. —
Let be a linear combination of unitaries Wj with αj≥0 for all j and . Let Oα be any operator that satisfies , where m is the number of qubits used to represent |j〉, and . Then
2.3 where (|0m〉〈0m|⊗I)|Ψ⊥〉=0.
Unless stated otherwise, we assume that N=2L, where L is an integer. If N is not a power of two, we will need to embed the system into a larger Hilbert space whose dimension is a power of two. On the other hand, it is also convenient to simply discretize practical problems using powers of two. Lemma 2.1 can be directly applied to implement the circulant matrix C, as shown in figure 1, by taking M=C, αj=cj, Wj=V j, J=2L and m=L. Since select(V)|j〉|k〉=|j〉|(k−j) mod N〉, it can be implemented using quantum adders [26,27], which requires one- or two-qubit gates. Note that when N is not a power of two, it may take additional ancillary qubits to implement the ‘mod N’ operation in select(V), for example, by first subtracting N from k−j and then using the sign qubit to control the ‘mod N’ operation.
Figure 1.
Quantum circuit to implement a circulant matrix.
A measurement result of |0L〉 in the first register generates the required state C|ψ〉 in the second register. The probability of this measurement outcome is O(∥C|ψ〉∥2). With the help of amplitude amplification [28], this can be further improved, requiring only O(1/∥C|ψ〉∥) rounds of application of . The amplitude amplification procedure also requires the same number of applications of Oψ, where Oψ|0L〉=|ψ〉, and its inverse in order to reflect quantum states about the initial state |0L〉|ψ〉. If Oψ is unknown, amplitude amplification is not applicable and we will need to repeat the measuring process in figure 1 O(1/∥C|ψ〉∥2) times, during which O(1/∥C|ψ〉∥2) copies of |ψ〉 are required. It is worth noting that with the assumption cj≥0, C is unitary if and only if C=V j. In other words, a non-trivial circulant matrix is non-unitary and therefore, the oblivious amplitude amplification procedure [29] cannot be applied.
Provided with the oracle Oc satisfying , theorem 2.2 follows directly from the above discussions. Oc can be efficiently implemented for certain efficiently computable vectors c [30–32]. Another way to construct states like is via qRAM, which uses O(N) hardware resources but only operations to access them [33,34].
Theorem 2.2 (Implementation of circulant matrices). —
There exists an algorithm creating the quantum state C|ψ〉 for an arbitrary quantum state , using O(1/∥C|ψ〉∥) calls of Oc, Oψ and their inverses, as well as additional one- or two-qubit gates.
The complexity in theorem 2.2 is inversely proportional to the square root of p=∥C|ψ〉∥2, which depends on the quantum state to be acted upon. Specifically, |C|ψ〉|2=〈ψ∥C†C∥ψ〉=〈ψ|FΛ†F†FΛF†|ψ〉=〈ψ|FΛ†ΛF†|ψ〉. Here we use the diagonal form of C [25], C=FΛF†, where F is the Fourier matrix with and Λ is a diagonal matrix of eigenvalues given by . Since the spectral norm ∥C∥ of the circulant matrix C is equal to one, we have p=〈ψ|FΛ†ΛF†|ψ〉≥1/κ2, where κ is the condition number, defined as the ratio between C’s largest and smallest (absolute value of) eigenvalues [9]. Therefore, our algorithm is bound to perform well when . In the ideal case where κ=1 and p=1, the vector c is a unit basis in which only one element is equal to one and the others are zero.
Even when κ is large, our algorithm is still efficient when the input quantum state after Fourier transform is in the subspace whose corresponding eigenvalues are large. For example, when we have when N>2. in which . The success rate is therefore lower-bounded by a constant as long as the input quantum state is restricted in a subspace such that ϕk=0 when k∈[N/8,3N/8]∪[5N/8,7N/8].
3. Circulant-like matrices
3.1. Block circulant matrices
Some block circulant matrices with special structures can also be implemented efficiently in a similar manner. We assume the blocks are N′-dimensional matrices and in the following discussions.
Firstly, when each block is a unitary operator up to a constant factor (i.e. ), we have a unitary block (UB) matrix:
| 3.1 |
If the set of blocks can be efficiently implemented, then by simply replacing with , we can efficiently implement the block circulant matrices CUB using the same algorithm discussed in §2 as illustrated in figure 2a.
Figure 2.
The quantum circuit to implement block circulant matrices with special structures.
Specifically, when the set of blocks are one-dimensional, we can implement complex-valued circulant matrices with efficiently computable phase. For example, for , j=0,1,…,N−1, circulant matrices with the parameter vector c=(c0,eiθc1,…, ei(N−1)θcN−1) can be implemented efficiently. Moreover, if θ=π, c=(c0,−c1,…,(−1)N−1 cN−1) corresponding to the circulant matrix with negative elements on odd-numbered sites is efficiently implementable.
Another important family is block circulant matrices with circulant blocks (CB), which has found a wide range of applications in algorithms, mathematics, etc. [18–21]. It is defined as follows:
| 3.2 |
where is a circulant matrix specified by a N′-dimensional vector cj=(cj0 cj1 ⋯ cj(N′−1)). CCB is a N×N′-dimensional matrix determined by N×N′ parameters {cjj′}j=0,…,N−1 j′=0,…,N′−1. It can be decomposed as follows:
| 3.3 |
Given an oracle Oc′ satisfying , we can implement CCB using the quantum circuit shown in figure 2b, which adopts a combination of two quantum subtractors.
3.2. Toeplitz and Hankel matrices
A Toeplitz matrix is a matrix in which each descending diagonal from left to right is constant, which can be written explicitly as
| 3.4 |
specified by 2N−1 parameters. We focus on the situation where tj≥0 for all j as in §2. Clearly, when t−(N−i)=ti for all i, T is a circulant matrix. Although a Toeplitz matrix is not circulant in general, any Toeplitz matrix T can be embedded in a circulant matrix [15,35], defined by
| 3.5 |
where BT is another Toeplitz matrix defined by
| 3.6 |
As a result, we use this embedding to implement Toeplitz matrices because
| 3.7 |
Therefore, by implementing CT, we obtain a quantum state proportional to |0〉T|ψ〉+|1〉BT|ψ〉. Then we do a quantum measurement on the single qubit (in the second register in figure 3) to obtain the quantum state T|ψ〉. The success rate is ∥T|ψ〉∥2 according to theorem 2.2 under the normalization condition that . With the help of amplitude amplification, only O(1/∥T|ψ〉∥) applications of the circuit in figure 3 are required.
Figure 3.
The quantum circuit to implement a Toeplitz matrix. In this figure, , where c=(t0 t−1⋯t−(N−1) 0 tN−1⋯t1).
A Hankel matrix is a square matrix in which each ascending skew-diagonal from left to right is constant, which can be written explicitly as
| 3.8 |
specified by 2N−1 non-negative parameters. A permutation matrix transforms a Hankel matrix into a Toeplitz matrix. It can be easily verified that T=HP and H=TP, in which tj=hj for all j. Note that when N is not a power of two, we need to be careful with the embedding when mapping a circulant matrix into a Hankel matrix. The subspace span{|0〉,…,|N−1〉} in the implementation of circulant matrices corresponds to the subspace span{|2L−N〉,…,|2L−1〉} in the implementation of Hankel matrices.
Therefore by inserting the permutation P before the implementation of T, the circuit in figure 3 can be used to implement H, and the success rate is ∥H|ψ〉∥2 under the normalization condition that . With the help of amplitude amplification, only O(1/∥H|ψ〉∥) applications are required.
In comparison with existing algorithms, such as that described in [35], the above described quantum circuit provides a better way to realize circulant-like matrices, requiring fewer resources and with lower complexity. For example, only qubits are required to implement N-dimensional Toeplitz matrices, which is a significant improvement over the algorithm presented in [35] via sparse Hamiltonian simulations. More importantly, this is an exact method and its complexity does not depend on an error term. It is also not limited to sparse circulant matrices C as in [35]. Moreover, implementation of non-unitary matrices, such as circulant matrices, is not only of importance in quantum computing, but also a significant ingredient in quantum channel simulators [36,37], because the set of Kraus operators in the quantum channel is normally non-unitary [1]. The simplicity of our circuit increases its feasibility in experimental realizations.
4. Circulant Hamiltonians
Hamiltonian simulation is expected to be one of the most important undertakings for quantum computation. It is therefore important to explore the possibility of efficient implementation of circulant Hamiltonians because of their extensive applications. Particularly, the implementation of e−iCt is equivalent to the implementation of continuous-time quantum walks on a weighted circulant graph [38,39]. Moreover, simulation of Hamiltonians is also an important part in the HHL algorithm to solve linear systems of equations [9].
A number of algorithms have been shown to be able to efficiently simulate sparse Hamiltonians [2–8], including the unitary decomposition approach [7]. We show that this approach can be extended to the simulation of dense circulant Hamiltonians. It is well known that circulant matrices are diagonalizable as e−iCt=F e−iΛtF†. In general, implementing an arbitrary diagonal unitary requires up to one- or two-qubit gates [40]. However, when can be efficiently computed, one can efficiently implement e−iCt [23,41,42].
In this section, we will focus on the simulation of Hermitian circulant matrices, when e−iCt is unitary. For completeness, we first summarize briefly the unitary decomposition approach in [7] and then discuss how it can be used to efficiently simulate dense circulant Hamiltonians. To simulate U=e−iCt, the evolution time t is divided into r segments with Ur=e−iCt/r, which can be approximated as with error ϵ. It can be proven that if we choose , then and the total error is within ϵ.
Since as given by equation (2.2), we have
| 4.1 |
Let W(k,j1,…,jk)=(−i)kV j1⋯V jk and
| 4.2 |
where |1k0K−k〉 is the unary encoding of k. Here, s is the normalization coefficient and we choose so that
| 4.3 |
By taking , , Wj=W(k,j1,…,jk), J=KNK and m=K+KL in lemma 2.1, we have
| 4.4 |
where (|0K+KL〉〈0K+KL|⊗I)|Ψ⊥〉=0. It has been shown in [7] that after one step of oblivious amplitude amplification procedure [29], Ur=e−iCt/r can be simulated within error ϵ/r. The oblivious amplitude amplification procedure avoids the repeated preparations of |ψ〉 so that can be obtained using only one copy of |ψ〉, as shown in figure 4. The total complexity depends on the number of gates required to implement select(W) and Oα.
Figure 4.
The quantum circuit to implement one segment of circulant Hamiltonians. Here and .
If C is not Hermitian (and is not at least approximately unitary), the oblivious amplitude amplification procedure [29] will not be applicable, and then we have to resort to the traditional amplitude amplification [28]. This will lead to a complexity depending exponentially on t because we have to run the amplitude amplification recursively, but the complexity will still depend logarithmically on N.
Theorem 4.1 (Simulation of circulant Hamiltonians). —
There exists an algorithm performing e−iCt on an arbitrary quantum state |ψ〉 within error ϵ, using calls of controlled-Oc1 and its inverse, as well as additional one- and two-qubit gates.
Proof. —
We first consider the number of gates used to implement Oα in equation (4.2). It can be decomposed into two steps. The first step is to create the normalized version of the state from the initial state |0K〉, which takes O(K) consecutive one-qubit rotations on each qubit. We then apply K sets of controlled-Oc to transform |0L〉 into when the control qubit is |1〉. We therefore need O(K) calls of controlled-Oc and O(K) additional one-qubit gates to implement Oα.
Next we focus on the implementation of
4.5 which performs the transformation
4.6 As V j|ℓ〉=|(ℓ−j) mod N〉, we can transform |ψ〉 into V j1⋯V jk|ψ〉 by applying K quantum subtractors between |j〉j=j1,j2,…,jk,0,… and |ψ〉. K phase gates on each of the first K qubits multiply the amplitude by (−i)k. Therefore, select(W) can be decomposed into one or two-qubit gates.
In summary, O(K) calls of controlled-Oc and its inverse as well as additional one-qubit gates are sufficient to implement one segment e−iCt/r; and the total complexity to implement r segments will be O(tK) calls of controlled-Oc and its inverse as well as additional one-qubit gates, where . ▪
Note that we assumed the spectral norm ∥C∥=1. To explicitly put it in the complexity in theorem 4.1, we can simply replace t by ∥C∥t.
5. Inverse of circulant matrices
Following from §4, we now show that the HHL algorithm can be extended to solve systems of circulant matrix linear equations. We assume C to be Hermitian in this section in order for the phase estimation procedure to work.
Theorem 5.1 (Inverse of circulant matrices). —
There exists an algorithm creating the quantum state C−1|ψ〉/∥C−1|ψ〉∥ within error ϵ given an arbitrary quantum state |ψ〉, using calls of controlled-Oc and its inverse, O(κ) calls of Oψ, as well as additional one- and two-qubit gates.2
Proof. —
The basic procedure is the same as the HHL algorithm [9], except that C is a dense circulant matrix rather than sparse as required by the HHL algorithm, which is summarized below.
Apply the oracle Oψ to create the input quantum state |ψ〉:where are the eigenvectors of C.
Run phase estimation of the unitary operator ei2πC:where Λj are the eigenvalues of C and Λj≤1.
Undo the phase estimation and then measure the ancillary qubit. Conditioned on getting 1, we have an output state and the success rate .
Error occurs in step 2 in Hamiltonian simulation and phase estimation. The complexity scales sublogarithmically with the inverse of error in Hamiltonian simulation as in theorem 4.1 and scales linearly with it in phase estimation [1]. The dominant source of error is phase estimation. Following from the error analysis in [9], a precision O(ϵ/κ) in phase estimation results in a final error ϵ. Taking the success rate p=Ω(1/κ2) into consideration, the total complexity would be , with the help of amplitude amplification [28]. ▪
For s-sparse Hamiltonians (with at most s non-zero entries in any row or column), the HHL algorithm scales as [9]. In this work, we extended the HHL procedure to dense Hamiltonians with special structure and proved the scaling is independent of matrix sparsity. This simplification stems from the efficient implementation of select(V) which makes possible the decomposition of C into O(N) terms without introducing O(N) into the computational complexity.
6. Products of circulant matrices
Products of circulant matrices are also circulant matrices, because a circulant matrix can be decomposed into a linear combination of that constitute a cyclic group of order N (we have V jV k=V (j+k) mod N). Suppose C(1,2)=C(1)C(2) is the product of two circulant matrices C(1) and C(2) which have a parameter vector c(1,2), where
| 6.1 |
where c(1) and c(2) are each the parameters of C(1) and C(2). Clearly, when the spectral norm of C(1) and C(2) are one, the spectral norm of C(1,2) is also one. Classically, to calculate the parameters c(1,2) would take up O(N) space. However, in the quantum case, we will show that Oc(1,2), encoding c(1,2), can be prepared using one Oc(1) and one Oc(2). It means that the oracle for a product of circulant matrices can be efficiently prepared when its factor circulants are efficiently implementable, as illustrated in figure 5.
Figure 5.
The quantum circuit of Oc(1,2). Here and controlled- is a quantum adder.
Theorem 6.1 (Products of circulant matrices). —
There exists an algorithm creating the oracle Oc(1,2), which satisfies
6.2 where |Φj〉 is a unit quantum state dependent on j, using one Oc(1), one Oc(2) and additional one- and two-qubit gates.
Proof. —
We need 2L ancillary qubits divided into two registers to construct the oracle for the product of two circulant matrices. We start by applying Oc(1) and Oc(2) on the last 2 registers, we obtain
6.3 In order to encode in the quantum amplitudes, we once again apply quantum adders to achieve our goals. By performing the following transformation:
6.4 where j≡( j1+j2) mod N. This can be achieved using two quantum adders, we obtain the state
6.5 because the amplitude of |j〉 is equal to . ▪
This algorithm can be easily extended to implementing oracles for products of d circulants, in which d oracles of factor circulants and dL ancillary qubits are needed. Though the oracle described in theorem 6.1 may not be useful in all quantum algorithms, owing to the additional |Φj〉 in equation (6.2), it is applicable in §§2 and 4 according to lemma 6.2 (the generalized form of lemma 2.1) described below. It implies that this technique could also be useful in other algorithms related to circulant matrices.
Lemma 6.2. —
Let be a linear combination of unitaries Wj with αj≥0 for all j and . Let Oα be any operator that satisfies (m is the number of qubits used to represent |j〉|Φj〉) and . Then
6.6 where (|0m〉〈0m|⊗I)|Ψ⊥〉=0.
Proof. —
aaaaa
▪
7. Application: solving cyclic systems
Vibration analysis of mechanical structures with cyclic symmetry has been a subject of considerable studies in acoustics and mechanical engineering [14,17]. Here we provide an example where the above proposed quantum scheme can outperform classical algorithms in solving the equation of motion for vibrating and rotating systems with certain cyclic symmetry.
The equation of motion for a cyclically symmetric system consisting of N identical sectors, as shown in figure 6, can be written as
| 7.1 |
where q and f are N-dimensional vectors, denoting the displacement of and the external force acting on each individual sector, respectively. The mass, damping and stiffness matrices are all circulants, represented by M=circ(m1,m2,…,mN), D=circ(d1,d2,…,dN) and K=circ(s1,s2,…,sN).
Figure 6.
Topology diagram of an N-sector cyclic system. (a) A general cyclic system with coupling between any two sectors which can be solved using theorem 5.1. (b) A cyclic system with nearest-neighbour coupling which can be solved using the HHL algorithm [9].
Assume all sectors have the same mass (M∝I) and there is zero damping (D=0). If the system is under the so-called travelling wave engine order excitation, the equation of motion can be simplified as [14]:
| 7.2 |
where the travelling wave is characterized by fj=f ei2πnj/N for the external force vector f, n is the order of excitation and Ω is the angular frequency of the excitation. We search for solutions of the form q=q0 einΩt, which leads to
| 7.3 |
Since K−n2Ω2I is a circulant matrix, we can use theorem 5.1 to calculate
It is important to consider the conditions under which theorem 5.1 works.
1. K−n2Ω2I is Hermitian. This is generally true for symmetric cyclic systems, where the coupling between qj and qj+d and the coupling between qj and qj−d are physically the same for any sector j and distance d.
- 2. K−n2Ω2I has non-negative (or non-positive) entries. Although this is not in general true, theorem 5.1 will work under a slight modification. We observe that the off-diagonal elements of K−n2Ω2I are always negative because the coupling force between two connecting sectors is always in the opposite direction to their relative motion.
- — If the diagonal elements of K−n2Ω2I are also negative, then no modification to the proposed procedure is necessary.
- — If the diagonal elements of K−n2Ω2I are positive, using the technique stated in §(a), we can simply replace select(V) with Ref0⋅select(V), where Ref0=|0L〉〈0L|−2I is a reflection operator operating on the first register.
3. The condition number κ of K−n2Ω2I is small. This is true when the couplings among sectors are relatively weak—when |K0−n2Ω2|≫K1 where K0 characterizes the coupling between a sector and the exterior and K1 characterizes the coupling among sectors.
4. The corresponding oracle Oc of the circulant matrix K−n2Ω2I can be efficiently implemented. It requires either there is a special structure of K−n2Ω2I or the information of K−n2Ω2I is stored in a qRAM in advance.
If all four conditions are satisfied, we have an exponential speed-up compared to classical computation. Note that the output q0 is stored in quantum amplitudes, which cannot be read out directly. However, further computation steps can efficiently provide practically useful information about the system from the vector q0, for example the expectation value q0†Mq0 for some linear operator M or the similarity between two cyclic systems 〈q′0|q0〉 [9]. This type of speed-up is not achievable classically for it takes at least O(N) steps to read out the value of q0. It is also worth noting that the proposed algorithm, in contrast to previous quantum algorithms [3–7,9,35], works for dense matrices K−n2Ω2I. It means that the cyclic systems need not be subject to nearest-neighbour coupling.
8. Conclusion
In this paper, we present efficient quantum algorithms for implementing circulant (as well as Toeplitz and Hankel) matrices and block circulant matrices with special structures, which are not necessarily sparse or unitary. These matrices have practically significant applications in physics, mathematics and engineering-related fields. The proposed algorithms provide exponential speed-up over classical algorithms, requiring fewer resources ( qubits) and having lower complexity () in comparison with existing quantum algorithms. Consequently, they perform better in quantum computing and are more feasible to experimental realization with current technology. Obstacles still exist, though, in the efficient realization of the oracles to generate the components of the circulant matrices.
Besides the implementation of circulant matrices, we discover that we can perform the HHL algorithm on circulant matrices to implement the inverse of circulant matrices, by adopting the Taylor series approach to efficiently simulate circulant Hamiltonians. Owing to the special structure of circulant matrices, we prove that they are one of the types of the dense matrices that can be efficiently simulated. Being able to implement the inverse of circulant matrices opens a door to solving a variety of real-world problems, for example, solving cyclic systems in vibration analysis. Finally, we show that it is possible to construct oracles for products of circulant matrices using the oracles for their factor circulants, a technique that will be useful in related algorithms.
Acknowledgements
We would like to thank Xiaosong Ma, Anuradha Mahasinghe, Jie Pan, Thomas Loke and Shengjun Wu for helpful discussions.
Footnotes
By controlled-Oc, we mean the operation |0〉〈0|⊗I+|1〉〈1|⊗Oc.
We use the symbol to suppress polylogarithmic factors.
Data accessibility
This paper does not include further supporting information.
Authors' contributions
S.S.Z. devised the quantum algorithms described in this paper, carried out the detailed complexity analysis and drafted the manuscript. J.B.W. provided overall guidance and supervision, and helped in drafting and revising the manuscript. All authors gave final approval for publication.
Competing interests
The authors declare no competing interests.
Funding
The work is supported by the UWA-Nanjing exchange programme and The University of Western Australia.
References
- 1.Nielsen MA, Chuang IL. 2010. Quantum computation and quantum information. Cambridge, UK: Cambridge University Press. [Google Scholar]
- 2.Lloyd S. 1996. Universal quantum simulators. Science 273, 1073 (doi:10.1126/science.273.5278.1073) [DOI] [PubMed] [Google Scholar]
- 3.Berry DW, Ahokas G, Cleve R, Sanders BC. 2007. Efficient quantum algorithms for simulating sparse Hamiltonians. Commun. Math. Phys. 270, 359–371. (doi:10.1007/s00220-006-0150-x) [Google Scholar]
- 4.Childs AM, Kothari R. 2010. Simulating sparse Hamiltonians with star decompositions. In Theory of quantum computation, communication, and cryptography, TQC 2010 (eds W van Dam, VM Kendon, S Severini), pp. 94–103. Berlin, Heidelberg, Germany: Springer-Verlag. [Google Scholar]
- 5.Wiebe N, Berry DW, Høyer P, Sanders BC. 2011. Simulating quantum dynamics on a quantum computer. J. Phys. A Math. Theoret. 44, 445308 (doi:10.1088/1751-8113/44/44/445308) [Google Scholar]
- 6.Poulin D, Qarry A, Somma R, Verstraete F. 2011. Quantum simulation of time-dependent Hamiltonians and the convenient illusion of Hilbert space. Phys. Rev. Lett. 106, 170501 (doi:10.1103/PhysRevLett.106.170501) [DOI] [PubMed] [Google Scholar]
- 7.Berry DW, Childs AM, Cleve R, Kothari R, Somma RD. 2015. Simulating Hamiltonian dynamics with a truncated Taylor series. Phys. Rev. Lett. 114, 090502 (doi:10.1103/PhysRevLett.114.090502) [DOI] [PubMed] [Google Scholar]
- 8.Berry DW, Childs AM, Kothari R. 2015. Hamiltonian simulation with nearly optimal dependence on all parameters. In Proc. IEEE 56th Annual Symp. on Foundations of Computer Science, pp. 792–809. IEEE. See http://www.ieee.org. [Google Scholar]
- 9.Harrow AW, Hassidim A, Lloyd S. 2009. Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 103, 150502 (doi:10.1103/PhysRevLett.103.150502) [DOI] [PubMed] [Google Scholar]
- 10.Childs AM, Kothari R. 2009. Limitations on the simulation of non-sparse Hamiltonians. See http://arxiv.org/abs/0908.4398.
- 11.Rietsch K. 2003. Totally positive Toeplitz matrices and quantum cohomology of partial flag varieties. J. Am. Math. Soc. 16, 363–392. (doi:10.1090/S0894-0347-02-00412-5) [Google Scholar]
- 12.Haupt J, Bajwa WU, Raz G, Nowak R. 2010. Toeplitz compressed sensing matrices with applications to sparse channel estimation. Inform. Theory IEEE Trans. 56, 5862–5875. (doi:10.1109/TIT.2010.2070191) [Google Scholar]
- 13.Noschese S, Pasquini L, Reichel L. 2013. Tridiagonal Toeplitz matrices: properties and novel applications. Numer. Linear Algebra Appl. 20, 302–326. (doi:10.1002/nla.1811) [Google Scholar]
- 14.Olson BJ, Shaw SW, Shi C, Pierre C, Parker RG. 2014. Circulant matrices and their application to vibration analysis. Appl. Mech. Rev. 66, 040803 (doi:10.1115/1.4027722) [Google Scholar]
- 15.Ng MK. 2004. Iterative methods for Toeplitz systems. New York, NY: Oxford University Press. [Google Scholar]
- 16.Peller V. 2012. Hankel operators and their applications. Berlin, Germany: Springer Science & Business Media. [Google Scholar]
- 17.Kaveh A, Rahami H. 2011. Block circulant matrices and applications in free vibration analysis of cyclically repetitive structures. Acta Mech. 217, 51–62. (doi:10.1007/s00707-010-0382-x) [Google Scholar]
- 18.Rjasanow S. 1994. Effective algorithms with circulant-block matrices. Linear Algebra Appl. 202, 55–69. (doi:10.1016/0024-3795(94)90184-8) [Google Scholar]
- 19.Tee GJ. 2005. Eigenvectors of block circulant and alternating circulant matrices. Res. Lett. Info. Math. Sci. 8, 123–142. [Google Scholar]
- 20.Combescure M. 2009. Block-circulant matrices with circulant blocks, weil sums, and mutually unbiased bases. II. The prime power case. J. Math. Phys. 50, 032104 (doi:10.1063/1.3078420) [Google Scholar]
- 21.Petrou M, Petrou C. 2010. Image processing: the fundamentals. New York, NY: John Wiley & Sons. [Google Scholar]
- 22.Delanty M, Steel MJ. 2012. Discretely-observable continuous time quantum walks on Moöbius strips and other exotic structures in 3D integrated photonics. Phys. Rev. A 86, 043821 (doi:10.1103/PhysRevA.86.043821) [Google Scholar]
- 23.Qiang X, Loke T, Montanaro A, Aungskunsiri K, Zhou X, O’Brien JL, Wang J, Matthews JC. 2016. Efficient quantum walk on a quantum processor. Nat. Commun. 7, 11511 (doi:10.1038/ncomms11511) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Ye K, Lim LH. 2016. Every matrix is a product of Toeplitz matrices. Found. Comput. Math. 16, 577–598. (doi:10.1007/s10208-015-9254-z) [Google Scholar]
- 25.Golub GH, Van Loan CF. 2012. Matrix computations, vol. 3 Baltimore MD: John Hopkins University Press. [Google Scholar]
- 26.Cuccaro SA, Draper TG, Kutin SA, Moulton DP. 2004. A new quantum ripple-carry addition circuit. See http://arxiv.org/abs/quant-ph/0410184.
- 27.Draper TG, Kutin SA, Rains EM, Svore KM. 2004. A logarithmic-depth quantum carry-lookahead adder. See http://arxiv.org/abs/quant-ph/0406142.
- 28.Brassard G, Hoyer P, Mosca M, Tapp A. 2002. Quantum amplitude amplification and estimation. Contemp. Math. 305, 53–74. (doi:10.1090/conm/305/05215) [Google Scholar]
- 29.Berry DW, Childs AM, Cleve R, Kothari R, Somma RD. 2014. Exponential improvement in precision for simulating sparse Hamiltonians. In Proc. of the 46th Annual ACM Symp. on Theory of Computing, pp. 283–292. ACM, New York, NY. [DOI] [PubMed] [Google Scholar]
- 30.Grover L, Rudolph T. 2002. Creating superpositions that correspond to efficiently integrable probability distributions. See http://arxiv.org/abs/quant-ph/0208112.
- 31.Kaye P, Mosca M. 2004. Quantum networks for generating arbitrary quantum states. See http://arxiv.org/abs/quant-ph/0407102.
- 32.Soklakov AN, Schack R. 2006. Efficient state preparation for a register of quantum bits. Phys. Rev. A 73, 012307 (doi:10.1103/PhysRevA.73.012307) [Google Scholar]
- 33.Giovannetti V, Lloyd S, Maccone L. 2008. Architectures for a quantum random access memory. Phys. Rev. A 78, 052310 (doi:10.1103/PhysRevA.78.052310) [DOI] [PubMed] [Google Scholar]
- 34.Lloyd S, Mohseni M, Rebentrost P. 2013. Quantum algorithms for supervised and unsupervised machine learning. See http://arxiv.org/abs/1307.0411.
- 35.Mahasinghe A, Wang JB. 2016. Efficient quantum circuits for Toeplitz and Hankel matrices. J. Phys. A Math. Theoret. 49, 275301 (doi:10.1088/1751-8113/49/27/275301) [Google Scholar]
- 36.Lu H. et al. 2015. Universal digital photonic single-qubit quantum channel simulator. See http://arxiv.org/abs/1505.02879.
- 37.Wang D-S, Sanders BC. 2015. Quantum circuit design for accurate simulation of qudit channels. New J. Phys. 17, 043004 (doi:10.1088/1367-2630/17/4/043004) [Google Scholar]
- 38.Manouchehri K, Wang JB. 2014. Physical implementation of quantum walks. Berlin, Germany: Springer. [Google Scholar]
- 39.Childs AM. 2010. On the relationship between continuous-and discrete-time quantum walk. Commun. Math. Phys. 294, 581–603. (doi:10.1007/s00220-009-0930-1) [Google Scholar]
- 40.Bullock SS, Markov IL. 2004. Asymptotically optimal circuits for arbitrary n-qubit diagonal computations. Q. Inform. Comput. 4, 27–47. [Google Scholar]
- 41.Childs AM. 2004. Quantum information processing in continuous time. PhD thesis, Massachusetts Institute of Technology, Cambridge, MA, USA.
- 42.Zhou S, Loke T, Izaac J, Wang J. 2017. Quantum fourier transform in computational basis. Q. Inform. Process. 16, 82 (doi:10.1007/s11128-017-1515-0) [Google Scholar]
- 43.Cao Y, Papageorgiou A, Petras I, Traub J, Kais S. 2013. Quantum algorithm and circuit design solving the Poisson equation. New J. Phys. 15, 013021 (doi:10.1088/1367-2630/15/1/013021) [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
This paper does not include further supporting information.






