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.dev0.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.dev0-py3-none-any.whl (106.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dwave_networkx-0.8.19.dev0.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.dev0.tar.gz
Algorithm Hash digest
SHA256 beaf0c0c0dd73030af077bf79e023f07ed46ca3bc38f4933317f2aac14352a65
MD5 4415642f5f6c9a8e496b51aab1c94575
BLAKE2b-256 1712a88a431b1f99dd2a41aff52b8ef85ba97d759dcc372b5655f2cf58a2bdd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_networkx-0.8.19.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4724544917de5b7e750f56decb37a5a2426a5e3d217d76fbdb1a8ab5eabad70
MD5 60bebe3f26c3d3072291c1e8c79b7a8f
BLAKE2b-256 92f2dad6d12dc58d89792bab14e0017a59b51f45dd5d3077113bc076c2a3757c

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