Skip to content

FZJ-PGI-12/programming-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Exercises

Running Test in CI

Programming exercises for the lectures of Tobias Stollenwerk

Current lecture

Archive

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/<lecture-folder>
    
  • 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

cd <lecture-folder>
pytest --nbval-lax *.ipynb

There should be no errors

About

Programming Exercises for Course on Near-term Quantum Computing at RWTH Aachen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •