Skip to main content
Latest version on PyPI Linux/MacOS build status Coverage report

dwave-inspector

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

This example shows a typical usage: a binary quadratic model minor-embedded onto a quantum processing unit (QPU).

from dwave.system import DWaveSampler, EmbeddingComposite
import dimod
import dwave.inspector

# Get sampler
sampler = EmbeddingComposite(DWaveSampler())

# Define a problem
x, y, z = dimod.Binaries(['x', 'y', 'z'])
bqm = x*y - x*z + 2*y

# Sample
sampleset = sampler.sample(bqm, num_reads=100)

# Inspect
dwave.inspector.show(sampleset)

Installation or Building

If 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=https://pypi.dwavesys.com/simple

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

Alternatively, clone and build from source:

git clone https://github.com/dwavesystems/dwave-inspector.git
cd dwave-inspector
pip install -r requirements.txt
python setup.py install

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

License

Released under the Apache License 2.0. See LICENSE file.

Visualization component released under the D-Wave EULA.

Contributing

Ocean’s contributing guide has guidelines for contributing to Ocean packages.

Release Notes

D-Wave Inspector uses reno to manage its release notes.

When making a contribution to D-Wave Inspector that will affect users, create a new release note file by running:

reno new your-short-descriptor-here

You can then edit the file created under releasenotes/notes/. Remove any sections not relevant to your changes. Commit the file along with your changes.

See reno’s user guide for details.

Release files for dwave-inspector 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dwave-inspector 0.5.5
File Size Uploaded
dwave_inspector-0.5.5.tar.gz 35.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dwave-inspector 0.5.5
File Interpreter ABI Platform
dwave_inspector-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 65.8 kB

Release files / dwave_inspector-0.5.5.tar.gz

Download URL dwave_inspector-0.5.5.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fb8273c72bdac907761d0f8c10b23ce516b6d2e5e7f608d5b168d17bccd1ce96
BLAKE2b-256 checksum
How to use checksums
f2582d5f02a4a44c6074bc3f82bf883bc6391cbfd40dfe7db3df3377e499d5a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / dwave_inspector-0.5.5-py3-none-any.whl

Download URL dwave_inspector-0.5.5-py3-none-any.whl
Size 30.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77aff77948e8b61cce42ff5230a4cf9b7397cd55141055c559d7407c9e825d95
BLAKE2b-256 checksum
How to use checksums
2f93d5be9efd8403596ea022d0b9b748217b7ac12aeda3ea63e4ba0228f29dad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page