{
  "abstract": "Quantum software development is challenged by quantum-mechanical semantics and fragmented software development kits (SDKs), which complicate cross-SDK code translation and execution. In this paper, we propose an LLM-based approach for translating executable programs between high-level quantum SDKs. We develop a quantum-aware translation workflow whose prompt design and validation reflect quantum semantics and accommodate the version evolution of quantum ecosystems. We conduct a preliminary evaluation of 4 LLM configurations on 43 tasks, translating Qiskit programs to PennyLane and Q#. LLMs achieve a zero-shot Pass@1 of up to 72.33%, while one-shot prompting further improves the translation effectiveness. These results suggest potential for quantum code translation by LLMs.",
  "abstract_shown": true,
  "affiliations": [],
  "article_type": null,
  "arxiv": "2610.34841",
  "author_total": 3,
  "authors": [
    {
      "name": "Xiyuan Li"
    },
    {
      "name": "Yuechen Li"
    },
    {
      "name": "Jianjun Zhao"
    }
  ],
  "bibtex": "https://research.draconitic.com/paper/bjz27b839jbvc.bib",
  "cited_by": 0,
  "doi": "10.48550/arxiv.2610.34841",
  "fulltext_url": null,
  "id": "bjz27b839jbvc",
  "issns": [],
  "landing_url": "https://arxiv.org/abs/2610.34841",
  "language": null,
  "licence": "CC-BY-4.0",
  "licence_label": "CC BY 4.0",
  "licence_source": "article",
  "licence_url": "http://creativecommons.org/licenses/by/4.0/",
  "metadata_licence": "CC0-1.0",
  "native_subjects": [
    [
      "arxiv",
      "cs.SE"
    ],
    [
      "arxiv",
      "quant-ph"
    ],
    [
      "openalex",
      "1702|Quantum Computing Algorithms and Architecture"
    ]
  ],
  "openalex": "W7223863568",
  "pdf_url": "https://arxiv.org/pdf/2610.34841",
  "pmcid": null,
  "pmid": null,
  "published": "2026-10-26",
  "publisher": null,
  "ris": "https://research.draconitic.com/paper/bjz27b839jbvc.ris",
  "sources": [
    {
      "first_seen": "2026-10-30T12:35:35Z",
      "native_id": "2610.34841",
      "source": "arxiv",
      "url": "https://arxiv.org/abs/2610.34841"
    }
  ],
  "subjects": [
    {
      "field": "physics",
      "origin": "arxiv:quant-ph",
      "subfield": "quantum"
    }
  ],
  "title": "Large Language Models for Quantum Code Translation: An Exploratory Study",
  "title_text": "Large Language Models for Quantum Code Translation: An Exploratory Study",
  "type": "preprint",
  "updated_at": "2026-10-30T12:35:35Z",
  "url": "https://research.draconitic.com/paper/bjz27b839jbvc",
  "venue": "arXiv",
  "versions": []
}