qat.experimental.dialect.pulse.ir.schedule module

Pulse operation visitor for the generic schedule ledger.

class PulseScheduleVisitor(tracker, sample_time=1e-09, signal_unit='DAC/ADC range', signal_limits=(-1.0, 1.0))

Bases: object

Translate statically scheduled Pulse operations into ledger updates.

visit(operation)
Return type:

None

build_pulse_schedule(module)

Walk a Pulse module and record its entry-block schedule.

Parameters:

module (ModuleOp) – Pulse module containing the executable entry block.

Return type:

ScheduleTracker

Returns:

The populated schedule tracker.