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
Hashes for dwave_networkx-0.8.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74ac925b8128e78f4eedc8e2cc78c13ca11474b30cc77a7129cc8a16fdc4312 |
|
MD5 | b18538a486a6da3466c8309e2e8f995c |
|
BLAKE2b-256 | c8a9c802ef60c68d3bb4d4f1f4f9445c2fcfc43e5431efcc7b78e6fd8963119f |