generalization of quantum search algorithm

22
Debasis Sadhukhan M.Sc. Physics, IIT Bombay Generalization of Quantum Search Algorithm

Upload: mikko

Post on 24-Feb-2016

89 views

Category:

Documents


0 download

DESCRIPTION

Generalization of Quantum Search Algorithm. Debasis Sadhukhan M.Sc. Physics, IIT Bombay. Quantum Algorithm Canonical Grover’s Quantum Search Algorithm Generalized Quantum Search Operator: Selective Inversions of Two States - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Generalization of Quantum Search Algorithm

Debasis SadhukhanM.Sc. Physics, IIT Bombay

Generalization of Quantum Search Algorithm

Page 2: Generalization of Quantum Search Algorithm

Plan of Talk

1.Quantum Algorithm 2.Canonical Grover’s Quantum

Search Algorithm3.Generalized Quantum Search

Operator: Selective Inversions of Two States

4.Generalized Quantum Search Operator: Selective Inversions of Three States

Page 3: Generalization of Quantum Search Algorithm

Quantum Algorithms

*An algorithm is a well defined procedure or a set of instructions to perform an information processing task.*Complexity Classes: P , NP*Quantum algorithms are those that uses quantum

mechanical principles at the time of it’s execution.*Advantage of Quantum Algorithm: Superposition

principle allows a quantum algorithm to exploit an exponentially large number of quantum components using only polynomial recourses.

Hard to design !

Page 4: Generalization of Quantum Search Algorithm

*Grover’s Algorithm

Unsorted Database Search ProblemA database is nothing but a collection of items. Number of items: NClassical Search:Average number of query to succeed: N/2In the worst case, we need N-1 query to succeed.If there are M solutions, then we require O(N/M) trials to succeed.

But using Grover’s Quantum Search Algorithm require only trial to succeed.

Page 5: Generalization of Quantum Search Algorithm

Practical demonstration for the superiority of quantum search over

classical search

Page 6: Generalization of Quantum Search Algorithm

*The Operations

1. Start with 2. Apply Hadamard gate on each state to get uniform

superposition of all states

3. Apply

4. Apply

Page 7: Generalization of Quantum Search Algorithm

*Geometric Visualization

*Let’s start with the uniform superposition of all the states. i.e. the source state .*Our solution is the target state .G = , where, &

Iteration Required (m):

Page 8: Generalization of Quantum Search Algorithm

Example

*Now, so, *So, no. of iteration required is

Page 9: Generalization of Quantum Search Algorithm

Grover’s algorithm drives a quantum computer from a known initial state (source state) to an unknown final state (target state) by using selective phase inversions of these states.

Grover's operator performs the selective inversions only on a unique source state and a unique target state.

Here, in this project, we make our search operator to perform selective inversions on more than one source and target states.

The generalized algorithm is simply a successive iteration of the new Generalized Grover's search operator , where and

Generalized Quantum Search Operator: Selective Inversion of Two States

Page 10: Generalization of Quantum Search Algorithm

*Formulation

The generalized search operator: Selective phase inversions of two source states and two target states.The operator ,where,

and Here,

By the property of Walsh-Hadamard transform,

Page 11: Generalization of Quantum Search Algorithm

*Analysis with specific Example

Let us take,

We need to construct a four dimensional orthonormal basis to analyze the operation.New Basis:

Where,

and

Page 12: Generalization of Quantum Search Algorithm

The Generalized Search Operator

The Generalized search operator found in the new four dimensional orthonormal basis is,

=

=

Where .

Analysis is similar to the case of canonical Grover’s Algorithm.

Page 13: Generalization of Quantum Search Algorithm

Analysis for all to be positive or negative:We choose,

Define,

is perpendicular to So, does not induce any coupling between these states and .Then the search problem effectively reduces to the conventional Grover's search problem where we have one unique source states and multiple target sates and

Summary: The results are mainly distributed in two main category:

1. The problem is reducible into two Grover's search problem in two different subspace, spanned by and .

2. The analysis of the problem is similar to a Grover's search problem which can be analyzed in conventional basis for all to be positive or negative.

Page 14: Generalization of Quantum Search Algorithm

Generalized Quantum Search Operator: Selective Inversion of

Three States

Formulation:The new search operator is the selective phase inversions of three source states and three target states.The operator ,where, and And

Again we need to find out the new search operator in a 6 dimensional orthonormal basis.But, this problem is hard to analyze analytically, so we perform numerical calculations on some specific cases.

Page 15: Generalization of Quantum Search Algorithm

Analysis

We find orthogonal basis states , , using Gram-Schmidt orthogonalization. The initial states in the basis will be

Page 16: Generalization of Quantum Search Algorithm

*Result

Now, we construct the matrix in the new orthonormal basis and find the eigenvalues and eigenvectors.

Result:

So, for the three states also we can categorized our results in two different classes.Now, we have taken some specific examples of this two classes and analyze them numerically.

Page 17: Generalization of Quantum Search Algorithm

Example - 1

For the first example we have chosen .This case corresponds to the case of two different .For n=16, we got,

Same for all the target states.

Page 18: Generalization of Quantum Search Algorithm

Example-1

For different n, we have,

Plot: Formula:

Page 19: Generalization of Quantum Search Algorithm

Example - 2

For the second example we have chosen .This case corresponds to the case of three different .For n=16, Plot: For & , For ,

Page 20: Generalization of Quantum Search Algorithm

Example – 2

For different n, we got

Formula: For For ,

Page 21: Generalization of Quantum Search Algorithm

Summary

1. The maximum amplitude of the target states after the optimal number of iteration is independent of the dimension of the search space.

2. Depending on the maximum amplitude, we need to iterate the generalized Grover’s operator suitable number of times to make the maximum amplitude nearly equal to 1.

3. For each case, the required number of iteration to get the target states with almost 100% probability is the same as the time taken by the canonical Grover's search operator.

4. So, the performance of our new generalized algorithm is the same as the conventional Grover’s search algorithm that performs selective inversions only on a unique source state and a unique target state.

Page 22: Generalization of Quantum Search Algorithm

Thank You