strangeworks_braket.utils namespace¶
Submodules¶
strangeworks_braket.utils.ahs_utils module¶
- constant_time_series(other_time_series: TimeSeries, constant: float = 0.0) TimeSeries ¶
Obtain a constant time series with the same time points as the given time series
- Parameters:
other_time_series (TimeSeries) – The given time series
- Returns:
A constant time series with the same time points as the given time series
- Return type:
TimeSeries
- rabi_pulse(rabi_pulse_area: float, omega_max: float, omega_slew_rate_max: float) Tuple[List[float], List[float]] ¶
Get a time series for Rabi frequency with specified Rabi phase, maximum amplitude and maximum slew rate
- Args:
rabi_pulse_area (float): Total area under the Rabi frequency time series omega_max (float): The maximum amplitude omega_slew_rate_max (float): The maximum slew rate
- Returns:
Tuple[List[float], List[float]]: A tuple containing the time points and values
of the time series for the time dependent Rabi frequency
- Notes: By Rabi phase, it means the integral of the amplitude of a time-dependent
Rabi frequency, int_0^TOmega(t)dt, where T is the duration.
strangeworks_braket.utils.serializer module¶
- pickle_deserializer(p, input_type='dict')¶
- pickle_serializer(obj, return_type='dict')¶