Abstract
In this paper, an alternative version of the quantum phase estimation is proposed, in which the Hadamard gates at the beginning are substituted by a quantum Fourier transform. This new circuit coincides with the original one, when the ancilla is initialized with \(\left| {0}\right\rangle \). With the help of a projection-based tensor decomposition and closed-form expressions of its exponential, this new method can be interpreted as a multiplier coupled to the Hamiltonian of the corresponding target unitary operator. Based on this observation, a recursive decomposition is derived.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Quantum computing has originated in the early to mid-80s in the works by Feynman in [4] as a novel computational scheme using quantum mechanical principles. Similar ideas have as well been formulated earlier, e.g., in the introduction of [11], in [1] and [13]. For an introduction to quantum computing, the reader is referred to [12].
Since then, a considerable number of algorithms have been proposed in the past four decades for a wide range of applications such as Grover’s algorithms for search problems (see [6]), integer factoring (see [14]) or the solution of systems of linear equations (see [9]). One of their vital building blocks is the quantum phase estimation (QPE).
The original algorithm was presented in [10]. We refer here to QPE by the ‘textbook’ method as described, e.g., in [12, Sect. 5.2]. Let a unitary operator together with one of its eigenvectors be given. The aim is the calculation of the phase of the associated eigenvalue, which is represented by an ancilla quantum register.
This article has two major goals: The primary one is the derivation of an alternative quantum phase estimation that has more convenient mathematical properties and contains the textbook version as a special case. Our method can be interpreted as the operator exponential of a multiplier, which only depends on the number of ancilla qubits used to represent the phase, and the Hamiltonian associated to the aforementioned target operator. The used techniques are centered around calculus rules for a class of projection-based tensor decompositions of the Hamiltonian. The latter results and their application are the secondary goal of this paper.
The rest of this article is organized as follows: In Sect. 2, we introduce the notation and gather central results that are used throughout the text. In Sect. 3, we derive calculus rules for a class of operators that admit a projection-based tensor decomposition and give some instructive examples. Our alternative quantum phase estimation is introduced in Sect. 4, and the results of the previous section are used to derive a Hamiltonian-based representation. Additionally, we propose a recursive approach in Sect. 5 to decompose our alternative quantum phase estimation.
2 Notation and preliminaries
Let \({\mathcal {H}}\) be a finite-dimensional, complex Hilbert space. For a lowercase index n, we denote \(N = 2^n\) and the Hilbert space \({\mathcal {H}}_N \simeq {\mathbb {C}}^N\) with basis \((\left| {j}\right\rangle )_{j = 0}^{N - 1}\). The latter is the computational base of an n-qubit quantum computer. Clearly we have for \(n_0,n_1 \in {\mathbb {N}}\) with \(n = n_0 + n_1\) and \(N_j = 2^{n_j}\), \(j = 0, 1\) that \(N = N_0 \cdot N_1\) and \({\mathcal {H}}_N \simeq {\mathcal {H}}_{N_0} \otimes {\mathcal {H}}_{N_1}\).
For a Hilbert space \({\mathcal {H}}\) as above we denote the set of all continuous, linear operators on \({\mathcal {H}}\) by \({\mathcal {L}}({\mathcal {H}})\). The identity on \({\mathcal {H}}\) is denoted by \(\textrm{id}_{{\mathcal {H}}}\). For \({\mathcal {H}}= {\mathcal {H}}_N\), we may just write \(\textrm{id}_N = \textrm{id}_{{\mathcal {H}}_N}\). Two operators \(A, B \in {\mathcal {L}}({\mathcal {H}})\) are said to commute if \(AB = BA\) is true.
We identify operators with their matrix representation in the computational basis unless stated otherwise. The indices of vector and matrices start at zero. Let \(A \in {\mathcal {L}}({\mathcal {H}}_{N_0})\) and \(B \in {\mathcal {L}}({\mathcal {H}}_{N_1})\) be given. Their Kronecker product (see [12, eq. (2.50)]) \(A \otimes B \in {\mathcal {L}}({\mathcal {H}}_{N_0} \otimes {\mathcal {H}}_{N_1})\) is defined by the matrix
It is also the matrix representation of the tensor product of the two operators.
Let \(N \in {\mathbb {N}}\) and define \(\omega := \exp (\textrm{i}\hspace{0.55542pt}\frac{2\pi }{N})\). The quantum Fourier transform is defined as the matrix \(\textrm{QFT}_N \in {\mathcal {L}}({\mathcal {H}}_N)\) with entries \((\textrm{QFT}_N)_{j,k} = \dfrac{1}{\sqrt{N}}\omega ^{j k}\) for \(j, k = 0, \dots , N - 1\). Hence, we have
Let throughout the entire article be \(t \in {\mathbb {R}}\). For an operator \(A \in {\mathcal {L}}({\mathcal {H}})\), we define its operator exponential (or matrix exponential), cf. [8, eq. (2.1)] by
Some natural choices are \(t = \pm 1\) and \(t = \pm \pi \). For a unitary operator \(U \in {\mathcal {L}}({\mathcal {H}})\), we denote by \({\text {Ham}}(U) \in {\mathcal {L}}({\mathcal {H}})\) a symmetric, linear, continuous operator such that
This operator is in general not unique. The following calculus rules for the operator exponential are of relevance for us.
Lemma 1
(Calculus Rules for the Operator Exponential, cf. [8, Proposition 2.3] and [7, Lemma 4.169]) The following statements are valid:
-
(i)
Let a finite-dimensional, complex Hilbert space \({\mathcal {H}}\) and commuting matrices \(A, B \in {\mathcal {L}}({\mathcal {H}})\) be given. Then, we have
$$\begin{aligned} \exp (A + B) = \exp (A)\exp (B). \end{aligned}$$In particular, the operators \(\exp (A)\) and \(\exp (B)\) commute.
-
(ii)
For all \(n \in {{\mathbb {N}}}\) and \(A \in {\mathcal {L}}({\mathcal {H}})\) holds
$$\begin{aligned} \exp (n A) = \exp (A)^n. \end{aligned}$$ -
(iii)
For all \(A \in {\mathcal {L}}({\mathcal {H}})\) hold \(\exp (-A) = \exp (A)^{-1}\) and \(\exp (A^*) = \exp (A)^*\).
-
(iv)
For all \(A \in {\mathcal {L}}({\mathcal {H}})\) and all invertible \(T \in {\mathcal {L}}({\mathcal {H}})\) with inverse \(T^{-1} \in {\mathcal {L}}({\mathcal {H}})\), we have
$$\begin{aligned} \exp \left( T^{-1} A T\right) = T^{-1} \exp (A) T. \end{aligned}$$ -
(v)
Let two finite-dimensional, complex Hilbert spaces \({\mathcal {H}}, {\mathcal {H}}'\) and linear operators \(A \in {\mathcal {L}}({\mathcal {H}})\), \(A' \in {\mathcal {L}}({\mathcal {H}}')\) be given. Then,
$$\begin{aligned} \exp (A \otimes \textrm{id}_{{\mathcal {H}}'} + \textrm{id}_{{\mathcal {H}}} \otimes A') = \exp (A) \otimes \exp (A'). \end{aligned}$$
Additionally, we require some results from matrix theory throughout the text, which are introduced here. A matrix \(A \in {\mathcal {L}}({\mathcal {H}}_N)\) is called circulant, if there exists a sequence \((c_\ell )_{\ell = 0}^{N - 1} \subseteq {\mathbb {C}}\) such that for the entries holds \(A_{j,k} = c_{{(k - j \pmod {N})}}\) for \(j, k = 0, \dots , N - 1\). Hence, circulant matrices have the form
The shift matrix \({\text {Shift}}_N\) is the circulant matrix with respect to the sequence \((c_\ell )_{\ell = 0}^{N - 1}\) with \(c_1 = 1\) and \(c_\ell = 0\) for all other \(\ell \) reading as
According to [3, eq. (3.1.4)], every circulant matrix can be rewritten as
This class of matrices has the following properties regarding their eigenvalues and eigenvectors.
Theorem 2
(Diagonalization of Circulant Matrices, see [3, Theorem 3.2.2] as well as [5, Sect. 3.1]) Let \(A \in {\mathcal {L}}({\mathcal {H}}_N)\) be a circulant matrix with respect to the complex sequence \((c_k)_{k = 0}^{N - 1} \). Then, A is diagonalizable with
where \(\textrm{QFT}_N\) represents again the quantum Fourier transform and \(\Lambda = {\text {diag}}(\lambda _0, \dots , \lambda _{N - 1})\) with
It should be emphasized that the original results in [3] and [5] are formulated with respect to the discrete Fourier transform. As we are only interested in its quantum counterpart, we rewrote the statement in our sense. Theorem 2 means that the vectors \(\left| {\textrm{QFT}_N m}\right\rangle = \frac{1}{\sqrt{N}} \sum _{j = 0}^{N - 1} \omega ^{jm} \left| {j}\right\rangle \) form a set of eigenvectors for all circulant matrices. The associated eigenvalues read as the quantum Fourier transform of the vector \((c_0, \dots , c_{N - 1}) \in {\mathbb {C}}^N\).
Interestingly, circulant matrices have been used previously in the context of quantum Fourier transform in [16]. Our work does, however, not make use of the results therein.
3 Exponential of projection-based tensor decompositions
In this section, we propose a formula for the operator exponential of projection-based tensor decompositions. The following theorem serves as our main result in this section.
Theorem 3
Let finite-dimensional, complex Hilbert spaces \({\mathcal {H}}\) and \({\mathcal {H}}'\) be given. Consider for \(N \in {\mathbb {N}}\) the operators \((P_j)_{j = 0}^{N - 1} \subseteq {\mathcal {L}}({\mathcal {H}})\) and \(({\text {Ham}}_j)_{j = 0}^{N - 1} \subseteq {\mathcal {L}}({\mathcal {H}}')\) that fulfill the following conditions:
-
(i)
The operators \((P_j)_{j = 0}^{N - 1}\) and \(({\text {Ham}}_j)_{j = 0}^{N - 1}\) are symmetric.
-
(ii)
For all \(j, k = 0, \dots , N - 1\), we have \(P_j P_k = \delta _{j,k} P_j\).
-
(iii)
The equation \(\sum _{j = 0}^{N - 1} P_j = \textrm{id}_{{\mathcal {H}}}\) is valid.
Then, the operators \((\exp (- \textrm{i}\hspace{0.55542pt}t P_j \otimes {\text {Ham}}_j))_{j = 0}^{N - 1}\) commute and we have
Proof
First, we observe that the terms \((P_j \otimes {\text {Ham}}_j)_{j = 0}^{N - 1}\) commute since
for \(j \ne k\). On the one hand, Lemma 1 yields that \(\exp (- \textrm{i}\hspace{0.55542pt}t P_j \otimes {\text {Ham}}_j)\) commute and
This shows the first part of the assertion.
On the other hand, we obtain inductively
for all integers \(k \ge 1\). Using (1), we get
In the last step, we made use of (iii). This yields the remaining part of the assertion. \(\square \)
In this article, decompositions of the form \(\sum _{j = 0}^{N - 1} P_j \otimes {\text {Ham}}_j\), where \(P_j\), \({\text {Ham}}_j\) fulfill the conditions in Theorem 3 are called projection-based tensor decompositions. Clearly, the condition (ii) in Theorem 3 implies that the operators \((P_j)_{j = 0}^{N - 1}\) are projections. These decompositions can be interpreted in two ways: On the one hand, they are a generalization of a block diagonal matrix. To see this, take a basis \((\left| {j}\right\rangle )_{j = 0}^{\dim {\mathcal {H}}- 1}\) and set \(P_j = \left| {j}\right\rangle \left\langle {j}\right| \).
On the other hand, they are essentially a generalization of the diagonalization of symmetric matrices. To see this, let a symmetric operator \({\text {Ham}}\in {\mathcal {L}}({\mathcal {H}})\) be given for some N-dimensional, complex Hilbert space \({\mathcal {H}}\). Then, there exist eigenvalues \((\lambda _j)_{j = 0}^{N - 1}\) and corresponding eigenvectors \((\left| {v_j}\right\rangle )_{j = 0}^{N - 1}\) such that
In this sense we can rewrite \({\mathcal {H}}\simeq {\mathbb {C}}\otimes {\mathcal {H}}\) and define \(P_j:= \left| {v_j}\right\rangle \left\langle {v_j}\right| \) and \({\text {Ham}}_j:= \lambda _j\) for \(j = 0, \dots , N - 1\). Then the conditions on the projections are verified and the symmetry of \({\text {Ham}}_j\) is identical to the eigenvalues to be real.
Occasionally, we make use of the following special case.
Corollary 4
Let finite-dimensional, complex Hilbert spaces \({\mathcal {H}}\) and \({\mathcal {H}}'\) be given. Take a symmetric operator \({\text {Ham}}\in {\mathcal {L}}({\mathcal {H}}')\) and a symmetric projection operator \(P \in {\mathcal {L}}({\mathcal {H}})\). For all \(t \in {\mathbb {R}}\) holds
Proof
We apply Theorem 3 with \(N = 2\), \(P_0:= P\), \(P_1 = \textrm{id}_{{\mathcal {H}}} - P\) and \({\text {Ham}}_0:= {\text {Ham}}\), \({\text {Ham}}_1:= 0\). Clearly, \((P_j)_{j = 0, 1}\), \(({\text {Ham}}_j)_{j = 0, 1}\) are symmetric operators in their respective spaces. By definition holds \(P_0 + P_1 = \textrm{id}_{{\mathcal {H}}}\), and we have
as well as
Hence, Theorem 3 yields
This ends the proof. \(\square \)
The previous results are illustrated with the following example.
Example 5
(Controlled NOT gate) Consider the controlled \({\text {NOT}}\) gate
Its behavior can be described as follows: If the first qubit takes the value \(\left| {1}\right\rangle \), then the second qubit is flipped, which is the application of the \({\text {NOT}}\) gate. Otherwise, no change is performed on the second qubit. In other words, it has the following output.
It is straightforward to see
We write the \({\text {NOT}}\) gate as the exponential of a Hamiltonian. For this sake, we take \(\left| {\pm }\right\rangle = \frac{1}{\sqrt{2}}(\left| {0}\right\rangle \pm \left| {1}\right\rangle )\). It is straightforward to verify
Corollary 4 yields \({\text {NOT}}= \exp (-\textrm{i}\hspace{0.55542pt}t {\text {Ham}}({\text {NOT}}))\) with \(t = \pi \) and \({\text {Ham}}({\text {NOT}}) = \left| {-}\right\rangle \left\langle {-}\right| \). Hence, we rewrite the controlled \({\text {NOT}}\) gate as
In the upcoming result, we generalize Theorem 3 to incorporate transformations within the Hamiltonians.
Theorem 6
Let finite-dimensional, complex Hilbert spaces \({\mathcal {H}}\) and \({\mathcal {H}}'\) be given. Consider for \(N \in {\mathbb {N}}\) the operators \((P_j)_{j = 0}^{N - 1}, S \subseteq {\mathcal {L}}({\mathcal {H}})\) and \(({\text {Ham}}_j)_{j = 0}^{N - 1}, (T_j)_{j = 0}^{N - 1} \subseteq {\mathcal {L}}({\mathcal {H}}')\) that fulfill the following conditions:
-
(i)
The operators \((P_j)_{j = 0}^{N - 1}\) and \(({\text {Ham}}_j)_{j = 0}^{N - 1}\) are symmetric.
-
(ii)
For all \(j, k = 0, \dots , N - 1\), we have \(P_j P_k = \delta _{j,k}P_j\).
-
(iii)
The equation \(\sum _{j = 0}^{N - 1} P_j = \textrm{id}_{{\mathcal {H}}}\) is valid.
-
(iv)
The operators \((T_j)_{j = 0}^{N - 1}\) and S are unitary. Moreover, for all \(j = 0, \dots , {N - 1}\) holds \(T_j = \exp (-\textrm{i}\hspace{0.55542pt}t {\text {Ham}}(T_j))\).
Then, we have
with
Proof
As the operators \((S^\dagger P_j S)_{j = 0}^{N - 1}\) and \((T_j^\dagger {\text {Ham}}_j T_j)_{j = 0}^{N - 1}\) fulfill the criteria in Theorem 3, we obtain
By Lemma 1, we get
For operators \((U_j)_{j = 0}^{N - 1},(V_j)_{j = 0}^{N - 1} \subseteq {\mathcal {L}}({\mathcal {H}})\), it is straightforward to show
The application of this result on the middle factor in (3) yields
In combination with \(T_j = \exp (-\textrm{i}\hspace{0.55542pt}t {\text {Ham}}(T_j))\), the application of Theorem 3 on each factor yields the assertion. \(\square \)
The precise purpose of Theorem 6 will become clear later. Nevertheless, we want to provide an application of it and return for this sake to Example 5.
Example 7
(Alternative representation of \({\text {CNOT}}\)) As demonstrated in Example 5, we have \({\text {Ham}}({\text {CNOT}}) = \left| {1}\right\rangle \left\langle {1}\right| \otimes \left| {-}\right\rangle \left\langle {-}\right| \). We apply Theorem 6. With \(\left| {-}\right\rangle = H\left| {1}\right\rangle \), where H is the Hadamard gate (cf. [12, eq. (1.14)]), we obtain for instance with \(S = \textrm{id}_2\) and \(T_j = H\) for \(j = 0, 1\) that
Then, we set \(t = \pi \) and \(\exp (-\textrm{i}\hspace{0.55542pt}t \left| {1}\right\rangle \left\langle {1}\right| ) = Z\). Interchanging the roles of the qubits yields
where CZ is the controlled Z gate.
Alternatively, one could choose \(S = H\) and \(T_j = H\) for \(j = 0, 1\). This yields
In the last term, the factor in the middle is a \({\text {CNOT}}\) gate with the roles of control and data reversed. These results are well known in the quantum computing literature (cf. [12, Exercises 4.17, 4.20]) and are subsumed in Fig. 1.
4 Alternative quantum phase estimation
After these preparations, we now come to the main subject of our investigation—the quantum phase estimation. Let an operator \(U \in {\mathcal {L}}({\mathcal {H}})\) acting on u qubits together with an eigenvector \(\left| {\psi }\right\rangle \) and corresponding eigenvalue \(\exp ( \textrm{i}\hspace{0.55542pt}2\pi {\varphi })\), \({\varphi } \in [0,1)\) be given. The goal is to find (an approximation) of the phase \(\varphi \).
This can be done using quantum phase estimation. For this sake, an ancilla register with n qubits is considered. Here, as a reminder, we write \(N = 2^n\). Then, the circuit in Fig. 2 is applied.
The operator \(cU \in {\mathcal {L}}({\mathcal {H}}_N \otimes {\mathcal {H}})\) is called the controlled U gate and is defined by
Let the ancilla register be initialized with \(\left| {0}\right\rangle \) and assume \(N \varphi \) to be an integer. Then, the result after applying the quantum phase estimation in Fig. 2 is \(\left| {N\varphi }\right\rangle \left| {\psi }\right\rangle \). The measurement of the ancilla register then yields the phase as classical information. In practice, however, \(N\varphi \) is not an integer and hence one obtains a superposition and a probabilistic measurement as discussed, e.g., in [12, Sect. 5.2]. For the sake of exposition, we assume in the rest of this article \(N \varphi \) to be an integer for our choice of n. Additionally, in this article, we do not consider potential physical limitations related to the number of qubits used in the ancilla register, as discussed in [2]. Instead, our focus lies solely on the mathematical derivations.
Next, we change the quantum phase estimation depicted in Fig. 2 by substituting the application of the Hadamard transforms on every qubit to a quantum Fourier transform. This yields the circuit depicted in Fig. 3 (left), which we will refer to as alternative quantum phase estimation.
Occasionally, we may abbreviate this operation by the multi-qubit gate, in Fig. 3 (right), where we note which input register is devoted to the ancilla register (phase) and which one to the eigenvector (vector). This is a slight abuse of notation, as it refers to our alternative version. Moreover, we only assume that this gate realizes the operator. No assumption on its inner working is made, though.
Of course, for \(\left| {\textrm{anc}}\right\rangle = \left| {0}\right\rangle \) it is straightforward to verify \(H^{\otimes n}\left| {0}\right\rangle = \textrm{QFT}_N\left| {0}\right\rangle \). In this case, both circuits provide the same result. Hence, our modification is in this sense equivalent to the traditional one. However, the application of the quantum Fourier transform is computationally more expensive than the Hadamard transform, and hence, no performance gain can be claimed.
Nevertheless, we want to analyze the action of the circuit in Fig. 3 and derive a representation of a corresponding Hamiltonian using the results in Sect. 3 in the upcoming subsection.
4.1 Action of the alternative quantum phase estimation
Given an eigenvector \(\left| {\psi }\right\rangle \) of U with corresponding eigenvalue \(e^{\textrm{i}\hspace{0.55542pt}2\pi \varphi }\) and an ancilla qubit \(\left| {\textrm{anc}}\right\rangle \) initialized in \(\left| {j}\right\rangle \), \(j \in \{0, \dots , N - 1\}\). We consider the actions of the circuit in Fig. 3 after each of the steps marked therein. For this sake, let \(\omega := e^{\textrm{i}\hspace{0.55542pt}\frac{2\pi }{N}}\) and let \(\left| {\textrm{Step}\ k}\right\rangle \) be the quantum state after the application of Step k.
Step 1. The application of the quantum Fourier transform on the ancilla qubit yields
Step 2. Next, the controlled U gate is applied, which gives
Step 3. The application of the inverse quantum Fourier transform to the ancilla register yields
With \(\omega = e^{\textrm{i}\hspace{0.55542pt}\frac{2 \pi }{N}}\) we get \(\omega ^j \omega ^{-m} e^{\textrm{i}\hspace{0.55542pt}2\pi \varphi } = e^{\textrm{i}\hspace{0.55542pt}\frac{2\pi }{N}(j - m + N\varphi )}\). Hence, we obtain using Theorem A.1(i) in the appendix that
This yields eventually
Thus, the alternative QPE with input \(\left| {j}\right\rangle \left| {\psi }\right\rangle \) yields in the ancilla register the value of \(N \varphi \) shifted by j in the rest class ring.
4.2 Hamiltonian of the alternative quantum phase estimate
As a next step, we want to use the results in Sect. 3 to represent our alternative QPE by a Hamiltonian operator. First, we rewrite the controlled U gate using Theorem 3. By its definition in (4), it is straightforward to verify
Let for the remainder of the work \({\text {Ham}}(U)\) be a Hamiltonian of U with \(U = \exp (-\textrm{i}\hspace{0.55542pt}t {\text {Ham}}(U))\). Then, we have
by Lemma 1. This yields with \(P_j = \left| {j}\right\rangle \left\langle {j}\right| \) and \({\text {Ham}}_j = j {\text {Ham}}(U)\) in Theorem 3 that
In other words, if we are given the Hamiltonian of an operator U, we can generate the Hamiltonian of the associated controlled U gate by forming the tensor product with the multiplier
Hence, we may as well write \({\text {Ham}}(cU) = C_N \otimes {\text {Ham}}(U)\). Occasionally, we refer to \(C_N\) as control multiplier.
Next, we write the operator encoded in the circuit in Fig. 3 as the matrix exponential of a Hamiltonian. Let \(\textrm{QPE}_N(U)\) denote the operator depicted therein. Then we get by its definition
Using Theorem 6, we get
with
In other words, we get \({\text {Ham}}(\textrm{QPE}_N(U)) = Q_N \otimes {\text {Ham}}(U)\). Analogously, we might call \(Q_N\) the QPE multiplier. That means that the application of the alternative QPE can be represented as the tensor product of the QPE multiplier with the Hamiltonian of the target operator.
Remark 8
It is straightforward to see from the circuit in Fig. 3 and its formula representation in (5) that \(\textrm{QPE}_N(U)^\dagger = \textrm{QPE}_N(U^\dagger )\). Hence, the inversion of the alternative QPE is the same as the QPE of the inverse target operator. Also, it is straightforward to show for two commuting, unitary operators \(U_0, U_1 \in {\mathcal {L}}({\mathcal {H}})\) that
These observations do not need to be true for the textbook QPE.
In the remainder of this section, we would like to derive an explicit matrix representation of this operator. This is addressed in the following subsection.
4.3 Properties of the QPE multiplier
By the definition of the control multiplier, we obtain
By the definition of the quantum Fourier transform, we obtain
This yields
Using Theorem A.1(ii) in the appendix, we get
Then, we obtain
Hence, the QPE multiplier is in fact the circulant matrix with respect to \(c_0 = \frac{N -1}{2}\) and \(c_j = \frac{1}{\omega ^j - 1}\) that has the eigenvalues \(0, 1, \dots , N - 1.\)
5 Recursive quantum phase estimate
Next, we derive a recursive decomposition of the QPE multiplier. For this sake, we decompose the n-qubit ancilla register into two subregisters each having \(n_0\), respectively, \(n_1\) qubits with \(n = n_0 + n_1\). Analogously, set \(N_j = 2^{n_j}\) for \(j = 0, 1\) with \(N = N_0 \cdot N_1\). We start by proposing the following lemma.
Lemma 9
Let a circulant matrix \(A \in {\mathcal {L}}({\mathcal {H}}_N)\) be given with entries
for a sequence \((c_\ell )_{\ell = 0}^{N_0 N_1 - 1} \subseteq {\mathbb {C}}\). Let \(\left| {v_m}\right\rangle = \left| {\textrm{QFT}_{N_0}^\dagger m}\right\rangle \). Then, the following equation holds
where \(A^{(\ell )} \in {\mathcal {L}}({\mathcal {H}}_{N_1})\) with \(A^{(\ell )}_{j,k} = c_{{(k - j + N_1 \ell \pmod {N})}}\) for \(j, k = 0, \dots , N_1 - 1\) and \(\ell = 0, \dots , N_0 - 1\) and \(\omega = \exp (\textrm{i}\hspace{0.55542pt}\frac{2 \pi }{N})\).
Proof
Let \(A^{(\ell )}\) be defined as above. It is straightforward to verify that the following identity is valid
In other words, A is the Kronecker product of the matrices \(A^{(\ell )}\) with powers of the \({\text {Shift}}\) matrix. Hence, we write
Next, we use the diagonalization of the \({\text {Shift}}_{N_0}\). With \(\omega = \exp (\textrm{i}\hspace{0.55542pt}\frac{2 \pi }{N})\), we get \(\exp (\textrm{i}\hspace{0.55542pt}\frac{2\pi }{N_0}) = \omega ^{N_1}\) and set
to obtain
Then, we further decompose
This yields the assertion. \(\square \)
Hence, every circulant matrix can be rewritten as a projection-based tensor decomposition using rank-1 projections. It is worth mentioning that the matrices \(A^{(\ell )}\) in Lemma 9 do not need to be circulant themselves in general. The factors are associated with the inverse quantum Fourier transform of the corresponding entries of \(A^{(\ell )}\). For instance, we obtain for \(N_0 = 2\) the decomposition
where again \(\left| {+}\right\rangle = H\left| {0}\right\rangle \) and \(\left| {-}\right\rangle = H\left| {1}\right\rangle \).
Next, Lemma 9 is applied to the QPE multiplier in the upcoming theorem.
Theorem 10
Let \(Q_N\) be the QPE multiplier with respect to \(n = n_0 + n_1\) qubits and \(N_j = 2^{n_j}\), \(j = 0, 1\) with \(N = N_0 \cdot N_1\). Then, we obtain the decomposition
with \(D_{\omega ,N_1}:= \textrm{diag}(1, \omega , \dots , \omega ^{N_1 - 1}) = \sum _{j = 0}^{N_1 - 1} \omega ^j \left| {j}\right\rangle \left\langle {j}\right| \) and \(\omega = \exp (\textrm{i}\hspace{0.55542pt}\frac{2 \pi }{N})\).
Proof
As we have shown in (6), the QPE multiplier is a circulant matrix with respect to the sequence
Hence, Lemma 9 guarantees the decomposition
with \(A^{(\ell )}_{j,k} = c_{{(k - j + N_1 \ell \pmod {N})}}\). Next, we calculate the entries of the prefactors in the above decomposition. Let \(j, k \in \{0, \dots , N - 1\}\). We distinguish two cases.
Case \(j \ne k\).
For \(z \in {\mathbb {C}}\), \(|z| = 1\) with \(z, z^{N_0} \ne 1\) we have by the formula for the geometric series the identity
Hence, we obtain with \(N_0 N_1 = N\), \(\omega ^N = 1\) that
Here we used
which is guaranteed by Theorem A.1(i).
Case \(j = k\). In this case, the identity
derived from Theorem A.1(ii) yields
With (9), we obtain
Hence, we get with \(D_{\omega ,N_1}\) defined as above
which completes the proof. \(\square \)
Next, we return to the quantum phase estimation of a unitary operator U with associated Hamiltonian \({\text {Ham}}(U)\) and apply the decomposition in Theorem 10 to rewrite the operator.
5.1 Composed quantum phase estimation
As an attempt to decompose the quantum phase estimate into smaller operations, we use the result in Theorem 10. First and foremost, we see that the operators \(Q_{N_0} \otimes \textrm{id}_{N_1}\) and \(\left| {v_m}\right\rangle \left\langle {v_m}\right| \otimes (D_{\omega ,N_1}^{m \dagger } Q_{N_1} D_{\omega ,N_1}^m)\) for \(m = 0, \dots , N_0 - 1\) commute. Hence, we get by subsequent use of Theorem 6 the following product:
with
and
In combination, this yields with \(\textrm{QPE}_{N_0}(D_{\omega ,N_1}^\dagger ) = \textrm{QPE}_{N_0}(D_{\omega ,N_1})^\dagger \) (see Remark 8) the following decomposition
Of course, the last term performs a QPE of U with respect to \(n_0\) qubits and ignores the other \(n_1\) qubits in the quantum register associated to \(\textrm{QPE}_N(U)\). The representation in (11) is as well depicted in Fig. 4.
Depiction of the decomposition in (11)
Let us consider for the sake of explanation the case \(n_0 = 1\). Then, we obtain for a one qubit QPE the circuit in Fig. 5. With \(\textrm{QFT}_2 = H\) we deduce the following equivalence in Fig. 5.
If we chose to plug in the representation therein into the circuit in Fig. 4, we see that due to the iterated quantum phase transform many Hadamard transforms do cancel out leading to the result in Fig. 6.
Simplification of the circuit in Fig. 4 for the special case \(n_0 = 1\)
Of course, one might be tempted to iterate this procedure. It is straightforward to show that the resulting circuit contains the circuits used to implement the quantum Fourier transform (cf. [12, Fig. 5.1]). As the demonstration is space-consuming, it is left to the curious reader.
Remark 11
For a recursive construction of a circuit, the case \(n_0 = n_1 = \frac{n}{2}\) is of particular interest. Figure 4 contains four smaller instances of alternative quantum phase estimates. Let us assume in this remark that the alternative QPE for U and \(U^{N_0}\) cost the same for the same number of ancilla qubits. Then the overall complexity of the circuit depends on the question, whether a simplified circuit for the alternative QPE of \(D_{\omega , N_1}\) can be found. If, for instance, one could find for the latter a circuit with complexity \({\mathcal {O}}(n)\), then the algorithmic master theorem would yield an overall complexity of \({\mathcal {O}}(n \log (n))\). Whether such a circuit exists is an open question and hence no performance gain is claimed.
5.2 Nested quantum phase estimation
The recursive application of the results in the previous section might be inefficient due to the repeated application of Hadamard transforms that cancel out. This requires in practice additional steps to simplify the resulting circuit prior to its implementation. However, in this subsection we want to provide an alternative decomposition of the quantum phase estimation. By definition holds
Hence, we can apply Theorem 6 and obtain
with
As the operator \(C_{N_0} \otimes {\textrm{id}_{N_1}} \otimes {\text {Ham}}(U)\) commutes with all \(\left| {m}\right\rangle \left\langle {m}\right| \otimes D_{\omega ,N_1}^{m\dagger } Q_{N_1} D_{\omega ,N_1}^m {\otimes {\text {Ham}}(U)}\) for \(m = 0, \dots , N_0 -1\) we obtain with Theorem 6 the product
with
Further, we deduce
and hence with the definition of the alternative quantum phase estimate that
Hereby, we note that
In other words, U and \(D_{\omega ,N_1}\) are simultaneously controlled by the same subregister. This motivates the representation as a nested quantum phase estimate given in Fig. 7. In fact, the quantum phase inside with respect to \(N_1\) is not controlled by the other subregister. A closer inspection of the circuit in Fig. 7 reveals that the first and last operations are the QFT and its inverse with respect to \(n_0\) qubits. All the operations in between are either independent of or controlled by these qubits. As this resembles the circuit in Fig. 3 we call this the nested representation.
Let us point out that both, composed and nested QPE are recursive decompositions of the alternative quantum phase estimation introduced in Sect. 4.
6 Conclusion and outlook
In this work, we proposed an alternative quantum phase estimation. We were capable to demonstrate that this modification has indeed many interesting and convenient mathematical properties. For the analysis, we used formulas for the operator exponential of projection-based tensor decompositions.
Addressing the latter, it is not clear whether such a decomposition exists for all tensor decompositions of the underlying space. Clearly, the diagonalization is such a case, but are they more generally available? Even if not, we have seen that there are cases that comfortably fit into this framework. In particular, the formulas in Theorem 3, Corollary 4 and Theorem 6 seem to be attractive for automated compilation schemes, as it decomposes a possibly large operator into smaller ones. This might enable a recursive build of the circuit and has in principle been demonstrated in Sect. 5, besides no performance gain has been proven.
The QPE is built upon the quantum Fourier transform. There are generalizations of the Fourier transform to nonabelian finite groups, see [15, Chapter 15], where the classical Fourier transform can be interpreted as a special case on a cyclic group. The matrix representation of the latter using permutation groups is exactly the set of powers of the shift matrix. As we have seen, the QPE multiplier is a symmetric matrix that is a complex linear combination of powers of the shift matrix with eigenvalues \(0, 1, \dots , N-1\). One might be tempted to use this observation as a starting point to construct generalized quantum phase estimations upon nonabelian groups by substituting the shift with the corresponding matrix representations and adapting the coefficients. Therein, the ancilla qubit would encode an element from the underlying group. All of this is, however, left for future investigations.
Data availability
Data sharing is not applicable to this article as no datasets were generated or analyzed during the current study.
References
Benioff, P.: The computer as a physical system: a microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines. J. Stat. Phys. 225, 563–591 (1980)
Cao, Z., Cao, Z.: The Planck Constant and Quantum Fourier Transformation. In: Cryptology ePrint Archive (2023)
Davis, P.J.: Circulant Matrices. Monographs and textbooks in pure and applied mathematics, Wiley, New York (1979). (ISBN: 9780471057710)
Feynman, R. P.: Simulating physics with computers. Int. J. Theor. Phys. 21.6/7 (1982)
Gray, R.M.: Toeplitz and Circulant Matrices: A Review. Foundations and Trends in Technology, Now Publishers, Delft (2006). (ISBN: 9781933019239)
Grover, L. K.: A fast quantum mechanical algorithm for database search. In: Proceedings of the twenty-eighth annual ACM symposium on Theory of computing. pp. 212–219 (1996)
Hackbusch, W.: Tensor Spaces and Numerical Tensor Calculus. Springer Series in Computational Mathematics, Springer International Publishing, Berlin (2019). (ISBN: 9783030355548)
Hall, B.: Lie Groups, Lie Algebras, and Representations: An Elementary Introduction. Graduate Texts in Mathematics, Springer International Publishing, Berlin (2015). (ISBN: 9783319134673)
Harrow, A.W., Hassidim, A., Lloyd, S.: Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 103.15, 150502 (2009)
Kitaev, A. Y.: Quantum measurements and the Abelian stabilizer problem. In: arXiv preprint arxiv:quant-ph/9511026 (1995)
Manin, Y.: Computable and Noncomputable (original title in Russian: Вычислимоеи н евычислимое Sovetskoe Radio (Сов. радио), (1980)
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information: 10th, Anniversary Cambridge University Press, Cambridge (2010). (ISBN: 9781107002173)
Peres, A.: Reversible logic and quantum computers. Phys. Rev. A 32.6, 3266 (1985)
Shor, P. W.: Algorithms for quantum computation: discrete logarithms and factoring. In: Proceedings 35th annual symposium on foundations of computer science. IEEE. pp. 124–134 (1994)
Terras, A.: Fourier Analysis on Finite Groups and Applications. London Mathematical Society Student Texts, Cambridge University Press, Cambridge (1999). (ISBN: 9780521457187)
Torosov, B.T., Vitanov, N.V.: Design of quantum Fourier transforms and quantum algorithms by using circulant Hamiltonians. Phys. Rev. A 80.2, 022329 (2009)
Acknowledgements
I would like to thank SD, PG and ZS for reading an earlier version of the manuscript and providing constructive comments.
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The author has no conflict of interest to declare that are relevant to the content of this article.
Funding
This study is funded by the Einstein Research Unit Perspectives of a quantum digital transformation: Near-term quantum computational devices and quantum processors.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix A. Appendix
Appendix A. Appendix
Theorem A.1
Let \(z \in {\mathbb {C}}\), \(|z| = 1\) and \(z^N = 1\) be given. Then the following identities are valid.
-
(i)
$$\begin{aligned} \sum _{j = 0}^{N - 1} z^j = \left\{ \begin{array}{cl} N &{}\text {if~} z = 1,\\ 0 &{} \text {else}. \end{array}\right. \end{aligned}$$(12)
-
(ii)
$$\begin{aligned} \sum _{j = 0}^{N - 1} j z^j = \left\{ \begin{array}{cl} \dfrac{N(N - 1)}{2} &{}\text {if~} z = 1,\\ &{} \\ \dfrac{N}{z - 1} &{}\text {else}.\end{array}\right. \end{aligned}$$(13)
Proof
ad (i). If \(z \ne 1\), then we get by the geometric series
as \(z^N = 1\). If \(z = 1\), then trivially
ad (ii). Let again \(z \ne 1\). We use (ii). Then we get by differentiation and multiplication with z the identity
For \(z = 1\) we get
\(\square \)
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Stengl, M. An alternative formulation of the quantum phase estimation using projection-based tensor decompositions. Quantum Inf Process 23, 144 (2024). https://doi.org/10.1007/s11128-024-04347-4
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1007/s11128-024-04347-4








