mephessivolc / Q_Simulations

Quantum algorithms simulations for optimization and M.L. implementations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Q Simulations

Repository for the Q experiments of the Master's degree studies.

Developed in Python 3 and using virtualenvs and Jupyter Notebooks.

For the implementation of the Quantum algorithms, IBM's Qiskit is being used. It is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms.

Qiskit is made up elements that work together to enable quantum computing. This element is Aqua.

A couple of links bellow about the libraries being used:

API KEY:

API_TOKEN You'll need to have an API key for the IBM Quantum Experience, and then export it as a environment variable.

$ export API_TOKEN=<your-api-token>

Dependencies:

Obs: If you already have this dependence, you can jump to Running locally
  • The dependencies can be installed once you have set up the Python environment. Highly recomended the usage of virtualenvs for it.
  • To activate the virtualenv just run:
$ source <name_of_the_virtualenv>/bin/activate
  • Then, install all the dependencies by running:
$ pip install -r requirements.txt

This notebook can also be downloaded as PDF for report purposes, to install the dependencies needed for that, run:

$ chmod +x install.sh
$ source install.sh

Running locally

To be able to run and edit the code, go to the root folder project and run:

$ jupyter notebook

Then the notebooks will be available on: http://localhost:8888/tree.

About

Quantum algorithms simulations for optimization and M.L. implementations


Languages

Language:Jupyter Notebook 91.2%Language:Python 8.6%Language:Roff 0.1%Language:Shell 0.1%