Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dwave-networkx

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwave-networkx

A NetworkX extension providing graphs and algorithms relevent to working with the D-Wave System

  • 0.8.15
  • PyPI
  • Socket score

Maintainers
3

.. image:: https://img.shields.io/pypi/v/dwave-networkx.svg :target: https://pypi.org/project/dwave-networkx

.. image:: https://codecov.io/gh/dwavesystems/dwave-networkx/branch/main/graph/badge.svg :target: https://codecov.io/gh/dwavesystems/dwave-networkx

.. image:: https://circleci.com/gh/dwavesystems/dwave-networkx.svg?style=svg :target: https://circleci.com/gh/dwavesystems/dwave-networkx

.. inclusion-marker-do-not-remove

D-Wave NetworkX

.. index-start-marker

D-Wave NetworkX is an extension of NetworkX <https://networkx.org>_\ ---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 Advantage\ |TM| system, and implementations of graph-theory algorithms on D-Wave quantum computers and other binary quadratic model samplers.

.. |TM| replace:: :sup:TM

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.

.. index-end-marker

Installation

.. installation-start-marker

Installation from PyPi:

.. code-block:: bash

pip install dwave_networkx

Installation from source:

.. code-block:: bash

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

.. installation-end-marker

License

Released under the Apache License 2.0.

Contributing

Ocean's contributing guide <https://docs.ocean.dwavesys.com/en/stable/contributing.html>_ has guidelines for contributing to Ocean packages.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc