Skip to content

yezhengkai/DWave-Quantum-Annealing

Repository files navigation

DWave-Quantum-Annealing

Examples of using DWave quantum annealing system

How to run this project

First, you should download this repository and then follow the instructions below to install dependencies. Just choose a method you like.

After creating an environment with all dependencies installed, configure your dwave cloud client configuration file according to Configuring Access to D-Wave Solvers.

Use Anaconda

  • Install Anaconda and set your preferred shell environment so that you can use the conda command.
  • Open your preferred shell and change the directory to the repository you downloaded.
  • Use conda env update --prune --file environment.yml to create a new conda environment and install dependencies. (If you want to create a new dev conda environment, use conda env update --prune --file environment_dev.yml)

Use poetry

  • Make sure you have the appropriate version of the python interpreter in your system.
  • Install poetry and set your preferred shell environment so that you can use the poetry command.
  • Open your preferred shell and change the directory to the repository you downloaded.
  • Use poetry install --no-dev to install dependencies. (If you want to install dev dependencies, use poetry install)

Use pip

  • Make sure you have the appropriate version of the python interpreter and pip in your system.
  • Open your preferred shell and change the directory to the repository you downloaded.
  • Use pip install -r requirement.txt to install dependencies. (If you want to install dev dependencies, use pip install -r requirement_dev.txt)

Examples

Caution dwaveutils and simpeg_ecosys may frequently change the API in the near future, and the example may crash.

References

Releases

No releases published

Packages

No packages published