dwave.system.composites.PolyCutOffComposite.sample_hubo¶
- PolyCutOffComposite.sample_hubo(H: Mapping[Tuple[Hashable, Hashable], Union[float, numpy.floating, numpy.integer]], **kwargs) dimod.sampleset.SampleSet [source]¶
Sample from a higher-order unconstrained binary optimization problem.
Converts the given higher-order unconstrained binary optimization problem to a
BinaryPolynomial
and then callssample_poly()
.- Parameters
H – Coefficients of the HUBO.
**kwargs – See
sample_poly()
for additional keyword definitions.
- Returns
Samples from a higher-order unconstrained binary optimization problem.
See also