arXiv · 2609.20258
A Protocol-Guided LLM Agent for Quantum Program Synthesis and Execution
Abstract
This study evaluates a protocol-guided large language model (LLM) agent workflow for quantum program synthesis and execution. A versioned YAML protocol specifies interface and quantum-semantic requirements while leaving circuit design to the model. The workflow combines Qiskit circuit generation, evaluator-guided repair, and quantum processing unit (QPU) deployment. A matched ablation evaluates four LLM endpoints using the variational quantum eigensolver (VQE) for H$_2$, the quantum approximate optimization algorithm (QAOA) for MaxCut, and Fashion-MNIST quantum-kernel classification. Across 240 trials, protocol guidance increased evaluator completion from 80.0\% to 99.2\%, reduced mean repairs from 2.56 to 0.75, and reduced mean agent time from 55.70 to 30.58~s. Provider-reported token use decreased for three of four endpoints. Completed VQE trials meeting chemical accuracy increased from 16/40 to 29/40, while valid QAOA approximation ratios remained comparable. Semantic review identified rank-one fidelity kernels, reinforcing the distinction between evaluator completion and semantic validity. A 210-run IBM QPU study evaluated the combined generation-and-selection pipelines and confirmed deployment feasibility. The results support protocol guidance as a software-reliability layer that must be complemented by quantum-semantic validation.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Ming-Kang Ho, Tai-Yue Li. 2026-07-28. A Protocol-Guided LLM Agent for Quantum Program Synthesis and Execution. https://arxiv.org/abs/2609.20258
Cite the original work for its findings. Save a collection to share your selection of sources.