Other Solver Properties & Parameters#

The Leap service provides several hybrid solvers for quadratic models with the properties and configurable parameters described here. For the properties and parameters of QPU solvers, see the QPU Solver Properties and QPU Solver Parameters sections.

Properties of the CQM solver.

CQM Solver Properties

Parameters of the CQM solver.

CQM Solver Parameters

Properties of the binary quadratic model (BQM) solver.

BQM Solver Properties

Parameters of the BQM solver.

BQM Solver Parameters

Properties of the discrete quadratic model (DQM) solver.

DQM Solver Properties

Parameters of the DQM solver.

DQM Solver Parameters

Examples#

The following code creates a constrained quadratic model (CQM) representing a knapsack problem and solves it using a quantum-classical hybrid solver in the Leap service.

>>> from dimod.generators import random_knapsack
>>> from dwave.system import LeapHybridCQMSampler
...
>>> cqm = random_knapsack(10)
>>> sampler = LeapHybridCQMSampler()
>>> sampleset = sampler.sample_cqm(cqm,
...                                time_limit=180,
...                                label="SDK Examples - Bin Packing")