Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
Back to list
aiqbench takeAI Research

aiqbench analysis

This study demonstrates that execution-based verification loops significantly outperform fine-tuning alone for translating Qiskit to CUDA-Q, achieving near-perfect accuracy on real quantum kernels when combined with a verifier-gated cascade strategy. The research highlights that models lacking tool-use post-training cannot benefit from such loops, while API knowledge and iterative checking are the critical factors enabling reliable code generation in this domain.
1
Source coveringarXiv

Harness or Fine-Tuning? Execution-Verified Agents for Qiskit-to-CUDA-Q Porting

arXiv·December 4, 2026·1 min read

From arXiv

Full text

A previous study found that fine-tuning a small open model for Qiskit-to-CUDA-Q translation ties a 4-shot prompt and that no model translated any of 27 real QED-C kernels. We ask whether an agent harness – a loop in which the model runs code and checks its result – is an alternative to fine-tuning, which parts matter, what each option costs, and when to use both. With the same execution-based verifier (correct only if the kernel matches the Qiskit reference state), a 3B-active mixture-of-experts model (Nemotron Cascade 2 30B-A3B) reaches 97% [89-99] on 60 tasks and 93.8% on all 640 with the full harness, against 0% in a single attempt.

API knowledge and verification in the loop are what matter; a weak run-only verifier keeps most of the gain. Models without tool-use post-training do not gain from the loop (dense 4B/7B; Llama 4 Scout, 17B active). A fine-tuned 7B code model matches the harness on the sample at a fifth of the compute, but drops on unseen style (80% vs. 90.5%) and real QED-C kernels (where the harness reaches 63-100%).

A verifier-gated cascade – fine-tuned 7B first, harness only on rejection – reaches 98.9% on all 640 tasks, 5 points above either system alone, at a third of the harness compute. Translating every prompt from Portuguese to English changed no result significantly on 60 tasks. The choice depends on whether the base model can use the loop and on how far inputs drift from training.

Full text under the publisher's open licence · 244 words

Read at arXiv ↗Ask about this article

Learn the background

Foundations of MLOpsLesson 1 of the free MLOps & AIOps Engineer track.

Article info

Source

arXiv

Published

December 4, 2026

Read time

1 min

Category

AI Research
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account