Shuttling Compiler for Trapped-Ion Quantum Computers Based on Large Language Models
Abstract
Trapped-ion quantum computers based on segmented traps rely on shuttling operations to establish long-range connectivity between sub-registers. Qubit routing dynamically reconfigures qubit positions so that all qubits involved in a gate operation are co-located within the same segment, a task whose complexity increases with system size. To address this challenge, we propose a layout-independent compilation strategy based on large language models (LLMs). Specifically, we fine-tune pretrained LLMs to generate the required shuttling operations. We evaluate this approach on linear and branched one-dimensional architectures using quantum circuits of up to qubits. Our results show that the fine-tuned LLMs generate valid shuttling schedules and, in some cases, outperform previous shuttling compilers by requiring approximately less shuttle overhead. However, results degrade as the algorithms increase in width and depth. In future, we plan to improve LLM-based shuttle compilation by enhancing our training pipeline using Direct Preference Optimization (DPO) and Gradient Regularized Policy Optimization (GRPO).
Cite
@article{arxiv.2512.18021,
title = {Shuttling Compiler for Trapped-Ion Quantum Computers Based on Large Language Models},
author = {Fabian Kreppel and Reza Salkhordeh and Ferdinand Schmidt-Kaler and André Brinkmann},
journal= {arXiv preprint arXiv:2512.18021},
year = {2026}
}
Comments
17 pages, 5 figures, 2 tables