Q-Bridge: Code Translation for Quantum Machine Learning via LLMs
Not on the map. Why?
Abstract (arXiv)
Large language models have recently shown potential in bridging the gap between classical machine learning and quantum machine learning. However, the lack of standardized, high-quality datasets and robust translation frameworks limits progress in this domain. We introduce Q-Bridge, an LLM-guided code translation framework that systematically converts CML implementations into executable QML variants. Our approach builds on a self-involving pipeline that iteratively expands a verified seed codebase into a large-scale dataset, CML-2-QML, integrating verifiable and unverifiable code pairs. The Q-Bridge model is fine-tuned using supervised LoRA adaptation for scalable and memory-efficient training, achieving faithful and interpretable quantum code generation across diverse architectures. Empirical analysis confirms the feasibility of direct CML-to-QML translation and reveals consistent structural alignment between classical and quantum paradigms. Case studies further demonstrate that Q-Bridge can maintain deterministic correctness and also enable creative architectural exploration. This work establishes the first reproducible framework and dataset for LLM-driven quantum code translation, offering a foundation for scalable quantum AI development.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 29 of its 55 references that are in the map. First posted on arXiv 29 Mar 2026.
Builds on
29 of 55 references.
References · 29
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023StarCoder: may the source be with you!cited by 799
- 2020Variational Quantum Algorithmscited by 692
- 2018Supervised learning with quantum enhanced feature spacescited by 665
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2018Barren plateaus in quantum neural network training landscapescited by 630
- 2020Power of data in quantum machine learningcited by 338
- 2019Efficient Learning for Deep Quantum Neural Networkscited by 161
- 2021Encoding-dependent generalization bounds for parametrized quantum circuitscited by 82
17 more
- 2022Language Models Can Teach Themselves to Program Bettercited by 78
- 2018Continuous-variable quantum neural networkscited by 74
- 2022Out-of-distribution generalization for learning quantum dynamicscited by 49
- 2024HumanEval Pro and MBPP Pro: Evaluating Large Language Models on Self-invoking Code Generationcited by 39
- 2022Automatic Code Documentation Generation Using GPT-3cited by 37
- 2024AST-T5: Structure-Aware Pretraining for Code Generation and Understandingcited by 33
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 28
- 2021QuantumNAT: Quantum Noise-Aware Training with Noise Injection, Quantization and Normalizationcited by 27
- 2024Qiskit Code Assistant: Training LLMs for generating Quantum Computing Codecited by 25
- 2025Agent-Q: Fine-Tuning Large Language Models for Quantum Circuit Generation and Optimizationcited by 17
- 2024Exploring LLM-Driven Explanations for Quantum Algorithmscited by 7
- 2025Retrieval-Augmented Code Review Comment Generationcited by 6
- 2025MEPT: Mixture of Expert Prompt Tuning as a Manifold Mappercited by 5
- 2024On Repairing Quantum Programs Using ChatGPTcited by 4
- 2025Function-to-Style Guidance of LLMs for Code Translationcited by 4
- 2025CodeCureAgent: Automatic Classification and Repair of Static Analysis Warningscited by 3
- 2025Probabilistic Token Alignment for Large Language Model Fusioncited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Fine-Tuning Large Language Models for Quantum Reasoningcited by 0
- 2026Fine-Tuning Large Language Models for Quantum Reasoning20 Jun 2026