amplify.constraint.one_hot

one_hot(*args, **kwargs)

Overloaded function.

  1. one_hot(poly: amplify.BinaryPoly, label: str = ‘’) -> amplify.BinaryConstraint

  2. one_hot(poly: amplify.BinaryIntPoly, label: str = ‘’) -> amplify.BinaryIntConstraint

  3. one_hot(poly: amplify.IsingPoly, label: str = ‘’) -> amplify.IsingConstraint

  4. one_hot(poly: amplify.IsingIntPoly, label: str = ‘’) -> amplify.IsingIntConstraint

  5. one_hot(poly: amplify.BinaryPolyArray, label: str = ‘’) -> amplify.BinaryConstraint

  6. one_hot(poly: amplify.BinaryPolyArrayView1, label: str = ‘’) -> amplify.BinaryConstraint

  7. one_hot(poly: amplify.BinaryPolyArrayView2, label: str = ‘’) -> amplify.BinaryConstraint

  8. one_hot(poly: amplify.BinaryPolyArrayView3, label: str = ‘’) -> amplify.BinaryConstraint

  9. one_hot(poly: amplify.BinaryIntPolyArray, label: str = ‘’) -> amplify.BinaryIntConstraint

  10. one_hot(poly: amplify.BinaryIntPolyArrayView1, label: str = ‘’) -> amplify.BinaryIntConstraint

  11. one_hot(poly: amplify.BinaryIntPolyArrayView2, label: str = ‘’) -> amplify.BinaryIntConstraint

  12. one_hot(poly: amplify.BinaryIntPolyArrayView3, label: str = ‘’) -> amplify.BinaryIntConstraint

  13. one_hot(poly: amplify.IsingPolyArray, label: str = ‘’) -> amplify.IsingConstraint

  14. one_hot(poly: amplify.IsingPolyArrayView1, label: str = ‘’) -> amplify.IsingConstraint

  15. one_hot(poly: amplify.IsingPolyArrayView2, label: str = ‘’) -> amplify.IsingConstraint

  16. one_hot(poly: amplify.IsingPolyArrayView3, label: str = ‘’) -> amplify.IsingConstraint

  17. one_hot(poly: amplify.IsingIntPolyArray, label: str = ‘’) -> amplify.IsingIntConstraint

  18. one_hot(poly: amplify.IsingIntPolyArrayView1, label: str = ‘’) -> amplify.IsingIntConstraint

  19. one_hot(poly: amplify.IsingIntPolyArrayView2, label: str = ‘’) -> amplify.IsingIntConstraint

  20. one_hot(poly: amplify.IsingIntPolyArrayView3, label: str = ‘’) -> amplify.IsingIntConstraint