> 01-factoring-overview.ipynb - Jupyter Notebook
Provided by D-Wave as Examples on open Jupyter Server.
> helpers (directory)
Provided by D-Wave, contains different functions which are necessary.
> factoring.py
First derivative of D-Wave code which factorizes a number one time.
> factoring-data.py
Major Changes made, for running Code under different parameters.
> test.py
Simple Python Program which factorizes a number _n_ times using a _for_ loop.
> graphs/dff.xlsx - Excel Sheet
Contains derivative data set from original data, to plot different graphs.
> view_graph.ipynb
Python Program which uses given excel sheet to plot graphs.
- Clone the repository
- Make sure you have latest version of python3 and pip3
- Install dwave sdk using pip
pip install dwave-ocean-sdk
- Configure dwave sdk, make sure you have a D-Wave Leap account before.
dwave config create
- Run factoring.py
./factoring.py
- Compare your results with Classical Factorization
./test.py