QuantumScience Claw: a correct calculation is only part of the story

What happens when a local AI agent can run real quantum software—and we check what it actually did?

Ongoing research · Led by Ethan Seefried & Tirthankar Ghosal5 min read
In this story

A plausible answer is not a scientific result

Imagine asking an assistant to prepare a quantum state. It returns a convincing circuit diagram. Did that circuit actually prepare the right state? Was anything simulated? And did the final answer include the verified artifact? QuantumScience Claw (QSC), led by Ethan Seefried and Tirthankar Ghosal, investigates those questions by connecting a local AI agent to real quantum error-correction software.

Let the scientific tools do the scientific work

Quantum error correction encodes information across physical qubits so errors can be detected and corrected. Many tasks have precise checks: circuit constraints, stabilizer properties, and simulation counts. QSC uses a local Muse Glimmer 30B model through llama.cpp, OpenClaw as its runtime, selected MIT ScienceClaw components, and controlled operations through the QHPC Ecosystem (EQO). Established software—including Stim, Sinter, and PyMatching—performs the calculations. The model coordinates their use; it does not replace their algorithms.

QSC workflow: research question, local agent, typed scientific operation, controlled worker, verified artifact, and final submission.
Conceptual workflow based on the team’s supplied research narrative. Execution, verification, and final submission are checked separately. Project context ↗

Three finish lines, not one

Think of a laboratory test: running the instrument, passing a quality check, and delivering the result to the researcher are different events. QSC separates execution, scientific verification, and accepted final submission in the same way. On 192 StabilizerBench B1 tasks spanning 14 code families, the complete system finished 129 within a 300-second deadline per task. Among the remaining 63, twelve passed verification without an accepted submission, two reached the verifier without passing, and 49 had no recorded official verifier call.

The number needs its context

The deterministic circuit-synthesis backend can solve these benchmark instances directly. QSC also exposes a specialized Stim synthesis operation that the comparison configurations do not receive in the same form. The experiment therefore shows the capability of the complete agent-plus-tools system. It does not isolate a causal benefit from orchestration, or show that a language model improved the underlying synthesis algorithm. The unfinished tasks make the next research problem concrete: turn available scientific capability into reliable task completion.

From circuits to evidence-driven experiments

The numerical campaign extends beyond circuit generation: algebra, code parameters, surface-code memory simulations, decoder compatibility, selected measured data, and limited external-artifact reproduction. In one adaptive episode, the agent used intermediate evidence to meet six precision targets below the allowed 49,152-shot budget, while a trusted controller enforced budgets and uncertainty calculations. That is an encouraging evidence-driven loop—not a controlled demonstration of superior sampling efficiency.

Selected outcomes from the supplied evaluation snapshot. Verified evidence and credited completion are reported separately.
WorkloadReported outcome
StabilizerBench B1129 / 192 completed
Algebra and code analysis23 / 24 credited; evidence for 24
Surface-code memory18 / 18 completed
Decoder compatibility22 / 24 credited; 23 verified
Evidence replay68 / 68 recorded outcomes reconstructed

Sometimes the right answer is no conclusion

A larger study ran 1.2 million shots across 24 configurations. Its fit failed the prespecified goodness-of-fit test, so the system did not accept a threshold estimate. Failure handling exposes another gap: the infrastructure detected all seven injected faults, but the agent completed the failure-reporting protocol in only two cases, improving to three with explicit guidance. Preventing invalid results and communicating failure are separate capabilities.

Keep the receipts—and mind the overhead

Evidence replay reconstructed all 68 recorded numerical-campaign outcomes in the pinned environment, including unsuccessful episodes. This is auditability, not independent replication. On the local DGX GB10 deployment, median inference requests took 22.7 seconds, worker processes 0.49 seconds, and complete episodes about 134 seconds. These have different denominators and cannot be added into a precise runtime breakdown. They nevertheless motivate attention to coordination overhead.

The next milestone is reliable completion

The team is investigating the unfinished benchmark cases, deadline sensitivity, matched access to synthesis algorithms, and better scientific interfaces. The broader lesson is simple: scientific agents need appropriate tools, checks independent of generated text, preserved evidence, and a reliable final handoff. QuantumScience Claw is ongoing research into that full chain—not a claim of unrestricted autonomous discovery.

Explore related research →