qat.experimental.dialect.pulse.ir.schedule module
Pulse operation visitor for the generic schedule ledger.
- class PulseScheduleVisitor(tracker, sample_time_ps=1000, time_unit='s', signal_unit='DAC/ADC range', signal_limits=(-1.0, 1.0))
Bases:
objectTranslate statically scheduled Pulse operations into ledger updates.
Pulse IR and waveform evaluation use integer picoseconds. Schedule tracker records use the configurable
time_unit.- visit(operation)
- Return type:
None
- build_pulse_schedule(module, *, sample_time_ps=1000, time_unit='s')
Walk a Pulse module and record one execution of its entry-block schedule.
A canonical top-level static
scf.forshot loop is visualised once without modifying the input IR. Other region-bearing operations and nested control flow are rejected.- Parameters:
- Return type:
- Returns:
The populated schedule tracker.