dwave-networkx
A NetworkX extension providing graphs and algorithms relevant to working with the D-Wave System
Decision gist · record as of 2026-08-14
Yes, but with a caveat: the package is actively maintained and suitable for working with D-Wave quantum systems, but it is officially deprecated in favor of dwave-graphs. Install this only if you have an existing codebase using dwave-networkx or are specifically targeting its current API; for new projects, use dwave-graphs instead. No security vulnerabilities are known.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; depends on NetworkX, dimod, and NumPy.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a recent release (59 days old) and current Python version support (3.10–3.14).
License · maintenance · safety
Apache 2.0 (permissive) — Released under Apache License 2.0, a permissive license that allows commercial and private use with minimal restrictions—suitable for most projects.
last release 2026-06-16 (59 days) · last repo commit 2026-06-16 · 95 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 95,579 downloads/mo, #13,262 on PyPI
Alternatives
Verify before relying
pip install dwave-networkx
import dwave_networkx as dnx
graph = dnx.pegasus_graph(16)- Whether dwave-graphs (the recommended replacement) provides feature parity or if migration is necessary for new projects.
- Specific quantum algorithms implemented beyond graph topology support.
- Performance characteristics when working with large Pegasus topologies.
What it is and what it does
dwave-networkx is a NetworkX extension designed for users working with D-Wave quantum computers. It provides specialized tools for working with quantum processor unit (QPU) topology graphs—such as the Pegasus topology used on Advantage quantum computers—and implements graph-theory algorithms that run on D-Wave quantum systems and other binary quadratic model samplers. The package builds on NetworkX's graph exploration and analysis capabilities, adding quantum-specific functionality.
The package is actively maintained but officially deprecated in favor of dwave-graphs, which provides the same core functionality under a new namespace (dwave.graphs). It has low installation friction as a pure-Python package and supports modern Python versions (3.10–3.14). Its three runtime dependencies—NetworkX, dimod, and NumPy—are widely used and stable.
Use it for
- Generate and analyze Pegasus topology graphs for D-Wave Advantage quantum computers.
- Implement graph algorithms optimized for quantum processing on D-Wave systems.
- Convert classical graph problems into binary quadratic models for quantum sampling.
- Explore quantum processor connectivity and topology constraints in research.
- Prototype quantum-classical hybrid algorithms using graph-based problem formulations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with a caveat: the package is actively maintained and suitable for working with D-Wave quantum systems, but it is officially deprecated in favor of dwave-graphs.
Install this only if you have an existing codebase using dwave-networkx or are specifically targeting its current API; for new projects, use dwave-graphs instead. No security vulnerabilities are known.
Install
dwave-networkx on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a recent release (59 days old) and current Python version support (3.10–3.14). Repository shows steady activity and modest community engagement (95 stars).
Requires Python 3.10 or later; depends on NetworkX, dimod, and NumPy.
License in practice
Released under Apache License 2.0, a permissive license that allows commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install dwave-networkx
import dwave_networkx as dnx
graph = dnx.pegasus_graph(16)
Verify before relying
- Whether dwave-graphs (the recommended replacement) provides feature parity or if migration is necessary for new projects.
- Specific quantum algorithms implemented beyond graph topology support.
- Performance characteristics when working with large Pegasus topologies.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesnetworkxdimodnumpy |
| Maintenance | Actively maintained 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 95,579 / month, #13,262 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: dwave_networkx-0.8.19-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “quantum computing graph algorithms”
- dwave-networkxExtends NetworkX with tools for D-Wave quantum computer topology…
- retworkxA deprecated package name for rustworkx, a high-performance graph…
- pennylanePennyLane is a quantum computing framework that lets you build,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also dwave-graphs · quimb · networkx · dwave-optimization · dwave-samplers · dwave-cloud-client · minorminer · dimod · hugr · qiskit-algorithms