A NetworkX extension providing graphs and algorithms relevent to working with the D-Wave System
Project description
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 quantum computers. It provides tools for working with Quantum Processing Unit (QPU) topology graphs, such as the Pegasus used on the AdvantageTM system, and implementations of graph-theory algorithms on D-Wave quantum computers and other binary quadratic model samplers.
This example generates a Pegasus graph of the size used by Advantage QPUs.
>>> import dwave_networkx as dnx >>> graph = dnx.pegasus_graph(16)
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.
Contributing
Ocean’s contributing guide has guidelines for contributing to Ocean packages.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dwave_networkx-0.8.15.tar.gz
.
File metadata
- Download URL: dwave_networkx-0.8.15.tar.gz
- Upload date:
- Size: 96.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecafcd7d12e257d771b8a0522c6dc8794be310c112d49768c1caf804ab54b423 |
|
MD5 | 41c512dca17b93cabd9e7cbe33f8ef8f |
|
BLAKE2b-256 | 148e9ef3b0aa011f01556d6724b5eea9320e9d7b226de4f34ffb58d21c590142 |
File details
Details for the file dwave_networkx-0.8.15-py3-none-any.whl
.
File metadata
- Download URL: dwave_networkx-0.8.15-py3-none-any.whl
- Upload date:
- Size: 102.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74ac925b8128e78f4eedc8e2cc78c13ca11474b30cc77a7129cc8a16fdc4312 |
|
MD5 | b18538a486a6da3466c8309e2e8f995c |
|
BLAKE2b-256 | c8a9c802ef60c68d3bb4d4f1f4f9445c2fcfc43e5431efcc7b78e6fd8963119f |