dwave.system.composites.PolyCutOffComposite.sample_hubo

PolyCutOffComposite.sample_hubo(H, **kwargs)

Sample from a higher-order unconstrained binary optimization problem.

Convert the given higher-order unconstrained binary optimization problem to a BinaryPolynomial and then call sample_poly().

Parameters
  • H (dict) – Coefficients of the HUBO as a dict of the form {(u, v, …): bias, …}, where u, v, are binary-valued variables in the polynomial and bias their associated coefficient.

  • **kwargs – See sample_poly() for additional keyword definitions.

Returns

SampleSet