iqm.pulse.validation.validate_playlist_compatibility#
- iqm.pulse.validation.validate_playlist_compatibility(playlist, 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 sample rate vs. Actual controller sample 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:
playlist (Playlist) – instructions used on each channel, as well as the channel configurations
device_constraints (dict[str, ChannelProperties]) – actual hardware limitations of the channels
- Return type:
None