dwave.system.composites.AutoEmbeddingComposite.sample_qubo¶
-
AutoEmbeddingComposite.
sample_qubo
(Q: Mapping[Tuple[Hashable, Hashable], Union[float, numpy.floating, numpy.integer]], **parameters) → dimod.sampleset.SampleSet¶ Sample from a QUBO using the implemented sample method.
This method is inherited from the
Sampler
base class.Converts the quadratic unconstrained binary optimization (QUBO) into a
BinaryQuadraticModel
and then callssample()
.Parameters: - Q – Coefficients of a QUBO problem.
- **kwargs – See the implemented sampling for additional keyword definitions.
Returns: Samples from a QUBO.
See also