Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 1.25 KB

README.md

File metadata and controls

27 lines (15 loc) · 1.25 KB

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:

amod15 gate circuits.

Example of a QFT inversion gate circuit with 8 qubits:

QFT Inversion Circuit.

The full circuit outline:

Diagram of the entire cirtuit outline.

Example of qubit readings after QFT Inversion:

Graph showing probabilities of qubit readings after inversion.