Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search...

25
Experimental implementation of Grover's algorithm with transmon qubit architecture Andrea Agazzi Zuzana Gavorova Quantum systems for information technology, ETHZ

Transcript of Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search...

Page 1: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Experimental implementation of Grover's algorithm with

transmon qubit architecture

Andrea Agazzi Zuzana Gavorova

Quantum systems for information technology, ETHZ

Page 2: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

What is Grover's algorithm? • Quantum search algorithm

• Task: In a search space of dimension N, find those 0<M<N elements displaying some given characteristics (being in some given states).

Classical search (random guess) Grover’s algorithm

•  Guess randomly the solution •  Control whether the guess is

actually a solution

•  Apply an ORACLE, which marks the solution

•  Decode the marked solution, in order to recognize it

O(N) steps O(N) bits needed

O( ) x n steps O(log(N)) qubits needed

Classical search (random guess) Grover’s algorithm

•  Guess randomly the solution •  Control whether the guess is

actually a solution

•  Apply an ORACLE, which marks the solution

•  Decode the marked solution, in order to recognize it

Classical search (random guess) Grover’s algorithm

.

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

| i = cos(✓/2)|¯ti+ sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

Gk| i = cos(

(2k + 1)✓

2

)|¯ti+ sin(

(2k + 1)✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

pN

1

Page 3: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

The oracle

• The oracle MARKS the correct solution

Dilution operator (interpreter)

• Solution is more recognizable

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

x

Page 4: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm Procedure

• Preparation of the state

• Oracle application

• Dilution of the solution

• Readout

O

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|↵i = 1pN �M

X

x

0|xi

|�i = 1pM

X

x

00|xi

O| i =sN �M

N|↵i �

sM

N|�i

O| i = cos(✓/2)|↵i � sin(✓/2)|�i

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|↵i+ sin(

3✓

2

)|�i

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

Hint

= g(|10ih01|+ |01ih10|)

1

Page 5: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Geometric visualization • Preparation of the state

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

Hint

= g(|10ih01|+ |01ih10|)

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

Hint

= g(|10ih01|+ |01ih10|)

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

Page 6: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Geometric visualization f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|↵i = 1pN �M

X

x

0|xi

|�i = 1pM

X

x

00|xi

O| i =sN �M

N|↵i �

sM

N|�i

O| i = cos(✓/2)|↵i � sin(✓/2)|�i

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|↵i+ sin(

3✓

2

)|�i

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

Hint

= g(|10ih01|+ |01ih10|)

1

O

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

|ti |¯ti

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

|ti |¯ti

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

O| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

Gk| i = cos(

(k + 1)✓

2

)|¯ti+ sin(

(k + 1)✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

| i = cos(✓/2)|¯ti+ sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

Page 7: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm Performance

• Every application of the algorithm is a rotation of θ

• The Ideal number of rotations is:

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

|ti |¯ti

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

|ti |¯ti

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

O| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

G| i = cos(

3✓

2

)|¯ti+ sin(

3✓

2

)|ti

Htot

= ⌫I

�I

z

+ ⌫II

�II

z

+Hint

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

| i = cos(✓/2)|¯ti+ sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

Gk| i = cos(

(2k + 1)✓

2

)|¯ti+ sin(

(2k + 1)✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

Page 8: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm 2 qubits

N=4 Oracle marks one state M=1

After a single run and a projection measurement will get target state with probability 1!

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

Page 9: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm Circuit

Preparation

X

X ∣0⟩

∣0⟩

for t=2

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

Page 10: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm Oracle

for t=2

Will get 2 cases:

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

2

1111

iSWAP 1

2

1ii1

Z ⇡2 Z ⇡

2 1

2

iiii

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

iiii

1

2

1111

iSWAP 1

2

1ii1

1

20 i 1

1

20 i 1 (2)

(3)

1

2

1111

iSWAP 1

2

1ii1

(4)

1

2

1111

iSWAP 1

2

1ii1

(5)

1

2

1111

iSWAP 1

2

1ii1

(6)

Q⌫r�⌫r

2

1

2

1111

iSWAP 1

2

1ii1

Z ⇡2 Z ⇡

2 1

2

iiii

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

iiii

1

2

1111

iSWAP 1

2

1ii1

1

20 i 1

1

20 i 1 (2)

(3)

1

2

1111

iSWAP 1

2

1ii1

(4)

1

2

1111

iSWAP 1

2

1ii1

(5)

1

2

1111

iSWAP 1

2

1ii1

(6)

Q⌫r�⌫r

2

1

2

1111

iSWAP 1

2

1ii1

Z ⇡2 Z ⇡

2 1

2

iiii

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

iiii

1

2

1111

iSWAP 1

2

1ii1

1

20 i 1

1

20 i 1 (2)

(3)

1

2

1111

iSWAP 1

2

1ii1

(4)

1

2

1111

iSWAP 1

2

1ii1

(5)

1

2

1111

iSWAP 1

2

1ii1

(6)

Q⌫r�⌫r

2

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

Page 11: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Grover's algorithm Decoding

for t=2 X∣01⟩

X

1

2

1111

iSWAP 1

2

1ii1

Z ⇡2 Z ⇡

2 1

2

iiii

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

1111

Z ⇡2 Z ⇡

2 1

2

iiii

1

2

1111

iSWAP 1

2

1ii1

1

20 i 1

1

20 i 1 (2)

(3)

1

2

1111

iSWAP 1

2

1ii1

(4)

1

2

1111

iSWAP 1

2

1ii1

(5)

1

2

1111

iSWAP 1

2

1ii1

(6)

Q⌫r�⌫r

2

1

200 01 10 11

1

2t

3

2

1

3t̄1 t̄2 t̄3

1

2t

3

2t̄

1

2

1111

1

2

1111

1

20 1

1

20 1

1

2

1111

0

01

Z ✓ e i ✓2Ze i ✓2 0

0 ei✓2

e i⇡ i

e i0 1

Z ✓ Z �

ei✓ �2 0 0 0

0 ei✓ �2 0 0

0 0 ei✓ �2 0

0 0 0 ei✓ �2

(1)

1

Page 12: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Experimental setup

ωq= qubit frequency ωr= resonator frequency ω = rotating frame frequency Ω = drive pulse amplitude

Page 13: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Single qubit manipulation • Qubit frequency control

via flux bias

• Rotations around z axis: detuning Δ

• Rotations around x and y axes: resonant pulses Ω

Δ

Page 14: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Experimental setup

ωq,I = qubit frequency ωq,II= resonator frequency g = coupling strength

Page 15: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Qubit capacitive coupling In the rotating frame ω = ωq,II

the coupling Hamiltonian is:

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

Gk| i = cos(

(k + 1)✓

2

)|¯ti+ sin(

(k + 1)✓

2

)|ti

Htot

= h(⌫I

�I

z

+ ⌫II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

f(x) =

(0 x is not solution1 x is solution

| i = 1pN

NX

x

|xi

G = (2| ih |� I) O

2| ih |� I

|¯ti = 1pN �M

X

x

0|xi

|ti = 1pM

X

x

00|xi

O| i =sN �M

N|¯ti �

sM

N|ti

O| i = cos(✓/2)|¯ti � sin(✓/2)|ti

R = CI

2

4arccos

qM/N

3

5

Gk| i = cos(

(k + 1)✓

2

)|¯ti+ sin(

(k + 1)✓

2

)|ti

Htot

= h(!q,I

�I

z

+ !q,II

�II

z

+Hint

)

Hint

= g(|10ih01|+ |01ih10|)

| i G| i

1

Page 16: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

iSWAP gate • Controlled interaction

between ⟨10∣ and ⟨01∣

• By letting the two states interact for

t = π/g we obtain an iSWAP gate!

|ge⟩

|eg⟩

Page 17: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Pulse sequence

Page 18: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Linear transmission line and single-shot measurement

Quality factor of empty linear transmission line Q=

ν rΔ ν r

With resonant frequency ν r

Presence of a transmon in state shifts the resonant frequency of the transmission line If microwave at full transmission for state, partial for state

Current corresponding to transmitted EM

ω0= 2π ν r→ω0− χ∣g ⟩

ω0− χ ∣g ⟩ ∣e⟩

Page 19: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Linear transmission line and single-shot measurement

Single shot l If there was no noise, would get either blue or red curve l Real curve so noisy that cannot tell whether or

∣g ⟩ ∣e⟩

Cannot do single-shot readout We need an amplifier which increases the area between and curves, but does not amplify the noise

∣g ⟩ ∣e⟩

Page 20: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Josephson Bifurcation Amplifier (JBA)

Nonlinear transmission line due to Josephson junction

Resonant frequency ω0

At Pin = PC max. slope diverges

Bifurcation: at the correct (Pin ,ωd) two stable solutions, can map the collapsed state of the qubit to them

Page 21: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Josephson Bifurcation Amplifier (JBA)

Switching probability p: probability that the JBA changes to the higher-amplitude solution

l Excite l Choose power corresponding to the biggest difference of switching probabilities Errors l Nonzero probability of incorrect mapping l Crosstalk

∣1⟩→∣2⟩

Page 22: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Errors

l Nonzero probability of incorrect mapping l Crosstalk

Page 23: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Conclusions • Gate operations of Grover algorithm successfully

implemented with capacitively coupled transmon qubits

• Arrive at the target state with probability 0.62 – 0.77 (tomography)

• Single-shot readout with JBA (no quantum speed-up without it)

• Measure the target state in single shot with prob 0.52 – 0.67 (higher than 0.25 classically)

Page 24: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Sources •  Dewes, A; Lauro, R; Ong, FR; et al.,

“Demonstrating quantum speed-up in a superconducting two-qubit processor”, arXiv:1109.6735 (2011)

•  Bialczak, RC; Ansmann, M; Hofheinz, M; et al., “Quantum process tomography of a universal entangling gate implemented with Josephson phase qubits”, Nature Physics 6, 409 (2007)

Page 25: Experimental implementation of Grover's algorithm …What is Grover's algorithm? • Quantum search algorithm • Task: In a search space of dimension N, find those 0

Thank you for your attention

Special acknowledgements: S. Filipp A. Fedorov