braket.ir.ahs.physical_field module
- class braket.ir.ahs.physical_field.PhysicalField(*, time_series: TimeSeries, pattern: str | List[Decimal])[source]
Bases:
BaseModel
Represents the temporal and spatial dependence of a control parameter affecting the atoms
- time_series
TimeSeries
- pattern
Values refer to the pattern at the positions setup.atom_array.sites
- Type:
str | List[decimal.Decimal]
Examples
>>> PhysicalField(time_series=TimeSeries,pattern='uniform') >>> PhysicalField(time_series=TimeSeries,pattern=[0.5, 1.0, 0.5, 0.5, 0.5, 0.5])
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- time_series: TimeSeries
- pattern: str | List[Decimal]