Source-linked AI summary

QC-Stark: A Multi-Task Benchmark Revealing Capability Dissociations in LLMs Evaluated on Quantum Computing Tasks

Pranav Gupta

arXiv:2609.35581v1quant-phcs.AIcs.LG

TL;DR

Existing QC evaluations focus on particular aspects rather than the full practitioner workflow. QC-Stark benchmarks 11 tasks with multiple difficulty levels and execution-based verification; its results show that overall rankings do not predict performance on every task.

  • Problem

    Existing LLM evaluations in QC focus on specific aspects rather than the full practitioner workflow, from circuit construction through simulation.

    Source: §1 · p. 1
  • Method

    QC-Stark evaluates 11 QC tasks with five difficulty levels and seed-generated instances, using code execution to verify model outputs without human judgment.

    Source: §1 · p. 1, §3 · p. 2
  • Results

    Overall rankings are statistically non-significant predictors on 4 of 11 tasks; best task accuracies range from 13.2% in Debugging to 78.0% in Equivalence.

    Source: §4.1 · p. 3, §5 · p. 5
  • Takeaways & Limitations

    QC competence is not unidimensional, and a single aggregate score is insufficient for guiding model selection across QC tasks.

    Source: §4.1 · p. 3, §5 · p. 5

    The benchmark requires Qiskit 2.x Python output, risking conflation of quantum-domain knowledge with framework-specific API proficiency.

    Source: §4.4 · p. 5

Abstract

from arXiv · show

We introduce QC-Stark, a benchmark for evaluating large language models (LLMs) on 11 quantum computing (QC) tasks, spanning circuit construction, debugging, compilation, error correction, and simulation. Across 2,750 evaluations (10 models $\times$ 11 tasks x 5 difficulty levels x 5 seeds), we find that overall rankings mask substantial per-task variation. The Spearman correlation between overall and per-task rankings is statistically insignificant for 4 out of the 11 tasks included in this benchmark. A 2-parameter Item Response Theory (IRT) model validates measurement quality, and prompt sensitivity analysis confirms ranking robustness across prompt conditions. All tasks are auto-verifiable via execution, thus not requiring any manual evaluation. We make the code and data publicly available on Huggingface.

1 Introduction

Existing QC evaluations cover specific aspects, but not the full spectrum of practitioner operations. QC-Stark addresses this gap with 11 tasks, five difficulty levels, seed-based generation, and automatic verification.

1 Introduction

  • Existing QC evaluations focus on specific aspects, leaving the broader workflow from circuit construction through simulation without comprehensive benchmark coverage.The stated workflow also includes compilation, debugging, and error correction.Source: §1 · p. 1
  • LLM capability may not generalize across QC tasks, with models excelling at oracle synthesis yet scoring near zero on hardware routing.The paper notes that a model ranked first overall may score 0% on a challenging task.Source: §1 · p. 1
  • QC-Stark covers 11 QC tasks with five difficulty levels, seed-based procedural generation, and automatic verification through code execution.These design elements target workflow coverage, contamination resistance, and verification without manual judgment.Source: §1 · p. 1

2 Related Work

Prior QC benchmarks target narrower areas, including conceptual questions, educational exercises, contest programming, or algorithm-design data. QC-Stark is positioned as covering the full operational spectrum with systematic difficulty scaling.

2 Related Work

  • Quantum-Audit [4] evaluates conceptual knowledge, Qiskit QuantumKatas [2] tests educational exercises, and QCoder uses contest problems with simulator feedback.Their reported best performances are 84%, 83%, and 78%, respectively.Source: §2 · p. 2
  • QCircuitBench [5] provides large-scale algorithm-design data, while QC-Stark spans the QC operational spectrum with five difficulty levels.Source: §2 · p. 2
  • Outside QC, SciCode [6] and CMT-Benchmark [7] report frontier-model best performances of 4.6% and 30%, respectively.The paper presents these results as implying a need for continuously developing benchmarks distinct from existing ones.Source: §2 · p. 2

3 Benchmark Design

QC-Stark organizes 11 tasks across a QC practitioner’s workflow and scales their difficulty across five levels. Instances are generated from task, level, and seed, then checked by execution rather than human judgment.

3 Benchmark Design

  • The 11 tasks cover circuit construction, code understanding, verification, compilation, simulation, and error correction.They include tasks such as debugging, equivalence checking, hardware routing, VQE, and syndrome decoding.Source: §3 · p. 2
  • Each task has five difficulty levels, from Textbook (L1) to Open (L5), controlled by problem size, constraint complexity, and domain-specific parameters.Source: §3 · p. 2
  • Each instance is generated deterministically from a task, level, and seed, and a verifier executes the model’s solve() function against ground truth.Correctness checks include state fidelity, functional equivalence, and correct identification; human judgment is not required.Source: §3 · p. 2
  • The evaluation includes 10 models selected under availability constraints to cover different parameter sizes, with the authors noting possible bias toward Claude models.Claude Code, using Opus 4.6 and higher, was used to design the benchmark.Source: §3 · p. 2
  • Table 1 reports mean accuracy per model and task at maximum supported token budgets, with an overall mean and standard deviation across seeds.Bold and gray mark the best and worst per-task scores, respectively.Source: Table 1 · p. 3

4 Results

QC-Stark reveals substantial task-specific variation: overall rankings are statistically non-significant predictors on four tasks, while debugging and routing remain difficult. IRT and prompt-sensitivity analyses support the benchmark’s measurement quality and ranking robustness, with framework-specific output requirements as a limitation.

4.1 Overall Performance and Rank Inversions

  • Claude Sonnet 5 scores 0.662 overall, while performance drops 59% from L1 to L5 and task difficulty ranges 5.9×, from Equivalence at 0.78 to Debugging at 0.13.The results summarize 2,750 evaluations.Source: §4.1 · p. 3
  • On 4 of 11 tasks, overall rankings do not predict per-task performance, with statistically non-significant Spearman correlations.The affected tasks are Routing, Trotterization, Debugging, and Equivalence.Source: §4.1 · p. 3

4.2 The “Debugging” Conundrum

  • Six of 10 models score 0.00 on debugging despite running at their maximum supported token budgets.Claude Sonnet 5 leads at 60% (15/25), while o4-mini scores 0% at a 65,536-token budget.Source: §4.2 · p. 3

4.3 Routing: A Universal Bottleneck

  • Routing averages 0.21 accuracy across models, with Gemini Flash Lite leading at 0.44 and GPT-5.4 scoring 0.04.Gemini Flash Lite’s stronger performance is concentrated in L1/L2; many evaluations produce circuits not functionally equivalent to the input.Source: §4.3 · p. 4

4.4 Measurement Validation

  • The 2PL IRT model yields marginal reliability of 0.985, and 216 of 275 items (78.5%) have discrimination a > 1.0.Difficulty progresses monotonically from L1 (b = −0.88) to L5 (b = +0.89), and IRT and raw-accuracy rankings correlate at ρ = 0.976 (p < 0.001).Source: §4.4 · p. 4
  • Prompt-condition rankings are largely preserved, with ρ = 0.915 and Kendall τ = 0.778 across 2,745 paired evaluations per condition.The top four models remain in the top four; the bottom four do not.Source: §4.4 · p. 5
  • The benchmark requires Qiskit 2.x Python output, which may conflate quantum-domain knowledge with framework-specific API proficiency.The authors note that framework-agnostic output or retrieval-augmented generation could further isolate reasoning ability, but each has trade-offs or is future work.Source: §4.4 · p. 5

5 Conclusion

The conclusion presents QC competence as non-unidimensional, with task-specific performance differences and a substantial difficulty-related drop. Prompt sensitivity and IRT analyses support ranking robustness and measurement reliability, while proposed future work includes fine-tuning and alternative framework support.

5 Conclusion

  • Dedicated reasoning models o4-mini and o3-mini score 0% on debugging even at 64K-token budgets, while Gemini Flash Lite, ranked 8th overall, leads routing at 44%.Best task accuracies range from 13.2% in Debugging to 78.0% in Equivalence.Source: §5 · p. 5
  • Performance drops 59% from difficulty level L1 to L5.Source: §5 · p. 5
  • Prompt rankings are robust (ρ = 0.915), and IRT analysis reports reliability r = 0.985 with monotonic difficulty progression.Future work includes RLVR-based fine-tuning, framework-agnostic representations, and retrieval-augmented generation.Source: §5 · p. 5

A Prompt Sensitivity Details

Prompt conditions preserve rankings strongly overall, but structured prompting increases accuracy and the bottom four ranks change.

B Prompt Templates

The appendix gives canonical and minimal system prompts, then illustrates task prompts for state preparation and debugging.

B.1 System Prompts

  • The system prompt casts the model as a quantum computing expert writing Python code.Source: §B.1 · p. 7
  • The canonical prompt specifies Python 3.13, Qiskit 2.x, NumPy, and SciPy, with updated Qiskit API guidance.It directs users to qiskit.qasm2.dumps, Statevector or StatevectorSimulator, and qiskit.quantum_info in place of removed or deprecated APIs.Source: §B.1 · p. 7
  • The canonical output instructions require executable Python code only and a solve() function that returns the answer.Source: §B.1 · p. 7
  • The minimal prompt retains expert framing, code-only output, Qiskit 2.x, and the solve() function while shortening the API guidance.It specifically warns against deprecated .qasm() and recommends qiskit.qasm2.dumps() when needed.Source: §B.1 · p. 7

B.2 Task Prompt Examples

  • The state-preparation example asks for a circuit producing a two-qubit target state with equal amplitudes on |00> and |11>.Source: §B.2 · pp. 7–8
  • The state-preparation instructions permit initialization or standard gates, require a normalized statevector and fidelity above 0.999, and request only the circuit object.Source: §B.2 · p. 8
  • The debugging example specifies exactly one circuit bug and asks for its identification and a corrected circuit using the intended basis-state mapping.Source: §B.2 · p. 8

C Difficulty-Level Breakdown

Accuracy decreases monotonically as task difficulty rises, with substantial differences in the size of the decline across tasks.

D Task Descriptions

The appendix tables cover the IRT fit, prompt sensitivity, difficulty-level accuracy, and task descriptions with scoring and scaling criteria.

D Task Descriptions

  • Table 2 summarizes a 2PL IRT fit over 55 task-level cells, five seeds, and 2,750 responses, including model abilities, item difficulties, and discriminations.State Preparation L1 and L2 are excluded from difficulty means because every model passed them under every seed.Source: Table 2 · p. 9
  • Table 3 reports mean binarized-accuracy differences between structured and minimal prompts by model and task across 2,745 paired evaluations per condition.Five Gemma-4-31B State-Preparation L5 calls were excluded because minimal-condition results could not be obtained after six retries.Source: Table 3 · p. 10
  • Table 4 reports mean accuracy by difficulty level across all models and tasks.Source: Table 4 · p. 10
  • Table 5 lists QC-Stark task descriptions alongside their scoring criteria and difficulty-scaling parameters.Source: Table 5 · p. 11
Loading 2609.35581v1…