dwave.system.samplers.DWaveCliqueSampler.sample_qubo

DWaveCliqueSampler.sample_qubo(Q, **parameters)

Sample from a QUBO using the implemented sample method.

This method is inherited from the Sampler base class.

Converts the QUBO into a BinaryQuadraticModel and then calls sample().

Parameters
  • Q (dict) – Coefficients of a quadratic unconstrained binary optimization (QUBO) problem. Should be a dict of the form {(u, v): bias, …} where u, v, are binary-valued variables and bias is their associated coefficient.

  • **kwargs – See the implemented sampling for additional keyword definitions.

Returns

SampleSet