QCircuitBench
Models implement quantum algorithms, construct oracles, and synthesize circuits from written specifications. Harbor uses one instance from each of 28 algorithms.
The comparison available November 19, 2026 reports GPT-5.2 alone on the 28-task subset. Its mean semantic score was 0.619 on Harbor and 0.609 originally.
- Made by
- Rui Yang and colleagues
- Released
- October 2024
- Kind
- Scientific code
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- All public
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Items from
- Another benchmark
- Refresh
- One fixed set
- Run by
- Anyone
- Strongest model tested
-
Llama 3-8B #207 on the capability index
- Last model added
- April 2024
- Updated automatically
- No, from its paper
- Scores refreshed
- November 20th, 2026
In the authors’ words
Quantum computing is an emerging field recognized for the significant speedup it offers over classical computing through quantum algorithms. However, designing and implementing quantum algorithms pose challenges due to the complex nature of quantum mechanics and the necessity for precise control over quantum states. Despite the significant advancements in AI, there has been a lack of datasets specifically tailored for this purpose. In this work, we introduce QCircuitBench, the first benchmark dataset designed to evaluate AI's capability in designing and implementing quantum algorithms using quantum programming languages. Unlike using AI for writing traditional codes, this task is fundamentally more complicated due to highly flexible design space. Our key contributions include: 1. A general framework which formulates the key features of quantum algorithm design for Large Language Models. 2. Implementations for quantum algorithms from basic primitives to advanced applications, spanning 3 task suites, 25 algorithms, and 120,290 data points. 3. Automatic validation and verification functions, allowing for iterative evaluation and interactive reasoning without human inspection. 4. Promising potential as a training dataset through preliminary fine-tuning results. We observed several interesting experimental phenomena: LLMs tend to exhibit consistent error patterns, and fine-tuning does not always outperform few-shot learning. In all, QCircuitBench is a comprehensive benchmark for LLM-driven quantum algorithm design, and it reveals limitations of LLMs in this domain.
GPT-4o (snapshot unspecified) tops the leaderboard with 0.20 Llama 3-8B leads with 0.03
Best score per entry from the benchmark's paper, read on November 20th, 2026. A paper’s table doesn’t add newer models. Where a model ran with several settings or harnesses, we keep its best. Names in gray aren't in our model list: fine-tunes, agent systems, products and older models. They don't count toward leaders. The best model we track is Llama 3-8B, at 0.03. This view shows only models we track, each at its best.
- 1 GPT-4o (snapshot unspecified) 5-shot 0.20
- 2 Qwen 2.5 5-shot 0.10
- 3
Llama 3-8B 5-shot 0.03
- 4 DeepSeek-R1 (snapshot unspecified) 1-shot 0.01
Source: The QCircuitBench paper
- 1
Llama 3-8B 5-shot 0.03
Source: The QCircuitBench paper
| # | Entry | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | GPT-4o (snapshot unspecified) | 0.20 | 5-shot | Official leaderboard | |
| 2 | Qwen 2.5 | 0.10 | 5-shot | Official leaderboard | |
| 3 | | 0.03 | 5-shot | Apr 2024 | Official leaderboard |
| 4 | DeepSeek-R1 (snapshot unspecified) | 0.01 | 1-shot | Official leaderboard |
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 0.03 | 5-shot | Apr 2024 | Official leaderboard |
Everything the board measures
The benchmark’s paper publishes 60 numbers for each entry: the headline score, 35 parts of the test and 24 other measures. Rank entries by any one, compare them all in the table, or plot any two. Each row is the entry’s best run on the headline score. 24 measures have no label from the importer yet, so they show the board’s own key and no direction.
- Headline
- Headline score
- Parts
- Bernstein Vazirani semantic
- Deutsch Jozsa semantic
- Grover semantic
- Phase Estimation semantic
- QFT semantic
- Simon semantic
- GHZ semantic
- Random Number Generator semantic
- Swap Test semantic
- W State semantic
- Generalized Simon (multi-str) semantic
- Generalized Simon (ternary) semantic
- Shor semantic
- VQE semantic
- QAOA semantic
- QAE semantic
- ENC semantic
- Average syntax score
- Bernstein Vazirani syntax
- Deutsch Jozsa syntax
- Grover syntax
- Phase Estimation syntax
- QFT syntax
- Simon syntax
- GHZ syntax
- Random Number Generator syntax
- Swap Test syntax
- W State syntax
- Generalized Simon (multi-str) syntax
- Generalized Simon (ternary) syntax
- Shor syntax
- VQE syntax
- QAOA syntax
- QAE syntax
- ENC syntax
- Not yet labeled
- Semantic bernstein vazirani uncertainty
- Semantic deutsch jozsa uncertainty
- Semantic phase estimation uncertainty
- Semantic simon uncertainty
- Semantic swap test uncertainty
- Semantic wstate uncertainty
- Semantic vqeuncertainty
- Semantic qaoauncertainty
- Semantic encuncertainty
- Syntax bernstein vazirani uncertainty
- Syntax deutsch jozsa uncertainty
- Syntax grover uncertainty
- Syntax phase estimation uncertainty
- Syntax qftuncertainty
- Syntax simon uncertainty
- Syntax ghzuncertainty
- Syntax random number generator uncertainty
- Syntax swap test uncertainty
- Syntax wstate uncertainty
- Syntax generalized simonmultistr uncertainty
- Syntax generalized simonternary uncertainty
- Syntax vqeuncertainty
- Syntax qaoauncertainty
- Syntax encuncertainty
Nothing matches.
- Headline
- Headline score
- Parts
- Bernstein Vazirani semantic
- Deutsch Jozsa semantic
- Grover semantic
- Phase Estimation semantic
- QFT semantic
- Simon semantic
- GHZ semantic
- Random Number Generator semantic
- Swap Test semantic
- W State semantic
- Generalized Simon (multi-str) semantic
- Generalized Simon (ternary) semantic
- Shor semantic
- VQE semantic
- QAOA semantic
- QAE semantic
- ENC semantic
- Average syntax score
- Bernstein Vazirani syntax
- Deutsch Jozsa syntax
- Grover syntax
- Phase Estimation syntax
- QFT syntax
- Simon syntax
- GHZ syntax
- Random Number Generator syntax
- Swap Test syntax
- W State syntax
- Generalized Simon (multi-str) syntax
- Generalized Simon (ternary) syntax
- Shor syntax
- VQE syntax
- QAOA syntax
- QAE syntax
- ENC syntax
- Not yet labeled
- Semantic bernstein vazirani uncertainty
- Semantic deutsch jozsa uncertainty
- Semantic phase estimation uncertainty
- Semantic simon uncertainty
- Semantic swap test uncertainty
- Semantic wstate uncertainty
- Semantic vqeuncertainty
- Semantic qaoauncertainty
- Semantic encuncertainty
- Syntax bernstein vazirani uncertainty
- Syntax deutsch jozsa uncertainty
- Syntax grover uncertainty
- Syntax phase estimation uncertainty
- Syntax qftuncertainty
- Syntax simon uncertainty
- Syntax ghzuncertainty
- Syntax random number generator uncertainty
- Syntax swap test uncertainty
- Syntax wstate uncertainty
- Syntax generalized simonmultistr uncertainty
- Syntax generalized simonternary uncertainty
- Syntax vqeuncertainty
- Syntax qaoauncertainty
- Syntax encuncertainty
Nothing matches.
- Headline
- Headline score
- Parts
- Bernstein Vazirani semantic
- Deutsch Jozsa semantic
- Grover semantic
- Phase Estimation semantic
- QFT semantic
- Simon semantic
- GHZ semantic
- Random Number Generator semantic
- Swap Test semantic
- W State semantic
- Generalized Simon (multi-str) semantic
- Generalized Simon (ternary) semantic
- Shor semantic
- VQE semantic
- QAOA semantic
- QAE semantic
- ENC semantic
- Average syntax score
- Bernstein Vazirani syntax
- Deutsch Jozsa syntax
- Grover syntax
- Phase Estimation syntax
- QFT syntax
- Simon syntax
- GHZ syntax
- Random Number Generator syntax
- Swap Test syntax
- W State syntax
- Generalized Simon (multi-str) syntax
- Generalized Simon (ternary) syntax
- Shor syntax
- VQE syntax
- QAOA syntax
- QAE syntax
- ENC syntax
- Not yet labeled
- Semantic bernstein vazirani uncertainty
- Semantic deutsch jozsa uncertainty
- Semantic phase estimation uncertainty
- Semantic simon uncertainty
- Semantic swap test uncertainty
- Semantic wstate uncertainty
- Semantic vqeuncertainty
- Semantic qaoauncertainty
- Semantic encuncertainty
- Syntax bernstein vazirani uncertainty
- Syntax deutsch jozsa uncertainty
- Syntax grover uncertainty
- Syntax phase estimation uncertainty
- Syntax qftuncertainty
- Syntax simon uncertainty
- Syntax ghzuncertainty
- Syntax random number generator uncertainty
- Syntax swap test uncertainty
- Syntax wstate uncertainty
- Syntax generalized simonmultistr uncertainty
- Syntax generalized simonternary uncertainty
- Syntax vqeuncertainty
- Syntax qaoauncertainty
- Syntax encuncertainty
Nothing matches.
- Meta
- not in our model list
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official QCircuitBench leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
7 of 8 checks pass, 1 warning. Look first at the Newest score check. The newest came 2 years ago, in April 2024, for Llama 3-8B. Every benchmark
Catalog record 2 pass
- Pass Task access All tasks are public.
- Pass Confidence Checked against a primary source.
Scores 1 warning 1 pass 3 notes
- Pass Independent runs Scores from the benchmark’s paper (4 entries).
- Note Models scored Only 1 model we track, plus 3 other entries on its leaderboard.
- Warning Newest score The newest came 2 years ago, in April 2024, for Llama 3-8B.
- Note Frontier models None of the top 10 has a score. The strongest tested is Llama 3-8B (#207).
- Note Headroom Scored as a plain number, with no fixed ceiling.
Leaderboard import 3 pass
- Pass Importer We read the board on arxiv.org: 2 rows for models we track and 3 other entries at the last read.
- Pass Last read November 20th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.