Tools
D-Wave
BinaryPolynomial.
to_hubo
Construct a higher-order unconstrained binary optimization (HUBO) problem from a binary polynomial.
A 2-tuple of the form (H, offset) where H is the HUBO and offset is the linear offset.
tuple