Skip to content

Commit

Permalink
Merge pull request dwavesystems#77 from mstechly/existing-hardware-ar…
Browse files Browse the repository at this point in the history
…chitectures

Added information how to create graphs implemented in D-Wave 2X and D…
  • Loading branch information
arcondello authored Oct 23, 2018
2 parents c319222 + 1b5008b commit 3bd1338
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,15 @@ from low energy states of the problem's objective function) must have
`sample_qubo` and `sample_ising` methods for solving Ising and QUBO models
and return an iterable of samples in order of increasing energy. You can set
a default sampler using the `set_default_sampler()` function.

Below you can see how to create Chimera graphs implemented in the D-Wave 2X and D-Wave 2000Q systems:

.. code:: python
import dwave_networkx as dnx
# D-Wave 2X
C = dnx.chimera_graph(12, 12, 4)
# D-Wave 2000Q
C = dnx.chimera_graph(16, 16, 4)

0 comments on commit 3bd1338

Please sign in to comment.