New Features
-
Add support for context manager protocol to all samplers. See #91, #556.
The recommended way to use DWaveSampler is now from a runtime context:
with DWaveSampler() as sampler: sampler.sample_ising(...)
Alternatively, call the close() method to terminate the sampler resources:
sampler = DWaveSampler() ... sampler.close()