C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9

Similar documents
C/CS/Phys 191 Quantum Gates and Universality 9/22/05 Fall 2005 Lecture 8. a b b d. w. Therefore, U preserves norms and angles (up to sign).

1 Readings. 2 Unitary Operators. C/CS/Phys C191 Unitaries and Quantum Gates 9/22/09 Fall 2009 Lecture 8

Principles of Quantum Mechanics Pt. 2

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

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding.

Ph 219b/CS 219b. Exercises Due: Wednesday 21 November 2018 H = 1 ( ) 1 1. in quantum circuit notation, we denote the Hadamard gate as

Quantum gate. Contents. Commonly used gates

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

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

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

. Here we are using the standard inner-product over C k to define orthogonality. Recall that the inner-product of two vectors φ = i α i.

Single qubit + CNOT gates

Chapter 10. Quantum algorithms

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

Lecture 3: Hilbert spaces, tensor products

Lecture 2: From Classical to Quantum Model of Computation

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

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

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

Boolean State Transformation

2.2 Classical circuit model of computation

Quantum Computing Lecture 6. Quantum Search

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

Quantum Gates, Circuits & Teleportation

Lecture 3: Superdense coding, quantum circuits, and partial measurements

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

Richard Cleve David R. Cheriton School of Computer Science Institute for Quantum Computing University of Waterloo

Introduction to Quantum Information Processing

Seminar 1. Introduction to Quantum Computing

Short Course in Quantum Information Lecture 5

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

Introduction to Quantum Computing

Quantum Computation. Michael A. Nielsen. University of Queensland

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

CS257 Discrete Quantum Computation

Topological Quantum Computation

Quantum Computing: Foundations to Frontier Fall Lecture 3

A Novel Synthesis Algorithm for Reversible Circuits

Topological quantum computation with anyons

1 Measurements, Tensor Products, and Entanglement

Teleportation-based approaches to universal quantum computation with single-qubit measurements

The Classification of Clifford Gates over Qubits

Lecture 1: Overview of quantum information

Fourier Sampling & Simon s Algorithm

Ancilla-driven universal quantum computing

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs

Quantum information and quantum computing

CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

Errata list, Nielsen & Chuang. rrata/errata.html

Bounded depth quantum circuits

Lecture 3: Constructing a Quantum Model

Quantum Circuits: Fanout, Parity, and Counting

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

Baby's First Diagrammatic Calculus for Quantum Information Processing

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

6.896 Quantum Complexity Theory September 9, Lecture 2

Introduction to Quantum Computation

2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information

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

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

Some Recent Research Issues in Quantum Logic

17. Oktober QSIT-Course ETH Zürich. Universality of Quantum Gates. Markus Schmassmann. Basics and Definitions.

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

Lecture 4: Elementary Quantum Algorithms

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

Quantum computing! quantum gates! Fisica dell Energia!

Quantum Information & Quantum Computing

Quantum Computing. Quantum Computing. Sushain Cherivirala. Bits and Qubits

Boolean Algebra. Philipp Koehn. 9 September 2016

Quantum Computing with Non-Abelian Quasiparticles

QLang: Qubit Language

Quantum Entanglement and the Bell Matrix

Quantum Algorithms. Andreas Klappenecker Texas A&M University. Lecture notes of a course given in Spring Preliminary draft.

Chapter 2. Basic Principles of Quantum mechanics

Quantum Phase Estimation using Multivalued Logic

C/CS/Phys 191 Shor s order (period) finding algorithm and factoring 11/01/05 Fall 2005 Lecture 19

92 CHAPTER III. QUANTUM COMPUTATION. Figure III.11: Diagram for swap (from NC).

Quantum Computing Lecture 2. Review of Linear Algebra

Combinational Logic. By : Ali Mustafa

Lecture Notes for Ph219/CS219: Quantum Information Chapter 5. John Preskill California Institute of Technology

SUPERDENSE CODING AND QUANTUM TELEPORTATION

Quantum Computing Lecture 3. Principles of Quantum Mechanics. Anuj Dawar

The Solovay-Kitaev theorem

Unitary Dynamics and Quantum Circuits

Example: sending one bit of information across noisy channel. Effects of the noise: flip the bit with probability p.

Instantaneous Nonlocal Measurements

Introduction to Quantum Computing

Linear Algebra and Dirac Notation, Pt. 3

QUANTUM COMPUTER SIMULATION

Simulation of quantum computers with probabilistic models

Decomposition of Quantum Gates

Lecture 1: Introduction to Quantum Computing

Problem Set # 6 Solutions

Day 3 Selected Solutions

Quantum Simulation. 9 December Scott Crawford Justin Bonnar

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

Advanced Cryptography Quantum Algorithms Christophe Petit

Introduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871

Circuits for Shor Factorization

QUANTUM COMPUTING. Part II. Jean V. Bellissard. Georgia Institute of Technology & Institut Universitaire de France

Transcription:

C/CS/Phys C191 Quantum Gates, Universality and Solovay-Kitaev 9/25/07 Fall 2007 Lecture 9 1 Readings Benenti, Casati, and Strini: Quantum Gates Ch. 3.2-3.4 Universality Ch. 3.5-3.6 2 Quantum Gates Continuing from last time, we will conside two-qubit and n-qubit gates. 2.1 Two-qubit gates: Any one-qubit gate can be tensored with itself or another gate to make a two-qubit gate, as done above for. Such tensor products of one-qubit gates have no ability to generate entanglement and are referred to as local gates. Controlled Not (CNOT ). CNOT = 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 The first bit of a CNOT gate is the control bit; the second is the target bit. The control bit never changes, while the target bit flips if and only if the control bit is 1. The CNOT gate is usually drawn as follows, with the control bit on top and the target bit on the bottom: Note that (CNOT ) 2 = 1, i.e., CNOT 1 = CNOT. SWAP C/CS/Phys C191, Fall 2007, Lecture 9 1

SWAP = 2.2 n-qubit gates: 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 local n-qubit gates formed as tensor products of one-qubit gates, e.g., n Toffoli gate This is a 3-qubit generalization of the CNOT gate. The third, target, qubit is flipped iff both the first and second qubits are in state 1. TOFF 2 = 1. The Toffoli gate can be decomposed into a combination of one-qubit and two-qubit gates. See Figures 3 and 4. 2.3 Useful gate equivalences SWAP equals 3 x CNOT See Figure 5. Suppose we have two qubits in state y 2,y 1 : [ ] [ ] a c b d = ac 00 + ad 01 + bc 10 + bd 11 Apply the first CNOT : ac 00 + ad 01 + bd 10 + bc 11 Apply the second CNOT : ac 00 + bc 01 + bd 10 + ad 11 Apply the third CNot: ac 00 + bc 01 + ad 10 + bd 11 = ca 00 + cb 01 + da 10 + db 11 [ ] [ ] c a = d b The resulting state is y1,y 2, i.e., the states of the two qubits have been swapped. C/CS/Phys C191, Fall 2007, Lecture 9 2

Control and target of CNOT can be swapped by conjugating both qubits with See Figure 6. Proof: see homework 2. 3 Universality of Gate Sets 3.1 Classical The NAND gate is universal for classical computation. The NAND gate is the result of applying NOT to aandb = a b = a b. See Figure 7. For any boolean function {0,1} n {0,1}, there is a circuit built of NAND gates (possibly with FANOUT = copy) for that function. Note that neither of these gates are reversible. In general, the circuit may require an exponential number 2 n of gates. Functions which can be efficiently evaluated require only a polynomial number n c gates. Complexity theory categorizes the scaling of the resources, esp. the number of gates, with the number of bits n. Provided the gate set is universal, the distinction between functions which require exponentially large circuits and those which can be computed with polynomial-size circuits does not depend on the chosen set of gates. 3.2 Quantum A set G of quantum gates is called universal if for any ε > 0 and any unitary matrix U on n qubits, there is a sequence of gates g 1,...,g l from G such that U U gl U g2 U g1 ε. ere U g is V I, where V is the unitary transformation on k qubits operated on by the quantum gate g, and I is the identity acting on the remaining n k qubits. The operator norm is defined by U U = max v unit vector (U U ) v. (Recall that for a vector w, w = w w.) Examples of universal gate sets include CNOT and all single qubit gates (continuous gates) CNOT, adamard, and suitable phase flips (continuous gates) CNOT, adamard, X and T (π/8) (discrete gates) Toffoli and adamard (discrete gates) X Z Figure 1: An X gate conjugated by gates is a Z gate. C/CS/Phys C191, Fall 2007, Lecture 9 3

Z X Figure 2: A Z gate conjugated by gates is an X gate. Figure 3: Toffoli gate, a 3-qubit double controlled NOT gate (bit c is flipped iff both a and b are 1. 4 Approximating Unitary Operators Last time we defined a universal set of quantum gates. Now we consider the question of just how many gates are needed to effect an arbitrary quantum operation, or circuit? An n-qubit gate U (a 2 n 2 n unitary matrix) has exponentially many parameters. So typically in general we need exp(n) many gates to even approximate U. The Solovay-Kitaev theorem says that, as a function of ε, the complexity of an approximation is only log 2 1 ε. This is rather efficient the complexity as a function of n is the problem. Quantum computation may be regarded as the study of those unitary transformations on n qubits that can be described by a sequence of polynomial in n quantum gates from a universal family of gates. U is easy (implementable) if U U gk U g1 for k = O(poly(n)). This definition doesn t depend on our choice of a (finite) universal gate family, since any particular gate in one gate family can be well-approximated with a constant number of gates from another universal gate family. The constant factor does not affect the distinction between polynomial- and exponential-size circuits. Figure 4: A Toffoli gate can be decomposed into a circuit of 1- and 2-qubit gates. ere V = R z (π/2). [ 1 0 0 i ] = C/CS/Phys C191, Fall 2007, Lecture 9 4

Figure 5: A SWAP gate is three back to back CNOT gates with control and target qubits alternating. Figure 6: Control and target qubits of CNOT can be exchanged by conjugating with on both qubits. Figure 7: Classical NAND gate and its truth table. C/CS/Phys C191, Fall 2007, Lecture 9 5