braket.ir.ahs.time_series module
- class braket.ir.ahs.time_series.TimeSeries(*, values: list[Decimal], times: list[Decimal])[source]
Bases:
BaseModel
Specifies the TimeSeries, real-valued time series
- values
list[float]
- Type:
list[decimal.Decimal]
- times
list[float], ascending
- Type:
list[decimal.Decimal]
Examples
>>> TimeSeries(values=[-1.25664e8,1.25664e8],times=[0.0,3.0e-6])
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.
- values: list[Decimal]
- times: list[Decimal]