Jupyter Notebooks Support Feature-Based Solver Selection

Release Number:  3.1.7
Release Date: 2019-09-09

 

The Jupyter Notebooks in Leap 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.  

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.