qiskit_qm_provider.pulse.validate_schedule¶
- validate_schedule(schedule: Schedule | ScheduleBlock) Schedule[source][source]¶
Normalize a Pulse schedule for QUA macro conversion.
Converts a
ScheduleBlockto aSchedulewhen needed. Parameterized block durations are not supported.- Parameters:
schedule – Qiskit Pulse schedule or schedule block containing gate pulses.
- Returns:
A concrete
Schedule.- Raises:
NotImplementedError – If the block has parameterized durations.
ValueError – If the input is not a schedule or schedulable block.