dwave-preprocessing is a package of common preprocessing tools that can aid in solving binary quadratic models (BQM).
import dwave.preprocessingCurrently, this package contains several preprocessing composites. For details on underlying algorithms and usage, see the package's Reference Documentation.
Install from a package on PyPI:
pip install dwave-preprocessingor install from source:
pip install -r requirements.txt
python setup.py build_ext --inplace
python setup.py installReleased under the Apache License 2.0. See LICENSE file.
Ocean's contributing guide has guidelines for contributing to Ocean packages.
dwave-preprocessing makes use of reno to manage its release notes.
When making a contribution to dwave-preprocessing that will affect users, create a new release note file by running
reno new your-short-descriptor-hereYou can then edit the file created under releasenotes/notes/.
Remove any sections not relevant to your changes.
Commit the file along with your changes.