compress_pulses(schedules)
Optimization pass to replace identical pulses.
Parameters
schedules (List[Schedule]) – Schedules to compress.
Returns
Compressed schedules.
Return type
List[Schedule]