iqm.pulse.validation.validate_awg_and_schedule_compatibility#
- iqm.pulse.validation.validate_awg_and_schedule_compatibility(channel_description, device_constraints)#
Validates that the given playlist is compatible with the provided AWG data. The following requirements are validated as they are the same for all controllers.
Playlist sampling rate vs. Actual controller sampling rate
Instruction granularity with respect to the controllers granularity requirements
Checks that no other than supported instructions are used.
Checks that instruction length matches waveform length in IQ and RealPulse
Checks that all instructions are at least the length of minimum number of samples
Checks that Conditional instruction has the same duration in every child instruction
- Parameters:
channel_description (ChannelDescription) – Contains instructions used as well as the channel specific configuration from playlist
device_constraints (AWGScheduleValidationData) – Contains the actual hardware limitations