Analyzing Quantum Circuits Via Polynomials

Similar documents
Analyzing Quantum Circuits Via Polynomials

Tracking Quantum Circuits By Polynomials

Simulating classical circuits with quantum circuits. The complexity class Reversible-P. Universal gate set for reversible circuits P = Reversible-P

1 Quantum Circuits and Polynomials

Notes for Lecture 3... x 4

Introduction to Quantum Computing

Algebraic and Logical Emulations of Quantum Circuits

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

Lecture 22: Quantum computational complexity

How hard is it to approximate the Jones polynomial?

Notes for Lecture 3... x 4

Lecture 2: From Classical to Quantum Model of Computation

CSC 5170: Theory of Computational Complexity Lecture 9 The Chinese University of Hong Kong 15 March 2010

Quantum Computational Complexity

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

Simulation of quantum computers with probabilistic models

On the query complexity of counterfeiting quantum money

A New Lower Bound Technique for Quantum Circuits without Ancillæ

MA257: INTRODUCTION TO NUMBER THEORY LECTURE NOTES

Succinct quantum proofs for properties of finite groups

The Classification of Clifford Gates over Qubits

Ph 219b/CS 219b. Exercises Due: Wednesday 20 November 2013

On the Complexity of Computing Units in a Number Field

Introduction to Quantum Computing

Lecture 23: Introduction to Quantum Complexity Theory 1 REVIEW: CLASSICAL COMPLEXITY THEORY

Factoring on a Quantum Computer

Limitations on transversal gates

On The Complexity of Quantum Circuit Manipulation

Graph Non-Isomorphism Has a Succinct Quantum Certificate

Quantum Computation. Michael A. Nielsen. University of Queensland

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

QUANTUM ARTHUR MERLIN GAMES

Lecture 3: Nondeterminism, NP, and NP-completeness

Topological Quantum Computation. Zhenghan Wang Microsoft Station Q & UC Sana Barbara Texas, March 26, 2015

Compute the Fourier transform on the first register to get x {0,1} n x 0.

Computability and Complexity Theory: An Introduction

1 Quantum Circuits. CS Quantum Complexity theory 1/31/07 Spring 2007 Lecture Class P - Polynomial Time

CS257 Discrete Quantum Computation

Lecture 4 : Quest for Structure in Counting Problems

1 Randomized Computation

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

Randomized Complexity Classes; RP

NP-Complete problems

Computational Complexity Theory. The World of P and NP. Jin-Yi Cai Computer Sciences Dept University of Wisconsin, Madison

6.896 Quantum Complexity Theory September 18, Lecture 5

Introduction to Quantum Computing

On Symmetric Signatures in Holographic Algorithms. Jin-Yi Cai University of Wisconsin, Madison. Pinyan Lu Tsinghua University, Beijing

Quantum Computing Lecture 8. Quantum Automata and Complexity

A categorical model for a quantum circuit description language

Fourier Sampling & Simon s Algorithm

Chapter 2 Combinational Logic Circuits

1 Circuit Complexity. CS 6743 Lecture 15 1 Fall Definitions

Math 2 Variable Manipulation Part 7 Absolute Value & Inequalities

Quantum Algorithms via Linear Algebra

Shor s Prime Factorization Algorithm

Introduction to Quantum Information Processing

6.080/6.089 GITCS May 6-8, Lecture 22/23. α 0 + β 1. α 2 + β 2 = 1

conp = { L L NP } (1) This problem is essentially the same as SAT because a formula is not satisfiable if and only if its negation is a tautology.

Gates for Adiabatic Quantum Computing

Introduction to Quantum Computing

The Class NP. NP is the problems that can be solved in polynomial time by a nondeterministic machine.

On The Computational Complexity of Linear Optics by Scott Aaronson and Alex Arkhipov

Finite fields, randomness and complexity. Swastik Kopparty Rutgers University

Pr[X = s Y = t] = Pr[X = s] Pr[Y = t]

arxiv:cs/ v1 [cs.cc] 15 Jun 2005

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

A Lower Bound for the Size of Syntactically Multilinear Arithmetic Circuits

Quantum Computation CMU BB, Fall Week 6 work: Oct. 11 Oct hour week Obligatory problems are marked with [ ]

report: RMT and boson computers

The Solovay-Kitaev theorem

6.896 Quantum Complexity Theory 30 October Lecture 17

1 Solving Algebraic Equations

Unitary Dynamics and Quantum Circuits

Is Quantum Search Practical?

Lecture 2. 1 More N P-Compete Languages. Notes on Complexity Theory: Fall 2005 Last updated: September, Jonathan Katz

CSE 200 Lecture Notes Turing machine vs. RAM machine vs. circuits

6.896 Quantum Complexity Theory Oct. 28, Lecture 16

Computational Complexity / Decision Making (at Chess)

Algebra Performance Level Descriptors

Direct product theorem for discrepancy

Quantum Computing. Thorsten Altenkirch

Quantum Complexity Theory and Adiabatic Computation

arxiv: v1 [quant-ph] 31 Dec 2015

Algebraic structures I

Boolean Algebra CHAPTER 15

Easy Problems vs. Hard Problems. CSE 421 Introduction to Algorithms Winter Is P a good definition of efficient? The class P

2. Two binary operations (addition, denoted + and multiplication, denoted

Chapter 8. P-adic numbers. 8.1 Absolute values

More advanced codes 0 1 ( , 1 1 (

CS 320, Fall Dr. Geri Georg, Instructor 320 NP 1

Questions Pool. Amnon Ta-Shma and Dean Doron. January 2, Make sure you know how to solve. Do not submit.

2.2 Classical circuit model of computation

Instructor: Bobby Kleinberg Lecture Notes, 25 April The Miller-Rabin Randomized Primality Test

NP-problems continued

Math 121 Homework 2 Solutions

arxiv: v1 [quant-ph] 29 Apr 2010

1.1 P, NP, and NP-complete

NQP = co-c = P. Electronic Colloquium on Computational Complexity, Report No. 73 (1998)

ACO Comprehensive Exam March 20 and 21, Computability, Complexity and Algorithms

Polynomial Identity Testing. Amir Shpilka Technion

Transcription:

Analyzing Quantum Circuits Via Polynomials Kenneth W. Regan 1 University at Buffalo (SUNY) 23 January, 2014 1 Includes joint work with Amlan Chakrabarti and Robert Surówka

Quantum Circuits Quantum circuits look more constrained than Boolean circuits: But Boolean circuits look similar if we do Savage s TM-to-circuit simulation and call each column for each tape cell a cue-bit.

Does each wire have a local value? a 1 H y (?) b 1 (?) a 2 b 2 Owing to the non-locality of entanglement, no. Tracing out either (?) gives 0+1, but destroys the structure. But can we give each wire a local label that preserves essential info?

Local Algebraic Labels and Global Phase a 1 H y y z 1 a 2 a 2 y z 2 On standard-basis inputs, labels always have 0, 1 values. Global phase polynomial: P = 1 2a 1 y into {1, 1}; Q = a 1 y into {0, 1}. Gates like CNOT with 0, 1 entries do not affect P or Q.

Toffoli Gate, With Labeling Target label is just z + xy in characteristic 2; z + xy 2xyz in general.

Bounded-error Quantum Poly-Time A language A belongs to BQP if there are uniform poly-size quantum circuits C n with n data qubits, plus some number m 1 of ancilla qubits, such that for all n and x { 0, 1 } n, x A = Pr[C n given x0 m measures 1 on line n + 1] > 2/3; x / A = Pr[... ] < 1/3. We can instead arrange the circuit to prepare x from actual input 0 n+m, and make 0 n 10 m 1 the unique target for acceptance. Two major theorems about BQP are: (a) C n can be composed entirely of Hadamard and Toffoli gates [Yaoyun Shi, 2002]. (b) Factoring is in BQP [Peter Shor].

Algebra For Measurement Targets Boolean equality is enforced by the polynomial e(u, z) = 1 u z + 2uz. Inequality, that is u z, is e (u, z) = u + z 2uz. In characteristic 2 just e(u, z) = u + z + 1 and e (u, z) = u + z, both linear. Then also CNOT preserves linear labels, but TOF does not. If you measure just line 1, accepting result b 1, use e(u 1, b 1 ). To measure all qubits testing a unique target b, use e(u i, b i ) for each i.

What is Known About BQP? BPP BQP. BQP PP [Adleman-Demarrais-Huang, 1998] The acceptance probability p x of a QC on input x can be written as p x = f(x) g(x) 2 r where f and g are #P functions whose nondeterminism ranges over r = n O(1) binary variables. Hence [Fortnow-Rogers, 1999] BQP is in a class AWPP ostensibly weaker than PP. BQP is not known to include graph-isomorphism or MCS (min.-circuit size).

Translation Into Polynomials Dawson et al. [2004] showed that for QC s of Hadamard and Toffoli gates, f and g could be the functions counting solutions to two sets E 1 and E 0 of polynomial equations over Z 2. Applied by Gerdt and Severyanov [2006] to build a computer-algebra simulation of these quantum circuits. [This talk] We make E 1 and E 0 each a single equation, over any desired field or ring, with direct translation of a much wider set of quantum gates. Some motivations: Build more extensive simulations Chakrabarti. Understand which QC s can be simulated classically. Ideas for algebraic metrics of multi-partite entanglement. Limitations on scalability of QC s?

Target Rings Given a QC C, define k(c) to be the least integer such that all phase angles of gates in C are multiples of 2π/k. A ring is adequate for C if it embeds the k-th roots of unity, either multiplicatively or additively. Also embed e(0) = 0 in the multiplicative case ( p-case ) and e(0) = a set of dummy variables w in the additive case ( q-case ) (a key trick, given below). For Toffoli+Hadamard, k = 2, and Dawson et al. gave an additive embedding into Z 2. Whereas the p-case needs Z 3 inside the field, so 1 +1. For the T -gate which has entries e πi/4, k = 8. The gates in Shor s QFT circuits have large k. But, they can be approximated by circuits with Hadamard and Toffoli only, with k = 2!

Polynomials and Equation Solving We will translate quantum circuits with n lines and s gates. Each interior juncture is denoted by a variable z j i (1 i n; 1 j s 1). A gate is balanced if all non-zero entries in its gate matrix have the same magnitude r. All the most prominent gates are balanced. Given a QC of balanced gates, let R be the product of the balancing magnitudes r over its gates. For a polynomial p in variables a i, b i, z j i and arguments a, b { 0, 1 } n, p a,b denotes the polynomial in variables z j i resulting from substituting the arguments. N B [p a,b (z j i ) = v] denotes the number of binary solutions to the equation, i.e. with an assignment from { 0, 1 } n(s 1) to the z j i variables. Now we can state the theorem for the multiplicative case.

Main Theorem Multiplicative Case Theorem There is an efficient uniform procedure that transforms any balanced n-qubit quantum circuit C with s gates into a polynomial p such that for all a, b { 0, 1 } n : k 1 a C b = R ω l N B [p a,b (z j i ) = e(ωl )] (1) l=0 over any adequate ring. The size of p as a product-of-sums-of-products of z j i and (1 z j i ) is O(22m ms) where m is the maximum arity of a gate in C, and the time to write p down is the same ignoring factors of log n and log s for variable labels.

Main Theorem Additive Case For Z k Theorem There is an efficient uniform procedure that transforms any balanced n-qubit quantum circuit C with s gates, whose nonzero entries have phase a multiple of 2π/k for k a power 2 r, into a polynomial q( a, b, z, w) over Z k such that for all a, b { 0, 1 } n : k 1 a C b = Rk s ω l N B [q a,b (z j i, wj s) = e(ω l )], (2) l=0 with R and the size of q the same as for p in Theorem 1.

Substitution and Nondeterminism When there is no gate between junctures j 1 and j on qubit line i, or if the gate in column j leaves qubit i unchanged (as with a control), then one can substitute: z i j = z i j 1. Thus a new internal variable is introduced only when one cannot substitute. This happens with Hadamard gates. Nondeterminism = the number of internal variables. P denotes polynomials obtained from the P formally given by Theorem 1 by substitution. Q likewise from Q in Theorem 2. P denotes a particular embedding into the ring Z 2 [u] where the adjoined element u satisfies u 4 = 1, so it translates i.

Examples of Gate and Circuit Simulations Projected from a draft of the paper... Definition. Two polynomials are equivalent if they arise from annotations of two equivalent quantum circuits.

Annotating a circuit 1 H x 1 2 H b 2 H x 3 b 2 b 3 + x 3 2b 2 b 3 x 3 b 1 b 2 3 x 1 b 2 + a 3 2x 1 b 2 a 3 H b 3 b 3

What to do with all this in theory? Two central theoretical problems are: (1) Which subsets of quantum gates can be simulated efficiently with classical computation alone? (2) What (classical) upper and lower bounds can be given for BQP? Both problems involve one in subcases of the classic #P-complete problem of counting solutions to polynomial equations. Unlike the case of SAT, there has not been a comparable classification theorem, though Leslie Valiant and Jin-Yi Cai and their students have undertaken one.

Case of Stabilizer Circuits Are QC s with only Hadamard, S, and cnot and/or CZ gates. Have efficient classical simulations: O(s 3 ) by Gottesmann-Knill, O(s 2 ) by Aaronson-Gottesmann, O(s) by Peter Hoyer (give-and-take log n factors). Additive translation into equations over Z 4 : 1 Hadamard: 2yz, with no substitution; and 2 S: y 2, substituting z := y; and 3 CZ : 2y 1 y 2, substituting z 1 := y 1, z 2 := y 2 ; or 4 cnot: 0, substituting z 1 := y 1, z 2 := y 1 + y 2, with the latter being sound in place of the proper z 2 := y 1 + y 2 2y 1 y 2 owing to the invariance under adding 2.

Yet Another Proof of Dequantization Theorem (Cai-Chen-Lipton-Lu, 2010) Quadratic n-variable polynomials over Z 2 r polynomial-time solution colunting. for fixed r have Open for variable r = n O(1). Corollary The exact acceptance probability for stabilizer circuits can be computed in deterministic polynomial time. General running time from CCLL is inferior to best-known graph state methods for stabilizer circuits. Can this be matched for the particular polynomials we get over Z 4?

Graininess of Solution Set Sizes Theorem (Surówka) Let P (x) be a multivariate polynomial of n variables over Z m where m = p r 1 1 pr 2 2... pr k k and all p 1, p 2,..., p k are different primes. Then for any g Z m there is an integer T g such that: N P [g] = T g r i r p 2 (n 1) i 1 (n 1) 2 i pi i:2 r i i:2 r i

Graininess of Solution Set Sizes Theorem (Surówka) Let P (x) be a multivariate polynomial of n variables over Z m where m = p r 1 1 pr 2 2... pr k k and all p 1, p 2,..., p k are different primes. Then for any g Z m there is an integer T g such that: N P [g] = T g r i r p 2 (n 1) i 1 (n 1) 2 i pi i:2 r i i:2 r i Proof applies Hensel lifting. But we believe we can go beyond what Hensel s techniques, as used by Ax and others, give.

Beyond Lifting... Also in terms of the degree, we conjecture the following stronger result, with supportive computer runs: Conjecture Let P (x) be a multivariate polynomial of degree d, of n variables over Z r p 1 1 p r 2 2...p r k where all p 1, p 2,..., p k are different primes. Then for any k g Z r p 1 1 p r 2 2...p r k there is an integer T g such that: k N P [g] = T g i:r i =1 p n d 1 i i:r i >1 p r i n 2 1 i.

The Other Goals Ideas Welcome Extend notion of equivalence to manipulations giving polynomials that do not come from QC s. Try to increase the R factor without introducing more nondeterminism. That makes Stockmeyer approximation better. What notions from algebraic geometry might yield measures of entanglement? Idea: It should reflect constraints on solution spaces. This aligns it with the idea of geometric degree of algebraic varieties. Ultimately goal is to apply Strassen s lower-bound ideas to QC s.