Jump to content

Quantum phase estimation algorithm

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Luca Innocenti (talk | contribs) at 12:46, 18 June 2023 (dot in equation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In quantum computing, the quantum phase estimation algorithm (also referred to as quantum eigenvalue estimation algorithm), is a quantum algorithm to estimate the phase (or eigenvalue) of an eigenvector of a unitary operator. More precisely, given a unitary matrix and a quantum state such that , the algorithm estimates the value of with high probability within additive error , using qubits (without counting the ones used to encode the eigenvector state) and controlled-U operations. The algorithm was initially introduced by Alexei Kitaev in 1995.[1][2]: 246 

Phase estimation is frequently used as a subroutine in other quantum algorithms, such as Shor's algorithm[2]: 131 , the quantum algorithm for linear systems of equations, and the quantum counting algorithm.

The problem

Let U be a unitary operator that operates on m qubits with an eigenvector such that .

We would like to find the eigenvalue of , which in this case is equivalent to estimating the phase , to a finite level of precision. We can write the eigenvalue in the form because U is a unitary operator over a complex vector space, so its eigenvalues must be complex numbers with absolute value 1.

The algorithm

The circuit for quantum phase estimation.

Setup

The input consists of two registers (namely, two parts): the upper qubits comprise the first register, and the lower qubits are the second register.

The initial state of the system is:

After applying n-bit Hadamard gate operation on the first register, the state becomes:

.

Let be a unitary operator with eigenvector such that . Thus,

.

Overall, the transformation implemented on the two registers by the controlled gates applying isThis can be seen by the decomposition of into its bitstring and binary representation , where . Clearly, becomesEach will only apply if the qubit is , implying that it is controlled by that bit. Therefore the overall transformation to is equivalent to the controlled gates from each -th qubit.

Therefore, the state will be transformed by the controlled gates like so:At this point, the second register with the eigenvector is not needed. It can be reused again in another run of phase estimation. The state without is

Apply inverse quantum Fourier transform

Applying the inverse quantum Fourier transform on

yields

We can approximate the value of by rounding to the nearest integer. This means that where is the nearest integer to and the difference satisfies .

Using this decomposition we can rewrite the state as where

Measurement

Performing a measurement in the computational basis on the first register yields the outcome with probabilityIt follows that if , that is, when can be written as , one always finds the outcome . On the other hand, if , the probability readsFrom this expression we can see that when . To see this, we observe that from the definition of we have the inequality , and thus:[3]: 157 [4]: 348 We conclude that the algorithm always provides the best -bit estimate of with high probability. By increasing the number of qubits by and ignoring those last qubits we can increase the probability to .[4]

Examples

Consider the simplest possible instance of the algorithm, where only qubit, on top of the qubits required to encode , is involved. Suppose the eigenvalue of reads . The first part of the algorithm generates the one-qubit state . Applying the inverse QFT amounts in this case to applying a Hadamard gate. The final outcome probabilities are thus where , or more explicitly,It is clear that in this simple example, if , then and thus we deterministically recover the precise eigenvalue from the measurement outcome.

If on the other hand , then , that is, and . This is compatible with our general discussion because .

See also

References

  1. ^ Kitaev, A. Yu (1995-11-20). "Quantum measurements and the Abelian Stabilizer Problem". arXiv:quant-ph/9511026.
  2. ^ a b Nielsen, Michael A. & Isaac L. Chuang (2001). Quantum computation and quantum information (Repr. ed.). Cambridge [u.a.]: Cambridge Univ. Press. ISBN 978-0521635035.
  3. ^ Benenti, Guiliano; Casati, Giulio; Strini, Giuliano (2004). Principles of quantum computation and information (Reprinted. ed.). New Jersey [u.a.]: World Scientific. ISBN 978-9812388582.
  4. ^ a b Cleve, R.; Ekert, A.; Macchiavello, C.; Mosca, M. (8 January 1998). "Quantum algorithms revisited". Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences. 454 (1969): 339–354. arXiv:quant-ph/9708016. Bibcode:1998RSPSA.454..339C. doi:10.1098/rspa.1998.0164. S2CID 16128238.