Non-Boolean Quantum Amplitude Amplification and Quantum Mean Estimation

Non-Boolean Quantum Amplitude Amplification and Quantum Mean Estimation

FERMILAB-PUB-21-018-QIS Prepared for submission to ACM Transactions on Quantum Computing February 09, 2021 Non-Boolean Quantum Amplitude Amplification and Quantum Mean Estimation PRASANTH SHYAMSUNDAR , Fermi National Accelerator Laboratory, USA This paper generalizes the quantum amplitude amplification and amplitude estimation algorithms to work with non-boolean oracles. The action of a non-boolean oracle *i on an eigenstate jGi is to apply a state- dependent phase-shift i ¹Gº. Unlike boolean oracles, the eigenvalues exp¹8i ¹Gºº of a non-boolean oracle are not restricted to be ±1. Two new oracular algorithms based on such non-boolean oracles are introduced. The first is the non-boolean amplitude amplification algorithm, which preferentially amplifies the amplitudesof the eigenstates based on the value of i ¹Gº. Starting from a given initial superposition state jk0i, the basis states with lower values of cos¹iº are amplified at the expense of the basis states with higher valuesof cos¹iº. The second algorithm is the quantum mean estimation algorithm, which uses quantum phase estimation to estimate the expectation k0 *i k0 , i.e., the expected value of exp¹8i ¹Gºº for a random G sampled by making a measurement on jk0i. It is shown that the quantum mean estimation algorithm offers a quadratic speedup over the corresponding classical algorithm. Both algorithms are demonstrated using simulations for a toy example. Potential applications of the algorithms are briefly discussed. CCS Concepts: • Theory of computation ! Quantum computation theory; • Computer systems or- ganization ! Quantum computing. Additional Key Words and Phrases: quantum algorithm, quantum speedup, Grover’s algorithm, quantum machine learning, state overlap 1 INTRODUCTION Grover’s algorithm, introduced in Ref. [1], is a quantum search algorithm for finding the unique input Ggood that satisfies 5bool ¹Ggoodº = 1 , (1) for a given boolean function 5bool : f0, 1,...,# − 1g ! f0, 1g. Such an input Ggood satisfying (1) is referred to as the winning input of 5bool. Grover’s original algorithm has also been adapted to work with boolean functions with multiple winning inputs [2], where the goal is to find any one of the winning inputs. An important generalization of Grover’s algorithm is the amplitude amplification algorithm 5 *^ [3–5], in which the function bool is accessed through a boolean quantum oracle 5bool that acts on the orthonormal basis states j0i ,..., j# − 1i as follows: ( arXiv:2102.04975v1 [quant-ph] 9 Feb 2021 − jGi , 5 ¹Gº = 1 , *^ G if bool 5bool j i = (2) ¸ jGi , if 5bool ¹Gº = 0 . In this way, the oracle marks the winning states by flipping their phase (shifting the phase by c). Given a superposition state jk0i, the goal of the amplitude amplification algorithm is to amplify the amplitudes (in the superposition state) of the winning states. The algorithm accomplishes this iteratively, by initializing a quantum system in the state jk0i and performing the operation ( *^ k0 5bool on the system during each iteration, where ( k k 퐼 . k0 ≡ 2 j 0i h 0j − (3) Here, 퐼 is the identity operator. Performing a measurement on the system after the iterative ampli- fication process results in one of winning states with high probability. Grover’s original algorithm Author’s address: Prasanth Shyamsundar, [email protected], Fermi National Accelerator Laboratory, Fermilab Quantum Institute, PO Box 500, Batavia, Illinois, 60510-0500, USA. 2 Prasanth Shyamsundar is a special case of the amplitude amplification algorithm, where a) the uniform superposition state jBi, given by # −1 1 ∑︁ jBi = p jGi , (4) # G=0 is used as the initial state jk0i of the system, and b) there is exactly one winning input. Closely related to the amplitude amplification algorithm is the amplitude estimation algorithm [5, 6]. It combines ideas from the amplitude amplification algorithm and the quantum phase estimation (QPE) algorithm [7] to estimate the probability that making a measurement on the initial state jk0i will yield a winning input. If the uniform superposition state jBi is used as jk0i, the amplitude estimation algorithm can help estimate the number of winning inputs of 5bool—this special case is also referred to as the quantum counting algorithm [6]. The amplitude amplification algorithm and the amplitude estimation algorithm have awide range of applications, and are important primitives that feature as subroutines in a number of other quantum algorithms [8–18p]. The amplitude amplification algorithm can be used to finda 1 winning input to 5bool with O # queries of the quantum oracle, regardless of whether the number of winning states is a priori known or unknown [2]. This represents a quadratic speedup 1 over classical algorithms, which require O¹# º evaluations of the function 5bool. Similarly, the amplitude estimation algorithm also offers a quadratic speedup over the corresponding classical approaches [5]. The quadratic speedup due to the amplitude amplification algorithm has been shown to be optimal for oracular quantum search algorithms [19]. A limitation of the amplitude amplification and estimation algorithms is that they work only with boolean oracles, which classify the basis states as good and bad. On the other hand, one might be interested in using these algorithms in the context of a non-boolean function of the input G. In such situations, the typical approach is to create a boolean oracle from the non-boolean function, by using a threshold value of the function as the decision boundary—the winning states are the ones for which the value of the function is, say, less than the chosen threshold value [20, 21]. In this way, the problem at hand can be adapted to work with the standard amplitude amplification and estimation algorithms. Another approach is to adapt the algorithms to work directly with non-boolean functions [15]. This paper generalizes the amplitude amplification and estimation algorithms to work with quantum oracles for non-boolean functions. In particular, a) the boolean amplitude amplification algorithm of Ref. [5] is generalized to the non-boolean amplitude amplification algorithm, and b) the amplitude estimation algorithm of Ref. [5] is generalized to the quantum mean estimation algorithm. Henceforth, the qualifiers “boolean” and “non-boolean” will be used whenever necessary, in order to distinguish between the different versions of the amplitude amplification algorithm. The rest of this section introduces non-boolean oracles and describes the goals of the two main algorithms of this paper. 1.1 Oracle for a Non-Boolean Function *^ The behavior of the boolean oracle 5bool in (2) can be generalized to non-boolean functions by allowing the oracle to perform arbitrary phase-shifts on the different basis states. More concretely, let i : f0, 1,...,# − 1g ! R be a real-valued function, and let *i be a quantum oracle given by # −1 ∑︁ 8i ¹Gº *i ≡ 4 jGi hGj . (5) G=0 p 1The O ¹ # º and O ¹# º scalings for the quantum and classical algorithms, respectively, hold assuming that the number of winning states does not scale with # . Non-Boolean Quantum Amplitude Amplification and Quantum Mean Estimation 3 y The actions of the oracle *i and its inverse *i on the basis states j0i ,..., j# − 1i are given by ¸8i ¹Gº h i *i jGi = 4 jGi = cos i ¹Gº ¸ 8 sin i ¹Gº jGi , (6) h i * y G 4−8i ¹Gº G i G 8 i G G . i j i = j i = cos ¹ º − sin ¹ º j i (7) 1.2 Goal of the Non-Boolean Amplitude Amplification Algorithm Given an oracle *i and an initial state jk0i, the goal of the non-boolean amplitude amplification algorithm introduced in this paper is to preferentially amplify the amplitudes of the basis states jGi with lower values of cosi ¹Gº, at the expense of the amplitude of states with higher values of cosi ¹Gº. Depending on the context in which the algorithm is to be used, a different function of interest 5 (which is intended to guide the amplification) can be appropriately mapped onto the function i. For example, if the range of 5 is »0, 1¼ and one intends to amplify the states with higher values of 5 , then (8) shows two different options for formulating the problem in termsof i. i ¹Gº = c 5 ¹Gº or i ¹Gº = arccos1 − 25 ¹Gº . (8) In both these cases, cos¹iº is monotonically decreasing in 5 . The connection between the boolean and non-boolean amplitude amplification algorithms can be seen as follows: If either of the two options in (8) is used to map a boolean function 5bool onto ibool, then ( c , if 5bool ¹Gº = 1 , ibool ¹Gº = (9) 0 , if 5bool ¹Gº = 0 . y In this case, it can be seen from (2), (6), and (7) that the oracle *i and its inverse *i both reduce to a boolean oracle as follows: * = * y = *^ . ibool ibool 5bool (10) Congruently, the task of amplifying (the amplitude of) the states with lower values of cos¹iº aligns with the task of amplifying the winning states jGi with 5bool ¹Gº = 1. 1.3 Goal of the Quantum Mean Estimation Algorithm Given a generic unitary operator * and a state jk0i, the goal of the quantum mean estimation algorithm introduced in this paper is to estimate the quantity hk0 j * jk0i . (11) In this paper, this task will be phrased in terms of the oracle *i as estimating the expectation of the eigenvalue 48i ¹Gº , for a state jGi chosen randomly by making a measurement on the superposition state jk0i. The connection between the two tasks can be seen, using (5), as follows: # −1 # −1 ∑︁ 8i ¹Gº ∑︁ 2 8i ¹Gº k0 *i k0 = k0 4 G G k0 = hG jk0i 4 . (12) G=0 G=0 2 Here, hG jk0i is the probability for a measurement on jk0i to yield G.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    36 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us