dimod.reference.composites.higherordercomposites.PolyFixedVariableComposite.sample_hubo¶
-
PolyFixedVariableComposite.sample_hubo(H, **kwargs)¶ Sample from a higher-order unconstrained binary optimization problem.
Convert the given higher-order unconstrained binary optimization problem to a
BinaryPolynomialand then callsample_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: See also