Release Number: | 3.1.7 |
Release Date: | 2019-09-09 |
Edit: As of the Ocean™ SDK 3.0, the DWaveSampler selects a QPU solver by default. For example, you can access an online QPU solver (Advantage™ system is selected over the D-Wave 2000Q™ system) like this: sampler = DWaveSampler() For more information, please see How Does the DWaveSampler/DWaveCliqueSampler Select a Solver? |
The Jupyter Notebooks in the Leap™ service have been updated to use a new feature now available in the Ocean software: feature-based solver selection.
Rather than identifying a solver by name, you can now specify what type of solver you need as a dictionary of (feature, value) pairs and the software will return one that satisfies your requirements. Note that you can still specify a solver by name (string) if you prefer.
For example, the following code asks for a QPU (rather than software solver) with a specific J range:
sampler = DWaveSampler(
solver={'qpu': True, 'extended_j_range__covers': [-2, 1]})
Use Client.get_solvers() to get a list of supported features and values.
For more information on this feature, see the documentation for the DWaveSampler class.
Comments
Please sign in to leave a comment.