Return a binary polynomial over {-1, +1} variables.
copy (optional, default=False) – If True, the returned polynomial is always a copy. Otherwise, if the polynomial is spin-valued already it returns itself.
BinaryPolynomial