A NetworkX extension providing graphs and algorithms relevent to working with the D-Wave System
Project description
D-Wave NetworkX
D-Wave NetworkX is an extension of NetworkX—a Python language package for exploration and analysis of networks and network algorithms—for users of D-Wave Systems. It provides tools for working with Chimera graphs and implementations of graph-theory algorithms on the D-Wave system and other binary quadratic model samplers.
The example below generates a graph for a Chimera unit cell (eight nodes in a 4-by-2 bipartite architecture).
>>> import dwave_networkx as dnx >>> graph = dnx.chimera_graph(1, 1, 4)
See the documentation for more examples.
Installation
Installation from PyPi:
pip install dwave_networkx
Installation from source:
pip install -r requirements.txt
python setup.py install
License
Released under the Apache License 2.0.
Contributing
Ocean’s contributing guide has guidelines for contributing to Ocean packages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dwave_networkx-0.8.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 392d7524aa80223b64e4f1cd0930d13c84567f246d61328dbedce5f4f2eae5b9 |
|
MD5 | c42916590a246bf3b78b2d0981d48210 |
|
BLAKE2b-256 | 1ae1a1a5bd3320ed5e87b491804fd7cc0500e7a3b513167b0f54a4c97dc2d380 |