Qiskit HumanEval

Nala's score on IBM's public benchmark for writing Qiskit code, and exactly how we measured it.

85 of 151 tasks passed (56.3%)

75 of the 106 tasks whose reference solutions run in our sandbox (70.8%)

What this benchmark is

Qiskit HumanEval is a public benchmark of 151 short Qiskit programming tasks, each with its own correctness test. It measures whether a model can write quantum code that actually runs and gives the right answer, not how fast or how elegant that code is.

How Leona ran it

We ran Nala the same way a user does: the production model, one attempt per task, through Nala's full plan, generate, run and review loop. A task counts as passed only if Nala actually delivered code that passes the benchmark's own test. A candidate that never reached delivery is scored as failed, whatever it contains.

Why we also report 106 of the 151 tasks

The sandbox that runs generated code has no internet access, on purpose. Submitted unchanged, 106 of the 151 reference solutions pass. The other 45 reference solutions fail under the sandbox's restrictions: 44 need blocked IBM-related imports, and 1 needs to write a file to disk. This defines a reference-supported subset, not a limit on how many tasks generated code can pass. Generated alternatives can avoid those restrictions; the run notes below record such passes.

Before we spent anything

We ran two free checks against the harness itself first: submitting each task's reference solution unchanged, and submitting deliberately wrong code. The reference solutions passed 106 of 151, defining the 106-task subset above; the wrong code passed 0. Both matched what was already on record, so the harness had not drifted before we spent anything.

Two runs

The first run measured Nala before the review-step fix (PR 1010). We re-ran the full benchmark after the fix merged, so the table below shows what actually changed, not what we expected to change.

RunDateModelPassedOf the 106 reference-supported tasksSpendWall time
First run, before the review-step fix2026-09-23deepseek-v4-pro68 / 15164 / 106$6.472.46h
Re-run, after the review-step fix (PR 1010)2026-09-25deepseek-v4-pro85 / 15175 / 106$4.811.84h

What changed: PR 1010 fixed three checks in Nala's review step that were treating delivered-but-correct code as failed for reasons that did not apply to how the task was written; a real failure still blocks delivery after the fix. The score moved from 68 of 151 (45%) to 85 of 151 (56.3%), and from 64 to 75 among the 106 tasks with runnable reference solutions. Each run is measured once, so part of that change may be sampling rather than the fix itself.

Notes on each run

  • First run, before the review-step fix: Nala's review step was rejecting some code that had already passed the benchmark's own test, before it ever reached a user. PR 1010 fixes that.
    Code commit
    2228a86e82b9977f2606ca71115b0798aa676e9e
    Dataset commit
    c98ba538239fcfd554aa89627ee8026f4b5de450
  • Re-run, after the review-step fix (PR 1010): After the fix to Nala's review step (PR 1010); 10 of the 45 tasks the sandbox blocks by design passed through the model's own workarounds.
    Code commit
    dbdddd5ff6323ca55b45944e8088def4239ec0d6
    Dataset commit
    c98ba538239fcfd554aa89627ee8026f4b5de450

What this score does not show

  • Each score above is from one run. Run-to-run variance for this benchmark is not measured, so repeating either run could land on a different number.
  • Model output varies between runs of the same code. In one internal check, a task that had passed in an earlier run failed on a later run with nothing about the code changed.
  • The 106-task subset measures reference-solution compatibility, not the maximum number of tasks a model can pass. Generated alternatives can succeed on tasks whose reference solutions fail under the sandbox's restrictions; those passes are included in the full 151-task score.

How we measured it

The harness that ran these benchmarks is part of Leona's own codebase, which is not public.