paper-with-me

Papers

Benchmarking API Drift in LLM-Generated Quantum Code Across Successive SDK Versions

2026-07-05 · Mohammad Arif Rasyidi, Syahirul Faiz arxiv

Large language models can generate plausible quantum code, but it is unclear whether they can reliably target the specific software development kit (SDK) version requested by the user. We study this problem as API drift and introduce quantum-api-drift, a benchmark for measuring version fidelity, defined here as execution success on the requested SDK version, cross-version compatibility, failure modes, and documentation-guided repair in LLM-generated quantum SDK code. We instantiate the benchmark with Qiskit, a representative quantum SDK that underwent substantial interface changes across v0.43, v1.3, and v2.0. We evaluate 17 models on 50 tasks with 3 samples per prompt, yielding 450 generated samples and 1,350 executions per model. Sixteen models are tested in a matched REST API setting with a 1024-token output cap, while GPT-5.4 (Codex CLI) is reported separately as a reference configuration. Across the 16 matched REST models, diagonal Pass@1 ranges from 0.02 to 0.85. Claude Opus 4.7 is strongest on v0.43 and v2.0, while Grok 4.20 is strongest on v1.3 at 0.513. Error profiles differ systematically by model strength: weaker models fail mainly with broken imports, while stronger models more often reach deprecation-level failures. Documentation-guided repair succeeds for 0.19 to 0.59 of repair attempts overall and is consistently much more effective for migration to v2.0 than to v1.3. The benchmark artifacts are publicly available at https://github.com/arasyi/quantum-api-drift. These results show that version alignment is a distinct evaluation axis for quantum code generation and that API drift remains only partly recoverable even with migration guidance.

📄 PDF Abstract BibTeX arXiv:2607.04072

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Application-Oriented Benchmarking of Quantum Generative Learning Using QUARK

2023-08-08 · Florian J. Kiwit, Marwa Marso, Philipp Ross, Carlos A. Riofrío 외

Benchmarking of quantum machine learning (QML) algorithms is challenging due to the complexity and variability of QML systems, e.g., regarding model ansatzes, data sets, training techniques, and hyper-parameters selectio…

BenchmarkingGPUQuantum Machine Learning

Q-ANCHOR: Federated Quantum Learning with ZNE-guided Correction

2026-05-28 · Hoang M. Ngo, Quan Nguyen, Wanli Xing, My T. Thai arxiv

Quantum Federated Learning (QFL) offers a promising framework to train quantum models across distributed clients while keeping data strictly local. Due to its simplicity and low communication overhead, Federated Averagin…

Federated Learning

A Framework for Evaluating and Benchmarking Concept Drift Detection Methods

2026-06-05 · Vitor Cerqueira, Heitor Murilo Gomes, Marco Heyden, Bernhard Pfahringer 외 arxiv

Data stream mining is fundamentally challenged by concept drift, where distributional changes can degrade model performance. Despite the proliferation of drift detection methods, progress in the field is hindered by inco…

Hyperparameter Optimization

DGR: Tackling Drifted and Correlated Noise in Quantum Error Correction via Decoding Graph Re-weighting

2023-11-27 · Hanrui Wang, Pengyu Liu, Yilian Liu, Jiaqi Gu 외

Quantum hardware suffers from high error rates and noise, which makes directly running applications on them ineffective. Quantum Error Correction (QEC) is a critical technique towards fault tolerance which encodes the qu…

Decoder

BenchRL-QAS: Benchmarking reinforcement learning algorithms for quantum architecture search

2025-07-16 · Azhar Ikhtiarudin, Aditi Das, Param Thakkar, Akash Kundu arxiv

We present BenchRL-QAS, a unified benchmarking framework for reinforcement learning (RL) in quantum architecture search (QAS) across a spectrum of variational quantum algorithm tasks on 2- to 8-qubit systems. Our study s…

Reinforcement Learning