dwave.system.samplers.LeapHybridDQMSampler.min_time_limit#

LeapHybridDQMSampler.min_time_limit(dqm)[source]#

Return the minimum time_limit accepted for the given problem.

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

Parameters:

dqm (DiscreteQuadraticModel) – A discrete quadratic model.

Examples

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