Skip to content
D-Wave Problem Inspector
Branch: master
Clone or download

Latest commit

randomir Release 0.1.5
Changes since 0.1.4:

New Features

- Documentation moved from Readme to ReadTheDocs
Latest commit 90f9395 Mar 26, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Install package before testing, for entry points to work on macOS Feb 24, 2020
docs Decouple readme example from the docs intro example Mar 26, 2020
dwave Release 0.1.5 Mar 26, 2020
examples Make bqm/sampleset example nicer Feb 7, 2020
tests Add `itemsgetter`, an `itemgetter` with consistent return type Mar 11, 2020
.coveragerc Add coveragerc Feb 1, 2020
.gitignore Update .gitignore Mar 12, 2020
LICENSE Setup package stuff Nov 15, 2019
README.rst Decouple readme example from the docs intro example Mar 26, 2020
requirements.txt Setup package stuff Nov 15, 2019
setup.cfg Release 0.1.3 Feb 24, 2020 Release 0.1.4 Mar 12, 2020


Last version on PyPI Linux/Mac build status Coverage report Documentation Status

D-Wave Inspector

A tool for visualizing problems submitted to, and answers received from, a D-Wave structured solver such as a D-Wave 2000Q quantum computer.


This example shows the canonical usage: samples representing physical qubits on a quantum processing unit (QPU).

from dwave.system import DWaveSampler
import dwave.inspector

# Get solver
sampler = DWaveSampler(solver=dict(qpu=True))

# Define a problem (actual qubits depend on the selected QPU's working graph)
h = {}
J = {(0, 4): 1, (0, 5): 1, (1, 4): 1, (1, 5): -1}
assert all(edge in sampler.edgelist for edge in J)

# Sample
response = sampler.sample_ising(h, J, num_reads=100)

# Inspect

Installation or Building

If D-Wave Ocean SDK 2.0+ is installed:

dwave install inspector

Otherwise, install the package from PyPI:

pip install dwave-inspector

and then install the closed-source dependencies with:

pip install dwave-inspectorapp --extra-index=

Alternatively, clone and build from source:

git clone
cd dwave-inspector
pip install -r requirements.txt
python install

When building from source, the closed-source component still needs to be installed as above.


Released under the Apache License 2.0. See LICENSE file.

You can’t perform that action at this time.