/qiskit_wrapper

Running IBM Q experiments

Primary LanguagePython

Simple wrapper for QISKit

Running IBM Q experiments. Simple python to make it even easier. The intention is also to add visualisation and a range of different algorithms.

Simple wrapper made from

How to use the wrapper

Prerequisites

pip install pipenv

Run an experiment on the IBM Quantum computer

  1. Clone this repository
  2. Install all the required packages

pipenv install

  1. Set your token as an environment variable TOKEN, I recommend making a .env file with just one line:

TOKEN = "your token here"

  • Alternatively, simply update the Qconfig.py file with your token directly
  1. Open main.py and check the function main. This is where the backend and which experiment is run can be chosen
  2. Have a look at circuits.py for a list of experiments that can be run