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

Similar documents
Single qubit + CNOT gates

Quantum Computation. Michael A. Nielsen. University of Queensland

Introduction to Quantum Computing

Seminar 1. Introduction to Quantum Computing

Chapter 10. Quantum algorithms

Lecture 4: Postulates of quantum mechanics

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

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

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

Quantum Gates, Circuits & Teleportation

Quantum Computing: Foundations to Frontier Fall Lecture 3

Short introduction to Quantum Computing

Introduction to Quantum Information Processing

Lecture 1: Introduction to Quantum Computing

6.896 Quantum Complexity Theory September 9, Lecture 2

)j > Riley Tipton Perry University of New South Wales, Australia. World Scientific CHENNAI

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

Lecture 22: Quantum computational complexity

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

Quantum Computing. Thorsten Altenkirch

Quantum Complexity Theory and Adiabatic Computation

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

Introduction to Quantum Computing

Introduction to Quantum Computation

Lecture 3: Constructing a Quantum Model

Unitary Dynamics and Quantum Circuits

Simon s algorithm (1994)

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

SUPERDENSE CODING AND QUANTUM TELEPORTATION

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

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

Short Course in Quantum Information Lecture 5

Quantum gate. Contents. Commonly used gates

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

The Deutsch-Josza Algorithm in NMR

Quantum Information Processing and Diagrams of States

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

Quantum Computing Lecture 8. Quantum Automata and Complexity

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

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

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

. An introduction to Quantum Complexity. Peli Teloni

Fourier Sampling & Simon s Algorithm

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

Lecture 1: Introduction to Quantum Computing

Quantum Computing. Vraj Parikh B.E.-G.H.Patel College of Engineering & Technology, Anand (Affiliated with GTU) Abstract HISTORY OF QUANTUM COMPUTING-

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

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

6.896 Quantum Complexity Theory September 18, Lecture 5

Lecture 11 September 30, 2015

Basics on quantum information

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

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

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

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

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

The Solovay-Kitaev theorem

Shor s Algorithm. Polynomial-time Prime Factorization with Quantum Computing. Sourabh Kulkarni October 13th, 2017

Quantum Circuits and Algorithms

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

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

COMPARATIVE ANALYSIS ON TURING MACHINE AND QUANTUM TURING MACHINE

Classical Verification of Quantum Computations

Quantum Algorithms Lecture #3. Stephen Jordan

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

Quantum Computer. Jaewan Kim School of Computational Sciences Korea Institute for Advanced Study

Quantum Information Processing with Liquid-State NMR

Basics on quantum information

CS286.2 Lecture 8: A variant of QPCP for multiplayer entangled games

Discrete Quantum Theories

Lecture 3: Hilbert spaces, tensor products

ON THE ROLE OF THE BASIS OF MEASUREMENT IN QUANTUM GATE TELEPORTATION. F. V. Mendes, R. V. Ramos

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

6.896 Quantum Complexity Theory 30 October Lecture 17

1 Measurements, Tensor Products, and Entanglement

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

Baby's First Diagrammatic Calculus for Quantum Information Processing

Lecture 2: From Classical to Quantum Model of Computation

quantum mechanics is a hugely successful theory... QSIT08.V01 Page 1

1.0 Introduction to Quantum Systems for Information Technology 1.1 Motivation

Lower Bounds on the Classical Simulation of Quantum Circuits for Quantum Supremacy. Alexander M. Dalzell

Quantum Computational Complexity

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

Lecture 6: Quantum error correction and quantum capacity

X row 1 X row 2, X row 2 X row 3, Z col 1 Z col 2, Z col 2 Z col 3,

Great Ideas in Theoretical Computer Science. Lecture 28: A Gentle Introduction to Quantum Computation

Quantum computing and mathematical research. Chi-Kwong Li The College of William and Mary

Is Entanglement Sufficient to Enable Quantum Speedup?

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

Quantum information and quantum computing

Physics ; CS 4812 Problem Set 4

Introduction to Quantum Information Hermann Kampermann

THE RESEARCH OF QUANTUM PHASE ESTIMATION

Information quantique, calcul quantique :

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

Quantum NP - Cont. Classical and Quantum Computation A.Yu Kitaev, A. Shen, M. N. Vyalyi 2002

QLang: Qubit Language

Introduction to Quantum Computing

Challenges in Quantum Information Science. Umesh V. Vazirani U. C. Berkeley

How quantum computation gates can be realized in terms of scattering theory approach to quantum tunneling of charge transport

Transcription:

Errata list, Nielsen & Chuang http://www.michaelnielsen.org/qcqi/errata/e rrata/errata.html

Part II, Nielsen & Chuang Quantum circuits (Ch 4) SK Quantum algorithms (Ch 5 & 6) Göran Johansson Physical realisation of quantum computers (Ch 7) Andreas Walther

Quantum computation and quantum information Chapter 4 Quantum circuits

Chapter 4 Quantum circuits Quantum circuits provide us with a language for describing quantum algorithms We can quantify the resources needed for a quantum algorithm in terms of gates, operations etc. It also provides a toolbox for algorithm design. Simulation of quantum systems

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

Why are there few quantum algorithms Algorithm design is difficult Quantum algorithms need to be better than classical algorithms to be interesting Our intuition works better for classical algorithms, making obtaining ideas about quantum algorithms still harder

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

Chapter 4, Quantum circuits 4.2 Single qubit operations We will analyse arbitrary single qubit and controlled single qubit operations

In quantum information data is represented by quantum bits (qubits) A qubit is a quantum mechanical systems with two states > and > that can be in any arbitrary superposition of those states +

Qubit representation e i cos e i sin 2 2

The Bloch sphere i i e cos e sin 2 2

Single qubit gates Single qubit gates, U, are unitary

.3. Single qubit gates

Fig 4.2, page 77

Single qubit gates on Bloch sphere X-gate 8 rotation around x-axis Y-gate 8 rotation around y-axis Z-gate 8 rotation around z-axis

The Bloch sphere i i e cos e sin 2 2

Fig 4.2, page 77

Single qubit gates on Bloch S-gate sphere 9 rotation around z-axis T-gate 45 rotation around z-axis H-gate 9 rotation around the y-axis followed by 8 rotation around the x-axis

Rotation an arbitrary angle around axes x, y and z

Rotation an arbitrary angle around axes x, y and z H-gate 9 rotation around y-axis followed by 8 rotation around x-axis Show this from Eqs 4.4 and 4.5 (does not commute)

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

CNOT is a MODULO-2 addition of the control bit to the target bit c t c t c

Fig 4.4, control-u c t c U c t

Controlled arbitrary rotation c t c U c t Lets start with inputs c> = > and t> = >, what is the output? Now we choose c> = > and t> = >, what is the output?

Controlled arbitrary rotation

Preparing for logical gates Page 76

Arbitrary single qubit operation in terms of z and y rotations (page 75)

Preparing for logical gates Page 76

Controlled arbitrary rotation

Notation Computational basis states (page 22) A quantum circuit operating on n qubits acts in a 2 n -dimensional complex Hilbert space. The computational basis state are product states x,...,x n > where x i =,. For example a two qubit state x > x 2 > in the computational basis is expressed as > = > + > + > + d > Where we have the basis states for the tensor product of the x > x 2 > basis states

.4.3 Deutsch s algorithm Calculates f ( ) f () Read Deutsch-Josza algorithm before Görans lectures on Thursday

Hadamard gates, exercise 4.6

Exercise 4.6, page Matrix for H-gate on x 2 Matrix for H-gate on x 2 2

H-gate is unitary Matrix multiplication H H=I 2 2

Exercise 4.2

Multiplying the Hadamard gates We can just extend exercise 4.6 by multiplying the two Hadamard gates 2 2 2

Exercise 4.2 Multiplying Hadamard and CNOT gates give Answer: a CNOT gate where the first bit is the control bit 2 2 What operation is this matrix carrying out?

Two control bits

Many control bits

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

.3.6 Bell states (EPR states) An entangled state basis

.3.7 Quantum teleportation Quantum teleportation

Principle of deferred measurement Measurements followed by classically controlled operations can always be replaced by conditional quantum operations Why is Alice not transmitting information faster than the speed of light through the measurment now when no classical operations need to be carried out by Bob?

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

Universal quantum gates (4.5) A set of gates is universal if any unitary operation can be approximated to arbitrary accuracy by quantum circuits only involving these gates

CNOT, Hadamard and T-gates form a universal set. An arbitrary unitary operator can be expressed as a product of unitary operators acting on two computational basis states ( subsection 4.5.). 2. An arbitrary unitary operator acting on two computational basis states can be expressed as a product of single qubit operations and CNOT gates. (page 92-93) (subsection 4.5.2, exercise 4.39)

Exercise 4.93, Page 93

CNOT, Hadamard and T-gates form a universal set. An arbitrary unitary operator can be expressed as a product of unitary operators acting on two computational basis states ( subsection 4.5.). 2. An arbitrary unitary operator acting on two computational basis states can be expressed as a product of single qubit operations and CNOT gates. (page 92-93) (subsection 4.5.2, exercise 4.39) 3. Single qubit operations may be approximated to arbitrary accuracy using Hadamard and T gates (subsection 4.5.3)

Single qubit operations may be approximated to arbitrary accuracy using H- and T-gates (subsection 4.5.3) From the corrected version of Eq. 4.3 page 76 we see that (exercise 4.): If m and n are non parallel vectors in three dimensions any arbitrary single qubit unitary operation, U may be written as U e i R n ( ) Rm( ) Rn ( 2) Rm( 2)... It is shown on page 96 that rotations of arbitrary angles can be carried out around two different axes using combinations of H- and T-gates

Approximating arbitrary unitary gates (4.5.3 & 4.5.4) In order to approximate a quantum circuit consisting of m CNOT and single qubit gates with an accuracy e, only about O[m*log(m/e)] gate operations are required (Solovay-Kitaev theorem). This does not sound too bad! The problem is that of the order 2 2n gates are required to implement an arbitrary n-qubit unitary operation (see page 9-93), thus this is a computationally hard problem.

Quantum Computational Complexity 4.5.5. Relation to classical complexity classes BPP is thought to be subset of BQP, enabling QC to solve some problems more efficient than classical computers P BPP BQP PSPACE BQP is a subset of PSPACE a) Any problem consuming polynomial time can consume a maximal polynomial amount of space b) A problem inefficiently solvable regarding time might still be solved efficiently regarding space (usage of the same set of gates)

Complexity classes

The power of quantum computation NP complete problems are a subgroup of NP If any NP-complete problem has a polynomial time solution then P=NP Factoring is not known to be NP-complete Quantum computers are known to solve all problems in P efficiently but cannot solve problems outside PSPACE efficiently If quantum computers are proved to be more efficient than classical computers P=/=PSPACE Quantum computers are (supposedly) experimentally realizable, thus this is not just a mathematical curiosity but also tells us something about how the limits and power of computation in general

Quantum computing changes the landscape of computer science QC algorithms do not violate the Church- Turing thesis: any algorithmic process can be simulated using a Turing machine QC algorithms challenge the strong version of the Church-Turing thesis If an algorithm can be performed at any class of hardware, then there is an equivalent efficient algorithm for a Turing machine

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

The quantum circuit model of computation Properties: Quantum computer may be a hybrid of quantum and classical resources to maximize efficiency A quantum circuit operates on n qubits spanning a 2 n dimensional state space. The product states of the form x,x 2,..,x n > ;x i ={,} are the computational basis states Basic steps: Preparation Computation Measurement

The quantum circuit model of computation Maybe it would be better that the computational basis states are entangled Maybe the measurements should not be carried out in the computational basis It is not known whether the quantum circuit model constitute an optimum quantum computer language

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement 4.5 Universal quantum gates 4.6 Circuit model summary 4.7 Simulation of quantum systems

The quantum-mechanical computation of one molecule of methane requires 42 grid points. Assuming that at each point we have to perform only elementary operations, and the computation is performed at the extremely low temperature T=3-3 K, we would still have to use all the energy produced on Earth during the last century Page 24

Quantum simulation Feynman 982 Chemistry (large molecules, reactions) Biology (even larger molecules) Storing the amplitudes of 5 connected qubits may be possible on the supercomputers in the second half of the 2st century provided Moore s law continues to hold Simulation of the properties of new synthesized molecules

Simulation of quantum systems i d dt H With n qubits there are 2 n different differential equations that must be solved The equation above has the formal solution i Ht ( t) e ()

Simulation of quantum systems While quantum computers are hoped to solve general calculations efficiently, another field in which they are hoped to succeed is the simulation of specific physical systems described by a Hamiltonian. However the physical system must be approximated efficiently, to do so: y()> y ()> Approximating Approximating the the Operator state Discretizing The continuous of the function differential is discretised equations to begins arbitrary with choosing precision an using appropriate a finite set Dt. of It basis has to vectors fulfill the demands set by the maximum Exp[-iHt] error. y(t)> c(x) (x)dx ' The approximation of the differential operator is a cthree kk step process. k The set of basis vectors must be chosen such that for First, any given if possible time, separate the approximated H into a set state of has Hamiltonians, to be equal to H the i, which original act state on a within maximal a given constant error number tolerance of particles. (next neighbor interaction, etc). Secondly, write the effect of H on the system as time evolves as a product U of the effect of the individual y (t)> H i. Thirdly, the effect of H i is written in terms of a quantum circuit.

Simulation of quantum systems Approximating the Operator The evolution operator is of the form Exp[ iht] If By possible varying H n is we broken can obtain down a into product a sum representation of local interactions of the evolution operator within any given error H Exp (Trotter formula) H k 2 i( Hk H2) Dt Exp ihdtexp ih 2Dt O( Dt ) If the sub Hamiltonians do not commute it follows that Now that H is broken down into a product of local Hamiltonians which may be written on a quantum circuit form (Exercise 4.5). The product of the circuit corresponds to a unitary operator U. Exp[ i(h H...)t] Exp[ ih t]exp[ ih t]... U 2 2 ih t Exp ih 2 t Exp ih n We now introduce the Trotter formula Exp[ i( A ( t t Exp... ( t Dt) f ) B) jt ] U U ( t ( t) lim ) ; t n f Exp iat / nexp ibt / n jdt n

Exercise 4.5, page 2

Chapter 4, Quantum circuits 4. Quantum algorithms 4.2 Single qubit operations 4.3 Controlled operations 4.4 Measurement

Chapter 4, Quantum circuits 4.5 Universal quantum gates Single qubit and CNOT gates are universal A discrete set of universal operators Approximating arbitrary unitary gates is hard Quantum computational complexity 4.6 Circuit model summary 4.7 Simulation of quantum systems