How mewuto/mqt-ion-shuttler works
Project Type and Purpose
• This is an open-source command-line tool (part of the Munich Quantum Toolkit) for generating ion-shuttling schedules on grid-like memory zones of trapped-ion quantum computers.
• It offers two modes:
• Exact scheduling via SAT solving (small devices)
• Heuristic scheduling (large devices)
Top-Level File Structure Analysis
• CLI entrypoints:
• run.py – exact scheduler CLI
• run_heuristic.py – heuristic scheduler CLI
• run_benchmarks.py – batch runs
• Core modules:
• Memory_grid.py – data model for the ion-trap grid
• Cycles.py – cycle enumeration utilities
• SAT.py – SAT-based scheduling engine
• scheduling.py – heuristic algorithm engine
• compilation.py – translator from QASM to internal model
• graph_utils.py – graph-theoretic helper routines
• plotting.py – visualization of schedules
• Data/config directories:
• algorithms/ – JSON specs for exact runs
• algorithms_heuristic/ – JSON specs for heuristics
• QASM_files/ – sample quantum circuits
• Devops/CI:
• Dockerfile
• .github/workflows/python.yml
• Makefile, pre-commit config
Key README Insights
• Workflow for exact and heuristic runs use JSON algorithm spec + optional “--plot”
• Architecture and algorithm are fully specified in JSON files
• Outputs are schedules (and optionally plots)