{"id":"arxiv/2611.25106","url":"https://arxiv.org/abs/2611.25106","tags":["quant-ph"],"score":0,"title":"Agentic MLIR-to-QIR Translation with Dual-Backend Testing: A Hybrid Deterministic and LLM Approach","domain":"quant-ph","source":"arxiv","authors":["Sharmin Afrose","Vicente Leyton-Ortega","Narasinga Rao Miniskar","Elaine Wong","Travis S. Humble"],"reviews":0,"subject":"quant-ph","summary":"Quantum frameworks each define their own Multi-Level Intermediate Representation (MLIR) dialect, so porting a circuit to a Quantum Intermediate Representation (QIR) runtime needs a hand-written pass per dialect. Our translator selects among three paths: a deterministic compiler path for known grammars (Catalyst and Quake), a large language model (LLM) agentic path for unseen dialects, and a repair path invoked when deterministic output fails testing. A dual-backend pipeline executes the source MLIR and generated QIR on independent simulators, comparing output distributions by total variation…","category":"research","comments":0,"disputed":false,"division":"physics","mentions":0,"discussed":0,"published":"2026-11-18","reactions":{}}