qat.backend.waveform_v1.executable module
- class WaveformV1ChannelData(**data)
Bases:
ChannelData
Contains the channel data for a
WaveformV1Executable
.Stores the waveforms and acqusitions needed for execution. No control flow is possible.
- Parameters:
buffer¶ (list[complex]) – The waveform to be sent at each sample.
baseband_frequency¶ (float | None) – The frequency to be set for the baseband.
acquires¶ (list[AcquireData]) – Acquire information needed for readouts.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
-
acquires:
list
[AcquireData
]
-
baseband_frequency:
float
|None
-
buffer:
Annotated
[NDArray
[Shape
[* x], (complex64
,complex128
,complex64
,complex128
,clongdouble
)]]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class WaveformV1Executable(**data)
Bases:
ChannelExecutable
A
WaveformV1Executable
is an executable used in early iterations of QAT.This type of executable is composed of explicit waveforms that are compiled for each pulse channel, and summed to provide the waveform “buffer” for each physical channel. This early iteration can only instruct waveforms to be executed at a particular time; control flow is not possible. However, simple post-processing of results after execution is provided.
- Parameters:
channel_data¶ (dict[str, WaveformV1ChannelData]) – Stores the data required by the control hardware for each pulse channel.
shots¶ (int) – The number of times the program is executed.
repetition_time¶ (float) – The amount of time to wait between shots for the QPU to reset.
post_processing¶ (dict[str, list[PostProcessing]]) – Contains the post-processing information for each acquisition.
results_processing¶ (dict[str, InlineResultsProcessing]) – Contains the information for how results should be formatted.
assigns¶ (list[Assign]) – Assigns results to given variables.
returns¶ (list[str]) – Which acqusitions/variables should be returned.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
-
channel_data:
dict
[str
,WaveformV1ChannelData
]
- model_config: ClassVar[ConfigDict] = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
repetition_time:
float