arXiv:2610.39074cond-mat.mes-hallOct 2026

Manuscript Offprint

arXiv:2610.39074

HERA: Assessing an Autonomous Agent for Quantum Device Measurement

Zachary W. Gomez, Nathan Bittner, Jordan T. McCourt, Qingrui Cao, Sandesh S. Kalantre, Benjamin H. Alexander, Zhiren Zheng, Kenji Watanabe, Takashi Taniguchi, Aaron Sharpe

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zachary W. Gomez,¹,²,* Nathan Bittner,² Jordan T. McCourt,¹,² Qingrui Cao,¹,² Sandesh S. Kalantre,² Benjamin H. Alexander,² Zhiren Zheng,² Kenji Watanabe,³ Takashi Taniguchi,⁴ and Aaron Sharpe¹,²,†

¹Stanford Institute for Materials and Energy Sciences, SLAC National Accelerator Laboratory, Menlo Park, CA 94025 ²Department of Physics, Stanford University, Stanford, CA 94305 ³Research Center for Electronic and Optical Materials, National Institute for Materials Science, 1-1 Namiki, Tsukuba 305-0044, Japan ⁴Research Center for Materials Nanoarchitectonics, National Institute for Materials Science, 1-1 Namiki, Tsukuba 305-0044, Japan (Dated: October 30, 2026)

Large language model agents have begun to carry out laboratory measurements, but their scientific conclusions are useful only if they hold up under scrutiny. Demonstrating this requires controlled studies because models are stochastic and the context a model is given steers its conclusions. Here we introduce HERA, an autonomous agent designed to carry out cryogenic transport measurements of quantum devices. HERA draws on a knowledge base curated by lab members that holds measurement protocols, software tools, and literature references. We assessed HERA with a blinded trial against an expert on the stacking order of two multilayer graphene devices, an ablation of its knowledge base, and hundreds of offline replays in which models designed the trial's central measurement without running it. HERA's conclusions matched the expert's sealed conclusions on both tested devices. The ablation and the replay studies measured the impact of the knowledge base across different models, showing that with it every model designed better measurements and reasoned more soundly. To test how readily HERA extends to a new problem, we tasked it with finding and characterizing superconductivity in a different material system. This required a few hours of expert time to develop a new experimental protocol, after which HERA did both autonomously. These results show that, with a knowledge base designed for the task, language model agents are capable of sound experimental science.

I. INTRODUCTION

Large language models (LLMs) are being applied to experimental work across the sciences [1-5]. Here, we seek to automate experiments on quantum devices assembled from atomically thin materials, where a measurement records a device's response as a function of many parameters, including carrier density, displacement field, magnetic field, and temperature. Together these axes span a parameter space too high-dimensional to search exhaustively. Rather, testing a hypothesis about a device takes a campaign of targeted measurements. Each interpretation builds on those before it, so the quality of every interpretation compounds into the conclusion. Many experiments across the sciences share this structure.

For an LLM to run an experiment autonomously, it must keep the device and measurement rig safe, take the measurements needed to answer a question, and draw conclusions supported by the data. An LLM's general knowledge is not enough to run a measurement campaign. It needs the specifics of the lab's own hardware, procedures, and materials, as well as a connection to the measurement rig. Here we introduce HERA (Hierarchical Experimentation and Reasoning Architecture). Beyond augmenting the Claude Code harness with tools to control the lab instruments, it supplies the agent with

a knowledge base curated by lab members, hereafter referred to as the corpus. The corpus is a version-controlled collection of measurement protocols, software tools, and literature references built from lab notebooks and published literature.

Understanding the context provided to a model is critical because it steers the model's conclusions. Changes to the context or tools given can alter its behavior in unintended ways that are often difficult to quantify. A change intended to help may merely clutter the context. Even when provided the same context, LLMs are stochastic, and a model run twice may return different outputs. Assessing the performance of an LLM based system therefore requires careful controls.

To assess HERA, we ran four tests. First, in a blinded prospective trial, HERA was asked to determine the stacking order of two multilayer graphene devices using cryogenic transport measurement. For both devices, HERA's conclusion matched an expert's sealed conclusion. Second, we tested whether that agreement depends on what the corpus provides and on the model used. In an ablation study, two different models each ran two campaigns, once with the full corpus and once with an ablated corpus that kept only its software tools (a "corpus × model" matrix). With the full corpus, both models agreed with the expert's stacking order, one at lower confidence. With the ablated corpus, one model disagreed with the expert, and the other agreed but relied on claims its measurements do not support. Third, we ran 300 "offline replays" in which a model was asked to choose the

ranges and resolution of the trial's central measurement. Six models designed the measurement repeatedly with either the full or the ablated corpus. We scored each designed measurement from 0 to 1 by how well it could resolve the signatures that distinguish the candidate stacking orders. Measurements designed with the full corpus scored higher on average than those designed with the ablated corpus, while also requiring less acquisition time. Fourth, in a test of domain transfer, we examined how readily HERA extends to a new experimental question in a new setup. With a new measurement protocol added to the corpus, it searched for superconductivity in a WSe₂-proximitized bilayer graphene device, using a second rig. After two corrections to that protocol, it autonomously found and characterized superconductivity. Taken together, these tests establish that HERA can conduct a measurement campaign through to conclusions that hold up under an expert's scrutiny.