Quantum Subroutine Composition

09/28/2022
by   Stacey Jeffery, et al.
0

An important tool in algorithm design is the ability to build algorithms from other algorithms that run as subroutines. In the case of quantum algorithms, a subroutine may be called on a superposition of different inputs, which complicates things. For example, a classical algorithm that calls a subroutine Q times, where the average probability of querying the subroutine on input i is p_i, and the cost of the subroutine on input i is T_i, incurs expected cost Q∑_i p_i E[T_i] from all subroutine queries. While this statement is obvious for classical algorithms, for quantum algorithms, it is much less so, since naively, if we run a quantum subroutine on a superposition of inputs, we need to wait for all branches of the superposition to terminate before we can apply the next operation. We nonetheless show an analogous quantum statement (*): If q_i is the average query weight on i over all queries, the cost from all quantum subroutine queries is Q∑_i q_i E[T_i]. Here the query weight on i for a particular query is the probability of measuring i in the input register if we were to measure right before the query. We prove this result using the technique of multidimensional quantum walks, recently introduced in arXiv:2208.13492. We present a more general version of their quantum walk edge composition result, which yields variable-time quantum walks, generalizing variable-time quantum search, by, for example, replacing the update cost with √(∑_u,vπ_u P_u,v E[T_u,v^2]), where T_u,v is the cost to move from vertex u to vertex v. The same technique that allows us to compose quantum subroutines in quantum walks can also be used to compose in any quantum algorithm, which is how we prove (*).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/04/2019

Upperbounds on the probability of finding marked connected components using quantum walks

Finding a marked vertex in a graph can be a complicated task when using ...
research
08/29/2022

Multidimensional Quantum Walks, with Application to k-Distinctness

While the quantum query complexity of k-distinctness is known to be O(n^...
research
03/01/2023

Improved Quantum Query Complexity on Easier Inputs

Quantum span program algorithms for function evaluation sometimes have r...
research
11/09/2019

Quantum speedups need structure

We prove the following conjecture, raised by Aaronson and Ambainis in 20...
research
11/22/2022

Quantum algorithms and the power of forgetting

The so-called welded tree problem provides an example of a black-box pro...
research
07/13/2022

Quantum Metropolis Solver: A Quantum Walks Approach to Optimization Problems

The efficient resolution of optimization problems is one of the key issu...
research
08/17/2017

Determining the Efficiency of Quantum Search Algorithms with the Renormalization Group

Quantum walks provide a powerful demonstration of the effectiveness of t...

Please sign up or login with your details

Forgot password? Click here to reset