Skip to main content

A NetworkX extension providing graphs and algorithms relevent to working with the D-Wave System

Project description

https://img.shields.io/pypi/v/dwave-networkx.svg https://readthedocs.com/projects/d-wave-systems-dwave-networkx/badge/?version=latest https://codecov.io/gh/dwavesystems/dwave_networkx/branch/master/graph/badge.svg https://circleci.com/gh/dwavesystems/dwave_networkx.svg?style=svg

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dwave-networkx, version 0.8.8
Filename, size File type Python version Upload date Hashes
Filename, size dwave_networkx-0.8.8-py2.py3-none-any.whl (81.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size dwave_networkx-0.8.8.tar.gz (53.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page