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.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b652c2d512bf6f8dfce4634000e7387d6f8fd9dd7716102b1cdbc0412cdb7d |
|
MD5 | b6d6e2b77d476b66e518eb96e5142186 |
|
BLAKE2b-256 | 1f83e1cff4c89e3dc26a67d81ede2a41210558161b2123490f32b3c987c27227 |