Skip to content

1.29.0

Latest
Compare
Choose a tag to compare
@randomir randomir released this 24 Feb 17:39
· 2 commits to master since this release
11651ed

New Features

  • Add close() to all QPU and hybrid samplers. See #77, #554.

  • 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()