Skip to content

melsayed-7/Grover-s-Algorithm-QOSF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grover's Algorithm

This project is the result of the 3-months QOSF mentorship progam.

The project is the exploration of the designs of Grover's algorithm (ancilla and non-ancilla qubits). Also, we have done complexity analysis of each design on different qubit-number designs to see how the complexity changes by increasing the number of qubits of the length code of the element to be searched for.

Getting Started

open the terminal

git clone https://github.com/moustafa-7/Grover-s-Algorithm-QOSF.git
cd Grover-s-Algorithm-QOSF

installing all dependencies

pip install -r requirements.txt

How to use

check the file src/Grover/main.ipynb to see examples and how to use

Running the tests

navigate to src/Grover and then run this command

python3 grover.py

Some plots

  • Success probability of the ancilla design (length of string = 3) image

  • Success probability of the noancilla design (length of string = 3) image

  • length of input string VS Number of computations (u3 + cx gates) used image

Authors

The project was done by:

under the supervision of Dr. Yuval Sanders.

License

Apache License 2.0
This project is licensed under the Apache License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •