Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Quantronauts/qhack21

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qhack21 - Quant'ronauts

DOI

All Contributors

Language grade: Python

Team repository for QHACK21 - Quant'ronauts

Table of contents

  1. Structure
  2. Setup env

Structure

  • Folders :
    • problem_set : folder for the problems set challenge
    • hackaton : folder for our project
  • Branchs :
    • main : only for archive and tag
    • develop : for merging and testing everything together
    • feature : to develop things

Setup env

Create your virtual env

  • To create your virtual env I suggested to use Anaconda

    • If you are on Linux you can setup your virtual env by using :
      • Linux env
          toto$ ( echo; echo '##### added for quantum #####';
          echo 'export PATH=/home/toto/.local/bin:$PATH';
          echo "alias quantum='source ~/quantum/bin/activate'" ) >> ~/.bashrc
          toto$ . ~/.bashrc
          toto$ pip3 install --upgrade pip
          toto$ python3 -m pip install virtualenv
          toto$ python3 -m virtualenv quantum
          toto$ quantum
          
  • Inside your env, check your python installation :

conda activate name_of_my_env
python --version
  • ⚠️ Be careful some quantum libs have problem with ❌ python 3.9, so stop yourself to python 3.8 : pip install python==3.8.7

Installing libraries

To run our project you'll need a bunch of libraries, to installed them run the following command :

pip install pennylane
pip install pennylane-qiskit
pip install pennylane-sf

# For numpy install the following lib
pip install autograd
pip install torch torchvision

In case you have python 2.x and python 3.x cohabited on your virtual system, use pip3 instead of pip

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Sahar Ben Rached

💻

Alain

💻

LQuerellaZ

💻

Tamás Varga

💻

Mica

💻

This project follows the all-contributors specification. Contributions of any kind welcome!