Skip to main content

D-Wave Problem Inspector tool

Project description

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 dependency with:

pip install dwave-inspectorapp --extra-index=

Please note this closed-source dependency is released under the D-Wave EULA license.

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.

Visualization component released under the D-Wave EULA.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dwave-inspector, version 0.2.6
Filename, size File type Python version Upload date Hashes
Filename, size dwave_inspector-0.2.6-py3-none-any.whl (25.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dwave-inspector-0.2.6.tar.gz (22.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page