Efficient Distributed Quantum Computing

Similar documents
arxiv: v2 [quant-ph] 16 Nov 2012

Grover s algorithm. We want to find aa. Search in an unordered database. QC oracle (as usual) Usual trick

Low-communication parallel quantum multi-target preimage search

Quantum Random Access Memory

QR FACTORIZATIONS USING A RESTRICTED SET OF ROTATIONS

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

Parallelization of the QC-lib Quantum Computer Simulator Library

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2

Parallelization of the QC-lib Quantum Computer Simulator Library

Ph 219b/CS 219b. Exercises Due: Wednesday 4 December 2013

Introduction to Quantum Computing

Volume 2, Issue 9, September 2014 International Journal of Advance Research in Computer Science and Management Studies

Quantum Phase Estimation using Multivalued Logic

Introduction The Search Algorithm Grovers Algorithm References. Grovers Algorithm. Quantum Parallelism. Joseph Spring.

Is Quantum Search Practical?

Quantum parity algorithms as oracle calls, and application in Grover Database search

Quantum Switching Networks with Classical Routing

Quantum Computing Lecture 6. Quantum Search

Database Manipulation Operations on Quantum Systems

arxiv:quant-ph/ v3 11 Mar 2004

Single qubit + CNOT gates

α x x 0 α x x f(x) α x x α x ( 1) f(x) x f(x) x f(x) α x = α x x 2

Chapter 10. Quantum algorithms

Quantum Wireless Sensor Networks

Quantum Computation and Communication

An Architectural Framework For Quantum Algorithms Processing Unit (QAPU)

Computation at a Distance

Ph 219b/CS 219b. Exercises Due: Wednesday 11 February 2009

Quantum computers can search arbitrarily large databases by a single query

Complex numbers: a quick review. Chapter 10. Quantum algorithms. Definition: where i = 1. Polar form of z = a + b i is z = re iθ, where

Quantum Complexity of Testing Group Commutativity

- Why aren t there more quantum algorithms? - Quantum Programming Languages. By : Amanda Cieslak and Ahmana Tarin

Fourier Sampling & Simon s Algorithm

Ph 219b/CS 219b. Exercises Due: Wednesday 22 February 2006

What is a quantum computer? Quantum Architecture. Quantum Mechanics. Quantum Superposition. Quantum Entanglement. What is a Quantum Computer (contd.

Simulation of quantum computers with probabilistic models

PRAM lower bounds. 1 Overview. 2 Definitions. 3 Monotone Circuit Value Problem

A better lower bound for quantum algorithms searching an ordered list

APPLYING QUANTUM SEARCH TO A KNOWN- PLAINTEXT ATTACK ON TWO-KEY TRIPLE ENCRYPTION

The Quantum Baseline Network

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT

Quantum Computing Virtual Machine. Author: Alexandru Gheorghiu Scientific advisor: PhD. Lorina Negreanu

Algebraic Problems in Computational Complexity

Quantum Communication Complexity

Quantum Searching. Robert-Jan Slager and Thomas Beuman. 24 november 2009

LNN Reversible Circuit Realization Using Fast Harmony Search Based Heuristic 1

Quantum Computation. Dr Austin Fowler Centre for Quantum Computer Technology. New Scientist, 10/11/07

Parallel Simulation of Quantum Search

Introduction to Quantum Information Processing

4. QUANTUM COMPUTING. Jozef Gruska Faculty of Informatics Brno Czech Republic. October 20, 2011

Quantum expanders from any classical Cayley graph expander

Qubit Placement to Minimize Communication Overhead in 2D Quantum Architectures

Exact Global Reordering for Nearest Neighbor Quantum Circuits Using A

CSE Introduction to Parallel Processing. Chapter 2. A Taste of Parallel Algorithms

Hamiltonian simulation and solving linear systems

On the query complexity of counterfeiting quantum money

FPGA Emulation of Quantum Circuits

The quantum threat to cryptography

QuIDD-Optimised Quantum Algorithms

Computer Aided Design of Permutation, Linear, and Affine-Linear Reversible Circuits in the General and Linear Nearest-Neighbor Models

Resource Efficient Design of Quantum Circuits for Quantum Algorithms

Quantum Computing: From Circuit To Architecture

Quantum advantage with shallow circuits. arxiv: Sergey Bravyi (IBM) David Gosset (IBM) Robert Koenig (Munich)

C/CS/Phys C191 Grover s Quantum Search Algorithm 11/06/07 Fall 2007 Lecture 21

Hamiltonian simulation with nearly optimal dependence on all parameters

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm

4th year Project demo presentation

Lectures on Fault-Tolerant Quantum Computation

Logic BIST. Sungho Kang Yonsei University

APPLYING QUANTUM SEARCH TO A KNOWN- PLAINTEXT ATTACK ON TWO-KEY TRIPLE ENCRYPTION

arxiv:quant-ph/ v2 23 Aug 2003

Bounds for Error Reduction with Few Quantum Queries

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

QWIRE Practice: Formal Verification of Quantum Circuits in Coq

Quantum gate. Contents. Commonly used gates

QUANTUM COMPUTATION. Lecture notes. Ashley Montanaro, University of Bristol 1 Introduction 2

6.896 Quantum Complexity Theory October 2, Lecture 9

Principles of Quantum Mechanics Pt. 2

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation

Introduction to Quantum Computing

Overview of Topological Cluster-State Quantum Computation on 2D Cluster-State

arxiv: v3 [quant-ph] 16 Mar 2018

Short introduction to Quantum Computing

arxiv: v3 [quant-ph] 29 Oct 2009

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity

Quantum Multiple-Valued Decision Diagrams Containing Skipped Variables

Measurement-based quantum computation 10th Canadian Summer School on QI. Dan Browne Dept. of Physics and Astronomy University College London

b) (5 points) Give a simple quantum circuit that transforms the state

Optimization of Quantum Circuits for Interaction Distance in Linear Nearest Neighbor Architectures

All of the above algorithms are such that the total work done by themisω(n 2 m 2 ). (The work done by a parallel algorithm that uses p processors and

Concepts and Algorithms of Scientific and Visual Computing Advanced Computation Models. CS448J, Autumn 2015, Stanford University Dominik L.

FPGA-Based Circuit Model Emulation of Quantum Algorithms

Quantum Computing. Separating the 'hope' from the 'hype' Suzanne Gildert (D-Wave Systems, Inc) 4th September :00am PST, Teleplace

Logical AND. Logical XOR

Digital Switching in the Quantum Domain

QUANTUM COMPUTER SIMULATION

Notes on Logarithmic Lower Bounds in the Cell Probe Model

Quantum Volume. Lev S. Bishop, Sergey Bravyi, Andrew Cross, Jay M. Gambetta, John Smolin. March 4, 2017

Introduction to Quantum Computing

Quantum Computing Lecture Notes, Extra Chapter. Hidden Subgroup Problem

Transcription:

Efficient Distributed Quantum Computing Steve Brierley Heilbronn Institute, Dept. Mathematics, University of Bristol October 2013 Work with Robert Beals, Oliver Gray, Aram Harrow, Samuel Kutin, Noah Linden, Dan Shepherd & Mark Stather

Summary Two models of Quantum computation: Distributed Quantum Computing Quantum Parallel RAM

Summary Two models of Quantum computation: Distributed Quantum Computing Quantum Parallel RAM Result: Theses two models are efficiently related to the standard quantum circuit model Method: We use techniques from (classical) parallel computing - sorting networks.

Summary Two models of Quantum computation: Distributed Quantum Computing Quantum Parallel RAM Result: Theses two models are efficiently related to the standard quantum circuit model Method: We use techniques from (classical) parallel computing - sorting networks. Applications: Build a quantum computer from a network of small parts Q PRAM is a new tool in quantum algorithm design

Distributed quantum computing Quantum circuits Up to N/2 two-qubit gates on any disjoint pair of qubits Not physical because any two qubits can interact

Distributed quantum computing Quantum circuits Up to N/2 two-qubit gates on any disjoint pair of qubits Not physical because any two qubits can interact Distributed quantum computing (DQC) N small processors interact in a fixed low-degree topology

Distributed quantum computing

Circuits on a DQC Suppose we want to implement the circuit C = U 1 U 2 U 3 on a 1-D nearest neighbour graph The naive approach: use SWAP gates to move gates one at a time If there are N qubits the cost is O(N 2 ) per timestep

Overview of our approach Replace the circuit with ( ) ( C P 1 U1 L P1 1 P 2 U2 L P2 1 ) ( P 3 U L 3 P 1 3 ) where U L k are local unitaries We can combine some of the permutations C P 1 U L 1 P 2 U L 2 P 3 U L 3 P 4

Overview of our approach Replace the circuit with ( ) ( C P 1 U1 L P1 1 P 2 U2 L P2 1 ) ( P 3 U L 3 P 1 3 ) where U L k are local unitaries We can combine some of the permutations C P 1 U1 L P 2 U2 L P 3 U3 L P 4 The key idea is to use a sorting network to implement P k The algorithm is universal The cost depends on the graph but is close to optimal For a 1D nearest neighbour graph the overhead is O(N)

Sorting networks A fixed network of binary comparators: if x < y then swap x, y Insertion sort Bitonic Sort

Example

Example

Example

Example

Example

Example

Example

Example

Example

Example Suppose we want to implement the circuit C = U 1 U 2 U 3 on a 1-D nearest neighbour graph Our approach yields

Emulating circuits on a fixed architecture Given an architecture constrained by G, what is the cost of emulating a highly parallel circuit? Theorem: 1) Any circuit can be emulated on a restricted architecture with a overhead depth factor of D G (the cost of a sorting network). 2) If you can do better, you have a better sorting algorithm!

Interesting architectures The cost depends on the graph... Graph Degree Routing Cost 1D n.n. 2 Naive approach O(N 2 ) 1D n.n. 2 Insertion sort O(N) 2D n.n. 4 Insertion sort O( N) Hypercube log N Bitonic sort O(log 2 N) Cyclic butterfly 4 Benes + insertion O(log N) Complete graph N n/a 1

Lull

QPRAM on a distributed quantum computer QPRAM = Circuit model + Parallel access to quantum RAM

QPRAM on a distributed quantum computer QPRAM = Circuit model + Parallel access to quantum RAM Key primitive: The global state of the computer has registers j 1,..., j N, x 1,..., x N and y 1,..., y N Locally, processor i controls j i, x i, y i. Processor i wants to query the memory at processor j i. Want to replace y i with y i x ji according to the quantum state j 1,..., j N

Algorithm for parallel memory look-ups Idea: Make the sorting network reversible Each node requires S D G T T log log N Then the same network works for all inputs We can input a superposition of destinations

Algorithm for parallel memory look-ups Each processor submits question (j i, Q, y i, 0) and answer (i, A, 0, x i ) packets

Algorithm for parallel memory look-ups Each processor submits question (j i, Q, y i, 0) and answer (i, A, 0, x i ) packets Sort the packets (with a sorting network) based on first two indices (Q < A) The sequence is now... (j, Q, y, 0)(j, Q, y, 0)... (j, Q, y, 0)(j, A, 0, x j )...

Algorithm for parallel memory look-ups Each processor submits question (j i, Q, y i, 0) and answer (i, A, 0, x i ) packets Sort the packets (with a sorting network) based on first two indices (Q < A) The sequence is now... (j, Q, y, 0)(j, Q, y, 0)... (j, Q, y, 0)(j, A, 0, x j )... Broadcast the answer x j using local CNOTs in O(log N) time CNOT each x j value to the y register

Algorithm for parallel memory look-ups Each processor submits question (j i, Q, y i, 0) and answer (i, A, 0, x i ) packets Sort the packets (with a sorting network) based on first two indices (Q < A) The sequence is now... (j, Q, y, 0)(j, Q, y, 0)... (j, Q, y, 0)(j, A, 0, x j )... Broadcast the answer x j using local CNOTs in O(log N) time CNOT each x j value to the y register Undo the broadcast and sort steps to return (j i, Q, y i x ji, 0) to processor i

Distributed quantum memory Theorem: 1) In the circuit model, the cost of parallel memory access is O(log N log log N) 2) To access even a single piece of quantum data costs Ω(log N)

Distributed quantum memory Theorem: 1) In the circuit model, the cost of parallel memory access is O(log N log log N) 2) To access even a single piece of quantum data costs Ω(log N) Applications: MultiGrover algorithm Element Distinctness problem

Application: MultiGrover Multiple processors can Grover search the same database held in quantum memory! The first thing each processor does is form x i x i D

Application: MultiGrover Multiple processors can Grover search the same database held in quantum memory! The first thing each processor does is form x i x i D If D requires N log N qubits to store, MultiGrover finds N solutions in the same time as Grover finds 1. i.e. we have recovered the situation when the database is simple to represent.

Application: Element Distinctness Best Oracle complexity is T = O(N 2/3 ) but this requires S = O(N 2/3 ). When the function is easy to compute but hard to invert, ST 2 = O(N 2 ) Grover-Rudolph complain that we can achieve this with non-communicating parallel Grover searches

Application: Element Distinctness Best Oracle complexity is T = O(N 2/3 ) but this requires S = O(N 2/3 ). When the function is easy to compute but hard to invert, ST 2 = O(N 2 ) Grover-Rudolph complain that we can achieve this with non-communicating parallel Grover searches MultiGrover + Buhrman et al answers this challenge ST = O(N)

Summary Two models of Quantum computation: Distributed Quantum Computing Quantum Parallel RAM Result: Using sorting networks, the two models are efficiently related to the standard quantum circuit model Applications: Build a quantum computer from a network of small parts Q PRAM is a new tool in quantum algorithm design 1D n.n graph : Hirata et al. QIC 11, 142 (2011) Any graph & QPRAM: Beals et al. Proc. R. Soc. A (arxiv:1207.2307) Cyclic Butterfly : work in progress