Skip to content

dwavesystems/dwave-system

Repository files navigation

PyPI - Python Version https://circleci.com/gh/dwavesystems/dwave-system.svg?style=shield

dwave-system

dwave-system is a basic API for easily incorporating the D-Wave system as a sampler in the Ocean software stack, directly or through Leap service's cloud-based hybrid solvers. It includes DWaveSampler, a dimod sampler that accepts and passes system parameters such as system identification and authentication down the stack, LeapHybridSampler, for Leap's hybrid solvers, and others. It also includes several useful composites---layers of pre- and post-processing---that can be used with DWaveSampler to handle minor-embedding, optimize chain strength, etc.

Installation

Installation from PyPI:

pip install dwave-system

Note

As of dwave-system 1.28.0, support for dwave-drivers is removed (it was used for calibration of qubits in chains via VirtualGraphComposite, but it's no longer required due to improved calibration of newer QPUs).

Installation from source:

pip install -r requirements.txt
python setup.py install

License

Released under the Apache License 2.0. See LICENSE file.

Contributing

Ocean's contributing guide has guidelines for contributing to Ocean packages.

Release Notes

dwave-system makes use of reno to manage its release notes.

When making a contribution to dwave-system that will affect users, create a new release note file by running

You can then edit the file created under releasenotes/notes/. Remove any sections not relevant to your changes. Commit the file along with your changes.

See reno's user guide for details.

About

An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 26

Languages