כתבה
arXiv cs.CL ·
PennySynth: RAG-Driven Data Synthesis for Automated Quantum Code Generation
תקציר מקורי באנגליתarXiv:2605.25572v2 Announce Type: replace Abstract: The growing complexity of quantum programming frameworks has exposed a critical limitation in existing large language model (LLM)-based code assistants: general-purpose models hallucinate PennyLane-specific gate names, misplace device configurations, and produce structurally invalid circuits when faced with specialized quantum coding challenges. We present PennySynth, a retrieval-augmented generation framework that addresses this gap by conditioning LLM inference on a curated knowledge base of 13,389 PennyLane instruction-code pairs, built via a three-stage extraction, verification, and deduplication pipeline over official PennyLane repositories, community GitHub sources, and QHack competition archives. PennySynth introduces a code-aware
קרא במקור המקורי
arxiv.org
פתח כתבה מקורית