Skip to content

dwavesystems/dwave-graphs

Repository files navigation

https://circleci.com/gh/dwavesystems/dwave-graphs.svg?style=svg

dwave-graphs

dwave-graphs 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.graphs
>>> graph = dwave.graphs.pegasus_graph(16)

Installation

Installation from PyPi:

pip install dwave-graphs

Installation from source:

pip install -r requirements.txt
python setup.py install

License

Released under the Apache License 2.0. See LICENSE file.

Contributing

Ocean's contributing guide has guidelines for contributing to Ocean packages.

Release Notes

We use reno to manage release notes.

See reno's user guide for details.

About

A package providing graphs and algorithms relevant to working with the D-Wave quantum computers.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages