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 install from source:

git clone https://github.com/dwavesystems/dwave-inspector.git
cd dwave-inspector
pip 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.

Metadata

Release files for dwave-inspector 0.5.6

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.6
File Size Uploaded Provenance Actions
dwave_inspector-0.5.6.tar.gz 34.8 kB Without provenance Details for dwave_inspector-0.5.6.tar.gz

Built distribution (wheel)

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

Total release size: 64.8 kB

Release files / dwave_inspector-0.5.6.tar.gz

Download URL dwave_inspector-0.5.6.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e497c87101a50a75e2a5404a35b990b3e112b71ea0f92014237cc11fd87dbfba
BLAKE2b-256 checksum
How to use checksums
b3bcce3db06fa809c9762ead03f4348af1343bdab0174de9a70c36f21b6035d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL dwave_inspector-0.5.6-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49f6afc125216f05c81e5f99f40cd4286f0df02e9cbbdf5306be0525e1cf834c
BLAKE2b-256 checksum
How to use checksums
e91aad8598160b2b4500c9fb615c9d2273b33c7190d8b8340f7f519a1e84568f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for dwave-inspector 0.5.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.5.6 This release

2 release files No provenance

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