1.0.0
Prelude
Create dwave-graphs package based off dwave-networkx.
dwave_networkx namespace is renamed to dwave.graphs.
Binary quadratic model (i.e. Ising model and QUBO) generators have been
moved from dwave.graphs.algorithms to dimod.generators.
New Features
- Add support for Python 3.14.
- Modernize package config.
Upgrade Notes
- Drop support for Python 3.9.
- Drop support for
dimod<0.12.
- Remove deprecated Chimera and Pegasus coordinates transformation alias
methods (int/tuple/etc in favor of explicit e.g.
chimera_to_linear).
- Remove deprecated
is_matchingandis_maximal_matchingfunctions
fromdwave.graphs.algorithms.matching. Use the NetworkX
implementations instead.
- Drop the default sampler interface previously available in
dwave-networkx. Some algorithms now explicitly require a sampler.
- Drop
utilsandutils.decoratorssubmodules, as well as the
@binary_quadratic_model_samplerdecorator.
- All BQM/Ising/QUBO generators from
dwave.graphs.algorithmshave been
migrated todimod.generators(released indimod==0.12.22):min_vertex_color_quboandvertex_color_quboremoved from
dwave.graphs.algorithms.coloringin favor ofmin_vertex_coloring
andvertex_coloringfromdimod.generators.coloring,dwave.graphs.algorithms.markov.markov_network_bqmremoved in favor
ofdimod.generators.markov.markov_network,matching_bqm,maximal_matching_bqmand
min_maximal_matching_bqmremoved from
dwave.graphs.algorithms.matchingin favor ofmaximal_matching
andmin_maximal_matchingfromdimod.generators.matching,dwave.graphs.algorithms.partition.graph_partition_cqmremoved in
favor ofdimod.generators.partition.graph_partition,dwave.graphs.algorithms.social.structural_imbalance_isingremoved
in favor ofdimod.generators.social.structural_imbalanceanddwave.graphs.algorithms.tsp.traveling_salesperson_quboremoved in
favor ofdimod.generators.tsp.traveling_salesperson.
- Drop support for
dimod<0.12.22.
- Drop
vertex_colorandmin_vertex_coloraliases in favor of
vertex_coloringandmin_vertex_coloringfor consistency.
- Drop support for NumPy 1.x.
- Replace dev/test/docs
requirements.txtfiles with Dependency Groups
(PEP-735).
dwave.graphs.generatorsrenamed todwave.graphs.topologies.
- Topology specific coloring functions,
zephyr_four_color(),
pegasus_four_color(), andchimera_two_color(), are moved from
dwave.graphs.topologiestodwave.graphs.algorithms.coloring.