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 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
Released under the Apache License 2.0. See LICENSE file.
Ocean's contributing guide has guidelines for contributing to Ocean packages.
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.