Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

43 lines (24 loc) · 1.27 KB

Programming Exercises

Running Test in CI

Programming exercises for the lecture on Near-term Quantum Computing in the summer term 2024 at RWTH Aachen

Setup environment

  • Install miniforge to set up an environment for the Python installation. Alternative: Anaconda or Miniconda.

  • Create new conda environment

    conda create -n programming-exercise python=3.12  
    
  • Activate the new environment

    conda activate programming-exercise
    
  • Clone this repository and enter the directory

    git clone https://github.com/FZJ-PGI-12/programming-exercise.git
    cd programming-exercise
    
  • Install the dependencies

    pip install -r requirements.txt
    
  • Start the notebook

    jupyter notebook
    
  • Test your setup by running all cells. There should be no errors

Tests

Test your environment with

pytest --nbval-lax *.ipynb

There should be no errors