hubo_to_binary_polynomial

hubo_to_binary_polynomial(hubo)[source]

Convert HUBO input to a dimod BinaryPolynomial with BINARY vartype.

Return type:

BinaryPolynomial