arXiv:2611.23469
QCCDCert: Formally Verified Compilation for QCCD Co-Design
John Zhuoyang Ye, Jens Palsberg, Ke Sun, Hartmut Haeffner
Abstract
Quantum charge-coupled device (QCCD) architectures enable scalable trapped-ion quantum computing by dynamically shuttling ions between specialized processing and storage zones. A QCCD can be built with many trap sizes and layouts. Comparing them requires compiling every program under each design's transport, capacity and control constraints, and trusting the target code of each compilation. We present a co-design framework built on one Lean-verified compiler. The hardware description and its operating rules are compiler inputs, so a single theorem covers every candidate design: the target code of every compilation preserves its program's behavior and obeys the hardware rules. Across 75 benchmark programs of 11 to 130 qubits, the best design found takes 66% less modeled execution time on average than the worst design of equal capacity. An AI agent that proposes devices based on our compiler's checked results beats the fastest of these designs on 71 of 75 programs. Our verified compiler provably avoids the 11 defects that we report in three previous compilers. It scales to hundreds of qubits, compiling 512-qubit programs for a 38-trap device in 1 to 29 minutes.
AI Summary
QCCDCert addresses how to compare trapped-ion QCCD architectures when compilation must respect ion transport, trap capacity, chain order and shared controls. It combines a Lean 4–verified compiler with a hardware–software co-design loop. Hardware descriptions and operating rules are compiler inputs; rules are assertions over event frames containing an instruction’s placements, timing and activity. Broadcast transport is represented as a multi-ion instruction, with scheduling based on shared-waveform activations rather than exclusive channel ownership. A machine-checked theorem establishes that successful compilation preserves quantum/classical program semantics, satisfies the declared hardware rules and reports timing consistent with the discrete hardware model. Routing proposals pass verified checks. An audit reports 11 defects in three existing QCCD compilers, covering legality, program preservation and timing; the theorem excludes these defect classes. Across 75 benchmark programs with 11–130 qubits, the fastest evaluated equal-capacity design reduces modeled execution time by 66.4% on average relative to the slowest. An AI-guided search improves on the principal manual-design baseline for 71 of 75 programs, with a median reduction of 15%. In 34 completed broadcast comparisons, activation scheduling incurs at most 8% overhead relative to separate transport channels. Three 512-qubit workloads compile in 67 seconds to 29 minutes. The guarantees assume ideal declared primitives and their physical realization, plus Lean’s compiler/runtime; they do not validate physical device performance. Search is bounded and can reject feasible inputs. Designs are best observed within tested budgets, and optimization prices execution time rather than component count; agent-generated devices use more parts.
An AI agent that proposes devices based on our compiler's checked results beats the fastest of these designs on 71 of 75 programs.
Central claim may not hold: The compiler checks arbitrary placement-dependent rules using program-order placements, so an optical event advanced by the parallel scheduler can pass its check even though its rule is false on the device state at its scheduled execution time.
Written by gpt-6.1-sol from the paper's full text. Automated: it can be wrong.