1 of 10

Simon’s algorithm

2 of 10

Simon’s algorithm

  • First example of a quantum algorithm solving a problem exponentially faster than the best classical randomized algorithm.

  • Like Deutsch, the speedup is in terms of queries to an oracle.

3 of 10

The problem

You are given black-box access to a function

with the promise that there exists an

 

such that

 

if and only if

 

or

 

Find

 

 

 

 

.

.

.

.

.

.

 

.

.

.

.

.

.

 

 

 

 

4 of 10

The problem

You are given black-box access to a function

 

with the promise that there exists an

 

such that

 

if and only if

 

or

 

Find

 

Q: How many queries to the black-box does it take to solve the problem (with certainty) classically?

 

 

 

5 of 10

The problem

You are given black-box access to a function

with the promise that there exists an

 

such that

 

if and only if

 

or

 

Find

 

Q: How many queries does a classical randomized algorithm need to succeed “with high probability”?

 

Can be achieved by a “birthday paradox” style algorithm

 

6 of 10

The problem

You are given black-box access to a function

with the promise that there exists an

 

such that

 

if and only if

 

or

 

Find

 

Q: What about quantum queries?

 

 

7 of 10

Quantum queries

 

 

 

 

 

We model the black-box as a

acting as

8 of 10

Simon’s algorithm

 

 

 

Q: How many times do you need to sample to be able to recover s?

9 of 10

Simon’s algorithm

 

 

 

 

 

 

 

 

10 of 10

Simon’s algorithm

 

 

  1. Measure the second qubit (in the standard basis).

 

 

(v) Measure first qubit (in the standard basis)

Analysis: at the whiteboard

Quantum subroutine: