- 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.
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.
Metadata
Release files for dwave-networkx 0.8.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dwave_networkx-0.8.19.tar.gz | 103.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dwave_networkx-0.8.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 210.5 kB
Release files / dwave_networkx-0.8.19.tar.gz
| Download URL | dwave_networkx-0.8.19.tar.gz |
|---|---|
| Size | 103.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a06359dec8a2b3f5a4f13dc5b8f6cc8d47c16b34f23969e582aad524bd97127
|
|
BLAKE2b-256 checksum How to use checksums |
cc66e5ac373539bd225604f5b92029d3f9da3506e28beb3468e5a744feccb88e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / dwave_networkx-0.8.19-py3-none-any.whl
| Download URL | dwave_networkx-0.8.19-py3-none-any.whl |
|---|---|
| Size | 106.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc53e54133fb4d85d9d52fb3066b66fca13db2c95e18a824fc1544f90f287c3d
|
|
BLAKE2b-256 checksum How to use checksums |
d57ef174579898b355503d213e5adf6ccd4af5c96460d27cf93c5f444b938ef7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for dwave-networkx 0.8.19
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.