WARNING: This repository is obsolete. The content will continue to be maintained under the dwave-examples account.
A collection of demos using the D-Wave Ocean SDK.
NOTE Each demo is stored in its own submodule and may have its own set of package requirements (e.g. antenna-selection/requirements.txt).
As each demo may have a different set of package requirements, you may want to set up a virtual environment to contain said packages and run your demo within that environment.
git clone --recursive https://github.com/dwavesystems/demos.git cd demos/<desired-demo> pip install -r requirements.txt
To pull the latest updates from each submodule, please run git submodule
foreach git pull origin master
after cloning.
Please note that to run demos that access a D-Wave system, you must:
- Sign up for D-Wave Leap in order to get an authentication token
- Create a configuration file or set up environment variables, so that you can easily submit your problems to a D-Wave system without storing your authentication token in your code
Now you're ready to run your demo!