Bits Superposition Quantum Parallelism



Similar documents
Quantum Computing. Robert Sizemore

Introduction to Quantum Computing

Keywords Quantum logic gates, Quantum computing, Logic gate, Quantum computer

Quantum Computing Lecture 7. Quantum Factoring. Anuj Dawar

Quantum Computing Architectures

Quantum Computers. And How Does Nature Compute? Kenneth W. Regan 1 University at Buffalo (SUNY) 21 May, Quantum Computers

Binary Adders: Half Adders and Full Adders

Factoring by Quantum Computers

Lecture 1 Version: 14/08/28. Frontiers of Condensed Matter San Sebastian, Aug , Dr. Leo DiCarlo l.dicarlo@tudelft.nl dicarlolab.tudelft.

Shor s algorithm and secret sharing

What Has Quantum Mechanics to Do With Factoring? Things I wish they had told me about Peter Shor s algorithm

Simulated Quantum Annealer

Quantum Algorithms in NMR Experiments. 25 th May 2012 Ling LIN & Michael Loretz

arxiv:quant-ph/ v2 19 Jan 2000

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Quantum Computing and Grover s Algorithm

0.1 Phase Estimation Technique

QUANTUM COMPUTERS AND CRYPTOGRAPHY. Mark Zhandry Stanford University

QUANTUM INFORMATION, COMPUTATION AND FUNDAMENTAL LIMITATION

1.4 Fast Fourier Transform (FFT) Algorithm

Quantum Computation: a Tutorial

Quantum Computing. Robert Senser, PhD. CSC 5446 Presentation Spring Version

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Classical and Quantum Logic Gates:

Using quantum computing to realize the Fourier Transform in computer vision applications

Kandidatexamen. A Review of Freely Available Quantum Computer Simulation Software Johan Brandhorst-Satzkorn. LiTH-MAT-EX 2012/07 SE

Computing Relations in the Quantum Query Model 1

5 Homogeneous systems

Quantum Computers vs. Computers

Quantum Computing: Lecture Notes. Ronald de Wolf

Genetic Programming for Quantum Computers

Chapter 6 Quantum Computing Based Software Testing Strategy (QCSTS)

A Recent Improvements in Quantum Model and Counter Measures in Quantum Computing

7 Quantum Computing Applications of Genetic Programming

[1] Diagonal factorization

Review Jeopardy. Blue vs. Orange. Review Jeopardy

Introduction to Hill cipher

Section Continued

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

Factoring. Factoring 1

Factoring Algorithms

8 Primes and Modular Arithmetic

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

by the matrix A results in a vector which is a reflection of the given

Lecture L3 - Vectors, Matrices and Coordinate Transformations

Fast Fourier Transform: Theory and Algorithms

Breaking The Code. Ryan Lowe. Ryan Lowe is currently a Ball State senior with a double major in Computer Science and Mathematics and

Lecture 8: Synchronous Digital Systems

A Probabilistic Quantum Key Transfer Protocol

Introduction to computer science

SIMULATING QUANTUM COMPUTING: QUANTUM EXPRESS

PYTHAGOREAN TRIPLES KEITH CONRAD

arxiv:quant-ph/ v2 25 Jan 1996

Lecture 13 - Basic Number Theory.

1 Solving LPs: The Simplex Algorithm of George Dantzig

Cryptography and Network Security. Prof. D. Mukhopadhyay. Department of Computer Science and Engineering. Indian Institute of Technology, Kharagpur

Orthogonal Projections

Chapter 3. if 2 a i then location: = i. Page 40

The Limits of Adiabatic Quantum Computation

Dominik Janzing. Computer Science Approach to Quantum Control

S hor s prime factoring algorithm1 reduces the factorization of a product N 5 pp9 of distinct odd primes p and

"in recognition of the services he rendered to the advancement of Physics by his discovery of energy quanta". h is the Planck constant he called it

Examples of Functions

Chapter 17. Orthogonal Matrices and Symmetries of Space

Continued Fractions and the Euclidean Algorithm

RSA Question 2. Bob thinks that p and q are primes but p isn t. Then, Bob thinks Φ Bob :=(p-1)(q-1) = φ(n). Is this true?

Factoring a number with 400 digits a

Gennady P Berman Gary 0 Ooolen Ronnie Mainieri. Theoretical Division and Center for Nonlinear Studies Los Alarnos National Laboratory

The last three chapters introduced three major proof techniques: direct,

SGN-1158 Introduction to Signal Processing Test. Solutions

Designing Scalable Quantum Computer Architectures: Layout and Initialization

Homogeneous systems of algebraic equations. A homogeneous (ho-mo-geen -ius) system of linear algebraic equations is one in which

Quantum Algorithms Lecture Notes Summer School on Theory and Technology in Quantum Information, Communication, Computation and Cryptography

Open Problems in Quantum Information Processing. John Watrous Department of Computer Science University of Calgary

QUANTUM COMPUTER ELEMENTS BASED ON COUPLED QUANTUM WAVEGUIDES

Solutions to Math 51 First Exam January 29, 2015

The finite field with 2 elements The simplest finite field is

How To Solve An Npa-Complete Problems With Quantum Computing And Chaotic Dynamics

Chapter 6. Orthogonality

x = + x 2 + x

CHAPTER 3 Boolean Algebra and Digital Logic

COVE: A PRACTICAL QUANTUM COMPUTER PROGRAMMING FRAMEWORK. Matthew Daniel Purkeypile. M.S. Computer Science, American Sentinel University, 2005

3.1 State Space Models

WRITING PROOFS. Christopher Heil Georgia Institute of Technology

Notes on Orthogonal and Symmetric Matrices MENU, Winter 2013

3 Some Integer Functions

Discrete Mathematics, Chapter 4: Number Theory and Cryptography

CHAPTER 5. Number Theory. 1. Integers and Division. Discussion

Correlation and Convolution Class Notes for CMSC 426, Fall 2005 David Jacobs

Quantum computing in practice

1.2 Solving a System of Linear Equations

Solutions to Problem Set 1

General Framework for an Iterative Solution of Ax b. Jacobi s Method

Public Key Cryptography: RSA and Lots of Number Theory

Integer Factorization using the Quadratic Sieve

Row Echelon Form and Reduced Row Echelon Form

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Programming Telepathy: Implementing Quantum Non-locality Games

Playing with Numbers

Hill s Cipher: Linear Algebra in Cryptography

Transcription:

7-Qubit Quantum Computer Typical Ion Oscillations in a Trap

Bits Qubits vs Each qubit can represent both a or at the same time! This phenomenon is known as Superposition. It leads to Quantum Parallelism which allows quantum computers to perform certain algorithms much much faster than conventional computers.

Other Qubit-Representing Schemes Running photons through beam-splitters. Changing electron spin (+/2 to -/2)

Some Mathematical Notation ket a abc = b abc = c bra [ a b c] A bit is represented by either of two kets known together as the standard basis. These kets are perpendicular and correspond to the X and Y axes. A quantum bit (qubit) is in a state of superposition which is often represented by a linear combination of the standard basis. = = standard basis q = c + c

Measuring Qubits c and c are complex but they are scaled so that: c 2 2 + c = When a qubit is measured it collapses into either of the two basis states with the following probabilities: The state must collapse when measured in order to make sense. Otherwise you would be looking at both a and a at the same time! P( ) = c 2 P( ) = c 2

Multiple Qubits: Tensor Product A computer with just a single qubit wouldn t do much good. So we must devise a mathematical scheme to represent attached qubits we call this scheme the tensor product. Suppose we have 3 two-dimensional variables: The tensor product U = (u u ) V = (v v ) W = (w w ) )} )( ( ) )( )( ( ) )( )( {( } { } { } { u u u w v u w v u w v u w v u w v u w v u w v u w w v v u u W V U = =

Let s do an example involving matrices. = = = = = 24 8 2 5 2 6 5 6 5 4 6 5 3 6 5 2 6 5 4 3 2 6 5 4 3 2 B B B B B A B A

Finally let s apply tensor products to qubits to create registers. = = = = + ) ( b a b a b a A 3 qubit register: The size of the register increases as 2 n where n is the number of qubits! A 2 qubit register:

Entanglement Suppose you have a two-bit register and you know the state of one of the bits. Can you know for certain the state of the second bit??? No! The bits are independent. What if you had a two-qubit register?

Let s say the 2-qubit register had an equal probability of being in two states. ( ) + 2 If you measure the first qubit and determine that it is a you know that the second qubit must also be and vice versa. The two qubits are in an entangled state.

Mathematically this means that the register cannot be described by the tensor product of two qubits. To show this is the case let s assume hypothetically that register can be written as a tensor product. Then: 2 ( + ) = ( p + p ) ( q + q ) = p q + p q + p q + p q This equation cannot be solved for p p q and q. Therefore the tensor product does not exist.

Consequences of Entanglement Instantaneous Communication across the Universe. Not quite.

Quantum Gates Quantum computers use gates that are similar (in some respects) to the logic gates in classical computers. Many are based on the logical operators from Boolean Logic. The classical NOT AND OR NAND NOR and XOR gates.

Similarities Quantum gates take in a certain number of qubits as input and then output a certain number of qubits (it turns out the number of outputs and inputs must be the same but more on this later). They follow consistent rules such that a certain input will always result in the same output.

Similarities Gates can be represented by matrices. The column vectors of the matrix show the outputs. Here is the controlled- NOT gate: The cnot gate acts similarly to a classical XOR but with an extra output.

Differences However there are quantum gates that could never exist in a classical computing environment. The simplest example of this is the gate. This gate when applied twice consecutively to a yields a and when applied to a.

Differences When applied only once the gate produces a result impossible in classical systems. What does this mean?

Differences The trick so to speak is that quantum gates are most generally not logical operators but rotational operators. Since we already a vector representation of qubits and registers let s treat a register as nothing more than a unit vector in R n where n = 2^the number of qubits.

Differences Now a gate is simply a linear transformation with no scaling. The matrix representation becomes now even more appealing. Thus there are gates that are just the rotation matrices. One of the most important gates is the Walsh- Hadamard gate which puts a qubit into a state of balanced superposition.

Differences The Walsh-Hadamard gate is represented by It is used to initialize registers so that all qubits will be in superposition and thus able to represent both and.

Differences The other primary difference is that quantum gates must be reversible. This a direct result of Schrödinger s equation. In any closed and isolate quantum system there cannot be any loss of information such that any event cannot be reversed.

Differences Therefore there must be as many outputs as inputs so that the operation performed by the gate could be undone. This is why controlled-not gates are used instead of XOR gates.

Completeness It turns out that with the controlled-not gate and all one-qubit rotation gates any possible operation can be carried out. These operators are referred to then as being complete.

Shor s Algorithm Factors large numbers in polynomial time Important applications in cryptanalysis

n p p m 2m If r is odd Compute order r of x Choose x (xn)= Quantum Collapse quantum superposition state and DFT Compute x k mod n If r is even Compute (n x r/2 +) and (n x r/2 -) Requires quantum computer Can be done on classical computer

Classical pre-processing Classically determine if n is a power of a prime or even Randomly select a number x and check to ensure that x and n are relatively prime using the Euclidean algorithm

Quantum processing Create an equal superposition of the integers through k for some large k Compute x j mod n and store the result in a second register Measure the second register to collapse the first register into an equal superposition of integers spaced the period r apart

Register Register 2 through k Processing through k x^( through k) mod n Measurement j+r*( through m) x^(j+r*( through m) mod n Discrete Fourier Transform ( through m)/r m<k Measurement s/r

Quantum processing Use the discrete Fourier transform to change the values in the first register to some superposition of the frequencies Measure the first register to obtain some multiple of /r

Register Register 2 through k Processing through k x^( through k) mod n Measurement j+r*( through m) x^(j+r*( through m) mod n Discrete Fourier Transform ( through m)/r m<k Measurement s/r

n p p m 2m If r is odd Compute order r of x Choose x (xn)= Quantum Collapse quantum superposition state and DFT Compute x k mod n If r is even Compute (n x r/2 +) and (n x r/2 -) Requires quantum computer Can be done on classical computer

Classical post-processing. Determine r 2. If r is even 3. Compute ( )( ) x + x = xr = mod n r 2 r 2 ) ) x r ( + )n x r and ( )n 4. Repeat if necessary 2 2