Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 914 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 914 Bytes

Code for bachelor's thesis: Quantum Computation of the Prime Counting Function

The src folder contains the python code using ProjectQ's dsl. The Quirk folder contains the Quirk circuits used in the thesis. The pdf file is the thesis.

To run the files in the src repository ProjectQ needs to be installed. I used a virtualenv for this project.If pip is installed all the required packages can be installed by typing

$ pip install -r requirements.txt

If you wish to install ProjectQ manually click here for instruction. The ProjectQ source code can be found in this repository

The n_5.py, n_4.py files can be run by typing

$ python n_5.py