dwave.system.samplers.LeapHybridSampler.min_time_limit#

LeapHybridSampler.min_time_limit(bqm)[source]#

Return the minimum time_limit accepted for the given problem.

The minimum time for a hybrid BQM solver is specified as a piecewise-linear curve defined by a set of floating-point pairs, the minimum_time_limit property.

Parameters:

bqm (BinaryQuadraticModel) – A binary quadratic model.

Examples

For a solver where LeapHybridSampler().properties["minimum_time_limit"] returns [[1, 0.1], [100, 10.0], [1000, 20.0]], the minimum time for a problem of 50 variables is 5 seconds (the linear interpolation of the first two pairs that represent problems with between 1 to 100 variables).