CS257 Discrete Quantum Computation

Similar documents
CSCI 2570 Introduction to Nanocomputing. Discrete Quantum Computation

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction

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

Introduction to Quantum Computing

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

Chapter 2. Basic Principles of Quantum mechanics

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

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

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

SUPERDENSE CODING AND QUANTUM TELEPORTATION

Shor s Prime Factorization Algorithm

Introduction to Quantum Computing

Lecture 2: From Classical to Quantum Model of Computation

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

Single qubit + CNOT gates

Factoring on a Quantum Computer

Chapter 10. Quantum algorithms

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

Quantum computing! quantum gates! Fisica dell Energia!

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

Introduction to Quantum Information Processing

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

Quantum Gates, Circuits & Teleportation

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

Lecture 3: Constructing a Quantum Model

Some Introductory Notes on Quantum Computing

Principles of Quantum Mechanics Pt. 2

Quantum information and quantum computing

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles

Quantum decoherence. Éric Oliver Paquette (U. Montréal) -Traces Worshop [Ottawa]- April 29 th, Quantum decoherence p. 1/2

An Introduction to Quantum Information and Applications

Reversible and Quantum computing. Fisica dell Energia - a.a. 2015/2016

Unitary evolution: this axiom governs how the state of the quantum system evolves in time.

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

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

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

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

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

IBM quantum experience: Experimental implementations, scope, and limitations

1 Measurements, Tensor Products, and Entanglement

Quantum Computers. Todd A. Brun Communication Sciences Institute USC

Quantum Communication

Promise of Quantum Computation

Lecture 4: Elementary Quantum Algorithms

Quantum Computing. Thorsten Altenkirch

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

An Introduction to Quantum Computation and Quantum Information

Gates for Adiabatic Quantum Computing

Secrets of Quantum Information Science

Introduction to Quantum Information, Quantum Computation, and Its Application to Cryptography. D. J. Guan

Quantum Information & Quantum Computation

Discrete Quantum Theories

Quantum Information & Quantum Computation

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs

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

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

Quantum Wireless Sensor Networks

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).

Simon s algorithm (1994)

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

Lecture 10: Eigenvalue Estimation

QLang: Qubit Language

Lecture 3: Hilbert spaces, tensor products

Quantum Computation and Communication

Quantum Computing: Foundations to Frontier Fall Lecture 3

Quantum Computing Lecture 6. Quantum Search

6.896 Quantum Complexity Theory September 9, Lecture 2

Seminar 1. Introduction to Quantum Computing

Experimental Realization of Shor s Quantum Factoring Algorithm

Introduction to Quantum Computing for Folks

A review on quantum teleportation based on: Teleporting an unknown quantum state via dual classical and Einstein- Podolsky-Rosen channels

Short introduction to Quantum Computing

State. Bell State Exercises

Short Course in Quantum Information Lecture 2

Is Quantum Search Practical?

Lecture 4: Postulates of quantum mechanics

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

QUANTUM COMPUTER SIMULATION

Quantum Circuits and Algorithms

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

Introduction to Quantum Computation

Projects about Quantum adder circuits Final examination June 2018 Quirk Simulator

Quantum Computing: A Future Trends in Computing

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

Quantum Error Correction Codes - From Qubit to Qudit

Computational Complexity: A Modern Approach. Draft of a book: Dated January 2007 Comments welcome!

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

Introduction to Quantum Computing

5. Communication resources

*WILEY- Quantum Computing. Joachim Stolze and Dieter Suter. A Short Course from Theory to Experiment. WILEY-VCH Verlag GmbH & Co.

Entanglement and Quantum Teleportation

Quantum Error Correcting Codes and Quantum Cryptography. Peter Shor M.I.T. Cambridge, MA 02139

Quantum algorithms for testing Boolean functions

D.5 Quantum error correction

Fourier Sampling & Simon s Algorithm

Database Manipulation Operations on Quantum Systems

Semiconductors: Applications in spintronics and quantum computation. Tatiana G. Rappoport Advanced Summer School Cinvestav 2005

Algorithms for quantum computers. Andrew Childs Department of Combinatorics & Optimization and Institute for Quantum Computing University of Waterloo

Physics ; CS 4812 Problem Set 4

Deutsch Algorithm on Classical Circuits

Transcription:

CS57 Discrete Quantum Computation John E Savage April 30, 007 Lect 11 Quantum Computing c John E Savage

Classical Computation State is a vector of reals; e.g. Booleans, positions, velocities, or momenta. Observation of a state component does not change its value. Classical states are robust. Computations can be analog or discrete but are assumed deterministic, i.e. they are predictable from inputs. Lect 11 Quantum Computing c John E Savage 1

Quantum Mechanics State is vector of complex numbers. Observation of state components changes (collapses) the state. Quantum states are fragile. An observation probabilistically samples the quantum state. Observations may yield different results. Frequency of outcomes determined by state. Lect 11 Quantum Computing c John E Savage

Quantum Computation Quantum computation specified in terms of basis states, such as 0 and 1 denoting two physical states, such as spin up and spin down. Represent basis vectors as column vectors, e.g. 0 = [ ] 0 1 = 1 [ 1 0 ] and The state is a linear combination of basis vectors using complex coefficients (superposition), such as, ψ = c 0 0 + c 1 1. The state of quantum system that is the superposition of two basis states is called a quantum bit or qubit. Lect 11 Quantum Computing c John E Savage 3

Discrete Quantum States A quantum state is a mixture of orthogonal basis states (vectors) {p j }. Denote 3D basis states as 000, 001, 010,... 111 where a a 1 a 0 denotes the 8-vector with a single 1 in position a + a 1 1 + a 0. Each quantum state φ = 1 j n c jp j is a ray in a multidimensional space where c j are complex. (c j is the complex conjugate of c j.) Each observation of a quantum state φ = 1 j n c jp j produces a single basis state. State p j occurs with probability c j = c j c j. Because the probability that some outcome occurs must be 1, the normalization condition j c j = 1 holds. Lect 11 Quantum Computing c John E Savage 4

Correlation Between Quantum States Consider the Bell or EPR state φ = 00 + 11. (It is involved in quantum teleportation.) Measurement of the first qubit reveals either the basis state 00 or 11. Whatever the outcome, the measurement of the second qubit will give the same result as the first measurement. This exercise demonstrates that quantum states exhibit correlation. Bell has shown that this measurement correlation is stronger than can be found in classical systems. Lect 11 Quantum Computing c John E Savage 5

The Quantum NOT Gate not should map the qubit φ = α 0 + β 1 to φ = β 0 + α 1. Since φ = [ α β ], the not of φ should be φ = [ β α ]. This can be done by forming the product [ 0 1 1 0 ] φ Such a mapping is called a quantum computation. Lect 11 Quantum Computing c John E Savage 6

Quantum Circuits All quantum computations are represented by linear transformations of quantum states ψ = U φ. If non-linear operations were possible, time travel would be possible and the second law of thermodynamics would not hold. φ denotes a row n-vector. Because the normalization condition ψ ψ = φ U U φ = 1 must hold, U must be unitary, that is, it must satisfy the property U U = I where U is the complex transpose of U and I is the identity matrix. Lect 11 Quantum Computing c John E Savage 7

Evolution of Quantum State A quantum state evolves without change under an evolutionary operator and with change under an observable operator. An evolutionary operator transforms a state φ through multiplication by a unitary linear operator U, i.e. U φ. Because each unitary operator satisfies U U = I, U 1 = U inverse of U. Thus, evolutionary computations are reversible. is the Input can be determined from output. To classically compute a function f(x) reversibly, compute (x, f(x)). Lect 11 Quantum Computing c John E Savage 8

Quantum Observations A quantum observation projects the current state to a orthogonal basis state. It is non-reversible and fundamentally alters the quantum state. Given a qubit φ = α 0 + β 1, an observation projects quantum state to basis states 0 or 1 with probability α or β, respectively. The vectors + = 1 ( 0 + 1 ) and = 1 ( 0 1 ) also form an orthonormal basis. It follows that + + φ = α + + β = α + β + + α β In this basis + ( ) is observed with probability α+β / ( α β /). Lect 11 Quantum Computing c John E Savage 9

Quantum Superposition A set of n-dimensional basis states is the direct product of n qubits, as indicated below. q T = ( 0, 1,,..., n 1 ) Superposition is denoted φ = c T q. complex combination of basis states. That is, superposition is the Lect 11 Quantum Computing c John E Savage 10

Qubit Analogs of not not gate X = [ 0 1 1 0 ]. Input: α 0 + β 1 = [ α β ] T ; Output β 0 + α 1 Z gate Z = 1 [ 1 0 0 1 Input: α 0 + β 1 ; Output α 0 β 1 [ ] Hadamard gate H = 1 1 1. 1 1 ]. Input: α 0 + β 1 ; Output α 0 + 1 + β 0 1 Lect 11 Quantum Computing c John E Savage 11

Qubit Analogs of exor Gate x x 1 y = x y 1 = x 1 x H = The control-not gate 1 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0 The controlled-not is the quantum equivalent of the exor. exor does a reversible computation, unlike nand. Wires model passage of time or physical movement of a particle. Operations model interactions. The controlled-not maps inputs as follows: 00 00 ; 01 01 ; 10 11 ; 11 10 ; Unitary matrix H provides another way to see the effect of this gate. Lect 11 Quantum Computing c John E Savage 1

Reversible Boolean Circuits x 3 y 3 = x 3 x y = x x y = x x 1 y 1 = x 1 x x 1 y 1 = x 1 x x 3 The control-not and control-control-not gates The control-not (c-not) and control-control-not (c-c-not) gates are reversible. (Why?) c-c-not and constants 0, 1 form a universal basis for classical Boolean reversible computation. (Why?) Reversibility increases circuit size for f : {0, 1} n {0, 1} by O(n log 3 ). c-not and qubits are a universal basis for quantum computation. Lect 11 Quantum Computing c John E Savage 13

Example of a Reversible Circuit a b c a a b a b a b c 0 ab ab (a b)c Feynam s Full Adder The Full Adder output is a two-digit representation for the number of 1s among three inputs, in this case a, b, and c. The least significant digit is a b c. The most significant is ab ac bc which is equivalent to ab (a b)c. Lect 11 Quantum Computing c John E Savage 14

Example of a Quantum Computation I Quantum parallelism allows for evaluation of a function at many different points simultaneously. We illustrate for function f(x), x {0, 1}. Consider a two-qubit quantum computer with state x,y. Form the state 0, 0 = 0 0 [ by creating ] 0 and 0 in parallel. Use the Hadamard gate H = 1 1 1 on the first 0 to produce 1 1 the state ( 0 + 1 )/. The result is the state ( 0 + 1 )/ 0. A quantum state is entangled if it cannot be written as the direct product of multiple basis states. ( 0 + 1 )/ 0 is not entangled. Lect 11 Quantum Computing c John E Savage 15

Example of a Quantum Computation II Build the circuit U f that computes x, y x, y f(x) Let its inputs be x = ( 0 + 1 )/ and y = 0. Its output is 0,f(0) + 1,f(1), which involves computing both f(0) and f(1) simultaneously. When an observation is made, either 0,f(0) or 1, f(1) is produced with probability 1/. Thus, although both values of f(x) are computed simultaneously, an observation doesn t combine them. Deutch s algorithm produces a combination of f(0) and f(1). Lect 11 Quantum Computing c John E Savage 16

Deutch s Algorithm 0 H x x H U f 1 H y y f(x) ψ 0 ψ 1 ψ ψ 3 Input state is ψ 0 = 01. State after Hadamard transforms is ψ 1 = x, y = [ 0 + 1 ] [ ] 0 1 Lect 11 Quantum Computing c John E Savage 17

Deutch s Algorithm 0 H x x H U f 1 H y y f(x) ψ 0 ψ 1 ψ ψ 3 State after U f is ψ = ± ± [ ] [ ] 0 + 1 0 1 [ ] [ ] 0 1 0 1 if f(0) = f(1) if f(0) f(1) Lect 11 Quantum Computing c John E Savage 18

Deutch s Algorithm 0 H x x H U f 1 H y y f(x) ψ 0 ψ 1 ψ ψ 3 State after last Hadamard transform is ψ 3 = ± 0 ± 1 [ ] 0 1 [ ] 0 1 if f(0) = f(1) if f(0) f(1) Lect 11 Quantum Computing c John E Savage 19

Deutch s Algorithm 0 H x x H U f 1 H y y f(x) ψ 0 ψ 1 ψ ψ 3 Simplifying state after last Hadamard transform, we have ψ 3 = ± f(0) f(1) [ ] 0 1 and f(0) f(1) = 1 if f(0) f(1). since f(0) f(1) = 0 if f(0) = f(1) Quantum computation has provided global information about f(x), namely, f(0) f(1), in one step, namely, the computation by U f. Two steps would be required by a classical computation. Lect 11 Quantum Computing c John E Savage 0

Solving Satisfiability or Unordered Search Problem: Given instance of satisfiability, find satisfying assignment to the input variables. Classically it appears to take O( n ) time. Example ( x 1 + x 3 + x 4 )(x + x 3 + x 4 )(x 1 + x + x 4 ) The approach: Each assignment is given equal probability initially. An iterative algorithm due to Grover increases the probability of the satisfying assignments while decreasing the probabibility of nonsatisfying assignments. When the probability of satisfying assignments is high, sample the assignments. With high probability a satisfying assignment is discovered. Lect 11 Quantum Computing c John E Savage 1

Factoring Integers Problem: Given an integer which is the product of two primes, find one of the primes. 750,089 = 87*907 Factoring is considered a difficult classical computation. If an effective quantum factorization computer could be built, the RSA public key encryption system would be undermined. The approach: Probabilistic quantum computation based on number theory. Lect 11 Quantum Computing c John E Savage

Prospects for Quantum Computing Quantum computing requires that the state of qubits be maintained a long enough for a computation to complete. If a quantum state comes in connect with the external environment, an observation occurs and the quantum state is changed. Unfortunately, it is extremely difficult to maintain quantum state coherence for more than very short periods of time. Given that a substantial amount of time is needed to set up the superposition of qubits, quantum computing may be infeasible in practice. Only a few problems have been exhibited for which quantum computation offers an advantage, although an effective quantum factorization algorithm could invalidate the RSA algorithm. Lect 11 Quantum Computing c John E Savage 3