amplify.constraint.one_hot
- one_hot(*args, **kwargs)
Overloaded function.
one_hot(poly: amplify.BinaryPoly, label: str = ‘’) -> amplify.BinaryConstraint
one_hot(poly: amplify.BinaryIntPoly, label: str = ‘’) -> amplify.BinaryIntConstraint
one_hot(poly: amplify.IsingPoly, label: str = ‘’) -> amplify.IsingConstraint
one_hot(poly: amplify.IsingIntPoly, label: str = ‘’) -> amplify.IsingIntConstraint
one_hot(poly: amplify.BinaryPolyArray, label: str = ‘’) -> amplify.BinaryConstraint
one_hot(poly: amplify.BinaryPolyArrayView1, label: str = ‘’) -> amplify.BinaryConstraint
one_hot(poly: amplify.BinaryPolyArrayView2, label: str = ‘’) -> amplify.BinaryConstraint
one_hot(poly: amplify.BinaryPolyArrayView3, label: str = ‘’) -> amplify.BinaryConstraint
one_hot(poly: amplify.BinaryIntPolyArray, label: str = ‘’) -> amplify.BinaryIntConstraint
one_hot(poly: amplify.BinaryIntPolyArrayView1, label: str = ‘’) -> amplify.BinaryIntConstraint
one_hot(poly: amplify.BinaryIntPolyArrayView2, label: str = ‘’) -> amplify.BinaryIntConstraint
one_hot(poly: amplify.BinaryIntPolyArrayView3, label: str = ‘’) -> amplify.BinaryIntConstraint
one_hot(poly: amplify.IsingPolyArray, label: str = ‘’) -> amplify.IsingConstraint
one_hot(poly: amplify.IsingPolyArrayView1, label: str = ‘’) -> amplify.IsingConstraint
one_hot(poly: amplify.IsingPolyArrayView2, label: str = ‘’) -> amplify.IsingConstraint
one_hot(poly: amplify.IsingPolyArrayView3, label: str = ‘’) -> amplify.IsingConstraint
one_hot(poly: amplify.IsingIntPolyArray, label: str = ‘’) -> amplify.IsingIntConstraint
one_hot(poly: amplify.IsingIntPolyArrayView1, label: str = ‘’) -> amplify.IsingIntConstraint
one_hot(poly: amplify.IsingIntPolyArrayView2, label: str = ‘’) -> amplify.IsingIntConstraint
one_hot(poly: amplify.IsingIntPolyArrayView3, label: str = ‘’) -> amplify.IsingIntConstraint