D-Wave Inspector
Prerequisites
dwave config create
Running your first computing job
import dwave.systemimport dwave.inspector
from dwave.system.samplers import DWaveSampler
from dwave.system.composites import EmbeddingComposite
sampler = EmbeddingComposite(DWaveSampler())
h = {'a': -1., 'b': 2}
J = {('a', 'b'): 1.5}
response = sampler.sample_ising(h, J)
# Inspect
dwave.inspector.show(response, block=dwave.inspector.Block.FOREVER)Last updated
Was this helpful?