where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

Similar documents
CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS 573 Automata Theory and Formal Languages

Section 1.3 Triangles

Qubit and Quantum Gates

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

Graph States EPIT Mehdi Mhalla (Calgary, Canada) Simon Perdrix (Grenoble, France)

Computing data with spreadsheets. Enter the following into the corresponding cells: A1: n B1: triangle C1: sqrt

Lecture 1 - Introduction and Basic Facts about PDEs

Bisimulation, Games & Hennessy Milner logic

Model Reduction of Finite State Machines by Contraction

NON-DETERMINISTIC FSA

( ) { } [ ] { } [ ) { } ( ] { }

Lecture Notes No. 10

Lecture 6: Coding theory

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

MAT 403 NOTES 4. f + f =

Unit 4. Combinational Circuits

Polynomials. Polynomials. Curriculum Ready ACMNA:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

8 THREE PHASE A.C. CIRCUITS

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Coalgebra, Lecture 15: Equations for Deterministic Automata

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Nondeterministic Finite Automata

Spacetime and the Quantum World Questions Fall 2010

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

Chapter 4 State-Space Planning

T b a(f) [f ] +. P b a(f) = Conclude that if f is in AC then it is the difference of two monotone absolutely continuous functions.

Dense Coding, Teleportation, No Cloning

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting.

Discrete Structures Lecture 11

Running an NFA & the subset algorithm (NFA->DFA) CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/

Ellipses. The second type of conic is called an ellipse.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

System Validation (IN4387) November 2, 2012, 14:00-17:00

MATH34032: Green s Functions, Integral Equations and the Calculus of Variations 1. 1 [(y ) 2 + yy + y 2 ] dx,

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1.

Logic Synthesis and Verification

Engr354: Digital Logic Circuits

Propositional models. Historical models of computation. Application: binary addition. Boolean functions. Implementation using switches.

Probability. b a b. a b 32.

INTEGRATION. 1 Integrals of Complex Valued functions of a REAL variable

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Pre-Lie algebras, rooted trees and related algebraic structures

Part 4. Integration (with Proofs)

Arrow s Impossibility Theorem

MA10207B: ANALYSIS SECOND SEMESTER OUTLINE NOTES

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

set is not closed under matrix [ multiplication, ] and does not form a group.

CS 360 Exam 2 Fall 2014 Name

More on automata. Michael George. March 24 April 7, 2014

LESSON 11: TRIANGLE FORMULAE

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

Designing Information Devices and Systems I Discussion 8B

Riemann is the Mann! (But Lebesgue may besgue to differ.)

How to simulate Turing machines by invertible one-dimensional cellular automata

TOPIC: LINEAR ALGEBRA MATRICES

Figure 1. The left-handed and right-handed trefoils

Fundamentals of Computer Science

Arrow s Impossibility Theorem

CS 491G Combinatorial Optimization Lecture Notes

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Behavior Composition in the Presence of Failure

= state, a = reading and q j

Quadratic Forms. Quadratic Forms

Nondeterministic Automata vs Deterministic Automata

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

5. Every rational number have either terminating or repeating (recurring) decimal representation.

University of Sioux Falls. MAT204/205 Calculus I/II

Topological Quantum Compiling

arxiv: v1 [math.ca] 21 Aug 2018

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Sufficient condition on noise correlations for scalable quantum computing

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Symmetrical Components 1

CSCI FOUNDATIONS OF COMPUTER SCIENCE

Measurement-Only Topological Quantum Computation

2.1 ANGLES AND THEIR MEASURE. y I

Proving the Pythagorean Theorem

QUADRATIC EQUATION. Contents

A Study on the Properties of Rational Triangles

Finite State Automata and Determinisation

MATH 409 Advanced Calculus I Lecture 22: Improper Riemann integrals.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

Lecture 08: Feb. 08, 2019

THE PYTHAGOREAN THEOREM

Introduction to Olympiad Inequalities

Factorising FACTORISING.

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Ch. 2.3 Counting Sample Points. Cardinality of a Set

Surface maps into free groups

Line Integrals and Entire Functions

Implication Graphs and Logic Testing

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums

12.4 Similarity in Right Triangles

Transcription:

CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1} n {0,1} m, given s primitive finite olletion of gtes eh of whih implements oolen funtion on k its for some smll k. The piture of the iruit is s follows: i 1 i 2 i 3 i 4 i 5 i n 1 i n 0 1 f o 1 o 2 o 3 o m 1 o m where the ox ontins finite numer of gtes from the given olletion. Exmples of gtes tht re ommonly used re the following: (+) NOT AND NAND NOR There exist finite gte sets tht n e used to implement every multi-output oolen funtion. Suh sets re lled universl gte sets nd the following gte sets n esily e proved universl: {AND, NOT} {OR, NOT} {NAND} {NOR} Every oolen funtion n e implemented using gtes from universl gte set. This implies tht the iruit omplexity (numer of gtes in the minimum iruit) is the sme with respet to ny finite universl gte set up to onstnt ftor. A sutle point when we onsider iruit design is the fn out. In lssil iruits we n tke fn out s grnted, euse fn out is trivilly implemented in lssil relity. However, this is not trivil in quntum mehnis s we ll see shortly. CS 294-2, Fll 2004, Leture 4 1

1.2 Quntum Ciruits A quntum iruit implements unitry opertor in Hilert spe C 2n, given s primitive (usully finite) olletion of gtes eh of whih implements unitry opertor on k quits for some smll k. Unitrity implies tht quntum iruits hve the sme numer of inputs nd outputs. The piture of quntum iruit is s follows: i 1 i 2 i 3 i n 1 i n o 1 o 2 o 3 o n 1 o n where the ox ontins finite numer of quntum gtes. Clerly no finite set of gtes n generte ll unitry opertors. If suh set existed, then for ll vlues of θ R we should e le to uilt up quntum iruit for the opertor R θ using gtes from this set. With finite set of gtes tht s impossile. It seems though tht we need notion of pproximtion to define universlity. For tht purpose we ll use the opertor norm whih is defined s B = mx v =1 B v for every opertor B. Using tht mesure the distne etween opertors U nd U will e: U U = mx v =1 (U U ) v nd we ll sy tht opertor U simultes opertor U to within ε if U U ε After the ove definitions it s interesting to see how we define the universlity in quntum mehnis. We shll ll set G of quntum gtes universl if: U (unitry opertor on k quits), ε > 0, g 1,g 2,...,g l G : U U g1 U g2...u gl ε where y U gi ( usge of g i ) we represent the tensor produt of the gte g i with the identity opertor for n pproprite numer of quits so tht U gi is unitry opertor for k quits wheres g i might e unitry opertor for less thn k quits. 1.3 Known Universl Gte Fmilies for Quntum Mehnis The following fmilies of iruits re universl: CNOT, ll 1-quit gtes CNOT gte, Hdmrd gte, suitle phse flips Tofolli gte, Hdmrd gte CS 294-2, Fll 2004, Leture 4 2

where the Tofolli gte (or C-CNOT gte for ontrolled-ontrolled NOT gte ) is three-quit gte tht omplements the third it if the first two ontrol its re oth 1. 2 Solovy-Kitev Theorem The Solovy-Kitev theorem sttes the following: If G SU(d) is universl fmily of gtes (where SU(d) is the group of unitry opertors in d-dimensionl Hilert spe), G is losed under inverse (i.e. g G g 1 G) nd G genertes dense suset of SU(d), then U SU(d),ε > 0, g 1,g 2,...,g l G : U U g1 U g2...u gl ε nd l = O(log 2 1/ε) 3 Complexity Clsses - Clss BQP 3.1 Clss P - Polynomil Time A definition of the lss P in terms of iruits is the following: L P iff there is fmily F = { } n N of iruits suh tht: poly(n), n N there is polynomil time Turing Mhine tht on input 1 n outputs (Uniformity Condition) if x = n then (x) = ( L?) x 4 x 5 1 0/1 3.2 Clss BPP - Bounded Error Polynomil Time A definition of the lss BPP in terms of iruits is the following: L BPP iff there is fmily F = { } n N of iruits suh tht: every iruit hs n input x of x = n its nd rndom input r of r = O(poly(n)) its CS 294-2, Fll 2004, Leture 4 3

poly(n), n N there is polynomil time Turing Mhine tht on input 1 n outputs (Uniformity Condition) moreover: if x L nd x = n then Pr[ (x,r) = yes ] 2/3 if x / L nd x = n then Pr[ (x,r) = no ] 2/3 input x x = n 1 0/1 rndom string r r = m = O(poly(n)) r 1 r 2 r m 3.3 Clss BQP - Bounded Error Quntum Polynomil Time A definition of the lss BQP in terms of iruits is the following: L BQP iff there is fmily F = { SU(n)} n N of quntum iruits (unitry opertors) suh tht: every iruit hs n input x of x = n its nd m = O(poly(n)) dditionl inputs of vlue 0 > the output of the omputtion is onsidered to e the outome of the mesurement on the first output of the iruit poly(n), n N there is polynomil time Turing Mhine tht on input 1 n outputs (Uniformity Condition) moreover: if x L nd x = n then Pr[mesure = 1] 2/3 if x / L nd x = n then Pr[mesure = 0] 2/3 input x x = n 1 M 0/1 m 0 > 0 > 0 > CS 294-2, Fll 2004, Leture 4 4

3.4 Reversiility nd P BQP Quntum evolution is unitry nd every quntum iruit K orresponds to unitry opertor U K in some Hilert spe. U K eing unitry mens tht U K U K = U K U K = I, whih mens tht U K hs n inverse opertor. Thus every quntum iruit is reversile. This is not the se for lssil iruits, however. For exmple if we hve n AND gte, then going from two input its to one output it involves some loss of informtion, whih mkes reversiility infesile. However, strting from nonreversile iruit we n onstrut reversile iruit tht does the sme omputtion ut my require more inputs or outputs thn the initil nonreversile iruit. There re numer of wys to do this nd here we will show how to do it using the ontrolled swp gte (Fredkin gte). The ontrolled swp gte on input (,,) outputs (,,), if = 0, nd (,,), if = 1. It s ovious tht the ontrolled swp gte is the inverse of itself. We use the following nottion for the ontrolled swp gte. =0 =1 Sine the set of lssil gtes {AND,NOT } is universl, every lssil iruit n e uilt using these two gtes, s well s possily fnning out. Thus, in order to prove tht every lssil iruit n e extended to reversile one, we only hve to show tht we n simulte the AND nd NOT gtes, s well s fn out, using the ontrolled swp gte. The extr inputs tht we supposed will ome in hndy. In order to simulte the NOT gte vi the ontrolled swp gte we n give the ltter the triplet (, = 0, = 1) s input. Then t the third output we lwys get. In order to simulte the AND gte vi the ontrolled swp gte we n give the ltter the triplet (,, = 0) s input. Then t the third output we lwys get. Finlly, in order to fn out s permitted in lssil iruits vi the ontrolled swp gte, we n give the ltter the triplet (, = 0, = 1) s input. Then the first nd seond outputs lwys hve the vlue. It s ovious tht the reversile iruit tht orresponds to lssil iruit nd is onstruted in the ove wy will hve extly the sme output s the lssil one on lssil inputs. Thus, the ove onstrution shows s well tht P BQP. CS 294-2, Fll 2004, Leture 4 5