Skip to content
TrackPodcasts
scienceApr 15, 202624:54failed

QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation

About this episode

🤗 Upvotes: 112 | cs.LG, cs.AI, cs.PL, cs.SE, quant-ph

Authors:
Ali Slim, Haydar Hamieh, Jawad Kotaich, Yehya Ghosn, Mahdi Chehimi, Ammar Mohanna, Hasan Abed Al Kader Hammoud, Bernard Ghanem

Title:
QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation

Arxiv:
http://arxiv.org/abs/2604.08570v1

Abstract:
Large Language Models (LLMs) are increasingly used for code generation, yet quantum code generation is still evaluated mostly within single frameworks, making it difficult to separate quantum reasoning from framework familiarity. We introduce QuanBench+, a unified benchmark spanning Qiskit, PennyLane, and Cirq, with 42 aligned tasks covering quantum algorithms, gate decomposition, and state preparation. We evaluate models with executable functional tests, report Pass@1 and Pass@5, and use KL-divergence-based acceptance for probabilistic outputs. We additionally study Pass@1 after feedback-based repair, where a model may revise code after a runtime error or wrong answer. Across frameworks, the strongest one-shot scores reach 59.5% in Qiskit, 54.8% in Cirq, and 42.9% in PennyLane; with feedback-based repair, the best scores rise to 83.3%, 76.2%, and 66.7%, respectively. These results show clear progress, but also that reliable multi-framework quantum code generation remains unsolved and still depends strongly on framework-specific knowledge.

Get every episode summarized

Each time Daily Paper Cast publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

QuanBench+: A Unified Multi-Framework Benchmark for LLM-Based Quantum Code Generation

Daily Paper Cast

0:00
24:54

More episodes

More from Daily Paper Cast

View all episodes →