A hardware-safety-gated system for LLM-written native ARTIQ control code on a trapped-ion platform

IF 4.9 2区 物理与天体物理 Q1 PHYSICS, MULTIDISCIPLINARY
Duanyang Wang,Lu Qi,Yuanheng Xie,Norbert M Linke,Kenneth Brown
{"title":"A hardware-safety-gated system for LLM-written native ARTIQ control code on a trapped-ion platform","authors":"Duanyang Wang,Lu Qi,Yuanheng Xie,Norbert M Linke,Kenneth Brown","doi":"10.1088/2058-9565/aec8a9","DOIUrl":null,"url":null,"abstract":"Abstract Large-language-model (LLM) agents can write and run experimental control code, but unchecked code can damage the apparatus. We present a control system that places an LLM agent in the loop of a trapped-ion experiment. It enforces a per-operation boundary between agent decisions and human authorization. The agent controls the existing Advanced Real-Time Infrastructure for Quantum physics (ARTIQ) stack through tools provided by a Model Context Protocol (MCP) server. The gate authorizes ARTIQ submissions with a token bound to the script and its arguments. Tokens are issued automatically once the script has run in an isolated hardware simulation (dax.sim) and the resulting trace has passed the configured device bounds. Sensitive actions require a token from a human operator. Within this boundary the agent writes its own experiments rather than calling pre-built routines. On a co-trapped 40 Ca + / 40 CaOH + crystal, the agent builds a full calibration stack and, with operator guidance, closes a cross-instrument loop to calibrate a feed-forward magnetic-field-stabilization waveform. On a separate 171 Yb + platform we run the control stack against live hardware. In that platform's configuration we attack the authorization mechanism with adversarial scripts, mapping the boundary of its protection. Analyzing where the agent still needed human guidance, we observe that under this system's configuration its limits lie in metacognitive control rather than domain knowledge. The agent did not recognize when a problem had to be re-framed.","PeriodicalId":20821,"journal":{"name":"Quantum Science and Technology","volume":"26 1","pages":""},"PeriodicalIF":4.9000,"publicationDate":"2026-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Quantum Science and Technology","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1088/2058-9565/aec8a9","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PHYSICS, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Abstract Large-language-model (LLM) agents can write and run experimental control code, but unchecked code can damage the apparatus. We present a control system that places an LLM agent in the loop of a trapped-ion experiment. It enforces a per-operation boundary between agent decisions and human authorization. The agent controls the existing Advanced Real-Time Infrastructure for Quantum physics (ARTIQ) stack through tools provided by a Model Context Protocol (MCP) server. The gate authorizes ARTIQ submissions with a token bound to the script and its arguments. Tokens are issued automatically once the script has run in an isolated hardware simulation (dax.sim) and the resulting trace has passed the configured device bounds. Sensitive actions require a token from a human operator. Within this boundary the agent writes its own experiments rather than calling pre-built routines. On a co-trapped 40 Ca + / 40 CaOH + crystal, the agent builds a full calibration stack and, with operator guidance, closes a cross-instrument loop to calibrate a feed-forward magnetic-field-stabilization waveform. On a separate 171 Yb + platform we run the control stack against live hardware. In that platform's configuration we attack the authorization mechanism with adversarial scripts, mapping the boundary of its protection. Analyzing where the agent still needed human guidance, we observe that under this system's configuration its limits lie in metacognitive control rather than domain knowledge. The agent did not recognize when a problem had to be re-framed.
一种针对llm的硬件安全门控系统,在捕获离子平台上编写了本机ARTIQ控制代码
大语言模型(LLM)智能体可以编写和运行实验控制代码,但未经检查的代码会损坏设备。我们提出了一个控制系统,将LLM代理置于捕获离子实验的回路中。它在代理决策和人工授权之间强制执行每个操作的边界。代理通过模型上下文协议(MCP)服务器提供的工具控制现有的量子物理高级实时基础设施(ARTIQ)堆栈。大门使用绑定到脚本及其参数的令牌授权ARTIQ提交。一旦脚本在独立的硬件模拟(dax.sim)中运行,并且结果跟踪通过了配置的设备边界,就会自动发出令牌。敏感操作需要人工操作员的令牌。在这个边界内,代理编写自己的实验,而不是调用预先构建的例程。在共捕获的40 Ca + / 40 CaOH +晶体上,该试剂建立了一个完整的校准堆栈,并在操作员的指导下关闭一个跨仪器环路,以校准前馈磁场稳定波形。在一个单独的171yb +平台上,我们针对实时硬件运行控制堆栈。在该平台的配置中,我们使用对抗性脚本攻击授权机制,映射其保护的边界。通过分析智能体在哪些地方仍然需要人工引导,我们发现在该系统的配置下,其限制在于元认知控制而不是领域知识。代理人没有意识到什么时候需要重新定义一个问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Quantum Science and Technology
Quantum Science and Technology Materials Science-Materials Science (miscellaneous)
CiteScore
11.20
自引率
3.00%
发文量
133
期刊介绍: Driven by advances in technology and experimental capability, the last decade has seen the emergence of quantum technology: a new praxis for controlling the quantum world. It is now possible to engineer complex, multi-component systems that merge the once distinct fields of quantum optics and condensed matter physics. Quantum Science and Technology is a new multidisciplinary, electronic-only journal, devoted to publishing research of the highest quality and impact covering theoretical and experimental advances in the fundamental science and application of all quantum-enabled technologies.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书