Skip to main content

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

Project description

https://img.shields.io/pypi/v/dwave-networkx.svg https://codecov.io/gh/dwavesystems/dwave-networkx/branch/main/graph/badge.svg https://circleci.com/gh/dwavesystems/dwave-networkx.svg?style=svg

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.18.tar.gz (103.4 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.18-py3-none-any.whl (106.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dwave_networkx-0.8.18.tar.gz
  • Upload date:
  • Size: 103.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for dwave_networkx-0.8.18.tar.gz
Algorithm Hash digest
SHA256 b9d00e3f9dcc642572e676ffbca15b468204411724711cee606af285c30e6eca
MD5 f4d924a5055448104a4fefef47303ac7
BLAKE2b-256 b5279ce599cb00fbf28b13fd5abab04e769401d0dc473f7940d94c92326f7ac7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dwave_networkx-0.8.18-py3-none-any.whl
Algorithm Hash digest
SHA256 3951be45f8da4b3732c62ab4edd7838e7291f0bd5a77e64dee99abd1ef431cbb
MD5 52682365d9d5c78dc610b532c981a9a7
BLAKE2b-256 6ef3aca9791b05b9d4bcd938e3f0a9797a0ecc2492e56dc413cf306b861bfe90

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