Skip to content

Exercise for QuCoLiMa Topical Days on Mapping to Ising/Qubo Formulation

Notifications You must be signed in to change notification settings

FZJ-PGI-12/qubo_formulation_exercise

Repository files navigation

QUBO Formulation Exercise

Running Test in CI

Setup for Participants

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

  • Create new conda environment

    conda create -n qubo_formulation_exercise python=3.10  
    
  • Activate the new environment

    conda activate qubo_formulation_exercise
    
  • Clone this repository and enter the directory

    git clone https://github.com/FZJ-PGI-12/qubo_formulation_exercise.git
    cd qubo_formulation_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

About

Exercise for QuCoLiMa Topical Days on Mapping to Ising/Qubo Formulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published