Quantum Lab Bench

Quantum Lab Bench evaluates AI agents on their ability to solve challenging system identification and control tasks typical in a quantum computing lab.

Disclaimers: Quantum Lab Bench is a personal side project, and definitely does not reflect the views of my employer (IonQ).

Furthermore, the primary goal is not to assign scores to agents, but to document the process and the nuances of frontier AI eval design. Thus, I recommend you enjoy it as a blog post, which describes the backstory, the challenges, and the caveats in great detail

Headline results

ModelScore
GPT-6.1 Sol (med)96.1%
Claude Opus 5.5 (med)82.3%
GPT-6.1 Terra (med)75.0%
GPT-5.6 Sol (med)69.9%
Claude Haiku 5.5 (med)44.6%
GPT-6 Luna (med)27.6%
DeepSeek V4.1 Flash (high)27.6%
GPT-5.6 Luna (med)25.9%

Score and cost per card

Score versus cost per card 0 20 40 60 80 100 $0.1 $1 $10 Cost per card (USD, log scale)Score (%) GPT-6.1 Sol(med)GPT-6.1 Sol (med): 96.1%, $1.55/card Claude Opus 5.5(med)Claude Opus 5.5 (med): 82.3%, $16.13/card GPT-6.1 Terra(med)GPT-6.1 Terra (med): 75.0%, $0.60/card GPT-5.6 Sol(med)GPT-5.6 Sol (med): 69.9%, $5.85/card Claude Haiku 5.5(med)Claude Haiku 5.5 (med): 44.6%, $0.76/card GPT-6 Luna(med)GPT-6 Luna (med): 27.6%, $0.16/card DeepSeek V4.1 Flash(high)DeepSeek V4.1 Flash (high): 27.6%, $0.10/card GPT-5.6 Luna(med)GPT-5.6 Luna (med): 25.9%, $0.20/card Score versus cost per card 0 20 40 60 80 100 $0.1 $1 $10 Cost per card (USD, log scale)Score (%) 6.1 Sol(med)GPT-6.1 Sol (med): 96.1%, $1.55/card Opus 5.5(med)Claude Opus 5.5 (med): 82.3%, $16.13/card 6.1 Terra(med)GPT-6.1 Terra (med): 75.0%, $0.60/card 5.6 Sol(med)GPT-5.6 Sol (med): 69.9%, $5.85/card Haiku 5.5(med)Claude Haiku 5.5 (med): 44.6%, $0.76/card 6 Luna(med)GPT-6 Luna (med): 27.6%, $0.16/card V4.1 Flash(high)DeepSeek V4.1 Flash (high): 27.6%, $0.10/card 5.6 Luna(med)GPT-5.6 Luna (med): 25.9%, $0.20/card
ModelScoreUSD/card
GPT-6.1 Sol (med)96.1%$1.55
Claude Opus 5.5 (med)82.3%$16.13
GPT-6.1 Terra (med)75.0%$0.60
GPT-5.6 Sol (med)69.9%$5.85
Claude Haiku 5.5 (med)44.6%$0.76
GPT-6 Luna (med)27.6%$0.16
DeepSeek V4.1 Flash (high)27.6%$0.10
GPT-5.6 Luna (med)25.9%$0.20

Limitations

The benchmark was only run on a handful of models, primarily due to cost: a full run cost ranges from about $30 on older open-weight models to over $1,000 on frontier closed-source models. That being said, small-scale experiments suggest that:

  • Nominally stronger models (Astra, Fable) score in the range of 90-100%
  • Nominally weaker models fail to make any real progress (e.g. partial run with deepseek-v3.2-exp scored ~1%)

The benchmark was run locally on my 16-core, 64-GiB Mac, using the Inspect AI framework. The eval run was containerised in Docker to prevent the agent from accessing the “secrets” it’s supposed to discover. That being said, there are plenty of ways for a motivated agent to cheat; the isolation was not designed for an adversarial scenario.

95% of this eval and write-up was written with a newborn sleeping on my chest, supervised by a sleep-deprived human brain operating at 60% capacity. A lot of the work was cut short by sudden vomit. Make of that what you will!

Tasks and Methodology

Agents are given the ability to run experiments on small-scale quantum systems (1-3 qubits/qutrits, 1-3 bosonic modes, that kind of thing). The agent can choose control pulses, state preparation and measurement bases, and receives experimental outcomes (0/1 stream). The agent’s goal is to learn the system’s dynamics well enough to predict the outcomes of unknown pulses, and to synthesise control waveforms that achieve target transformations with high fidelity.

Cards

The benchmark contains 41 cards, each representing a different system.

In the 10 white-box cards, the agent knows the structure of the equations governing system dynamics (e.g. the Hamiltonian), but not numerical coefficients (such as detunings and couplings). The 31 gray-box cards have additional missing physics - hidden from the agent - that must be inferred from measurements before it can control the device reliably.

Example gray-box card: two-qubit control with a delayed line

The agent is given access to a quantum system with a nominal Hamiltonian H(t) shown in the diagram below, where coefficients δ₁, δ₂, g₁, g₂ and J are hidden from the agent. This is a coupled 2-qubit system, where entanglement can be generated at rate J through simultaneous application of u1 and u2. However, achieving the desired operation requires careful shaping of all 4 control signals that drive single-qubit interactions.

The same cloud agent, Python workspace, 100-shot experiment and two-qubit system, with an additional hidden delay on control line 2 below the Hamiltonian.

If the system truly obeyed this Hamiltonian, this would have been a white-box card. However (as the agent should discover by running experiments), the real system differs from the nominal one, making this a gray-box card. In this case, all signals travelling via control line 2 - u2 and v2 - have a fixed delay tau. For this card, the reference pulse designed for the nominal system implements UZZ(π/2) with 100% fidelity in that system and about 30% fidelity in the real system with the delay on control line 2. To recover the gate, the agent must infer the delay from the outcome stream and compensate it in its control waveform - in addition to discovering the values of the five nominal coefficients (δ₁, δ₂, g₁, g₂ and J) and solving the white-box control task.

Two more gray-box cards

With these two examples and the delayed-control card above, 38 of the 41 cards remain private for future evaluations.

A missing three-body interaction. The agent controls three qubits with independent X and Y drives. The nominal Hamiltonian contains local Z terms and pairwise Z₁Z₂ and Z₂Z₃ interactions. In the real system, there is also a hidden term of the form κZ₁Z₂Z₃. The agent has to recognise that the pairwise model cannot explain its measurements, estimate the extra coupling, and account for it when designing a gate.

Leakage into an extra level. The nominal system is a driven qubit with H₀ = (δZ + gₓuX + gᵧvY)/2. In reality, strong pulses can also couple |1⟩ to an unmodelled |2⟩ level. The measurement stream still contains only 0s and 1s: leaked population is counted as 1. The clue is that, as the agent varies the pulses, the observed frequencies cannot be consistently explained by the nominal two-level model. The agent must infer the extra level and account for it when predicting outcomes and designing controls.

Tasks

Each card has three equally weighted tasks:

Known control

Implement an operation specified before learning.

Example

Implement the maximally entangling gate UZZ(π/2) = exp(−iπ Z⊗Z/4).

Prediction

After interacting with the device, predict the outcome probabilities for unseen experiments.

Example

For this waveform, prepare |+i⟩⊗|+⟩ and measure X⊗Z. What are the probabilities of (++), (+−), (−+) and (−−)?

Four-control, three-piece example waveform for a hidden prediction question.

New control

After learning, implement a newly revealed operation without further measurements.

Example

Implement UXZ(2π/3) = exp(−iπ X⊗Z/3). The waveform below was submitted by GPT-6.1 Sol on this card and reached 99.9998% fidelity.

GPT-6.1 Sol's submitted four-control waveform for the newly revealed X tensor Z gate.

Scoring

Highest fidelity threshold reached Score per task
Below 90% 0
90% 1
99% 2
99.9% 3
99.99% 4
99.999% 5

Maximum points

Task or total Fidelity used before assigning points Maximum points
Known control Gate fidelity 5
Prediction Average of 12 experiment fidelities 5
New control Average of 2 gate fidelities 5
Per card Three tasks 15
All 41 cards 41 × 15 615

The headline score is earned points divided by 615.

For gray-box cards, we also review whether the agent identified the missing physics. This is a separate post-run review and does not contribute to the numerical task score. The two newly added runs use GPT-6.1 Sol with requested medium reasoning as a judge; earlier identification annotations retain their original review method.

Benchmark stages

Each card starts with the learning phase, during which the agent must submit a waveform to implement the known control task, and a predictor function that will be used to evaluate its understanding of the underlying dynamics. This phase has an allowance of 100,000 shots and 48 actions (whichever runs out first).

After successful submission, the new control targets are revealed, and the card enters the new control phase. During this phase, the agent has 12 more actions (60 actions per card in total), but can no longer run experiments on the quantum system.

Tools and actions

For each card, the agent is given a persistent Python workspace with NumPy and SciPy. Each action is simply one tool call out of the following menu:

Action code What it does Notes
experiment Runs experiments on the device, and returns counted outcomes. Up to 128 (different or identical) settings can be batched in one action; each setting uses 100 shots (fixed).
python Runs code in the persistent workspace. One code execution is one action, but the agent can batch as many calculations as they like. Each action has a 120-second wall-time limit.
check_predictor Checks the saved predictor on public interface cases. Uses no device shots and does not reveal prediction accuracy.
submit Submits the known-control waveform and predictor during learning, or the two new-control waveforms after reveal. An accepted submission ends that phase; a rejected submission still uses an action.

The agent can use at most 1,500 numerical CPU seconds during learning. After the new control targets are revealed, it has 12 more actions but no further measurements. The action cap limits tool interaction separately from the shot and CPU budgets.

The benchmark is run locally on a 16-core, 64-GiB Mac. The experiment and numerical workspace use separate Docker containers, preventing the agent from seeing the “secrets” it’s supposed to discover (unless it really tries!). Each container uses 1 CPU core and 2 GiB of memory, and the benchmark runs up to four cards concurrently.

Sandbox architecture: the agent sends requests to a trusted evaluation runner, which routes experiments to the private simulator and numerical code to a separate restricted Python container.

Results in detail

White-box tasks

White-box tasks are “table stakes”. Because they’re pretty classic Hamiltonian-learning problems, with well-established ways to estimate the unknown coefficients and synthesise controls, I expected the agents to do well. Indeed, scores are high across the board, with 4 agents scoring >90%.

To put the results in context, we compare them with a generic numerical strategy that submits non-adaptive random experiments, fits the known model to the counts by maximum likelihood, then synthesises pulses. It scores 91.3% with 100,000 shots per card. Interestingly, only some models outperform that simple program.

random exp + MLE · 91.3%
ModelScore
GPT-6.1 Sol (med)99.3%
Claude Opus 5.5 (med)96.0%
GPT-6.1 Terra (med)92.0%
GPT-5.6 Sol (med)90.7%
Claude Haiku 5.5 (med)84.7%
GPT-6 Luna (med)67.3%
GPT-5.6 Luna (med)56.0%
DeepSeek V4.1 Flash (high)47.3%

Gray-box tasks

Here the agent must work out what is missing from the nominal model. This is the most interesting task, as there is no well-established framework for it - you need to creatively problem-solve. A separate (non-scored) review asks whether each agent actually identified the hidden physics.

Out of the evaluated models, GPT-6.1 Sol and Claude Opus 5.5 found the missing physics nearly 100% of the time. However, only GPT-6.1 Sol found the hidden rule efficiently enough to then score a near-perfect mark on control and prediction tasks. A generic numerical algorithm that combines random experiments with maximum-likelihood fitting - but ignores the hidden physics - scores only 11.2%, and the final score is highly correlated with the successful identification of the missing physics.

Task scorePhysics identified random exp + MLE · 100k shots · 11.2%
ModelScorePhysics
GPT-6.1 Sol (med)95.1%100.0%
Claude Opus 5.5 (med)77.8%96.8%
GPT-6.1 Terra (med)69.5%64.5%
GPT-5.6 Sol (med)63.2%71.0%
Claude Haiku 5.5 (med)31.6%29.0%
DeepSeek V4.1 Flash (high)21.3%35.5%
GPT-5.6 Luna (med)16.1%16.1%
GPT-6 Luna (med)14.8%9.7%

Learning budget used

Interestingly, many models finish without using their full action or shot allowance.

ActionsShots
ModelActionsShots
GPT-6.1 Sol (med)59.8%100.0%
Claude Opus 5.5 (med)75.7%96.5%
GPT-6.1 Terra (med)59.1%100.0%
GPT-5.6 Sol (med)68.9%100.0%
Claude Haiku 5.5 (med)89.9%75.7%
GPT-6 Luna (med)75.8%96.1%
DeepSeek V4.1 Flash (high)99.7%54.8%
GPT-5.6 Luna (med)54.6%56.7%

Future Work

As of November 2026, frontier models saturate the benchmark already, with GPT-6.1 Sol scoring 96.1%. It is possible to turn this into a “frontier benchmark” by making the tasks harder. This can be easily done by reducing the shot or action budget, requiring higher fidelity for full score, or adding more hidden physics. However - as I discuss in the accompanying blog post - I don’t believe this is the right call, as the benchmark faces some fundamental methodological flaws. Specifically, once we increase the difficulty, it will be impossible to know if a score below 100% represents a failure to reason well, or that the task is fundamentally unsolvable within the given budget (simple example: if I only let agents run one experiment, they will all score poorly, regardless of how smart they are).

A more promising future direction is as follows. Currently, the cost of saturating the benchmark is $1.55 per card. The next best value for money is GPT-6.1 Terra, which reaches 75.0% at $0.60 per card. Can future models reach the highest scores more cheaply? And when can open-weight models complete the tasks with high probability (say, over 90%)? I plan to continue re-running the benchmark periodically to find out.

Another thing I have not systematically tracked is the speed of discovery and convergence. Two models with similar final scores may identify the missing physics, or synthesise a good control waveform, at very different rates. A future run could record how these evolve over actions and shots, rather than just reporting the final score.

How to cite this

@misc{malinowski2026quantumlabbench,
  author       = {Malinowski, Maciej},
  title        = "{Quantum Lab Bench}",
  year         = {2026},
  url          = {https://m-malinowski.github.io/qlab-bench/}
}