Skip to main content
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.

Example

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
dwave.inspector.show(response)

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

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.

Metadata

Release files for dwave-inspector 0.2.3

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.2.3
File Size Uploaded
dwave-inspector-0.2.3.tar.gz 18.0 kB Details

Built distribution (wheel)

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

Total release size: 42.8 kB

Release files / dwave-inspector-0.2.3.tar.gz

Download URL dwave-inspector-0.2.3.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7e2ebf840f9c595115ac5636d53bda7d9b996f6387adb410164c8ffdb5141fb1
BLAKE2b-256 checksum
How to use checksums
92feca96bfe2f9870adc6842bfac47b332133744593c752a434a1a64df54650c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

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

Download URL dwave_inspector-0.2.3-py3-none-any.whl
Size 24.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8687c2788fb7628de517262497ee03f01ab4cb280fed0db1a32a3ce2ce5ca72a
BLAKE2b-256 checksum
How to use checksums
eaf8c097cfbed7ea517ea0cffcad714ac08fba01d2845ab9b801916fca0053d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

0.5.5

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

This release

0.2.3 This release

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