Quantum Information Processing: Deutsch Algorithm and Grover Search - - PowerPoint PPT Presentation

quantum information processing
SMART_READER_LITE
LIVE PREVIEW

Quantum Information Processing: Deutsch Algorithm and Grover Search - - PowerPoint PPT Presentation

Quantum Information Processing: Deutsch Algorithm and Grover Search Edwin Ng | 2 May 2012 The Computational Basis The computational basis states of the molecule are These correspond to the classical bits NMR quantum computation


slide-1
SLIDE 1

Quantum Information Processing:

Deutsch Algorithm and Grover Search

Edwin Ng | 2 May 2012

slide-2
SLIDE 2

The Computational Basis

 The computational basis states of the molecule

are

 These correspond to the classical bits  NMR quantum computation manipulates

superpositions of these basis states to solve problems faster than classical algorithms

slide-3
SLIDE 3

The Computational Basis: FIDs

slide-4
SLIDE 4

The Computational Basis: FIDs

slide-5
SLIDE 5

Basis Probabilities

 If the state is measured in the computational

basis, what is the probability of each state?

 After normalization, the proton and carbon

FIDs gives V1

H, V2 H, V1 C, V2 C

 They represent the following system:

slide-6
SLIDE 6

Basis Probabilities (Cont.)

 ρjj represents probability of measuring the j-th

basis element

 We do not need the imaginary elements  System is rank-deficient: add normalization

slide-7
SLIDE 7

Basis Probabilities (Cont.)

slide-8
SLIDE 8

Simple Quantum Gates: One-Qubit

 NMR is based on single-qubit rotation gates:  These rotate the spin by π/2 about x, y axis of

the NMR system (π/2 pulses).

 X2 and Y2 are π pulses; we also have -π/2

slide-9
SLIDE 9

Simple Quantum Gates: Two-Qubits

 In two-qubit NMR, the two nuclei couple

together through J-coupling constant

 This yields spin-spin interaction operator  Achieved by letting system freely evolve for

time τ = 1/2J

slide-10
SLIDE 10

The Controlled-NOT (CNOT) Gate

 Defined by  Classical Truth Table:  The first bit is the control, the second bit is

the target. CNOT flips target iff control is 1.

slide-11
SLIDE 11

The CNOT Gate: Circuit

 Quantum CNOT is a two qubit-circuit  There is also a much simpler near-CNOT gate,

disregarding phases

slide-12
SLIDE 12

The CNOT Gate: FIDs

slide-13
SLIDE 13

The CNOT Gate: FIDs

slide-14
SLIDE 14

The CNOT Gate: Probabilities

slide-15
SLIDE 15

The Deutsch Algorithm: Question

 Given a function  Constant  f0 and f3

vs.

 Balanced  f1 and f2

slide-16
SLIDE 16

The Deutsch Algorithm: Setup

 Classical approach: Ask for both f(0) and f(1)  Quantum approach: Ask for only one thing, but

need to choose that one thing carefully

 D is a unitary operator: i.e., a quantum gate  Goal is to query D at most one time, which

would beat classical case

slide-17
SLIDE 17

The Deutsch Algorithm: Setup (Cont.)

 For each fj, there is a Dj oracle

slide-18
SLIDE 18

The Deutsch Algorithm: Solution

 The following quantum circuit solves the

Deutsch problem in one query of D:

 Measuring gives 00 if constant, 10 if balanced

slide-19
SLIDE 19

The Deutsch Algorithm: FIDs

slide-20
SLIDE 20

The Deutsch Algorithm: FIDs

slide-21
SLIDE 21

The Deutsch Algorithm: Probabilities

slide-22
SLIDE 22

The Grover Algorithm: Question

 Given a set X of N items and  Exactly one element x0 is marked 1  Goal: Find x0  Classical approach is to just search all of X

 This takes time

 Quantum approach indexes X using states

 Ultimately takes time

slide-23
SLIDE 23

The Grover Algorithm: Setup

 Instead of querying g, ask for an oracle instead  O is a unitary operator on basis bitstrings x:  Marks the answer using a “phase kickback”  How to phrase the oracle query?

slide-24
SLIDE 24

The Grover Algorithm: Setup (Cont.)

 A single query consists of the Grover iterate  P is a conditional phase  H is the Hadamard operator

slide-25
SLIDE 25

The Grover Algorithm: Solution

 Goal: Use as few Grover iterates as possible  Measuring at the end of

iterations gives x0 with high probability

 Will also get x0 after k+k0, k+2k0 , … iterations

slide-26
SLIDE 26

The Grover Algorithm: Implementation

 Ignoring global phases and simplifying, we get a

pulse sequence for each Grover iterate

 The Hadamard is

slide-27
SLIDE 27

The Grover Algorithm: FIDs

slide-28
SLIDE 28

The Grover Algorithm: FIDs

slide-29
SLIDE 29

The Grover Algorithm: Probabilities

slide-30
SLIDE 30

Conclusions

 Introduced a way to calculate the probabilities of

each basis element after a computation

 Demonstrated the preparation of basis states  Obtained a CNOT gate with correct classical outputs  Verified the correctness of the Deutsch algorithm  Observed the correctness and oscillatory behavior of

the Grover search algorithm

 Also available:

 Classical truth table for near-CNOT gate  Near-CNOT, CNOT, Deutsch using carbon control

slide-31
SLIDE 31

Question and Answer