Skip to main content

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

Project description

warning:

dwave-networkx is deprecated in favor of dwave-graphs. The initial release of dwave-graphs includes most functionality previously provided by dwave-networkx, now available under the new namespace, dwave.graphs.

https://img.shields.io/pypi/v/dwave-networkx.svg https://circleci.com/gh/dwavesystems/dwave-graphs.svg?style=shield&branch=legacy/dwave-networkx

dwave-networkx

dwave-networkx is an extension of NetworkX—a Python language package for exploration and analysis of networks and network algorithms—for users of D-Wave quantum computers. It provides tools for working with quantum processing unit (QPU) topology graphs, such as the Pegasus used on the AdvantageTM quantum computer, and implementations of graph-theory algorithms on D-Wave quantum computers and other binary quadratic model (BQM) samplers.

This example generates a Pegasus graph of the size used by Advantage QPUs.

>>> import dwave_networkx as dnx
>>> graph = dnx.pegasus_graph(16)

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


Download files

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

Source Distribution

dwave_networkx-0.8.19.tar.gz (103.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dwave_networkx-0.8.19-py3-none-any.whl (106.8 kB view details)

Uploaded Python 3

File details

Details for the file dwave_networkx-0.8.19.tar.gz.

File metadata

  • Download URL: dwave_networkx-0.8.19.tar.gz
  • Upload date:
  • Size: 103.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dwave_networkx-0.8.19.tar.gz
Algorithm Hash digest
SHA256 1a06359dec8a2b3f5a4f13dc5b8f6cc8d47c16b34f23969e582aad524bd97127
MD5 eaf5c773f7536ec692b3bebe07e0e5c9
BLAKE2b-256 cc66e5ac373539bd225604f5b92029d3f9da3506e28beb3468e5a744feccb88e

See more details on using hashes here.

File details

Details for the file dwave_networkx-0.8.19-py3-none-any.whl.

File metadata

  • Download URL: dwave_networkx-0.8.19-py3-none-any.whl
  • Upload date:
  • Size: 106.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dwave_networkx-0.8.19-py3-none-any.whl
Algorithm Hash digest
SHA256 fc53e54133fb4d85d9d52fb3066b66fca13db2c95e18a824fc1544f90f287c3d
MD5 b429c3e0e68492d98e548e7c2483652f
BLAKE2b-256 d57ef174579898b355503d213e5adf6ccd4af5c96460d27cf93c5f444b938ef7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page