Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 805 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 805 Bytes

usecase-template CI

An example qubrabench use-case

Usage

Add your code in folder usecase/.

Recommended structure:

.
├── requirements.txt       # add all dependencies here
└── usecase
    ├── algorithm.py       # source code for your implementation
    ├── algorithm_test.py  # unittests for above code
    └── algorithm.ipynb    # notebook with executions of the algorithm, example usages, plots, visualizations etc.

Testing

If you want to edit the project or run tests, first install all dependencies using:

pip install -r requirements.txt

Then run pytest to run all tests. You can alternatively run make to run all tests run by the CI.