Measuring progress in Shor s factoring algorithm

Size: px
Start display at page:

Download "Measuring progress in Shor s factoring algorithm"

Transcription

1 Measuring progress in Shor s factoring algorithm Thomas Lawson Télécom ParisTech, Paris, France 1 / 58

2 Shor s factoring algorithm What do small factoring experiments show? Do they represent progress? 2 / 58

3 Overview Picking the calculation Shortcuts A measure of success 3 / 58

4 Shor s factoring algorithm Shor s factoring algorithm 4 / 58

5 Shor s factoring algorithm Factoring To factor N 1 coprime x 2 order r, (x r mod N = 1) 3 factors are gcd(x r 2 ± 1, N). N=21 3 Pick coprime x Find order r gcd 7 5 / 58

6 Shor s factoring algorithm Order finding Factoring N = 21 using coprime x = 4. The order is given by 4 r mod 21 = = = = = = = = / 58

7 Shor s factoring algorithm Order finding Factoring N = 21 using coprime x = 4. The order is given by 4 r mod 21 = mod 21 = mod 21 = mod 21 = mod 21 = mod 21 = mod 21 = mod 21 = Here r = 3. 7 / 58

8 Shor s factoring algorithm Factoring: an example Factoring N = 21 using coprime x = 4. The order is given by 4 r mod 21 = mod 21= mod 21= mod 21= mod 21 = mod 21 = mod 21 = mod 21 = Here r = 3. 8 / 58

9 Shor s factoring algorithm Factoring: an example The factors of N = 21 are gcd(4 3 2 ± 1, 21) = gcd(8 ± 1, 21) = gcd(7, 21) and gcd(9, 21) =7 and 3. 9 / 58

10 Shor s factoring algorithm Quantum order finding Quantum operators speed it up. 1 = = = 1 10 / 58

11 Shor s factoring algorithm Quantum order finding contains the whole order, r. φ k = α k φ k r φ k = φ k α r k = 1 11 / 58

12 Shor s factoring algorithm Quantum order finding contains the whole order, r. φ k = α k φ k r φ k = φ k α k = e 2πi k r 12 / 58

13 Shor s factoring algorithm Quantum order finding The QOFA quickly finds α k. n Mn... 2 M2 1 M > 2 n... ² k r = 0.M 1M 2 M 3... M n 13 / 58

14 Shor s factoring algorithm Quantum order finding The output of the quantum order finding algorithm. Pr... 1/r 2/r 3/r 4/r 5/r Output (for n ). 14 / 58

15 Picking the calculation Picking the calculation 15 / 58

16 Picking the calculation Trivial calculations Normally the distribution becomes fuzzy as n is reduced. Pr... 1/r 2/r 3/r 4/r 5/r Output 16 / 58

17 Picking the calculation Trivial calculations Normally the distribution becomes fuzzy as n is reduced. Pr... 1/r 2/r 3/r 4/r 5/r Output 17 / 58

18 Picking the calculation Trivial calculations But for trivial calculations this does not happen. For order r = 4, Pr 0/4 1/4 2/4 3/4 Output 18 / 58

19 Picking the calculation Trivial calculations But for trivial calculations this does not happen. For order r = 4, Pr Output 19 / 58

20 Picking the calculation Trivial calculations A circuit that does this 3 M3 2 M2 1 M > 4 ² Pr Output 20 / 58

21 Picking the calculation Trivial calculations A circuit that does this H 0 2 M2 1 M > I ² Pr Output 21 / 58

22 Picking the calculation Trivial calculations A circuit that does this H 0 I 2 0/1 I 1 0/ > I ² Pr Output 22 / 58

23 Picking the calculation Trivial calculations This happens if r = 2 p, because 1/r represented in binary. N = 15 gives r = 2 or r = 4. This is always trivial. 23 / 58

24 Picking the calculation Nontrivial calculations Nontrivial: N = 21 with x = 4 gives r = = / 58

25 Picking the calculation Nontrivial calculations 2 a" Factoring 0 N = 21 with x = 4 (giving r = 3). 1 b" Probability" H" H" H" {I,}" H" 2" " (n;1)" 2" " (n;2)" 0" 2" " Further"iteraBons" to..." 0.35 c" 2 " n=2" " Increasing"precision" FIG. 1: The iterative order finding algorithm for factoring 21. a, Measurement of the control qubit after each controlled unitary gives the next most significant bit in the output and the outcome is fed forward to the iterated (semi-classical) Fourier transform, which applies either the identity operation I or the appropriate phase gate, prior to the Hadamard H. b, As the number of iterations increases the precision increases. c, For two bits of precision the controlled unitary operations can be constructed with this arrangement of controlled-swap gates. Fourier transform is constructive for states contributing to the 00 term and boosts its probability of observation to three times that of the probability for observing the 10 term, which experiences destructive quantum interference among its contributory states. Decoherence in the two qubit control register, the single swap of 2 is implemented with a controlled-not (CNOT) gate; 1 is realised with two swaps, the first of which is a CNOT gate, while it is su cient for the second swap to be uncontrolled. (See Appendix for details). 25 / 58

26 Picking the calculation Second cause of triviality Lack of precision. 3 M3 2 M2 1 M > 4 ² If r > 2 n no interference happens. 26 / 58

27 Picking the calculation Second cause of triviality Lack of precision. 3 M3 2 M2 1 M > If r > 2 n no interference happens. 27 / 58

28 Picking the calculation Second cause of triviality For n steps, only 2 n states can be accessed. 3 M3 2 M2 1 M > If r > 2 n no interference happens. 28 / 58

29 Picking the calculation Second cause of triviality Lack of precision. 3 M3 2 M2 1 M > If r > 2 n no interference happens. 29 / 58

30 Picking the calculation Idée reçue 1) Short r are easy. In fact r = 2 12 is easier than r = 3, r must be small. 30 / 58

31 Experimental shortcuts Experimental shortcuts 31 / 58

32 Experimental shortcuts Simplifying the circuit Demonstrations use shortcuts: Compiling Circuit simplifications Substitutions 32 / 58

33 Experimental shortcuts Compiling Compiling removes the hardest part of the algorithm - making the unitary operators, 2n. n Mn... 2 M2 1 M > 2 n... ² 33 / 58

34 Experimental shortcuts Compiling 7 n Mn... 2 M2 1 M > 2 n... ² Figure: Niskanen et al / 58

35 Experimental shortcuts Compiling All demonstrations have used compiling. n Mn... 2 M2 1 M > 2 n... ² It is not scalable. It needs knowledge of the calculation. A part of the algorithm is missing. 35 / 58

36 Experimental shortcuts Compiling All demonstrations have used compiling. n Mn... 2 M2 1 M > 2 n... ² It is not scalable. It needs knowledge of the calculation. A part of the algorithm is missing. 36 / 58

37 Experimental shortcuts Simplifying the circuit Demonstrations use shortcuts: Compiling Circuit simplifications Substitutions 37 / 58

38 Experimental shortcuts Circuit simplifications nused qubits are removed. 3 M3 2 M2 1 M > This is fine (even if it needs knowledge of the calculation). 38 / 58

39 Experimental shortcuts Circuit simplifications nused qubits are removed. 3 M3 2 M2 1 M > This is fine (even if it needs knowledge of the calculation). 39 / 58

40 see that qubit 1 is in 0i, and qubits 2 and 3 are in a mixture of 0i and Experimental shortcuts 1i. The register is thus in a mixture of 000i, 010i, 100i and 110i, or 0i, 2i, 4i and 6i. The periodicity in the amplitude of yi is now 2, so Circuit simplifications r ˆ 8=2 ˆ 4 and g:c:d: 7 4=2 6 1; 15 ˆ3; 5. Thus, even after the long and complex pulse sequence of the dif cult case (Fig. 4), the experimental data conclusively indicate the successful execution Doing otherwise is a waste of resources. of Shor's algorithm to factor 15. Factor N = 15 giving Nevertheless, r = there 4. are obvious discrepancies between the measured and ideal spectra, most notably for the dif cult case. sing a numerical model, we have investigated whether these deviations H 0 2 M2 1 M1 and phase damping (PD p E 0 ˆ 1 l 0 with g ˆ 1 2 e 2t=T1, p ˆ following observations single spin descriptions (1) GAD (and PD) e commute; (2) the E k for applied to arbitrary r; an > a b 1: 2: 3: 4: 5: 6: 7: n m (0) I 0 1 T e m p or a l a v e r a g i n g (1) (2) ² (3) (4) H n H H H A x 1 B C D E x a x mod N F G H Inverse QFT H 90 H H Figure 1 Quantum circuit for Shor's algorithm. a, Outline of the quantum circuit. Wires represent qubits, Figure: and boxes represent Vandersypen operations. Timetgoes al. from2001. left to right. (0) Initialize a rst register of n ˆ 2dlog 2 Ne qubits to j0i # ¼ # j0i (for short 0i) and a second i ω i /2π T 1,i T 2, Figure 2 Structure and propert per uorobutadienyl iron comple measured J 13C 19 F values, we co different from that derived in ref. (in Hz) at 11.7 T, relative to a re 40 / 58 13

41 Experimental shortcuts Simplifying the circuit Demonstrations use shortcuts: Compiling Circuit simplifications Substitutions 41 / 58

42 Experimental shortcuts Substitutions Technology which is not ready is replaced. 2 M2 1 M1 ² The global properties can be tested. 42 / 58

43 Testing Shor s algorithm Testing Shor s algorithm 43 / 58

44 Testing Shor s algorithm Idée reçue 2) The number factored is a good measure This does not represent progress. 44 / 58

45 Testing Shor s algorithm Idée reçue 2) The number factored is a good measure This does not represent progress. 45 / 58

46 Testing Shor s algorithm Idée reçue 3) Factoring (like love) should be blind. Avoid trivial cases. Factoring is physics. 46 / 58

47 Testing Shor s algorithm Idée reçue 4) Factoring a large number is a good test. 3 7 = 21 This shows the computer works. But it doesn t say how well. 47 / 58

48 Testing Shor s algorithm Idée reçue 4) Factoring a large number is a good test. 3 7 = 21 Bad circuits occasionally get the factors Perfect circuits often fail 48 / 58

49 Testing Shor s algorithm A test of progress We should test the order finding algorithm. Pr... 1/r 2/r 3/r 4/r 5/r Output 49 / 58

50 Testing Shor s algorithm A test of progress The overlap improves with n. M M M M M M M M Pr... 1/r 2/r 3/r 4/r 5/r Output 50 / 58

51 Testing Shor s algorithm A test of progress The overlap improves with n. M M M M M M M M Pr... 1/r 2/r 3/r 4/r 5/r Output 51 / 58

52 Testing Shor s algorithm A test of progress The overlap improves with n. M M M M M M M M Pr... 1/r 2/r 3/r 4/r 5/r Output 52 / 58

53 Testing Shor s algorithm A test of progress The overlap improves with n. M M M M M M M M Pr... 1/r 2/r 3/r 4/r 5/r Output 53 / 58

54 Testing Shor s algorithm Conclusion To design a factoring experiment 1 choose a nontrivial case, 2 only leave out uninteresting parts of the circuit, 3 judge the quantum order finding algorithm. 54 / 58

55 Thank you for your attention. Thank you for your attention. 55 / 58

56 Extras Extras 56 / 58

57 Extras QFT vs iterative PEA a) b) 0 H... H. 0 H... n H 0 H n 1 H n 2. 0 H H... 0 H φ1 n 1... φn 2 1 H 0 H φ1 n... φn 1 1 H 1 2n / 58

58 Extras Odd r The factors are gcd(x r 2 ± 1, N) N = 21, x = 4 gives r = 3 gcd(4 3 2 ± 1, 21) = gcd(2 3 ± 1, 21) since x is a perfect square. 58 / 58

Shor s Prime Factorization Algorithm

Shor s Prime Factorization Algorithm Shor s Prime Factorization Algorithm Bay Area Quantum Computing Meetup - 08/17/2017 Harley Patton Outline Why is factorization important? Shor s Algorithm Reduction to Order Finding Order Finding Algorithm

More information

Experimental Realization of Shor s Quantum Factoring Algorithm

Experimental Realization of Shor s Quantum Factoring Algorithm Experimental Realization of Shor s Quantum Factoring Algorithm M. Steffen1,2,3, L.M.K. Vandersypen1,2, G. Breyta1, C.S. Yannoni1, M. Sherwood1, I.L.Chuang1,3 1 IBM Almaden Research Center, San Jose, CA

More information

First, let's review classical factoring algorithm (again, we will factor N=15 but pick different number)

First, let's review classical factoring algorithm (again, we will factor N=15 but pick different number) Lecture 8 Shor's algorithm (quantum factoring algorithm) First, let's review classical factoring algorithm (again, we will factor N=15 but pick different number) (1) Pick any number y less than 15: y=13.

More information

Shor s Algorithm. Elisa Bäumer, Jan-Grimo Sobez, Stefan Tessarini May 15, 2015

Shor s Algorithm. Elisa Bäumer, Jan-Grimo Sobez, Stefan Tessarini May 15, 2015 Shor s Algorithm Elisa Bäumer, Jan-Grimo Sobez, Stefan Tessarini May 15, 2015 Integer factorization n = p q (where p, q are prime numbers) is a cryptographic one-way function Classical algorithm with best

More information

Qubit Recycling. Ran Chu. May 4, 2016

Qubit Recycling. Ran Chu. May 4, 2016 Qubit Recycling Ran Chu May 4, 06 Abstract Shor s quantum algorithm for fast number factoring is a key example of quantum computational algorithm and the prime motivator in the international effort to

More information

Short Course in Quantum Information Lecture 5

Short Course in Quantum Information Lecture 5 Short Course in Quantum Information Lecture 5 Quantum Algorithms Prof. Andrew Landahl University of New Mexico Course Info All materials downloadable @ website http://info.phys.unm.edu/~deutschgroup/deutschclasses.html

More information

Quantum Phase Estimation using Multivalued Logic

Quantum Phase Estimation using Multivalued Logic Quantum Phase Estimation using Multivalued Logic Agenda Importance of Quantum Phase Estimation (QPE) QPE using binary logic QPE using MVL Performance Requirements Salient features Conclusion Introduction

More information

arxiv: v2 [quant-ph] 1 Aug 2017

arxiv: v2 [quant-ph] 1 Aug 2017 A quantum algorithm for greatest common divisor problem arxiv:1707.06430v2 [quant-ph] 1 Aug 2017 Wen Wang, 1 Xu Jiang, 1 Liang-Zhu Mu, 1, 2, 3, 4, and Heng Fan 1 School of Physics, Peking University, Beijing

More information

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

QUANTUM COMPUTING. Part II. Jean V. Bellissard. Georgia Institute of Technology & Institut Universitaire de France QUANTUM COMPUTING Part II Jean V. Bellissard Georgia Institute of Technology & Institut Universitaire de France QUANTUM GATES: a reminder Quantum gates: 1-qubit gates x> U U x> U is unitary in M 2 ( C

More information

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

Introduction to Quantum Information Processing QIC 710 / CS 768 / PH 767 / CO 681 / AM 871 Introduction to Quantum Information Processing QIC 71 / CS 768 / PH 767 / CO 681 / AM 871 Lecture 8 (217) Jon Yard QNC 3126 jyard@uwaterloo.ca http://math.uwaterloo.ca/~jyard/qic71 1 Recap of: Eigenvalue

More information

Figure 1: Circuit for Simon s Algorithm. The above circuit corresponds to the following sequence of transformations.

Figure 1: Circuit for Simon s Algorithm. The above circuit corresponds to the following sequence of transformations. CS 94 //09 Fourier Transform, Period Finding and Factoring in BQP Spring 009 Lecture 4 Recap: Simon s Algorithm Recall that in the Simon s problem, we are given a function f : Z n Zn (i.e. from n-bit strings

More information

Factoring on a Quantum Computer

Factoring on a Quantum Computer Factoring on a Quantum Computer The Essence Shor s Algorithm Wolfgang Polak wp@pocs.com Thanks to: Eleanor Rieffel Fuji Xerox Palo Alto Laboratory Wolfgang Polak San Jose State University, 4-14-010 - p.

More information

Advanced Cryptography Quantum Algorithms Christophe Petit

Advanced Cryptography Quantum Algorithms Christophe Petit The threat of quantum computers Advanced Cryptography Quantum Algorithms Christophe Petit University of Oxford Christophe Petit -Advanced Cryptography 1 Christophe Petit -Advanced Cryptography 2 The threat

More information

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

Quantum Computation 650 Spring 2009 Lectures The World of Quantum Information. Quantum Information: fundamental principles Quantum Computation 650 Spring 2009 Lectures 1-21 The World of Quantum Information Marianna Safronova Department of Physics and Astronomy February 10, 2009 Outline Quantum Information: fundamental principles

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing The lecture notes were prepared according to Peter Shor s papers Quantum Computing and Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a

More information

Quantum Computing: Foundations to Frontier Fall Lecture 3

Quantum Computing: Foundations to Frontier Fall Lecture 3 Quantum Computing: Foundations to Frontier Fall 018 Lecturer: Henry Yuen Lecture 3 Scribes: Seyed Sajjad Nezhadi, Angad Kalra Nora Hahn, David Wandler 1 Overview In Lecture 3, we started off talking about

More information

Factoring 15 with NMR spectroscopy. Josefine Enkner, Felix Helmrich

Factoring 15 with NMR spectroscopy. Josefine Enkner, Felix Helmrich Factoring 15 with NMR spectroscopy Josefine Enkner, Felix Helmrich Josefine Enkner, Felix Helmrich April 23, 2018 1 Introduction: What awaits you in this talk Recap Shor s Algorithm NMR Magnetic Nuclear

More information

Single qubit + CNOT gates

Single qubit + CNOT gates Lecture 6 Universal quantum gates Single qubit + CNOT gates Single qubit and CNOT gates together can be used to implement an arbitrary twolevel unitary operation on the state space of n qubits. Suppose

More information

Quantum computing. Shor s factoring algorithm. Dimitri Petritis. UFR de mathématiques Université de Rennes CNRS (UMR 6625) Rennes, 30 novembre 2018

Quantum computing. Shor s factoring algorithm. Dimitri Petritis. UFR de mathématiques Université de Rennes CNRS (UMR 6625) Rennes, 30 novembre 2018 Shor s factoring algorithm Dimitri Petritis UFR de mathématiques Université de Rennes CNRS (UMR 6625) Rennes, 30 novembre 2018 Classical Turing machines Theoretical model of classical computer = classical

More information

Physics ; CS 4812 Problem Set 4

Physics ; CS 4812 Problem Set 4 Physics 4481-7681; CS 4812 Problem Set 4 Six problems (six pages), all short, covers lectures 11 15, due in class 25 Oct 2018 Problem 1: 1-qubit state tomography Consider a 1-qubit state ψ cos θ 2 0 +

More information

The Deutsch-Josza Algorithm in NMR

The Deutsch-Josza Algorithm in NMR December 20, 2010 Matteo Biondi, Thomas Hasler Introduction Algorithm presented in 1992 by Deutsch and Josza First implementation in 1998 on NMR system: - Jones, JA; Mosca M; et al. of a quantum algorithm

More information

Simulation of quantum computers with probabilistic models

Simulation of quantum computers with probabilistic models Simulation of quantum computers with probabilistic models Vlad Gheorghiu Department of Physics Carnegie Mellon University Pittsburgh, PA 15213, U.S.A. April 6, 2010 Vlad Gheorghiu (CMU) Simulation of quantum

More information

QFT, Period Finding & Shor s Algorithm

QFT, Period Finding & Shor s Algorithm Chapter 5 QFT, Period Finding & Shor s Algorithm 5 Quantum Fourier Transform Quantum Fourier Transform is a quantum implementation of the discreet Fourier transform You might be familiar with the discreet

More information

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

What is a quantum computer? Quantum Architecture. Quantum Mechanics. Quantum Superposition. Quantum Entanglement. What is a Quantum Computer (contd. What is a quantum computer? Quantum Architecture by Murat Birben A quantum computer is a device designed to take advantage of distincly quantum phenomena in carrying out a computational task. A quantum

More information

Quantum Computation and Communication

Quantum Computation and Communication Tom Lake tswsl1989@sucs.org 16/02/2012 quan tum me chan ics: The branch of mechanics that deals with the mathematical description of the motion and interaction of subatomic particles - OED quan tum me

More information

QUANTUM COMPUTATION. Lecture notes. Ashley Montanaro, University of Bristol 1 Introduction 2

QUANTUM COMPUTATION. Lecture notes. Ashley Montanaro, University of Bristol 1 Introduction 2 School of Mathematics Spring 018 Contents QUANTUM COMPUTATION Lecture notes Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1 Introduction Classical and quantum computational complexity

More information

Lecture note 8: Quantum Algorithms

Lecture note 8: Quantum Algorithms Lecture note 8: Quantum Algorithms Jian-Wei Pan Physikalisches Institut der Universität Heidelberg Philosophenweg 12, 69120 Heidelberg, Germany Outline Quantum Parallelism Shor s quantum factoring algorithm

More information

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

QUANTUM COMPUTATION. Exercise sheet 1. Ashley Montanaro, University of Bristol H Z U = 1 2 School of Mathematics Spring 017 QUANTUM COMPUTATION Exercise sheet 1 Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1. The quantum circuit model. (a) Consider the following quantum

More information

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants

Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants Extended Superposed Quantum State Initialization Using Disjoint Prime Implicants David Rosenbaum, Marek Perkowski Portland State University, Department of Computer Science Portland State University, Department

More information

arxiv:quant-ph/ v1 15 Jan 2006

arxiv:quant-ph/ v1 15 Jan 2006 Shor s algorithm with fewer (pure) qubits arxiv:quant-ph/0601097v1 15 Jan 2006 Christof Zalka February 1, 2008 Abstract In this note we consider optimised circuits for implementing Shor s quantum factoring

More information

Automatic Parallelisation of Quantum Circuits Using the Measurement Based Quantum Computing Model

Automatic Parallelisation of Quantum Circuits Using the Measurement Based Quantum Computing Model Automatic Parallelisation of Quantum Circuits Using the Measurement Based Quantum Computing Model Einar Pius August 26, 2010 MSc in High Performance Computing The University of Edinburgh Year of Presentation:

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Toni Bluher Math Research Group, NSA 2018 Women and Mathematics Program Disclaimer: The opinions expressed are those of the writer and not necessarily those of NSA/CSS,

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part II Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 13, 2011 Overview Outline Grover s Algorithm Quantum search A worked example Simon s algorithm

More information

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

Quantum Computing. 6. Quantum Computer Architecture 7. Quantum Computers and Complexity Quantum Computing 1. Quantum States and Quantum Gates 2. Multiple Qubits and Entangled States 3. Quantum Gate Arrays 4. Quantum Parallelism 5. Examples of Quantum Algorithms 1. Grover s Unstructured Search

More information

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

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon s Algorithm Part I: Quantum Gates and Simon s Algorithm Martin Rötteler NEC Laboratories America, Inc. 4 Independence Way, Suite 00 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut

More information

Imitating quantum mechanics: Qubit-based model for simulation

Imitating quantum mechanics: Qubit-based model for simulation Imitating quantum mechanics: Qubit-based model for simulation Steven Peil nited States Naval Observatory, Washington, DC 2392, SA Received 26 November 27; revised manuscript received 6 January 29; published

More information

Quantum information and quantum computing

Quantum information and quantum computing Middle East Technical University, Department of Physics January 7, 009 Outline Measurement 1 Measurement 3 Single qubit gates Multiple qubit gates 4 Distinguishability 5 What s measurement? Quantum measurement

More information

Fourier Sampling & Simon s Algorithm

Fourier Sampling & Simon s Algorithm Chapter 4 Fourier Sampling & Simon s Algorithm 4.1 Reversible Computation A quantum circuit acting on n qubits is described by an n n unitary operator U. Since U is unitary, UU = U U = I. This implies

More information

Recalling the Hadamard gate H 0 = 1

Recalling the Hadamard gate H 0 = 1 3 IV. IMPORTANT QUANTUM ALGORITMS A. Introduction Up until now two main classes of quantum algorithms can be distinguished: Quantum Fourier transform based algorithms. The most prominent member of this

More information

QUANTUM CRYPTOGRAPHY QUANTUM COMPUTING. Philippe Grangier, Institut d'optique, Orsay. from basic principles to practical realizations.

QUANTUM CRYPTOGRAPHY QUANTUM COMPUTING. Philippe Grangier, Institut d'optique, Orsay. from basic principles to practical realizations. QUANTUM CRYPTOGRAPHY QUANTUM COMPUTING Philippe Grangier, Institut d'optique, Orsay 1. Quantum cryptography : from basic principles to practical realizations. 2. Quantum computing : a conceptual revolution

More information

Parallelization of the QC-lib Quantum Computer Simulator Library

Parallelization of the QC-lib Quantum Computer Simulator Library Parallelization of the QC-lib Quantum Computer Simulator Library Ian Glendinning and Bernhard Ömer VCPC European Centre for Parallel Computing at Vienna Liechtensteinstraße 22, A-19 Vienna, Austria http://www.vcpc.univie.ac.at/qc/

More information

D.5 Quantum error correction

D.5 Quantum error correction D. QUANTUM ALGORITHMS 157 Figure III.34: E ects of decoherence on a qubit. On the left is a qubit yi that is mostly isoloated from its environment i. Ontheright,aweakinteraction between the qubit and the

More information

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

Tutorial on Quantum Computing. Vwani P. Roychowdhury. Lecture 1: Introduction Tutorial on Quantum Computing Vwani P. Roychowdhury Lecture 1: Introduction 1 & ) &! # Fundamentals Qubits A single qubit is a two state system, such as a two level atom we denote two orthogonal states

More information

Parallelization of the QC-lib Quantum Computer Simulator Library

Parallelization of the QC-lib Quantum Computer Simulator Library Parallelization of the QC-lib Quantum Computer Simulator Library Ian Glendinning and Bernhard Ömer September 9, 23 PPAM 23 1 Ian Glendinning / September 9, 23 Outline Introduction Quantum Bits, Registers

More information

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

92 CHAPTER III. QUANTUM COMPUTATION. Figure III.11: Diagram for swap (from NC). 92 CHAPTER III. QUANTUM COMPUTATION Figure III.11: Diagram for swap (from NC). C.3 Quantum circuits 1. Quantum circuit: A quantum circuit isa sequential seriesofquantum transformations on a quantum register.

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Part I Emma Strubell http://cs.umaine.edu/~ema/quantum_tutorial.pdf April 12, 2011 Overview Outline What is quantum computing? Background Caveats Fundamental differences

More information

Lecture 2: From Classical to Quantum Model of Computation

Lecture 2: From Classical to Quantum Model of Computation CS 880: Quantum Information Processing 9/7/10 Lecture : From Classical to Quantum Model of Computation Instructor: Dieter van Melkebeek Scribe: Tyson Williams Last class we introduced two models for deterministic

More information

Quantum Computing: From Circuit To Architecture

Quantum Computing: From Circuit To Architecture POLITECNICO DI MILANO Dipartimento di Elettronica, Informazione e Bioingegneria Quantum Computing: From Circuit To Architecture Nicholas Mainardi Email: nicholas.mainardi@polimi.it home.deib.polimi.it/nmainardi

More information

Classical RSA algorithm

Classical RSA algorithm Classical RSA algorithm We need to discuss some mathematics (number theory) first Modulo-NN arithmetic (modular arithmetic, clock arithmetic) 9 (mod 7) 4 3 5 (mod 7) congruent (I will also use = instead

More information

Quantum Computers. Peter Shor MIT

Quantum Computers. Peter Shor MIT Quantum Computers Peter Shor MIT 1 What is the difference between a computer and a physics experiment? 2 One answer: A computer answers mathematical questions. A physics experiment answers physical questions.

More information

Unitary Dynamics and Quantum Circuits

Unitary Dynamics and Quantum Circuits qitd323 Unitary Dynamics and Quantum Circuits Robert B. Griffiths Version of 20 January 2014 Contents 1 Unitary Dynamics 1 1.1 Time development operator T.................................... 1 1.2 Particular

More information

ADVANCED QUANTUM INFORMATION THEORY

ADVANCED QUANTUM INFORMATION THEORY CDT in Quantum Engineering Spring 016 Contents ADVANCED QUANTUM INFORMATION THEORY Lecture notes Ashley Montanaro, University of Bristol ashley.montanaro@bristol.ac.uk 1 Introduction Classical and quantum

More information

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

2.0 Basic Elements of a Quantum Information Processor. 2.1 Classical information processing The carrier of information QSIT09.L03 Page 1 2.0 Basic Elements of a Quantum Information Processor 2.1 Classical information processing 2.1.1 The carrier of information - binary representation of information as bits (Binary digits).

More information

QUANTUM PHASE ESTIMATION WITH ARBITRARY CONSTANT-PRECISION PHASE SHIFT OPERATORS

QUANTUM PHASE ESTIMATION WITH ARBITRARY CONSTANT-PRECISION PHASE SHIFT OPERATORS Quantum Information and Computation, Vol., No. 9&0 (0) 0864 0875 c Rinton Press QUANTUM PHASE ESTIMATION WITH ARBITRARY CONSTANT-PRECISION PHASE SHIFT OPERATORS HAMED AHMADI Department of Mathematics,

More information

Quantum Computing. Thorsten Altenkirch

Quantum Computing. Thorsten Altenkirch Quantum Computing Thorsten Altenkirch Is Computation universal? Alonzo Church - calculus Alan Turing Turing machines computable functions The Church-Turing thesis All computational formalisms define the

More information

Quantum Control of Qubits

Quantum Control of Qubits Quantum Control of Qubits K. Birgitta Whaley University of California, Berkeley J. Zhang J. Vala S. Sastry M. Mottonen R. desousa Quantum Circuit model input 1> 6> = 1> 0> H S T H S H x x 7 k = 0 e 3 π

More information

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

Logic gates. Quantum logic gates. α β 0 1 X = 1 0. Quantum NOT gate (X gate) Classical NOT gate NOT A. Matrix form representation Quantum logic gates Logic gates Classical NOT gate Quantum NOT gate (X gate) A NOT A α 0 + β 1 X α 1 + β 0 A N O T A 0 1 1 0 Matrix form representation 0 1 X = 1 0 The only non-trivial single bit gate

More information

2 A Fourier Transform for Bivariate Functions

2 A Fourier Transform for Bivariate Functions Stanford University CS59Q: Quantum Computing Handout 0 Luca Trevisan October 5, 0 Lecture 0 In which we present a polynomial time quantum algorithm for the discrete logarithm problem. The Discrete Log

More information

COMS W4995 Introduction to Cryptography September 29, Lecture 8: Number Theory

COMS W4995 Introduction to Cryptography September 29, Lecture 8: Number Theory COMS W4995 Introduction to Cryptography September 29, 2005 Lecture 8: Number Theory Lecturer: Tal Malkin Scribes: Elli Androulaki, Mohit Vazirani Summary This lecture focuses on some basic Number Theory.

More information

A Glimpse of Quantum Computation

A Glimpse of Quantum Computation A Glimpse of Quantum Computation Zhengfeng Ji (UTS:QSI) QCSS 2018, UTS 1. 1 Introduction What is quantum computation? Where does the power come from? Superposition Incompatible states can coexist Transformation

More information

Quantum Complexity Theory and Adiabatic Computation

Quantum Complexity Theory and Adiabatic Computation Chapter 9 Quantum Complexity Theory and Adiabatic Computation 9.1 Defining Quantum Complexity We are familiar with complexity theory in classical computer science: how quickly can a computer (or Turing

More information

Introduction to Quantum Computing

Introduction to Quantum Computing Introduction to Quantum Computing Petros Wallden Lecture 7: Complexity & Algorithms I 13th October 016 School of Informatics, University of Edinburgh Complexity - Computational Complexity: Classification

More information

Lecture 3: Constructing a Quantum Model

Lecture 3: Constructing a Quantum Model CS 880: Quantum Information Processing 9/9/010 Lecture 3: Constructing a Quantum Model Instructor: Dieter van Melkebeek Scribe: Brian Nixon This lecture focuses on quantum computation by contrasting it

More information

Shor s Algorithm for Factoring Large Integers

Shor s Algorithm for Factoring Large Integers Shor s Algorithm for Factoring Large Integers C. Lavor, L.R.U. Manssur, and R. Portugal Instituto de Matemática e Estatística Universidade do Estado do Rio de Janeiro - UERJ Rua São Francisco Xavier, 54,

More information

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

Hilbert Space, Entanglement, Quantum Gates, Bell States, Superdense Coding. CS 94- Bell States Bell Inequalities 9//04 Fall 004 Lecture Hilbert Space Entanglement Quantum Gates Bell States Superdense Coding 1 One qubit: Recall that the state of a single qubit can be written as

More information

CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST. 2.1 Introduction

CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST. 2.1 Introduction CHAPTER 2 AN ALGORITHM FOR OPTIMIZATION OF QUANTUM COST Quantum cost is already introduced in Subsection 1.3.3. It is an important measure of quality of reversible and quantum circuits. This cost metric

More information

Lecture 7: Quantum Fourier Transform over Z N

Lecture 7: Quantum Fourier Transform over Z N Quantum Computation (CMU 18-859BB, Fall 015) Lecture 7: Quantum Fourier Transform over Z September 30, 015 Lecturer: Ryan O Donnell Scribe: Chris Jones 1 Overview Last time, we talked about two main topics:

More information

An Introduction to Quantum Information and Applications

An Introduction to Quantum Information and Applications An Introduction to Quantum Information and Applications Iordanis Kerenidis CNRS LIAFA-Univ Paris-Diderot Quantum information and computation Quantum information and computation How is information encoded

More information

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

Quantum algorithms (CO 781, Winter 2008) Prof. Andrew Childs, University of Waterloo LECTURE 1: Quantum circuits and the abelian QFT Quantum algorithms (CO 78, Winter 008) Prof. Andrew Childs, University of Waterloo LECTURE : Quantum circuits and the abelian QFT This is a course on quantum algorithms. It is intended for graduate students

More information

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs

Introduction into Quantum Computations Alexei Ashikhmin Bell Labs Introduction into Quantum Computations Alexei Ashikhmin Bell Labs Workshop on Quantum Computing and its Application March 16, 2017 Qubits Unitary transformations Quantum Circuits Quantum Measurements Quantum

More information

arxiv:quant-ph/ v1 24 Jun 1998

arxiv:quant-ph/ v1 24 Jun 1998 arxiv:quant-ph/9806084v1 24 Jun 1998 Fast versions of Shor s quantum factoring algorithm Christof Zalka zalka@t6-serv.lanl.gov February 1, 2008 Abstract We present fast and highly parallelized versions

More information

CS257 Discrete Quantum Computation

CS257 Discrete Quantum Computation 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.

More information

More advanced codes 0 1 ( , 1 1 (

More advanced codes 0 1 ( , 1 1 ( p. 1/24 More advanced codes The Shor code was the first general-purpose quantum error-correcting code, but since then many others have been discovered. An important example, discovered independently of

More information

Quantum algorithms for computing short discrete logarithms and factoring RSA integers

Quantum algorithms for computing short discrete logarithms and factoring RSA integers Quantum algorithms for computing short discrete logarithms and factoring RSA integers Martin Ekerå, Johan Håstad February, 07 Abstract In this paper we generalize the quantum algorithm for computing short

More information

Optimal Controlled Phasegates for Trapped Neutral Atoms at the Quantum Speed Limit

Optimal Controlled Phasegates for Trapped Neutral Atoms at the Quantum Speed Limit with Ultracold Trapped Atoms at the Quantum Speed Limit Michael Goerz May 31, 2011 with Ultracold Trapped Atoms Prologue: with Ultracold Trapped Atoms Classical Computing: 4-Bit Full Adder Inside the CPU:

More information

Shor Factorization Algorithm

Shor Factorization Algorithm qitd52 Shor Factorization Algorithm Robert B. Griffiths Version of 7 March 202 References: Mermin = N. D. Mermin, Quantum Computer Science (Cambridge University Press, 2007), Ch. 3 QCQI = M. A. Nielsen

More information

Quantum Computing Lecture Notes, Extra Chapter. Hidden Subgroup Problem

Quantum Computing Lecture Notes, Extra Chapter. Hidden Subgroup Problem Quantum Computing Lecture Notes, Extra Chapter Hidden Subgroup Problem Ronald de Wolf 1 Hidden Subgroup Problem 1.1 Group theory reminder A group G consists of a set of elements (which is usually denoted

More information

Anyons and topological quantum computing

Anyons and topological quantum computing Anyons and topological quantum computing Statistical Physics PhD Course Quantum statistical physics and Field theory 05/10/2012 Plan of the seminar Why anyons? Anyons: definitions fusion rules, F and R

More information

Lecture 10: Eigenvalue Estimation

Lecture 10: Eigenvalue Estimation CS 880: Quantum Information Processing 9/7/010 Lecture 10: Eigenvalue Estimation Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený Last time we discussed the quantum Fourier transform, and introduced

More information

arxiv:quant-ph/ v3 21 Feb 2003

arxiv:quant-ph/ v3 21 Feb 2003 Circuit for Shor s algorithm using 2n+3 qubits arxiv:quant-ph/2595v3 21 Feb 23 Stéphane Beauregard Abstract We try to minimize the number of qubits needed to factor an integer of n bits using Shor s algorithm

More information

Investigating the Complexity of Various Quantum Incrementer Circuits. Presented by: Carlos Manuel Torres Jr. Mentor: Dr.

Investigating the Complexity of Various Quantum Incrementer Circuits. Presented by: Carlos Manuel Torres Jr. Mentor: Dr. Investigating the Complexity of Various Quantum Incrementer Circuits Presented by: Carlos Manuel Torres Jr. Mentor: Dr. Selman Hershfield Department of Physics University of Florida Gainesville, FL Abstract:

More information

Experimental Quantum Computing: A technology overview

Experimental Quantum Computing: A technology overview Experimental Quantum Computing: A technology overview Dr. Suzanne Gildert Condensed Matter Physics Research (Quantum Devices Group) University of Birmingham, UK 15/02/10 Models of quantum computation Implementations

More information

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

Teleportation-based approaches to universal quantum computation with single-qubit measurements Teleportation-based approaches to universal quantum computation with single-qubit measurements Andrew Childs MIT Center for Theoretical Physics joint work with Debbie Leung and Michael Nielsen Resource

More information

Lecture 11 - Basic Number Theory.

Lecture 11 - Basic Number Theory. Lecture 11 - Basic Number Theory. Boaz Barak October 20, 2005 Divisibility and primes Unless mentioned otherwise throughout this lecture all numbers are non-negative integers. We say that a divides b,

More information

Baby's First Diagrammatic Calculus for Quantum Information Processing

Baby's First Diagrammatic Calculus for Quantum Information Processing Baby's First Diagrammatic Calculus for Quantum Information Processing Vladimir Zamdzhiev Department of Computer Science Tulane University 30 May 2018 1 / 38 Quantum computing ˆ Quantum computing is usually

More information

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

b) (5 points) Give a simple quantum circuit that transforms the state C/CS/Phy191 Midterm Quiz Solutions October 0, 009 1 (5 points) Short answer questions: a) (5 points) Let f be a function from n bits to 1 bit You have a quantum circuit U f for computing f If you wish

More information

with the ability to perform a restricted set of operations on quantum registers. These operations consist of state preparation, some unitary operation

with the ability to perform a restricted set of operations on quantum registers. These operations consist of state preparation, some unitary operation Conventions for Quantum Pseudocode LANL report LAUR-96-2724 E. Knill knill@lanl.gov, Mail Stop B265 Los Alamos National Laboratory Los Alamos, NM 87545 June 1996 Abstract A few conventions for thinking

More information

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

X row 1 X row 2, X row 2 X row 3, Z col 1 Z col 2, Z col 2 Z col 3, 1 Ph 219c/CS 219c Exercises Due: Thursday 9 March 2017.1 A cleaning lemma for CSS codes In class we proved the cleaning lemma for stabilizer codes, which says the following: For an [[n, k]] stabilizer

More information

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

Compute the Fourier transform on the first register to get x {0,1} n x 0. CS 94 Recursive Fourier Sampling, Simon s Algorithm /5/009 Spring 009 Lecture 3 1 Review Recall that we can write any classical circuit x f(x) as a reversible circuit R f. We can view R f as a unitary

More information

Chapter 10. Quantum algorithms

Chapter 10. Quantum algorithms Chapter 10. Quantum algorithms Complex numbers: a quick review Definition: C = { a + b i : a, b R } where i = 1. Polar form of z = a + b i is z = re iθ, where r = z = a 2 + b 2 and θ = tan 1 y x Alternatively,

More information

Quantum expanders from any classical Cayley graph expander

Quantum expanders from any classical Cayley graph expander Quantum expanders from any classical Cayley graph expander arxiv:0709.1142 Aram Harrow (Bristol) QIP 08 19 Dec 2007 outline Main result. Definitions. Proof of main result. Applying the recipe: examples

More information

Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681

Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 481 / C&O 681 Introduction to Quantum Information Processing CS 467 / CS 667 Phys 667 / Phys 767 C&O 48 / C&O 68 Lecture (2) Richard Cleve DC 27 cleve@cs.uwaterloo.ca Order-finding via eigenvalue estimation 2 Order-finding

More information

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

Ph 219b/CS 219b. Exercises Due: Wednesday 4 December 2013 1 Ph 219b/CS 219b Exercises Due: Wednesday 4 December 2013 4.1 The peak in the Fourier transform In the period finding algorithm we prepared the periodic state A 1 1 x 0 + jr, (1) A j=0 where A is the

More information

An introduction to Quantum Computing using Trapped cold Ions

An introduction to Quantum Computing using Trapped cold Ions An introduction to Quantum Computing using Trapped cold Ions March 10, 011 Contents 1 Introduction 1 Qubits 3 Operations in Quantum Computing 3.1 Quantum Operators.........................................

More information

Log-mod-finding: A New Idea for Implementation of Shor's Algorithm

Log-mod-finding: A New Idea for Implementation of Shor's Algorithm 2012 International Conference on Networks and Information (ICNI 2012) IPCSIT vol. 57 (2012) (2012) IACSIT Press, Singapore DOI: 10.7763/IPCSIT.2012.V57.11 Log-mod-finding: A New Idea for Implementation

More information

6. Quantum error correcting codes

6. Quantum error correcting codes 6. Quantum error correcting codes Error correcting codes (A classical repetition code) Preserving the superposition Parity check Phase errors CSS 7-qubit code (Steane code) Too many error patterns? Syndrome

More information

Topological Qubit Design and Leakage

Topological Qubit Design and Leakage Topological Qubit Design and National University of Ireland, Maynooth September 8, 2011 Topological Qubit Design and T.Q.C. Braid Group Overview Designing topological qubits, the braid group, leakage errors.

More information

Analyzing Quantum Circuits Via Polynomials

Analyzing Quantum Circuits Via Polynomials 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

More information

Quantum Error Correction Codes-From Qubit to Qudit. Xiaoyi Tang, Paul McGuirk

Quantum Error Correction Codes-From Qubit to Qudit. Xiaoyi Tang, Paul McGuirk Quantum Error Correction Codes-From Qubit to Qudit Xiaoyi Tang, Paul McGuirk Outline Introduction to quantum error correction codes (QECC) Qudits and Qudit Gates Generalizing QECC to Qudit computing Need

More information

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

C/CS/Phys 191 Shor s order (period) finding algorithm and factoring 11/01/05 Fall 2005 Lecture 19 C/CS/Phys 9 Shor s order (period) finding algorithm and factoring /0/05 Fall 2005 Lecture 9 Readings Benenti et al., Ch. 3.2-3.4 Stolze and Suter, uantum Computing, Ch. 8.3 Nielsen and Chuang, uantum Computation

More information