mqt.ionshuttler.multi_shuttler.inside.shuttle¶
Module Contents¶
- shuttle(graph: Graph, priority_queue: dict[int, str], timestep: int, cycle_or_paths: str, unique_folder: Path) None[source]¶
- main(graph: Graph, sequence: list[int] | None, cycle_or_paths: str, record_path: str | None = None) int[source]¶
Run the inside-layout shuttle scheduler.
Integer gate IDs in
sequencerequire corresponding entries ingraph.gate_info. When requested, timeline snapshots are written torecord_path.- Parameters:
graph – Configured inside architecture and scheduling state.
sequence – Optional ordered stable gate IDs, replacing
graph.sequence.cycle_or_paths – Conflict-resolution strategy used for movement.
record_path – Optional path for JSON timeline snapshots.
- Returns:
The number of simulated timesteps.