XYMixerConfig ¶
Bases: BaseModel, _EnableMixin
Configuration for XY-mixers to implement one-hot constraints.
Attributes:
| Name | Type | Description |
|---|---|---|
trotter | int | Number of trotter steps for XY-mixer implementation. Default: 1. |
types | list[Literal['even', 'odd', 'last']] | Mixer types in XY-ring-mixer. Default: |
enable | bool | Toggle to enable or disable this method. Default: True. |
trotter class-attribute instance-attribute ¶
trotter: int = Field(
default=1,
lt=1000,
ge=1,
description="Number of trotter steps for XY-mixer implementation.",
)
types class-attribute instance-attribute ¶
types: list[Literal["even", "odd", "last"]] = Field(
default=["even", "odd", "last"],
description='Mixer types in XY-ring-mixer. Default: `["even", "odd", "last"]`',
)