논문 해설
Agentic AI for Discovering Fault-Tolerant Quantum Circuits
내결함성 양자 회로를 발견하기 위한 Agentic AI
- 연구 문제 기존 내결함성 회로 설계는 과제와 부호마다 사람이 손으로 해야 해서 큰 회로에서 한계에 부딪힙니다.
- 연구 방법 LLM이 검증 도구를 호출하며 회로 프로그램을 진화적으로 개선하고, 검증기가 결함 기준으로 점수를 매깁니다.
- 주요 결과 논리 상태 준비, 논리 게이트, 코드 전환에서 모든 실험 과제에 대해 검증된 내결함성 회로를 찾았고, 표면 코드 native 레이아웃 다중 크기 탐색에서 d=3은 깊이 6, 그 밖의 거리는 깊이 7을 기록했습니다.

FIG. 5 : The circuit for the Reed-Muller (RM) to Steane (S) switch, with all-to-all connectivity, and 16 ancillae. The dark-green boxes show random measurements, and the light-green box is a detector. The orange boxes show conditional Paulis, with their conditions beside them. We shade alternate layers grey and white. It readsq 7-q14 of the RM blockq 0-q14 in theXbasis, and moves the face q0-q6 to the fresh S blockq 15-q21.q 22-q37 are ancillae.
원문 · CC BY 4.0 · Aritra Lahiri, Florian Marquardt · Agentic AI for Discovering Fault-Tolerant Quantum Circuits · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.내결함성 회로 설계의 어려움
양자 컴퓨팅을 실용적인 규모로 키우려면 양자 오류 정정 부호로 부호화된 정보를 다루는 회로의 효율이 필요합니다. 이 과정은 논리 상태 준비, 논리 게이트 구현, 이들을 묶은 논리 루틴의 세 단계로 나뉩니다. 각 단계에서는 회로 안의 한 결함이 정정 능력을 넘는 오류로 번질 수 있으므로 내결함성이 필수입니다. 지금까지는 이런 회로를 과제와 부호마다 사람이 따로 설계해 왔고, 회로가 커지면 이 방식은 감당하기 어려워집니다. 강화학습 기반 자동화도 거리 5 수준의 부호에 머물렀고 논리 게이트나 상위 루틴에는 거의 적용되지 않았습니다. 이 논문은 이 공백에서 출발해 LLM 기반 탐색으로 물리 큐비트 수준의 내결함성 회로를 찾는 방법을 다룹니다.
에이전트형 FunSearch 구조
agentic FunSearch는 LLM이 변이 연산자 역할을 하고, verifier를 도구로 호출해 제안을 시험하고 고친 뒤 제출하는 구조입니다. 회로는 Python 함수로 기술되며, 이 함수는 데이터 큐비트 수와 ancilla 수를 받아 회로를 돌려줍니다. verifier는 회로가 목표 상태에 도달하는지 확인하고 결함 지표를 계산합니다. 점수가 높은 프로그램은 섬별 데이터베이스에 저장되어 다음 세대 프롬프트에 다시 들어갑니다. 기존 FunSearch는 LLM을 단순한 변이 연산자로 썼지만, 여기서는 LLM이 검증 도구를 직접 호출해 여러 후보를 비교할 수 있습니다. 회로 형식으로는 dynamic Clifford circuits를 택했습니다.
이 형식은 중간 측정 결과에 따라 Pauli 보정을 넣을 수 있으므로, 결함이 감지되었을 때 상태를 버리지 않고 보정으로 복구하는 회로를 탐색할 수 있습니다.
검증기와 내결함성 기준
검증기는 먼저 회로가 목표 상태를 만들고 보조 큐비트와 얽히지 않는지 확인합니다. 그다음 결함을 열거합니다. 게이트 실패, 입력 오류, 측정 오류를 모델링하고, 거리 d 코드에서는 차수 i가 t 이하인 사건만 열거합니다. 각 결함의 잔류 Pauli는 축약 무게로 평가되며, 회로가 내결함성을 가지려면 차수 i ≤ t의 모든 사건이 탐지기를 울리거나 잔류 무게를 i 이하로 남겨야 합니다. 플래그 ancilla의 결정적 측정 결과가 탐지기 역할을 합니다. 프로그램 점수는 사전식으로 매겨지며 silent 비용이 가장 먼저 봅니다. silent 비용은 \(\sum_{i\le t} \text{silent}_i/(cN)^{i-1}\)로 정의되고, 여기서 N은 전체 큐비트 수이고 c는 O(1) 상수입니다.
이 가중치는 높은 차수 사건의 조합 수 증가가 점수를 지배하지 않도록 보정합니다. 그다음 깊이, herald, waste, match 순서로 비교합니다.
논리 게이트 설계 기준
논리 게이트는 입력 코드워드마다 올바른 출력을 내야 하므로 상태 준비와 다른 기준이 필요합니다. 이 논문은 Choi state를 써서 게이트를 하나의 목표 상태로 바꿉니다. 각 논리 큐비트를 기준 큐비트와 Bell 상태로 묶으면, 게이트가 적용된 뒤의 안정자 생성자가 목표가 됩니다. 게이트 설계에서는 결함을 바로 버리지 않고, 탐지 패턴과 신드롬이 같은 bin에 속하는 사건들을 살핍니다. bin 안에서 잔류가 논리 연산자만큼 다르면 모호하다고 봅니다. 모호한 bin의 무거운 사건은 undecodable로, 그렇지 않은 사건은 forfeited로 분류됩니다. 점수는 silent 비용, undecodable 비용, forfeit 비용, 깊이, match 순서로 매겨집니다.
이렇게 하면 긴 프로토콜 중간의 게이트에서 한 번의 폐기가 전체 프로토콜을 다시 시작하게 만드는 문제를 줄일 수 있습니다.
논리 상태 준비 결과
논리 상태 준비에서는 회로 깊이와 silent 사건 없음을 중심으로 비교했습니다. 회전 표면 코드를 all-to-all 연결에서 다룬 실험에서는 Ref. [13]보다 확연히 얕은 회로를 얻었습니다. native 레이아웃에서 거리 3, 5, 7, 9를 한 프로그램으로 동시에 탐색했을 때는 첫 세대부터 모든 거리에서 silent 사건이 없는 회로를 얻었습니다. 최종 프로그램은 d=3에서 깊이 6, 그 밖의 거리에서 깊이 7을 기록했습니다. 색 코드에서는 d=3의 Steane 코드에서 다중 크기 탐색이 깊이 7의 기존 결과와 맞았고, 다른 다중 크기 탐색은 깊이 6의 더 얕은 회로를 찾았습니다. 이 수치들은 해당 표의 레이아웃과 연결 조건에서만 읽어야 합니다.
![TABLE I: Logical-state preparation tasks. All cases prepare|0 L⟩, except for the [[5,1,3]] code which prepares|1 L⟩.
Gate set: H, S, X, Z, CNOT, CZ, ancilla me…](/papers/e6680a5e-8c8b-48e6-aa57-a669a9a0c6a1/figures/figure-03054803b4fddc6bbd0f8e479e651cd1.png?thumb=512)
원문 그림 TABLE I: Logical-state preparation tasks. All cases prepare|0 L⟩, except for the [[5,1,3]] code which prepares|1 L⟩. Gate set: H, S, X, Z, CNOT, CZ, ancilla measurement, and conditional X, Z. For the CSS codes, we use the|0 L⟩ simplification of the fault tolerance criterion (Appendix B). “anc.” counts the ancillae available in the layout, and “used” those that the circuit actually uses. “det.” counts deterministic measurements and “2q” two-qubit gates. silent1/2/3/4 lists the silent events of order 1, 2, 3 and 4, comprising as many simultaneous faults. “–” denotes an order that is not enumerated, either because the code distance does not require it, or for silent 3,4 the lower orders are already non-zero. Bold numbers mark the best entry for a given code and connectivity. Labels such as 19 4 0 are the file names in the repository [46] of Ref. [13], and ME (measurement encoding) and UEA (unitary encoding with ancilla) follow Ref. [44]. For the [[25,1,5]] code with all-to-all connectivity, we show the shallowest circuit, and a zero waste circuit, both extracted from the programs generated over a single search. The hex layout is similar to the native layout, but with each ancilla’s coupling to the data qubit below it removed [47]. “multi-size” refers to a single program evolved simultaneously for alld∈ {3,5,7,9}. For the [[7,1,3]] code, “multi-size †” is the [[7,1,3]] circuit of a separate multi-size search. The circuits of Ref. [44] have no detectors, so they have no heralded or wasted events.
원문 · CC BY 4.0 · Aritra Lahiri, Florian Marquardt · Agentic AI for Discovering Fault-Tolerant Quantum Circuits · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.논리 게이트와 코드 전환의 결과
논리 게이트 실험에서 [[5,1,3]] 부호의 CNOT은 두 논리 블록 사이에서 아홉 개의 물리 CNOT을 중심으로 구현되었습니다. 이 논문의 회로는 기존 CNOT3f보다 훨씬 얕으며, 두 개 또는 다섯 개의 ancilla를 쓰는 변형을 얻었습니다. [[8,3,2]] 부호에서는 큐브 레이아웃의 논리 Hadamard를 다뤘고, Ref. [15]보다 얕은 내결함성 회로를 얻었습니다. 코드 전환에서는 Steane 코드와 Reed-Muller 코드 사이의 전환을 다뤘습니다. Steane에서 Reed-Muller로의 전환 회로는 undecodable 비용과 silent 비용이 0이고 깊이는 20이었습니다. 이 결과는 모든 CSS 설정에서 성립하는 것이 아니라 Table III의 설정에서 확인된 것입니다.

원문 그림 TABLE III: Further applications: a logical Bell pair, code switching, and code growth. The gate set is as in Tab. I. The Bell pair is a state preparation task, so its columns are as in Tab. I. The code switches and growths are scored like logical gates by Eq. (3), so their columns mirror Tab. II. The Bell pair is the logical (|0 L0L⟩+|1 L1L⟩)/ √ 2 on two perfect-code encoded logical qubits. The Steane (S)→Reed-Muller (RM) switch moves a logical qubit in place from the S code to the RM code, and the RM→S switch switches and moves it from an RM block to a fresh S block. The growth takes the rotated surface code fromd= 3 tod= 5, as well asd= 5 tod= 7, on its native layout, and the other tasks use all-to-all connectivity. We use the fault tolerance criterion of the final code. For the growth, theX andZparts of event residuals are checked separately against Eq. (1) (see Appendix B). The growth results inevitably have non-zero undecodable-costs, as explained in Sec. III C.
원문 · CC BY 4.0 · Aritra Lahiri, Florian Marquardt · Agentic AI for Discovering Fault-Tolerant Quantum Circuits · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.LLM 등급에 따른 탐색 차이
저자들은 LLM 등급이 탐색 효율에 영향을 준다고 봅니다. GPT-6.1-sol은 GPT-6-luna보다 비-CSS 코드, 일부 게이트 과제, 논리 루틴에서 유의하게 더 좋은 성능을 보였습니다. 기록 비율에서도 최상위 등급이 새 기록을 훨씬 자주 만들었습니다. 이 등급의 scratchpad 메모는 평균적으로 더 길었고, 저자들은 이를 더 많은 가설을 시험하고 버린 흔적으로 해석합니다. 다만 이 비교는 같은 프롬프트에서 얻은 결과이며, 등급 사이의 차이가 모든 과제에서 같게 나타나는지는 이 설명만으로 확정할 수 없습니다.
Idling 결함과 코드 성장의 한계
idling 결함은 별도로 열거하지 않았습니다. 저자들은 대기 구간의 Pauli 결함이 이미 열거된 결함 중 하나와 같은 Pauli 효과를 내므로 검증기가 이를 간접적으로 포함한다고 논증합니다. 그래서 깊이를 줄이는 것을 보조 목표로 삼았습니다. 코드 성장은 post-selection 아래에서만 내결함성을 가진다고 설명됩니다. 입력의 논리 오류가 최종 코드 거리보다 낮은 무게로 남을 수 있기 때문입니다. 따라서 성장 회로는 undecodable 비용이 0이 되지 않았습니다.
논문 정보
- 저자
- Aritra Lahiri, Florian Marquardt
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 13일
- 등록일
- 2026년 11월 16일
- 수정일
- 2026년 11월 13일
- 버전
- v1
- arXiv
- 2611.18504
- 분류
- quant-ph · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Scaling quantum computing toward practical quantum advantage is currently limited by the efficiency of circuits that operate on information encoded by quantum error-correcting codes. The full stack of quantum computing encompasses several tasks: preparation of logical code states, implementation of logical gates, logical routines on encoded qubits, etc. Yet, these circuits are largely designed by hand for individual cases, with some recent works incorporating machine learning for certain aspects. We formulate this problem as agentic evolutionary program synthesis, wherein a large language model, leveraging its pretraining knowledge and tool-use proficiency, and guided by a circuit verifier, evolves a program that defines a Clifford circuit for a wide range of curated tasks such as logical state preparation, logical gate design, and logical routines such as code-switching, code growth, etc. Our approach consistently finds fault-tolerant circuits for all of these tasks, each verified by an exhaustive check over faults.
원문 인용
Aritra Lahiri, Florian Marquardt (2026). Agentic AI for Discovering Fault-Tolerant Quantum Circuits. arXiv:2611.18504v1. https://arxiv.org/abs/2611.18504v1
BibTeX
@misc{lahiri2026agentic,
title = {{Agentic AI for Discovering Fault-Tolerant Quantum Circuits}},
author = {Aritra Lahiri and Florian Marquardt},
year = {2026},
eprint = {2611.18504},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.18504v1}
}