domain_wall

domain_wall(array: PolyArray[Dim1], label: str = '', *, ascending: bool = True) Constraint
domain_wall(array: PolyArray[_Dim], label: str = '', *, ascending: bool = True) ConstraintList

domain_wall

Overload 1.

Args:
  • array (amplify.PolyArray[Dim1])

  • label (str): Defaults to ''.

  • ascending (bool): Defaults to True.

Returns:

amplify.Constraint:

Overload 2.

Args:
  • array (amplify.PolyArray[_Dim])

  • label (str): Defaults to ''.

  • ascending (bool): Defaults to True.

Returns:

amplify.ConstraintList: