dwave-networkx
dwave-networkx copied to clipboard
D-Wave Systems extension of the NetworkX Python package for graphs and graph algorithms.
The primary purpose of this pull request is to provide generators for the instances evaluated in https://arxiv.org/abs/2202.03044 [BBRR]. The pull request: - Adds support for torus graph variations upon Chimera,...
The `networkx` dependency has been pinned at 2.4 for quite a while, which is quite outdated (currently v2.8.3). The Python support window is sliding, and `networkx2.4` officially supports py3.5 through...
**Description** Readme for dwave-networkx needs updating for other topologies (it only mentions Chimera) **To Reproduce** Go to https://docs.ocean.dwavesys.com/en/stable/docs_dnx/sdk_index.html or readme of this repo **Expected behavior** Should also mention Pegasus and...
**Description** The ``draw_chimera`` function takes a NetworkX graph as input. The docstring says "Should be a Chimera graph or a subgraph of a Chimera graph" which can mean either that...
Normalizes node sizes across the board Makes yield plots easier to read Adds qubit-line plots ~needs a little more documentation~
See https://github.com/dwavesystems/minorminer/pull/190#discussion_r741948893.
Hello! I want to use dwave-networkx with `networkx.DiGraph`s. Specifically, I'm trying to pass a `networkx.DiGraph` to `dwave_networkx.traveling_salesperson` but it does not seem to work. My DiGraph is complete and I...
**Description** draw_chimera fails with text error: /home/jraymond/PYTHON3-VENV/OCEANSDK/lib/python3.6/site-packages/dwave_networkx-0.8.8-py3.6.egg/dwave_networkx/drawing/qubit_layout.py:195: MatplotlibDeprecationWarning: Adding an axes using the same arguments as a previous axes currently reuses the earlier instance. In a future version, a new...
**Description** I expected that ``chimera_graph(m)`` or ``chimera_graph(m,m)`` would have be a m-by-m lattice but instead am getting a row of length mxm. **To Reproduce** ``` >>> c4 = dnx.chimera_graph(4) >>>...
**Description** The ``node_list`` and ``edge_list`` parameters say "node_list ...Note that this list is used to remove nodes, so any nodes specified not in range(m * n * 2 * t)...