Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

aklein4/Shors-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

12 Commits

Repository files navigation

Shors-Algorithm

An implementation of Shor's quantum factoring algorithm on the number 15:

  • Uses IBM's qiskit python API for quantum circuit contruction and simulation. qiskit can be found here: https://qiskit.org/

  • Successfully finds the factors of 15 (3 and 5) using the properties of quantum superposition and phase estimation.

Included are a .py file containing the raw code, a Jupyter Notebook file (.ipynb) which contains both the code and the output, and a slide deck which contains an explaination of the algorithm, its implentation, and the underlying math.

Examples of different amod15 gate circuits:

Example of a QFT inversion gate circuit with 8 qubits:

The full circuit outline:

Example of qubit readings after QFT Inversion:

About

An implementation of Shor's quantum factoring algorithm on the number 15.

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors