目录Contents
十二个逻辑比特挤在一块,对门集提出了什么要求What twelve logical qubits in one block demand of a gate set
QEC-Bank 的 logical-operations.md 开篇一句:「A high-rate memory is not yet a computer.」这一章先说清「计算」对门集的要求(Clifford 门加一个非 Clifford 门,且要能对指定的逻辑比特做),再说明 k = 12 带来的一个新词——可寻址;然后把 QEC-Bank 的 5 条记录并排放好,并解释 QEC-Bank 用来判定「这算不算一个门」的三个问题。 The QEC-Bank file logical-operations.md opens with one sentence: “A high-rate memory is not yet a computer.” This chapter first states what “computing” demands of a gate set (Clifford gates plus one non-Clifford gate, applicable to chosen logical qubits), then introduces the new word that k = 12 brings, addressability; then it lines up the 5 QEC-Bank records side by side and explains the three questions the QEC-Bank uses to decide “does this count as a gate”.
1.1存住不等于计算:需要哪些门Storing is not computing: which gates are needed
《格点手术 · 高中数学版》1.1 节讲过门集:任何量子运算都能拆成单比特门加 CNOT;纠错架构里只用有限的一组——H、S、CNOT 合称 Clifford 门把泡利串映成泡利串的门(H、S、CNOT 及其组合)。在稳定子语言里可以完全追踪;单靠它们不能通用计算。,再加一个 T 门才通用。表面码那一篇的结论是:平面上局域、常深度的操作最多做到 Clifford(Bravyi–König 定理),T 门要靠魔法态。BB 码的情形要重新问一遍:那条定理管的是检查作用范围远小于 √d(d 是码距)的二维码族,一块具体的 gross 不满足这个前提,定理对它不给结论(5.2 节说明)——但先别高兴:第 5 章会看到,QEC-Bank 与文献扫描的结论是「no source supplies a universal transversal gate set for the original gross block」,非 Clifford 的边界在 BB 上同样存在,只是理由不同。
Section 1.1 of “Lattice Surgery · High-School Edition” covered gate sets: any quantum computation decomposes into single-qubit gates plus CNOT; error-corrected architectures use a finite set, H, S and CNOT together called the Clifford gatesGates that map Pauli strings to Pauli strings (H, S, CNOT and their compositions). Fully trackable in the stabilizer language; not universal on their own., plus one T gate for universality. The surface-code guide concluded that local constant-depth operations in the plane reach at most Clifford (the Bravyi–König theorem) and the T gate needs magic states. For BB the question must be asked afresh: that theorem is about 2D code families whose check range is much smaller than √d (d the code distance); one concrete gross block does not meet that premise, so the theorem says nothing about it (section 5.2 explains); but hold the cheer: Chapter 5 shows that the QEC-Bank and the scout report conclude “no source supplies a universal transversal gate set for the original gross block”, so the non-Clifford boundary exists on BB as well, for a different reason.
BB 还多一层要求。表面码一块贴片一个逻辑比特,「对这块贴片做 H」就是「对这个逻辑比特做 H」。gross 一块 144 比特的码里住着 12 个逻辑比特;对整块做一个物理操作,效果落在 12 个逻辑比特的某种组合上。QEC-Bank 原文:「The packed value k = 12 makes addressability especially important. A collective operation on all twelve logical qubits is not a substitute for a compiler that selects the desired logical combination while preserving the others.」人话:一个「同时对 12 个都做点什么」的操作,不等于「只对第 3 个做 H」;后者叫可寻址addressability:能对指定的一个或几个逻辑比特做门,而不扰动同一块里的其余逻辑比特。k = 12 的块必须回答这个问题,k = 1 的贴片不必。。intuition.md 把它列为失败模式之一:「Twelve logical qubits in one block are useful only if an architecture can prepare, measure, couple, and route the desired logical combinations without erasing the memory advantage.」
BB adds one more requirement. One surface-code patch holds one logical qubit, so “apply H to this patch” is “apply H to this logical qubit”. One 144-qubit gross block houses 12 logical qubits; a physical operation on the whole block acts on some combination of the 12. The QEC-Bank text: “The packed value k = 12 makes addressability especially important. A collective operation on all twelve logical qubits is not a substitute for a compiler that selects the desired logical combination while preserving the others.” Plainly: an operation that “does something to all 12 at once” is not “H on logical 3 only”; the latter is called addressabilityThe ability to apply a gate to one or a few chosen logical qubits without disturbing the rest in the same block. A k = 12 block must answer this; a k = 1 patch need not.. intuition.md lists it among the failure modes: “Twelve logical qubits in one block are useful only if an architecture can prepare, measure, couple, and route the desired logical combinations without erasing the memory advantage.”
1.2QEC-Bank 判定「这算不算门」的三个问题The three questions the QEC-Bank asks before calling something a gate
logical-operations.md 的第二句给出判定标准:「The relevant question is not ‘does the code have symmetries?’ but ‘which physical process preserves the code, what logical symplectic action does it induce, and what fault-tolerance and routing resources certify that action?’」拆成三问。① 哪个物理过程保持码:具体的一层物理门或一次置换,作用后每条稳定子仍是稳定子(可能变成另一条)。② 它诱导什么逻辑辛作用:辛作用symplectic action:一个 Clifford 操作把每个逻辑 Pauli 算符(X̄1…X̄k、Z̄1…Z̄k)送到哪个逻辑 Pauli 算符,写成一个 2k × 2k 的 0/1 矩阵。k = 12 时是 24 × 24。「辛」指它保持对易/反对易关系。是这个操作对 2k 个逻辑 Pauli 生成元各做了什么,写成一个 2k × 2k 的 0/1 矩阵——gross 是 24 × 24。人话:知道「码空间被映回自身」还不够,要知道里面的 12 个比特各被怎样搬动了。③ 什么容错与布线资源认证它:这个过程在真实噪声下是否仍是容错的,以及硬件上要怎样连线才能做。容错的意思是:过程中出的故障只要不超过允许的数目(最基本的要求:任意一处出一个物理故障),每个输出块里留下的错误都还在该块译码器能纠正的范围内;哪怕只造成一个逻辑错误,也算失败。三问答完,QEC-Bank 才写一条记录。在 QEC-Bank 里,第 3 章的平移停在第 ② 问:QEC-Bank 没有为 gross 登记它们的逻辑作用(文献里有答案,见 3.2.2 节)。
The second sentence of logical-operations.md gives the criterion: “The relevant question is not ‘does the code have symmetries?’ but ‘which physical process preserves the code, what logical symplectic action does it induce, and what fault-tolerance and routing resources certify that action?’” Three questions. (1) Which physical process preserves the code: a concrete layer of physical gates or a permutation after which every stabilizer is still a stabilizer (possibly a different one). (2) What logical symplectic action it induces: the symplectic actionWhere a Clifford operation sends each logical Pauli operator (X̄1…X̄k, Z̄1…Z̄k), written as a 2k × 2k binary matrix; 24 × 24 for k = 12. “Symplectic” means it preserves commutation relations. is what the operation does to each of the 2k logical Pauli generators, written as a 2k × 2k binary matrix, 24 × 24 for gross. Plainly: knowing “the code space maps to itself” is not enough; you must know how each of the 12 qubits inside was moved. (3) What fault-tolerance and routing resources certify it: whether the process stays fault tolerant under real noise, and how the hardware must be wired to perform it. Fault tolerant means: as long as the faults during the process stay within the allowed number (the basic requirement: any single physical fault anywhere), every output block is left with errors that its decoder can still correct; causing even one logical error counts as failure. Only when all three are answered does the QEC-Bank write a record. In the QEC-Bank, the translations of Chapter 3 stop at question (2): the QEC-Bank records no logical action for them on gross (the literature has answers, see section 3.2.2).
一个 Clifford 操作的辛作用the symplectic action of a Clifford operation = 24 × 24 的 0/1 矩阵binary matrix
逻辑 Pauli 的总数number of logical Paulis 224 ≈ 1.7 × 107
记号:k = 逻辑比特数(gross 12);X̄i、Z̄i = 第 i 个逻辑比特的逻辑 X、逻辑 Z(《从高考数学到 Toric Code》5.6 节的缠绕圈就是环面码的 X̄、Z̄);2k = 生成元个数;224 = 24 个生成元各取或不取的组合数(不计相位)。Notation: k = number of logical qubits (12 for gross); X̄i, Z̄i = the logical X and logical Z of logical qubit i (the winding loops of section 5.6 of “From Exam Maths to the Toric Code” are the toric code's X̄, Z̄); 2k = number of generators; 224 = the number of ways to include or exclude each of the 24 generators (phases ignored).
补课 · 「辛作用」长什么样:一个、两个逻辑比特时手写出来Catch-up · What a “symplectic action” looks like: written out for one and two logical qubits
一个 Clifford 门把每个 Pauli 算符送到另一个 Pauli 算符(先不管前面的符号 ±,本节末尾补上)。因为 Pauli 算符相乘时像 0/1 串那样按位相加(X·X = I,X·Z ∝ Y),只要知道每个生成元被送到哪里,其余的都由乘法推出。把每个生成元的像写成一行 0/1,前 k 位记「含哪些 X̄」,后 k 位记「含哪些 Z̄」,k 行 X̄ 加 k 行 Z̄ 就拼成一个 2k × 2k 的矩阵。这就是辛作用。
A Clifford gate sends every Pauli operator to another Pauli operator (leave the sign ± aside for now; the end of this fold puts it back). Because Pauli operators multiply like 0/1 strings added position by position (X·X = I, X·Z ∝ Y), it is enough to know where each generator goes; everything else follows by multiplication. Write the image of each generator as a row of 0/1, the first k entries saying “which X̄ it contains” and the last k “which Z̄”; the k rows for the X̄ and the k rows for the Z̄ make a 2k × 2k matrix. That is the symplectic action.
k = 1 的例子(列的顺序 X̄ | Z̄)。H 把 X 变成 Z、Z 变成 X:两行是 (0 1) 和 (1 0)。S 把 X 变成 Y ∝ XZ、Z 不动:两行是 (1 1) 和 (0 1)。什么也不做的门是单位矩阵 (1 0; 0 1)。k = 2 时,CNOT(逻辑比特 1 控制 2)按 2.1 节的四条规则:X̄1 → X̄1X̄2、X̄2 → X̄2、Z̄1 → Z̄1、Z̄2 → Z̄1Z̄2,按列顺序 (X̄1 X̄2 | Z̄1 Z̄2) 写成四行 (1 1 | 0 0)、(0 1 | 0 0)、(0 0 | 1 0)、(0 0 | 1 1)。交换两个逻辑比特的操作则是一个置换矩阵:X̄1 的行变成 (0 1 | 0 0),X̄2 的行变成 (1 0 | 0 0),Z 一侧同样。gross 的情形只是 k = 12,矩阵 24 × 24。
Examples with k = 1 (columns ordered X̄ | Z̄). H sends X to Z and Z to X: the rows are (0 1) and (1 0). S sends X to Y ∝ XZ and leaves Z alone: rows (1 1) and (0 1). A gate that does nothing is the identity (1 0; 0 1). With k = 2, CNOT (logical 1 controlling 2) follows the four rules of section 2.1: X̄1 → X̄1X̄2, X̄2 → X̄2, Z̄1 → Z̄1, Z̄2 → Z̄1Z̄2; with columns (X̄1 X̄2 | Z̄1 Z̄2) the four rows are (1 1 | 0 0), (0 1 | 0 0), (0 0 | 1 0), (0 0 | 1 1). Swapping the two logical qubits is a permutation matrix: the row of X̄1 becomes (0 1 | 0 0), that of X̄2 becomes (1 0 | 0 0), and likewise on the Z side. Gross is the same with k = 12, a 24 × 24 matrix.
「辛」这个字要求的是:像必须保持谁与谁对易、谁与谁反对易。两个 Pauli 反对易,当且仅当「一个的 X 部分与另一个的 Z 部分重叠的位置数」加上反过来的重叠数是奇数。核对 CNOT:X̄1 与 Z̄1 本来反对易,它们的像 X̄1X̄2 与 Z̄1 在第 1 位重叠一次,仍反对易;X̄1 与 Z̄2 本来对易,像 X̄1X̄2 与 Z̄1Z̄2 重叠两次,仍对易。一个随便写的 0/1 矩阵通不过这项检查,就不对应任何 Clifford 门。所以 24 × 24 这个数字的意思是:要说清一个操作对 12 个逻辑比特做了什么,需要 24 行、每行 24 个 0/1,也就是一张需要真算的表,不能凭「码被保持了」一句话填上。
“Symplectic” demands that the images keep who commutes and who anticommutes with whom. Two Paulis anticommute exactly when the number of positions where the X part of one meets the Z part of the other, plus the reverse count, is odd. Check CNOT: X̄1 and Z̄1 anticommute, and their images X̄1X̄2 and Z̄1 meet once, at position 1, so they still anticommute; X̄1 and Z̄2 commute, and the images X̄1X̄2 and Z̄1Z̄2 meet twice, so they still commute. A 0/1 matrix written at random fails this test and corresponds to no Clifford gate. So the number 24 × 24 means: saying what an operation does to 12 logical qubits takes 24 rows of 24 bits each, a table that has to be computed, not filled in from the sentence “the code is preserved”.
现在补上符号。一个 Clifford 门可以把 X̄ 送到 −X̄,上面的 0/1 矩阵看不见这个负号。例子:把逻辑 Z̄ 本身当作一个门来做,它把 X̄ 送到 Z̄X̄Z̄ = −X̄,把 Z̄ 送到 Z̄。它的 0/1 矩阵是单位矩阵 (1 0; 0 1),和「什么也不做」一样,可它确实把逻辑比特的相对相位翻了一下(|+⟩ 变成 |−⟩)。所以完整的描述是 0/1 矩阵再加 2k 个符号位(每个生成元的像带 + 还是 −)。两个门的 0/1 矩阵相同,就说明它们只差一个逻辑 Pauli 算符;实际系统里,这个差别要么补做一个逻辑 Pauli 修正,要么记在经典的 Pauli 帐上(只记「这里欠一个 Pauli」,读结果时一并改正,第 4 章开头再讲)。本篇算的两类操作不会丢符号。物理比特的置换(第 3 章的平移)把「一串 X」原样搬成「另一串 X」,把「一串 Z」搬成「另一串 Z」,不产生任何负号;约化时乘上的检查也都带 + 号(码空间里每条检查的读数是 +1)。横向 CNOT 的四条共轭规则(2.1 节)也全是正号。所以对这两类操作,0/1 矩阵就是完整的逻辑作用:矩阵是单位,就真的什么也没做。
Now the sign. A Clifford gate can send X̄ to −X̄, and the 0/1 matrix above cannot see that minus sign. Example: apply the logical Z̄ itself as a gate; it sends X̄ to Z̄X̄Z̄ = −X̄ and Z̄ to Z̄. Its 0/1 matrix is the identity (1 0; 0 1), the same as “do nothing”, yet it really flips the relative phase of the logical qubit (|+⟩ becomes |−⟩). The complete description is therefore the 0/1 matrix plus 2k sign bits (whether the image of each generator carries + or −). Two gates with the same 0/1 matrix differ only by a logical Pauli operator; in a real system that difference is either fixed by applying a logical Pauli correction or booked in the classical Pauli frame (a record that “a Pauli is owed here”, settled when results are read; Chapter 4 opens with it). The two kinds of operation computed in this guide lose no signs. A permutation of physical qubits (the translations of Chapter 3) carries “a string of X” over to “another string of X” and “a string of Z” to “another string of Z” unchanged, with no minus sign; the checks multiplied in during the reduction all carry + as well (every check reads +1 on the code space). The four conjugation rules of transversal CNOT (section 2.1) all carry + too. So for these two kinds, the 0/1 matrix is the complete logical action: if the matrix is the identity, the operation really does nothing.
1.3五条记录一览,全部 claimedThe five records at a glance, all claimed
下表逐字转录 card.yaml 的 operations 字段(五条断言 atlas-assertion:bivariate_bicycle:operations:0…4)。每条有四个字段:gate(门)、mechanism(机制)、level(层级)、cost(成本),以及 origin(证据词 + 引文)。五条的 level 全是 Clifford,origin 全是 claimed——引自文献、QEC-Bank 的机器没有重算任何一条的逻辑作用;applies_to 全是 eczoo-entity:qcga#collection,即描述 BB 这一族而非 gross 一块。成本一栏是本篇最要紧的原文,后面各章逐条展开。
The table transcribes the operations field of card.yaml verbatim (the five assertions atlas-assertion:bivariate_bicycle:operations:0…4). Each has four fields, gate, mechanism, level and cost, plus origin (evidence word + citation). All five have level Clifford and origin claimed: cited from the literature, with the QEC-Bank machine recomputing the logical action of none of them; applies_to is eczoo-entity:qcga#collection throughout, i.e. the BB family rather than the single gross block. The cost column is the most important text in this guide, and the following chapters unfold it row by row.
| # | gate(原文)gate (verbatim) | mechanism | origin | cost(原文)cost (verbatim) |
|---|---|---|---|---|
| 0 | CNOT between identical BB blocks | transversal | claimed · yoder2025tour | one aligned pairwise physical-CNOT layer; module transport, alignment, and correlated decoding are additional architecture costs |
| 1 | selected logical Clifford generators | fold-transversal | claimed · eberhardt2024fold | a fold/permutation plus constant-depth physical Clifford layers; only symmetric BB instances with a resolved logical action qualify |
| 2 | logical Clifford operations through automorphisms | fold-transversal | claimed · sayginel2025automorphisms | a certified Tanner-graph permutation and its physical routing; the induced symplectic action must be computed for the chosen block |
| 3 | inter-block Pauli measurements and Clifford surgery | surgery | claimed · yoder2025tour | long-range ancilla patches, repeated measurements, and a joint decoder; the resource count belongs to the selected modular protocol |
| 4 | H / S / CNOT in the self-dual BB subfamily | transversal | claimed · liang2025selfdual | constant-depth physical layers on blocks satisfying the extra self-duality and twisted-torus conditions; not a gross-code claim |
level 一栏五条均为 Clifford,表中省略。机制词表:transversal(横向)= 每个物理门在每一块码里最多碰一个比特(单块上就是各比特各做各的单比特门;两块之间就是控制块第 i 号比特只与目标块第 i 号比特作用),于是一个门出错最多在每块里留下一个错误;fold-transversal = 先按某个对称把比特配对(折叠),再做常深度门层;surgery = 借辅助系统测量块间的乘积算符。登记状态:sayginel2025automorphisms 已登记完整元数据;yoder2025tour、eberhardt2024fold、liang2025selfdual 在 QEC-Bank 参考文献页显示 metadata pending,题目与作者取自文献扫描报告,登记待补。The level column is Clifford for all five and is omitted. Mechanism vocabulary: transversal = every physical gate touches at most one qubit of each code block (within one block, each qubit gets its own single-qubit gate; between two blocks, qubit i of the control block interacts only with qubit i of the target), so a faulty gate leaves at most one error in each block; fold-transversal = first pair qubits under some symmetry (a fold), then a constant-depth gate layer; surgery = measure inter-block product operators through an ancilla system. Registration: sayginel2025automorphisms has full metadata; yoder2025tour, eberhardt2024fold and liang2025selfdual show metadata pending on the QEC-Bank references page, with titles and authors taken from the scout report, registration pending.
仓库变计算机要过三关:保持码、算出对 12 个逻辑比特的 24 × 24 辛作用、认证容错与布线。k = 12 还加一关——可寻址:对整块做的操作不等于对某一个逻辑比特做的门。QEC-Bank 的 5 条记录全是 Clifford、全是 claimed、全是对这一族而非 gross 一块说的;每条的成本字段写明了它没有免费的部分。
Turning the warehouse into a computer takes three gates to pass: preserve the code, compute the 24 × 24 symplectic action on the 12 logical qubits, certify fault tolerance and routing. k = 12 adds a fourth, addressability: an operation on the whole block is not a gate on one logical qubit. All 5 QEC-Bank records are Clifford, all claimed, all about the family rather than the single gross block; each cost field spells out the part that is not free.
横向 CNOT:两块相同的码,逐对做 144 个 CNOTTransversal CNOT: two identical blocks, 144 pairwise CNOTs
记录 0 是 BB 上最便宜的两比特门:拿两块一样的 gross 码,控制块的第 i 个比特对目标块的第 i 个比特做一次物理 CNOT,i 从 0 到 143。这一章用四条共轭规则证明它保持两块的全部稳定子、并在 12 对逻辑比特上同时实现 12 个 CNOT——对任何两块相同的 CSS 码都成立;然后读成本字段,最后说清它不能做什么。 Record 0 is the cheapest two-qubit gate on BB: take two identical gross blocks and apply one physical CNOT from qubit i of the control block to qubit i of the target block, for i from 0 to 143. This chapter proves with four conjugation rules that it preserves every stabilizer of both blocks and implements 12 CNOTs on the 12 logical pairs at once, valid for any two identical CSS codes; then it reads the cost field, and finally states what it cannot do.
2.1四条共轭规则,两块稳定子群Four conjugation rules, the two-block stabilizer group
QEC-Bank 原文的设定:「Take two identical BB blocks, labelled control c and target t, and apply physical CNOT from qubit i of c to qubit i of t for every i.」CNOT 是 Clifford 门,它把 Pauli 算符变成 Pauli 算符(《格点手术 · 高中数学版》5.2 节的 Heisenberg 图景:不跟踪态,只跟踪错误和算符怎样穿过门)。「共轭」就是问:门前的一个 Pauli,挪到门后变成什么。规则只有四条(补课 2.A 在基态上推一遍):
The QEC-Bank set-up: “Take two identical BB blocks, labelled control c and target t, and apply physical CNOT from qubit i of c to qubit i of t for every i.” CNOT is a Clifford gate and maps Pauli operators to Pauli operators (the Heisenberg picture in section 5.2 of “Lattice Surgery · High-School Edition”: instead of following the state, follow how errors and operators pass through the gates). “Conjugation” asks: what does a Pauli in front of the gate become once moved behind it? There are only four rules (catch-up 2.A derives them on basis states):
人话:控制位的 X 复印到目标位;目标位的 Z 复印回控制位;另两个不动plainly: an X on the control is copied onto the target; a Z on the target is copied back onto the control; the other two stay
记号:下标 c、t = 控制(control)块与目标(target)块上编号相同的那一对物理比特;Xc = 控制比特上的 Pauli X,依此类推;⇒ 这里读作「经 CNOT 共轭后变成」。Notation: subscripts c, t = the pair of physical qubits with the same index on the control and target blocks; Xc = Pauli X on the control qubit, and so on; ⇒ here reads “becomes, after conjugation by the CNOT”.
补课 · 四条共轭规则从哪来:在基态上算两条Catch-up · Where the four conjugation rules come from: two of them computed on basis states
「P 经 CNOT 共轭后变成 Q」的意思是 CNOT · P · CNOT = Q(CNOT 自己的逆就是它自己):门前有一个错误 P,等价于门后有一个错误 Q。CNOT 作用在基态上是 |a, b⟩ → |a, a ⊕ b⟩(a 是控制位,b 是目标位,⊕ 是模 2 加)。
“P becomes Q under conjugation by CNOT” means CNOT · P · CNOT = Q (CNOT is its own inverse): an error P before the gate is equivalent to an error Q after it. On basis states CNOT acts as |a, b⟩ → |a, a ⊕ b⟩ (a the control bit, b the target bit, ⊕ addition mod 2).
规则一,Xc:从右往左作用在 |a, b⟩ 上。CNOT 给 |a, a ⊕ b⟩;Xc 翻控制位,给 |a ⊕ 1, a ⊕ b⟩;再一次 CNOT 把目标位加上新的控制位,给 |a ⊕ 1, (a ⊕ b) ⊕ (a ⊕ 1)⟩ = |a ⊕ 1, b ⊕ 1⟩。两位都翻了,所以 CNOT · Xc · CNOT = XcXt。规则四,Zt:CNOT 给 |a, a ⊕ b⟩;Zt 按目标位乘符号 (−1)a ⊕ b;再一次 CNOT 回到 |a, b⟩。总效果是乘 (−1)a + b,正是 ZcZt。另两条(Xt、Zc 不动)同样两行可验:翻目标位与「目标位加上控制位」可以交换次序;控制位的符号不受 CNOT 影响。
Rule one, Xc: act on |a, b⟩ from right to left. CNOT gives |a, a ⊕ b⟩; Xc flips the control, giving |a ⊕ 1, a ⊕ b⟩; the second CNOT adds the new control bit to the target, giving |a ⊕ 1, (a ⊕ b) ⊕ (a ⊕ 1)⟩ = |a ⊕ 1, b ⊕ 1⟩. Both bits flipped, so CNOT · Xc · CNOT = XcXt. Rule four, Zt: CNOT gives |a, a ⊕ b⟩; Zt multiplies by the sign (−1)a ⊕ b of the target bit; the second CNOT returns |a, b⟩. The net effect is the factor (−1)a + b, which is ZcZt. The other two (Xt and Zc unchanged) take two lines as well: flipping the target commutes with “add the control to the target”, and the sign of the control bit is untouched by CNOT.
现在把一条 gross 的 X 检查放进去。控制块的 X 检查 0 是 X 作用在比特 {1, 2, 18, 75, 78, 84} 上(参数导读 1.3 节转录的 reproduce.py 断言)。这六个比特各自与目标块的同号比特做了一次 CNOT,按第一条规则,每个 Xc 都变成 XcXt:结果是「控制块 {1, 2, 18, 75, 78, 84} 上的 X」乘「目标块 {1, 2, 18, 75, 78, 84} 上的 X」——也就是控制块的 X 检查 0 乘以目标块的 X 检查 0,两者都是稳定子,乘积仍是稳定子。目标块的 X 检查 0 按第二条规则不动。Z 一侧对称:控制块的 Z 检查 0(比特 {3, 60, 66, 76, 77, 126})按第三条规则不动;目标块的 Z 检查 0 按第四条规则变成自己乘控制块的 Z 检查 0。QEC-Bank 的原话就是这四句:「an X stabilizer on the control block acquires the matching X stabilizer on the target; an X stabilizer on the target stays fixed. Dually, a target Z stabilizer acquires the matching control Z stabilizer, while a control Z stabilizer stays fixed. Every image remains in the two-block stabilizer group.」这里用到了「两块相同」:目标块的 X 检查 0 恰好也落在 {1, 2, 18, 75, 78, 84} 上,复印过去的 X 才刚好是一条现成的检查。两块不同,复印过去的图形一般不是目标块的稳定子,码就被破坏了。
Now feed in one gross X check. X check 0 of the control block is X on qubits {1, 2, 18, 75, 78, 84} (the reproduce.py assertion transcribed in section 1.3 of the parameters guide). Each of these six qubits did one CNOT with the same-numbered target qubit, so by the first rule every Xc becomes XcXt: the result is “X on control {1, 2, 18, 75, 78, 84}” times “X on target {1, 2, 18, 75, 78, 84}”, that is control X check 0 times target X check 0, both stabilizers, so the product is a stabilizer. Target X check 0 stays fixed by the second rule. The Z side mirrors it: control Z check 0 (qubits {3, 60, 66, 76, 77, 126}) stays fixed by the third rule; target Z check 0 becomes itself times control Z check 0 by the fourth. The QEC-Bank says exactly these four things: “an X stabilizer on the control block acquires the matching X stabilizer on the target; an X stabilizer on the target stays fixed. Dually, a target Z stabilizer acquires the matching control Z stabilizer, while a control Z stabilizer stays fixed. Every image remains in the two-block stabilizer group.” This used “two identical blocks”: target X check 0 also lies exactly on {1, 2, 18, 75, 78, 84}, so the copied X is precisely an existing check. With two different blocks the copied pattern is in general not a stabilizer of the target, and the code is broken.
逻辑算符同理。QEC-Bank:「The same conjugation applies to corresponding logical Pauli pairs, giving the parallel logical CNOT action.」取控制块第 i 个逻辑比特的 X̄i(某个与全部 Z 检查对易、又不是 X 检查乘积的 X 串,BB 教程 4.4 节),第一条规则把它变成 X̄icX̄it;Z̄it 变成 Z̄icZ̄it。这正是「逻辑比特 i(控制)对逻辑比特 i(目标)做 CNOT」的四条特征变换(《格点手术》5.2 节列过),对 i = 1 到 12 同时成立:一层 144 个物理 CNOT = 12 个并行的逻辑 CNOT。这就是 《格点手术》1.2 节说「横向 CNOT 对任何两块相同的 CSS 码成立」的证明——CSS 保证 X 检查只含 X、Z 检查只含 Z,四条规则才能分别套用。
Logical operators follow the same way. QEC-Bank: “The same conjugation applies to corresponding logical Pauli pairs, giving the parallel logical CNOT action.” Take the X̄i of logical qubit i on the control block (some X string commuting with every Z check yet not a product of X checks, BB guide section 4.4); the first rule turns it into X̄icX̄it, and Z̄it becomes Z̄icZ̄it. These are exactly the four characteristic transformations of “CNOT from logical i (control) to logical i (target)” (listed in section 5.2 of “Lattice Surgery”), holding for i = 1 to 12 simultaneously: one layer of 144 physical CNOTs = 12 parallel logical CNOTs. This is the proof behind the statement in section 1.2 of “Lattice Surgery” that “transversal CNOT works for any two identical CSS codes”: CSS guarantees that X checks contain only X and Z checks only Z, so the four rules can be applied separately.
2.2成本字段:对齐、搬运、相关译码The cost field: alignment, transport, correlated decoding
记录 0 的成本原文:「one aligned pairwise physical-CNOT layer; module transport, alignment, and correlated decoding are additional architecture costs」。分号前是门本身:一层对齐的、逐对的物理 CNOT。每个门只碰控制块的一个比特和目标块的一个比特,这就是「横向」;这 144 个门两两不共用比特,可以同时做,所以这个构造的深度是 1(横向本身并不要求深度 1)。分号后是三笔另算的账。模块搬运与对齐:144 对比特要同时两两相邻或相连。表面码那篇1.2 节说过,可移动的中性原子阵列能把两块码叠到一起,固定布线的超导芯片做不到;gross 的两块各 144 个数据比特,还各带 144 个帮手比特,对齐的工程量随之放大。相关译码:CNOT 把控制块的 X 错误复印到目标块(规则一),把目标块的 Z 错误复印回控制块(规则四)——门做完,两块的错误不再独立,译码器必须把两块 288 个数据比特的症状一起译(译码器导读 4.4 节操作合同里「whether X/Z correlations … are present」这一项在此变成「块间相关」)。QEC-Bank 的总结:「This is a code-space statement. A hardware implementation still needs aligned pairs, a fault model for correlated two-block errors, and a decoder that handles them.」人话:2.1 节证的是「码空间层面」的事实;在真机上,它还要一份两块联动的错误模型和一个会处理这种联动的译码器。引文 yoder2025tour(据文献扫描报告:Yoder 等,“Tour de Gross: A Modular Quantum Computer Based on Bivariate Bicycle Codes”,2025,arXiv 2506.03094,登记待补)「embeds this primitive inside a gross-family modular architecture」——把这个原语嵌进一个以 gross 家族为单元的模块化架构里。
Record 0's cost, verbatim: “one aligned pairwise physical-CNOT layer; module transport, alignment, and correlated decoding are additional architecture costs”. Before the semicolon is the gate itself: one layer of aligned, pairwise physical CNOTs. Each gate touches one qubit of the control block and one of the target block, which is what makes it transversal; the 144 gates share no qubits, so they can run at once, and this construction has depth 1 (transversality by itself does not demand depth 1). After the semicolon are three separately billed items. Module transport and alignment: 144 pairs of qubits must be simultaneously adjacent or connected. Section 1.2 of the surface-code guide noted that movable neutral-atom arrays can stack two code blocks while fixed-wiring superconducting chips cannot; two gross blocks have 144 data qubits each plus 144 helper qubits each, and the alignment engineering scales with them. Correlated decoding: the CNOT copies control-block X errors onto the target (rule one) and target-block Z errors back onto the control (rule four); after the gate the errors of the two blocks are no longer independent, and the decoder must decode the syndromes of both blocks' 288 data qubits jointly (the operational-contract item “whether X/Z correlations … are present” of section 4.4 of the decoders guide becomes “inter-block correlations” here). The QEC-Bank sums up: “This is a code-space statement. A hardware implementation still needs aligned pairs, a fault model for correlated two-block errors, and a decoder that handles them.” Plainly: section 2.1 proved a fact “at the code-space level”; on a real machine it still needs a two-block error model and a decoder that handles it. The citation yoder2025tour (per the scout report: Yoder et al., “Tour de Gross: A Modular Quantum Computer Based on Bivariate Bicycle Codes”, 2025, arXiv 2506.03094, registration pending) “embeds this primitive inside a gross-family modular architecture”.
2.3它不能做什么:12 对同时,无法挑选What it cannot do: all 12 pairs at once, no selection
横向 CNOT 的效果是「第 i 个逻辑比特(控制块)→ 第 i 个逻辑比特(目标块),i = 1…12,同时」。它做不到三件事。第一,块内的门:控制块第 3 个与第 7 个逻辑比特之间的 CNOT,它没有任何机制。第二,挑选:只对第 3 对做 CNOT、其余 11 对不做——144 个物理 CNOT 是一起做的,拆不开。第三,任何单比特逻辑门:H、S 都不在这条记录里。QEC-Bank 的卡片承诺表(第 5 章 5.4 节)把记录 0 的边界写成:承诺「aligned pairwise CNOT preserves two BB blocks」,不可推出「zero routing or decoder cost」。所以横向 CNOT 是 BB 门集里的第一块砖,不是全部;第 3、4 章讨论的自同构与手术,正是为了补「块内」与「挑选」这两个缺口。
The transversal CNOT's effect is “logical i (control block) → logical i (target block), for i = 1…12, simultaneously”. Three things it cannot do. First, gates within a block: a CNOT between logical 3 and logical 7 of the control block has no mechanism here. Second, selection: a CNOT on pair 3 only, leaving the other 11 pairs alone; the 144 physical CNOTs are applied together and cannot be separated. Third, any single-qubit logical gate: neither H nor S is in this record. The card's promise table (section 5.4 in Chapter 5) states record 0's boundary as: promise “aligned pairwise CNOT preserves two BB blocks”, excluded inference “zero routing or decoder cost”. So the transversal CNOT is the first brick of the BB gate set, not the whole of it; the automorphisms and surgery of Chapters 3 and 4 exist precisely to fill the “within-block” and “selection” gaps.
四条共轭规则 + 两块相同 + CSS = 横向 CNOT:控制块的 X 检查复印成「自己乘目标块的同号检查」,目标块的 Z 检查复印成「自己乘控制块的同号检查」,全都留在两块的稳定子群里;对逻辑算符同理,得到 12 个并行逻辑 CNOT。成本:一层 144 个对齐的物理 CNOT 之外,还要搬运对齐、以及处理块间相关错误的联合译码器。它不能做块内门、不能挑对、不能做单比特门。
Four conjugation rules + two identical blocks + CSS = transversal CNOT: control X checks are copied into “themselves times the same-numbered target check”, target Z checks into “themselves times the same-numbered control check”, all staying inside the two-block stabilizer group; likewise for logical operators, giving 12 parallel logical CNOTs. Cost: beyond one layer of 144 aligned physical CNOTs, transport and alignment plus a joint decoder for inter-block correlated errors. It cannot do within-block gates, cannot select pairs, cannot do single-qubit gates.
自同构:平移保持码;它对逻辑比特做了什么,要另算Automorphisms: a translation preserves the code; what it does to the logical qubits must be computed
把 gross 的两层比特整体往右挪一格,每条检查变成邻格的那条检查,稳定子群原封不动——这叫码的自同构。72 个平移都是自同构,可 QEC-Bank 一个也没有登记成「逻辑门」。这一章先用矩阵恒等式和一个具体编号证明平移保持码,再照录 QEC-Bank 认证一个门的五步,在小例子上把前四步手算一遍,说清 QEC-Bank 停在哪一步、文献走到了哪一步;然后读记录 1(折叠横向门)与记录 2(自同构导出的 Clifford 门),看文献是怎样把「对称」变成「门」的,以及为什么这些结果不自动属于 gross。 Shift both gross layers one site to the right and every check becomes the neighbouring site's check, leaving the stabilizer group untouched: an automorphism of the code. All 72 translations are automorphisms, yet the QEC-Bank records none of them as a “logical gate”. This chapter first proves with a matrix identity and one concrete index that a translation preserves the code, then copies the QEC-Bank's five steps for certifying a gate, works the first four by hand on a small example, and says where the QEC-Bank stops and how far the literature has gone; then it reads record 1 (fold-transversal gates) and record 2 (automorphism-derived Cliffords) to see how the literature turns “symmetry” into “gate”, and why those results do not automatically belong to gross.
3.1平移保持稳定子:一个恒等式,一个编号Translations preserve the stabilizers: one identity, one index
BB 教程 2.2 节的两个平移 x、y 是 72 × 72 的置换矩阵;A、B、Aᵀ、Bᵀ 都是 x、y 的多项式,所以都与 x、y 对易。QEC-Bank 原文:「Let P be either torus translation x or y, and apply P to both data blocks. Since A, B, Aᵀ, Bᵀ all commute with P, HX diag(P,P) = P HX, HZ diag(P,P) = P HZ. Left multiplication by P merely permutes check rows. Thus the physical qubit permutation maps the stabilizer group to itself. reproduce.py checks these exact matrix identities for the gross instance.」人话:右边乘 diag(P,P) 是「把左层和右层的比特都按 P 重新编号」,左边乘 P 是「把检查的行重新编号」;两者相等,说明比特挪过之后得到的检查集合,只是原来的检查集合换了个顺序。reproduce.py 第 116–120 行对 x 和 y 各断言了这两条恒等式(模 2)。
The two translations x, y of BB guide section 2.2 are 72 × 72 permutation matrices; A, B, Aᵀ, Bᵀ are polynomials in x, y and therefore commute with them. The QEC-Bank text: “Let P be either torus translation x or y, and apply P to both data blocks. Since A, B, Aᵀ, Bᵀ all commute with P, HX diag(P,P) = P HX, HZ diag(P,P) = P HZ. Left multiplication by P merely permutes check rows. Thus the physical qubit permutation maps the stabilizer group to itself. reproduce.py checks these exact matrix identities for the gross instance.” Plainly: multiplying by diag(P,P) on the right “renumbers the qubits of both layers by P”, multiplying by P on the left “renumbers the check rows”; their equality says the set of checks obtained after moving the qubits is the original set in a different order. Lines 116–120 of reproduce.py assert both identities (mod 2) for x and for y.
HZ · diag(P, P) = P · HZ (mod 2),P ∈ {x, y}
gross,P = x:X 检查 0 的六腿gross, P = x: the six legs of X check 0 [1, 2, 18, 75, 78, 84]
⇒ [7, 8, 24, 81, 84, 90] = X 检查 6 的六腿the six legs of X check 6
记号:P = 一个平移(x 往右一格或 y 往上一格),72 × 72 置换矩阵;diag(P, P) = 144 × 144 的分块对角矩阵,左上、右下各放一个 P,即对左层和右层做同一个平移;HX、HZ = 72 × 144 的检查矩阵;∈ 读「属于」。第二行是本篇按构造器约定算的:x 把格子 (i, j) 送到 (i+1, j),编号加 6(每层内模 72),格子 (0,0) 的检查变成格子 (1,0) 的检查,编号 0 → 6。Notation: P = one translation (x one site right or y one site up), a 72 × 72 permutation matrix; diag(P, P) = the 144 × 144 block-diagonal matrix with P in the top-left and bottom-right blocks, i.e. the same translation on the left and right layers; HX, HZ = the 72 × 144 check matrices; ∈ reads “belongs to”. The second line is this guide's computation under the constructor's convention: x sends site (i, j) to (i+1, j), adding 6 to the index (mod 72 within each layer), so the check of site (0,0) becomes the check of site (1,0), index 0 → 6.
到实验台上看这件事。预设 gross,点格子 (0,0) 的 X 检查(圆点),记下六条腿的位置;再点右边相邻格子 (1,0) 的 X 检查:同一个六腿图形整体右移一格,读数里的比特编号各加 6。往上点 (0,1) 的检查是 y 的效果,编号各加 1。x 的 12 个幂与 y 的 6 个幂组合出 12 × 6 = 72 个平移(这是 BB 教程说的 x12 = y6 = 1 的直接推论),每一个都把 72 条 X 检查置换成 72 条 X 检查、72 条 Z 检查置换成 72 条 Z 检查。
See it on the bench. Preset gross, click the X check (circle) of site (0,0) and note the positions of its six legs; then click the X check of the neighbouring site (1,0) to the right: the same six-leg figure shifted one site right, with every qubit index in the readout increased by 6. Clicking the check of (0,1) above shows the effect of y, indices increased by 1. The 12 powers of x combined with the 6 powers of y give 12 × 6 = 72 translations (a direct consequence of x12 = y6 = 1 in the BB guide), each permuting the 72 X checks among themselves and the 72 Z checks among themselves.
3.2从「保持码空间」到「认证一个门」的五步Five steps from “preserves the code space” to “a certified gate”
QEC-Bank 紧接着说:「This proves code-space preservation, not usefulness.」保持码空间只回答了第 1 章三问里的第 ①问。要认证一个逻辑门,QEC-Bank 列出五步,原文照录:
The QEC-Bank continues: “This proves code-space preservation, not usefulness.” Preserving the code space answers only question (1) of Chapter 1's three. To certify a logical gate the QEC-Bank lists five steps, verbatim:
| # | 步骤(原文)Step (verbatim) | 人话In plain words |
|---|---|---|
| 1 | choose a logical Pauli basis | 给 12 个逻辑比特各选一对代表元 X̄i、Z̄i(BB 教程 4.4 节:与全部对方检查对易、又不是本方检查乘积的串)。静态卡片没有固定这个选择。Pick one representative pair X̄i, Z̄i for each of the 12 logical qubits (BB guide section 4.4: strings commuting with every opposite-type check yet not products of same-type checks). The static card does not fix this choice. |
| 2 | conjugate every basis element by the physical permutation | 把每个代表元的比特编号按 P 重新编号,得到 24 个新的 Pauli 串。Renumber the qubits of each representative by P, obtaining 24 new Pauli strings. |
| 3 | reduce each image modulo stabilizers | 每个新串乘上若干检查,化成「某些 X̄j、Z̄j 的乘积」——这一步要解 GF(2) 线性方程。Multiply each new string by checks until it reads “a product of some X̄j, Z̄j”; this step solves GF(2) linear equations. |
| 4 | assemble the induced 24×24 binary symplectic action for the twelve logical qubits | 把 24 个结果各写成一行 0/1(哪些 X̄j、Z̄j 出现),拼成 1.2 节的 24 × 24 矩阵。Write each of the 24 results as a 0/1 row (which X̄j, Z̄j appear) and assemble the 24 × 24 matrix of section 1.2. |
| 5 | determine whether the desired physical routing is fault tolerant | 在真机上「把 144 个比特各挪一格」怎么做(搬原子?交换耦合?),途中一个错误会不会传成多个。How “move each of 144 qubits one site” is done on hardware (move atoms? swap couplers?), and whether one error along the way spreads into several. |
做完第 4 步,可能得到三种结果,QEC-Bank 原文:「The action may be trivial, may permute logicals, or may implement a coupled Clifford.」人话:平移对 12 个逻辑比特可能什么也没做(24 × 24 是单位矩阵——逻辑信息对平移「看不见」;平移不产生符号,见补课 1.A,所以这里单位矩阵就是真的什么也没做);可能把逻辑比特换了位置(第 3 个变成第 7 个之类);也可能是一个把几个逻辑比特缠在一起的 Clifford 门。哪一种,要算了才知道。结论一句:「The card does not call translations logical gates because the gross action has not been certified there.」intuition.md 的第五道自测题问的就是这个:「If translations preserve the stabilizers, are they already twelve addressable logical gates?」答:「No. Stabilizer preservation proves only that the code space maps to itself. One must compute the induced action on a logical Pauli basis; it may be trivial, may mix several logical qubits, and may be expensive to route. The card records only operations with a cited certificate and explicit applicability.」这就是「自同构 ≠ 门」的全部内容:对 gross,QEC-Bank 只登记了第 ① 问的答案;第 ②③ 问的答案在文献里(3.2.2 节),QEC-Bank 没有复现,本篇也只复现了第 ② 问。
After step 4 there are three possible outcomes, in the QEC-Bank's words: “The action may be trivial, may permute logicals, or may implement a coupled Clifford.” Plainly: the translation may do nothing at all to the 12 logical qubits (the 24 × 24 matrix is the identity; the logical information “does not see” the shift; translations produce no signs, see Catch-up 1.A, so here the identity matrix really means nothing happens); it may swap logical qubits around (logical 3 becomes logical 7, say); or it may be a Clifford gate entangling several logical qubits. Which one, you only know after computing. The conclusion in one sentence: “The card does not call translations logical gates because the gross action has not been certified there.” The fifth litmus question of intuition.md asks exactly this: “If translations preserve the stabilizers, are they already twelve addressable logical gates?” Answer: “No. Stabilizer preservation proves only that the code space maps to itself. One must compute the induced action on a logical Pauli basis; it may be trivial, may mix several logical qubits, and may be expensive to route. The card records only operations with a cited certificate and explicit applicability.” That is the whole content of “automorphism ≠ gate”: for gross the QEC-Bank records only the answer to question (1); answers to questions (2) and (3) are in the literature (section 3.2.2), which the QEC-Bank has not reproduced, and this guide reproduces only question (2).
3.2.1 · 在 toric_L3 上把前四步手算一遍3.2.1 · The first four steps by hand on toric_L3
前四步可以在最小的 BB 实例上完全手算:toric_L3(A = 1 + x,B = 1 + y,3 × 3 环面,18 个比特,k = 2)。编号同实验台:左层比特 L(i, j) 的编号是 i·3 + j,右层比特 R(i, j) 的编号是 9 + i·3 + j。先把检查的腿读出来(实验台选 toric_L3 可以逐条点出来核对;坐标都模 3):X 检查 (i, j) 碰 L(i, j)、L(i+1, j)、R(i, j)、R(i, j+1);Z 检查 (i, j) 碰 L(i, j)、L(i, j−1)、R(i, j)、R(i−1, j)。
The first four steps can be done entirely by hand on the smallest BB instance: toric_L3 (A = 1 + x, B = 1 + y, 3 × 3 torus, 18 qubits, k = 2). Numbering as in the lab bench: the left-layer qubit L(i, j) has index i·3 + j, the right-layer qubit R(i, j) has index 9 + i·3 + j. First read off the legs of the checks (choose toric_L3 in the lab bench and click them one by one to check; all coordinates mod 3): X check (i, j) touches L(i, j), L(i+1, j), R(i, j), R(i, j+1); Z check (i, j) touches L(i, j), L(i, j−1), R(i, j), R(i−1, j).
第 1 步,选逻辑基。k = 2,要两对代表元。X̄1 = 左层竖列 L(0, 0)、L(0, 1)、L(0, 2) 上的 X(比特 {0, 1, 2});X̄2 = 右层横行 R(0, 0)、R(1, 0)、R(2, 0) 上的 X(比特 {9, 12, 15});Z̄1 = 左层横行 L(0, 0)、L(1, 0)、L(2, 0) 上的 Z(比特 {0, 3, 6});Z̄2 = 右层竖列 R(0, 0)、R(0, 1)、R(0, 2) 上的 Z(比特 {9, 10, 11})。它们要满足三件事,每件都能数出来。(a) 骗过对方的检查:Z 检查读的是它与 X 串重叠个数的奇偶。Z 检查 (0, j) 碰 L(0, j) 和 L(0, j−1),两个都在 X̄1 里,重叠 2;其余 Z 检查不碰 X̄1,重叠 0;所以 X̄1 让全部 Z 检查读 0。另外三个照同样的办法数。(b) 配成对:X̄1 与 Z̄1 只共用比特 0(1 个,奇数,反对易),X̄2 与 Z̄2 只共用比特 9;X̄1 与 Z̄2、X̄2 与 Z̄1 不共用比特(对易)。(c) 不是检查的乘积:Z̄1 骗过全部 X 检查,即与每条 X 检查重叠偶数个比特,于是与任何几条 X 检查的乘积也重叠偶数个;X̄1 与 Z̄1 重叠 1 个,所以 X̄1 不可能是 X 检查的乘积。X̄2 用 Z̄2 作证,Z̄1、Z̄2 分别用 X̄1、X̄2 作证,道理相同。
Step 1, choose a logical basis. k = 2, so two pairs of representatives are needed. X̄1 = X on the left-layer column L(0, 0), L(0, 1), L(0, 2) (qubits {0, 1, 2}); X̄2 = X on the right-layer row R(0, 0), R(1, 0), R(2, 0) (qubits {9, 12, 15}); Z̄1 = Z on the left-layer row L(0, 0), L(1, 0), L(2, 0) (qubits {0, 3, 6}); Z̄2 = Z on the right-layer column R(0, 0), R(0, 1), R(0, 2) (qubits {9, 10, 11}). They must satisfy three things, each of which can be counted. (a) Pass the other kind of check: a Z check reads the parity of its overlap with an X string. Z check (0, j) touches L(0, j) and L(0, j−1), both in X̄1, overlap 2; the other Z checks miss X̄1, overlap 0; so X̄1 makes every Z check read 0. Count the other three the same way. (b) Pair up: X̄1 and Z̄1 share only qubit 0 (one, odd, anticommute), X̄2 and Z̄2 share only qubit 9; X̄1 and Z̄2, and X̄2 and Z̄1, share no qubit (commute). (c) Not a product of checks: Z̄1 passes every X check, i.e. overlaps each X check in an even number of qubits, hence overlaps any product of X checks evenly too; X̄1 overlaps Z̄1 in one qubit, so X̄1 cannot be a product of X checks. X̄2 has Z̄2 as its witness, and Z̄1, Z̄2 have X̄1, X̄2, by the same argument.
第 2 步,用 x 共轭。x 把两层的每个格子 (i, j) 都挪到 (i+1, j),编号加 3(左层在 0…8 里、右层在 9…17 里循环)。第 3 步,模稳定子约化。把平移后的串与原串相加(模 2,两边都有的比特消掉),看这个差能不能写成检查的乘积。四个代表元的结果:
Step 2, conjugate by x. x moves every site (i, j) of both layers to (i+1, j), adding 3 to the index (cycling within 0…8 on the left and 9…17 on the right). Step 3, reduce modulo stabilizers. Add the shifted string to the original (mod 2: qubits in both cancel) and ask whether the difference is a product of checks. The four representatives give:
| 代表元representative | 原来的比特original qubits | x 平移后after x | 两者之差(模 2)difference (mod 2) | 差 = 哪几条检查之积difference = product of |
|---|---|---|---|---|
| X̄1 | L(0, j):{0, 1, 2}L(0, j): {0, 1, 2} | L(1, j):{3, 4, 5}L(1, j): {3, 4, 5} | {0, 1, 2, 3, 4, 5} | X 检查 (0,0)、(0,1)、(0,2)(编号 0、1、2)X checks (0,0), (0,1), (0,2) (indices 0, 1, 2) |
| X̄2 | R(i, 0):{9, 12, 15}R(i, 0): {9, 12, 15} | R(i+1, 0):{12, 15, 9},同一行R(i+1, 0): {12, 15, 9}, the same row | 空empty | 不需要检查no checks needed |
| Z̄1 | L(i, 0):{0, 3, 6}L(i, 0): {0, 3, 6} | L(i+1, 0):{3, 6, 0},同一行L(i+1, 0): {3, 6, 0}, the same row | 空empty | 不需要检查no checks needed |
| Z̄2 | R(0, j):{9, 10, 11}R(0, j): {9, 10, 11} | R(1, j):{12, 13, 14}R(1, j): {12, 13, 14} | {9, 10, 11, 12, 13, 14} | Z 检查 (1,0)、(1,1)、(1,2)(编号 3、4、5)Z checks (1,0), (1,1), (1,2) (indices 3, 4, 5) |
所以 x·X̄1 = X̄1 ×(X 检查 0、1、2),x·Z̄2 = Z̄2 ×(Z 检查 3、4、5),另外两个的像就是它们自己:四个像都只与原来的代表元差一个稳定子,代表同一个逻辑算符。第 4 步,拼矩阵。把每个像按 (X̄1 X̄2 | Z̄1 Z̄2) 写成一行:(1 0 | 0 0)、(0 1 | 0 0)、(0 0 | 1 0)、(0 0 | 0 1),是 4 × 4 单位矩阵;平移不带符号(补课 1.A),所以 x 在 toric_L3 上真的什么也没做。图上的理由:沿 x 挪一个绕 y 方向的圈(X̄1、Z̄2),它还绕着同一个方向,只差几条检查;沿 x 挪一个绕 x 方向的圈(X̄2、Z̄1),它原地不动。
So x·X̄1 = X̄1 × (X checks 0, 1, 2), x·Z̄2 = Z̄2 × (Z checks 3, 4, 5), and the other two images are the representatives themselves: all four images differ from the originals by a stabilizer and represent the same logical operators. Step 4, assemble the matrix. Write each image as a row in the order (X̄1 X̄2 | Z̄1 Z̄2): (1 0 | 0 0), (0 1 | 0 0), (0 0 | 1 0), (0 0 | 0 1), the 4 × 4 identity; translations carry no signs (Catch-up 1.A), so on toric_L3 x really does nothing. The picture behind it: shift a loop that winds in the y direction (X̄1, Z̄2) along x and it still winds the same way, differing by a few checks; shift a loop that winds in the x direction (X̄2, Z̄1) along x and it stays where it was.
3.2.2 · 同样的计算放到 gross 上3.2.2 · The same computation on gross
本篇用一段脚本对 gross 跑了同样的前四步(notes/operations/verify.py;逻辑基由脚本选取,下面的结论与怎么选无关)。结果与 toric_L3 截然不同:x 的 24 × 24 辛作用不是单位矩阵;没有任何一个非平凡的逻辑 Pauli 被 x 保持不变(矩阵减去单位矩阵后秩为 24,满秩);x 连做 6 次,逻辑作用才回到单位,尽管 x 作为比特的挪动要做 12 次才回到原位。y 的结果相同:不是单位,没有不动的逻辑 Pauli,6 次回到单位(y 本身挪 6 次就回原位)。把 72 个平移逐个算过,只有「不动」和 x6 两个在逻辑上什么也不做,所以 72 个平移恰好给出 36 种不同的逻辑作用。平移只把 X 串搬成 X 串、Z 串搬成 Z 串,所以每一种都是由逻辑 CNOT 组成的线路,不含 H、S。
This guide ran the same first four steps on gross with a script (notes/operations/verify.py; the script picks the logical basis, and the conclusions below do not depend on that choice). The result is unlike toric_L3: the 24 × 24 symplectic action of x is not the identity; no non-trivial logical Pauli is left unchanged by x (the matrix minus the identity has rank 24, full rank); and x must be applied 6 times before its logical action returns to the identity, although as a movement of qubits it takes 12 applications to return. y gives the same: not the identity, no fixed logical Pauli, identity after 6 applications (y itself returns after 6 moves). Checking all 72 translations one by one, only “stay” and x6 do nothing logically, so the 72 translations give exactly 36 distinct logical actions. A translation carries X strings to X strings and Z strings to Z strings, so each of these actions is a circuit of logical CNOTs, with no H or S.
第 5 步,文献已经做了。Bravyi 等(arXiv 2308.07915,第 9.2 节与表 8)给出了容错线路:只用症状测量本来就要的连线,把数据比特经过帮手比特搬一圈,一次实现形如 AjAkᵀ 或 BjBkᵀ 的平移(Aj、Bk 是 A、B 的单项式,也就是一条腿对应的那一步),CNOT 深度 4,途中把帮手比特重置到 |0⟩,错误不会在数据比特之间传开。论文指出,只要 Tanner 图连通,这些平移组合起来就得到全部平移(gross 的 72 个)。他们的用途是寻址:平移把逻辑算符的整张网格挪动,配合论文第 9.4 节的辅助测量系统,就能选定测哪一个逻辑比特;作为门,他们写道这些 CNOT 线路「怎样用于有用的计算并不清楚」。所以本章说「平移不是门」,准确的范围是:QEC-Bank 没有为 gross 登记平移的逻辑作用和容错线路,本篇也没有复现表 8 的线路;并不是说没人做过。它每次都搬动全部 12 个逻辑比特,正是 1.1 节说的「集体操作不等于可寻址」;在 Bravyi 等的方案里,它是寻址的工具,不是单独作用在某个逻辑比特上的门。
Step 5 has been done in the literature. Bravyi et al. (arXiv 2308.07915, section 9.2 and Table 8) give fault-tolerant circuits: using only the connections that syndrome measurement already needs, they move the data qubits round a loop through the helper qubits and implement in one go a translation of the form AjAkᵀ or BjBkᵀ (Aj, Bk are monomials of A and B, i.e. the step behind one leg), with CNOT depth 4, resetting the helper qubits to |0⟩ along the way so that errors cannot spread between data qubits. The paper notes that whenever the Tanner graph is connected these translations combine into all translations (the 72 of gross). Their use is addressing: a translation shifts the whole grid of logical operators, and together with the ancilla measurement system of the paper's section 9.4 it selects which logical qubit gets measured; as gates, they write that “it is not clear how to use these CNOT circuits to facilitate useful computations”. So when this chapter says “a translation is not a gate”, the exact scope is: the QEC-Bank records no logical action and no fault-tolerant circuit for gross translations, and this guide has not reproduced the circuits of Table 8; it does not mean nobody has done it. Each translation moves all 12 logical qubits at once, which is exactly the “a collective operation is not addressability” of section 1.1; in the scheme of Bravyi et al. it is a tool for addressing, not a gate acting on one chosen logical qubit.
有一处与文献对不上:Bravyi 等第 9.2 节写道,除了「不动」,每个平移的逻辑作用都不是恒等(“A transformation of this form cannot act like the logical identity”);本篇的脚本却算得 x6 在 gross 上的逻辑作用是恒等(12 个 X 型、12 个 Z 型基元素逐一核对:平移后与原来相同,或只差若干条检查)。本篇没有找到原因,记为待查;上面其余结论不依赖这一点。本节第一段和这一段的数字是本篇自己算的,不是 QEC-Bank 的证书;sayginel2025automorphisms 报告过 gross 的逻辑作用群,本篇没有与它逐项对照。
One point disagrees with the paper: section 9.2 of Bravyi et al. says that apart from “stay”, no translation acts as the logical identity (“A transformation of this form cannot act like the logical identity”); this guide's script finds that x6 acts as the logical identity on gross (checked element by element for the 12 X-type and 12 Z-type basis elements: after the shift each equals the original, or differs from it by a few checks). This guide has not found the reason and lists it as open; the other conclusions above do not depend on it. The numbers in this section's first paragraph and in this one are this guide's own computation, not a QEC-Bank certificate; sayginel2025automorphisms reports the logical action group of gross, and this guide has not compared the two entry by entry.
3.3记录 1:折叠横向门,对称是一种选码条件Record 1: fold-transversal gates, symmetry as a code-selection condition
记录 1 的门叫「selected logical Clifford generators」,机制 fold-transversal,引文 eberhardt2024fold(据文献扫描报告:Eberhardt 与 Steffan,“Logical Operators and Fold-Transversal Gates of Bivariate Bicycle Codes”,2024,arXiv 2407.03973,登记待补)。QEC-Bank 的解释:「A fold pairs qubits related by a reflection or other involution so that constant-depth physical Cliffords implement a logical operation.」人话:找一个把环面「对折」的对称(反射之类,做两次回到原处的那种),把折线两侧对应的比特配成对,对每一对做同一个两比特 Clifford 门(或对折线上的比特做单比特门)——深度仍是常数,但门不再是「第 i 对第 i」,而是「第 i 对它的镜像」。文献为对称的 BB 例子构造了显式的逻辑基与这样的门,QEC-Bank 点名两个:[[98,6,12]] 与 [[162,8,12]]——注意这两个都不是 QEC-Bank 的 BB 实例,也不在 Table 3 里。
Record 1's gate is “selected logical Clifford generators”, mechanism fold-transversal, citation eberhardt2024fold (per the scout report: Eberhardt and Steffan, “Logical Operators and Fold-Transversal Gates of Bivariate Bicycle Codes”, 2024, arXiv 2407.03973, registration pending). The QEC-Bank explanation: “A fold pairs qubits related by a reflection or other involution so that constant-depth physical Cliffords implement a logical operation.” Plainly: find a symmetry that “folds” the torus (a reflection or similar, one that returns you home when done twice), pair the qubits mirrored across the fold line, and apply the same two-qubit Clifford to every pair (or a single-qubit gate on the qubits on the line); the depth is still constant, but the gate is no longer “i with i” but “i with its mirror image”. The paper constructs explicit logical bases and such gates for symmetric BB examples, of which the QEC-Bank names two: [[98,6,12]] and [[162,8,12]]; note that neither is a QEC-Bank BB instance, nor in Table 3.
证书有三部分,QEC-Bank 原文:「the physical permutation is an automorphism of the chosen check spaces; its induced logical Pauli action is computed; the folded interaction pattern is available or routable.」正是第 1 章的三问。成本原文:「a fold/permutation plus constant-depth physical Clifford layers; only symmetric BB instances with a resolved logical action qualify」。分号后是这条记录的边界:只有具备那种对称、且逻辑作用已经算出的 BB 实例才算。QEC-Bank 把它说成一句方法论:「The extra symmetry is a code-selection condition. These examples do not imply that the original [[144,12,12]] gross block has the same fold gate.」人话:这不是「BB 码有折叠门」,而是「挑出有某种对称的 BB 码,它们有折叠门」;gross 有没有,要对 gross 单独做那五步,文献没有替它做。
The certificate has three parts, in the QEC-Bank's words: “the physical permutation is an automorphism of the chosen check spaces; its induced logical Pauli action is computed; the folded interaction pattern is available or routable.” Exactly Chapter 1's three questions. The cost, verbatim: “a fold/permutation plus constant-depth physical Clifford layers; only symmetric BB instances with a resolved logical action qualify”. After the semicolon is this record's boundary: only BB instances that possess that symmetry and whose logical action has been computed qualify. The QEC-Bank puts it as a rule of method: “The extra symmetry is a code-selection condition. These examples do not imply that the original [[144,12,12]] gross block has the same fold gate.” Plainly: this is not “BB codes have fold gates” but “select BB codes with a certain symmetry, and those have fold gates”; whether gross does requires running the five steps on gross itself, which the paper did not do for it.
3.4记录 2:从 Tanner 图自同构到 Clifford 门的一般流程Record 2: the general workflow from Tanner-graph automorphisms to Cliffords
记录 2 的门叫「logical Clifford operations through automorphisms」,机制在卡片上同样标为 fold-transversal,引文 sayginel2025automorphisms(Sayginel、Koutsioumpas、Webster、Rajput、Browne,“Fault-Tolerant Logical Clifford Gates from Code Automorphisms”,2025,arXiv 2409.18175,已登记完整元数据)。QEC-Bank:「sayginel2025automorphisms generalizes the workflow: find Tanner-graph automorphisms, resolve their logical symplectic actions, and compile useful Cliffords. Again, graph preservation without the logical action is only the first step.」人话:不限于反射和平移,把 Tanner 图的所有自同构(把比特换比特、检查换检查而保持连线的置换)都搜出来,对每一个做 3.2 节的五步算出 24 × 24 的辛作用,再从这些作用里拼出有用的 Clifford 门。这是把「对称 → 门」变成一条可以对任何码执行的流水线。同一组作者还用自同构做译码(译码器导读 3.5 节的 koutsioumpas2025autdec):同一批对称,一边用来搬逻辑比特,一边用来换译码帧。
Record 2's gate is “logical Clifford operations through automorphisms”, its mechanism likewise labelled fold-transversal on the card, citation sayginel2025automorphisms (Sayginel, Koutsioumpas, Webster, Rajput, Browne, “Fault-Tolerant Logical Clifford Gates from Code Automorphisms”, 2025, arXiv 2409.18175, full metadata registered). QEC-Bank: “sayginel2025automorphisms generalizes the workflow: find Tanner-graph automorphisms, resolve their logical symplectic actions, and compile useful Cliffords. Again, graph preservation without the logical action is only the first step.” Plainly: not just reflections and translations; search out every automorphism of the Tanner graph (permutations swapping qubits with qubits and checks with checks while preserving the edges), run the five steps of section 3.2 on each to get its 24 × 24 symplectic action, and then compile useful Clifford gates from those actions. This turns “symmetry → gate” into a pipeline that can be run on any code. The same group also uses automorphisms for decoding (koutsioumpas2025autdec in section 3.5 of the decoders guide): the same symmetries, used once to move logical qubits and once to change decoding frames.
成本原文:「a certified Tanner-graph permutation and its physical routing; the induced symplectic action must be computed for the chosen block」。「for the chosen block」四个字是重点:流程是一般的,结果是逐块的——对 gross 跑一遍才有 gross 的门表;QEC-Bank 没有替 gross 认证这一步,卡片的用词是「未在此认证」,不是「无人算过」(sayginel2025automorphisms 就报告了 gross 的逻辑作用群)。卡片承诺表把记录 2 的边界写成:承诺「a resolved logical action can implement Cliffords」,不可推出「every graph symmetry is useful」(第 4 步可能算出单位矩阵)。
The cost, verbatim: “a certified Tanner-graph permutation and its physical routing; the induced symplectic action must be computed for the chosen block”. The words “for the chosen block” are the point: the workflow is general, the results are per block; only running it on gross yields gross's gate table; the QEC-Bank has not certified that step for gross — the card says “not certified there”, not “never computed” (sayginel2025automorphisms does report gross's logical-action group). The card's promise table states record 2's boundary as: promise “a resolved logical action can implement Cliffords”, excluded inference “every graph symmetry is useful” (step 4 may return the identity matrix).
自同构是「保持码」的物理置换:gross 的 72 个平移都是(HX diag(P,P) = P HX,检查 0 → 检查 6)。门还差两问:算出 24 × 24 的辛作用(一般可能是单位、置换或缠绕的 Clifford;toric_L3 上是单位,gross 上本篇算得不是,而是 36 种逻辑 CNOT 线路),认证容错布线(gross 的平移有 Bravyi 等表 8 的线路,用于寻址)。记录 1 与 2 是文献对选定实例走完这两问的结果——对称是选码条件,结论逐块成立;gross 的门表 QEC-Bank 没有登记,文献里有计算(3.2.2 节)。
An automorphism is a physical permutation that “preserves the code”: all 72 gross translations are (HX diag(P,P) = P HX, check 0 → check 6). A gate needs two more answers: compute the 24 × 24 symplectic action (in general the identity, a permutation, or an entangling Clifford; on toric_L3 it is the identity, on gross this guide finds it is not, but one of 36 logical CNOT circuits), and certify fault-tolerant routing (gross translations have the circuits of Table 8 of Bravyi et al., used for addressing). Records 1 and 2 are the literature's completion of those two answers for selected instances; symmetry is a code-selection condition, conclusions hold block by block; the QEC-Bank records no gate table for gross, and the literature has computed one (section 3.2.2).
对。这是 intuition.md 第五道自测题的原答案:「Stabilizer preservation proves only that the code space maps to itself.」平移与逻辑比特之间也没有「一个对一个」的关系——72 个平移作用在同一组 12 个逻辑比特上,效果要算了才知道;3.2.2 节逐个算过:只有「不动」和 x⁶ 在逻辑上什么也不做,所以 72 个平移恰好给出 36 种不同的逻辑作用。
Right. This is the original answer to the fifth litmus question in intuition.md: “Stabilizer preservation proves only that the code space maps to itself.” Nor is there any “one to one” relation between translations and logical qubits: all 72 translations act on the same 12 logicals, with an effect known only after computing; section 3.2.2 checks them one by one: only “stay” and x⁶ do nothing logically, so the 72 translations give exactly 36 distinct logical actions.
回看 3.2 节的五步:恒等式只完成了「保持码」;第 3、4 步(模稳定子约化、拼出 24 × 24 矩阵)对 gross 在 QEC-Bank 里尚未认证。「72」是平移的个数,与逻辑比特数 12 无关。
Reread the five steps of section 3.2: the identity only accomplishes “preserve the code”; steps 3 and 4 (reduce modulo stabilizers, assemble the 24 × 24 matrix) have not been certified for gross in the QEC-Bank. “72” is the number of translations and has nothing to do with the 12 logical qubits.
手术与模块化:借辅助系统测块间的乘积算符Surgery and modules: measuring inter-block product operators through an ancilla
横向 CNOT 不能挑对、自同构门尚未认证,那么「对第 3 个和第 7 个逻辑比特做门」靠什么?记录 3 的答案与表面码相同:不搬比特,而是测量——借一块辅助码测两个逻辑算符的乘积,读数记入 Pauli 帐(Pauli frame:不立即去纠正,只在经典记录里记下「这里欠一个 X 或 Z」,之后读结果时一并改正)。这一章先把《格点手术》的机制搬到 BB 上,再读成本字段里的五项资源,最后说明 k = 12 为什么让「测哪个逻辑算符」这件事本身成了问题。 If the transversal CNOT cannot select pairs and automorphism gates are uncertified, how does one “apply a gate to logical 3 and logical 7”? Record 3 answers as the surface code does: do not move qubits, measure; measure the product of two logical operators through an ancilla code and book the outcome in the Pauli frame (instead of correcting at once, keep a classical note “an X or Z is owed here” and fix the results when they are read). This chapter carries the mechanism of “Lattice Surgery” over to BB, reads the five resources in the cost field, and finally explains why k = 12 makes “which logical operator to measure” a question in its own right.
4.1机制回顾:测乘积算符,读奇偶,不读内容Mechanism recap: measure a product operator, learn the parity, not the content
《格点手术 · 高中数学版》第 2 章把核心动作算透了:测 Z̄AZ̄B 只区分「两个逻辑比特相同 / 不同」两组振幅,组内比例原样保留(2.1 节的四个振幅);第 3 章用一排局域的缝合检查把这个非局域算符测出来(3.2 节:缝合比特成对抵消,乘积恰好是 Z̄AZ̄B);第 5 章证明两次这样的测量加一次读出等于一个 CNOT,读数记入 Pauli 帐;第 6 章说明为什么要维持 d 轮。这些代数一个字不用改。先在两比特实验台上重做一次「测 ZZ」,把「学到奇偶、不学到内容」找回手感:
Chapter 2 of “Lattice Surgery · High-School Edition” worked the core move out in full: measuring Z̄AZ̄B distinguishes only the “two logicals equal / different” groups of amplitudes and preserves the ratios within each group (the four amplitudes of section 2.1); Chapter 3 measures this non-local operator with a row of local seam checks (section 3.2: seam qubits cancel in pairs, the product is exactly Z̄AZ̄B); Chapter 5 proves that two such measurements plus one readout equal a CNOT, with outcomes booked in the Pauli frame; Chapter 6 explains why it must be held for d rounds. None of that algebra changes by a letter. First redo “measure ZZ” on the two-qubit bench to recover the feel of “learn the parity, not the content”:
BB 上的版本,QEC-Bank 原文:「Long-range surgery uses an ancilla code or patch to measure joint logical Paulis between data blocks. Repeated syndrome extraction makes the parity measurement fault tolerant; classical feed-forward completes teleportation or Clifford gadgets.」三句对应三件事:辅助码(表面码那篇的缝合线与辅助贴片,在这里是一块单独的辅助码或贴片)、重复测量(维持若干轮,让读数容错)、经典前馈(按读数记账或补一个 Pauli,完成隐形传态或 Clifford 门)。「long-range」按原文说的是辅助系统在「data blocks」之间测量:表面码的两块贴片沿边界相邻,缝合线是局域的;BB 架构里要连起来的是两块各自独立的码块,可能是相距很远的模块,辅助系统要跨过这段距离。文献:cohen2022longrange(据文献扫描报告:Cohen、Kim、Bartlett、Brown,“Low-Overhead Fault-Tolerant Quantum Computing Using Long-Range Connectivity”,2022,arXiv 2110.10794,登记待补)「develops the general infrastructure for high-rate codes」;yoder2025tour「supplies a gross-family instruction set, compilation path, and resource estimates for distance-12 and distance-18 modules」——为 d = 12(gross)与 d = 18([[288,12,18]])两种模块给出指令集、编译路径与资源估计。
The BB version, in the QEC-Bank's words: “Long-range surgery uses an ancilla code or patch to measure joint logical Paulis between data blocks. Repeated syndrome extraction makes the parity measurement fault tolerant; classical feed-forward completes teleportation or Clifford gadgets.” Three sentences, three things: an ancilla code (the seam and ancilla patch of the surface-code guide, here a separate ancilla code or patch), repeated measurement (held for several rounds so the outcome is fault tolerant), classical feed-forward (book the outcome or apply a Pauli, completing a teleportation or a Clifford gadget). “Long-range”, as the quote says, is about measuring “between data blocks”: two surface-code patches sit side by side along a boundary and the seam is local; in a BB architecture the two things to join are separate code blocks, possibly modules far apart, and the ancilla system has to bridge that distance. Literature: cohen2022longrange (per the scout report: Cohen, Kim, Bartlett, Brown, “Low-Overhead Fault-Tolerant Quantum Computing Using Long-Range Connectivity”, 2022, arXiv 2110.10794, registration pending) “develops the general infrastructure for high-rate codes”; yoder2025tour “supplies a gross-family instruction set, compilation path, and resource estimates for distance-12 and distance-18 modules”, i.e. instruction set, compilation path and resource estimates for the d = 12 (gross) and d = 18 ([[288,12,18]]) modules.
4.2成本字段:五项资源,一个标签The cost field: five resources, one label
记录 3 的成本原文:「long-range ancilla patches, repeated measurements, and a joint decoder; the resource count belongs to the selected modular protocol」。logical-operations.md 把它展开成五项,原文照录:
Record 3's cost, verbatim: “long-range ancilla patches, repeated measurements, and a joint decoder; the resource count belongs to the selected modular protocol”. logical-operations.md expands it into five items, verbatim:
| 资源(原文)Resource (verbatim) | 人话In plain words | 表面码手术里的对应物Counterpart in surface-code surgery |
|---|---|---|
| an ancilla or communication module | 一块额外的辅助码或通信模块,本身要占比特、要纠错。An extra ancilla code or communication module, which itself takes qubits and needs correction. | 辅助贴片 Athe ancilla patch A |
| repeated extraction rounds | 乘积测量要维持多轮才可信;每轮都是时间。The product measurement must be held for several rounds to be trusted; every round is time. | 维持 d 轮holding for d rounds |
| boundary/interface checks or long-range couplers | 把辅助系统接到数据块上的新检查或长程耦合器。New checks or long-range couplers connecting the ancilla system to the data blocks. | 缝合比特与缝合检查seam qubits and seam checks |
| a joint detector model and decoder | 合并期间数据块 + 辅助系统的探测器要一起译(译码器导读 4.2 节)。During the merge the detectors of data blocks + ancilla system must be decoded together (decoders guide 4.2). | 整段历史的时空译码spacetime decoding of the whole history |
| idle and routing exposure of the packed logical qubits | 手术进行时,同一块里另外 11 个逻辑比特在等待,等待中照样出错。While the surgery runs, the other 11 logicals in the same block wait, and errors accrue while waiting. | 无直接对应:表面码一块贴片只有一个逻辑比特No direct counterpart: a surface patch holds a single logical |
QEC-Bank 给了标签的理由:「These operations are not transversal properties of one BB check matrix. … The card labels the mechanism surgery so those resources are not hidden under ‘logical Clifford.’」人话:如果只写「Clifford 门,claimed」,读者会以为它像横向 CNOT 那样是一层门;写成 surgery,就提醒你上面五项都要另算。成本字段末句「the resource count belongs to the selected modular protocol」——具体数字(多少辅助比特、多少轮、多少耦合器)属于所选的那个模块化方案(yoder2025tour 给了它的一套),不属于 gross 的矩阵;QEC-Bank 没有登记任何数字,本篇也不给。
The QEC-Bank gives the reason for the label: “These operations are not transversal properties of one BB check matrix. … The card labels the mechanism surgery so those resources are not hidden under ‘logical Clifford.’” Plainly: had it written only “Clifford gate, claimed”, a reader would assume a single gate layer like the transversal CNOT; writing surgery reminds you that all five items above are billed separately. The cost field's last clause, “the resource count belongs to the selected modular protocol”: the concrete numbers (how many ancilla qubits, how many rounds, how many couplers) belong to the chosen modular scheme (yoder2025tour gives one such set), not to gross's matrix; the QEC-Bank registers no number, and this guide supplies none.
4.3k = 12 让「测哪个算符」成为问题k = 12 turns “which operator to measure” into a question
表面码一块贴片只有一对 X̄、Z̄,「测 Z̄AZ̄B」没有歧义。gross 一块有 12 对,要对第 3 个逻辑比特和另一块的第 7 个做门,先得回答:第 3 个逻辑比特的 Z̄3 是哪一串 Z?这正是 3.2 节五步的第 1 步「choose a logical Pauli basis」——静态卡片没有固定它,是架构方案的选择。选定之后,有两件事可以确定地说。
A surface-code patch has one pair X̄, Z̄, so “measure Z̄AZ̄B” is unambiguous. A gross block has 12 pairs; to apply a gate between its logical 3 and another block's logical 7 you must first answer: which string of Z's is Z̄3? This is exactly step 1 of section 3.2, “choose a logical Pauli basis”, which the static card does not fix and the architecture must choose. Once it is chosen, two things can be said for certain.
重量有下界。任何 Z 型逻辑算符的代表元至少碰 12 个比特:码距 d = 12 的意思就是,比 12 个比特更少的 Z 串要么被某条 X 检查发现,要么是 Z 检查的乘积、不改变逻辑信息(参数导读 2.4 节)。所以测 Z̄3 的辅助系统至少要接到 12 个数据比特上。
The weight has a lower bound. Every representative of a Z-type logical operator touches at least 12 qubits: distance d = 12 means that a Z string on fewer than 12 qubits is either caught by some X check or is a product of Z checks that leaves the logical information alone (section 2.4 of the parameters guide). So the ancilla system that measures Z̄3 must connect to at least 12 data qubits.
接口在哪里,由选中的代表元决定。码距和平移对称都不能推出「代表元散布在整个环面上」。图 4.3 是一个具体的例子:Z 作用在 12 个比特 {0, 2, 3, 5, 72, 74, 75, 77, 138, 140, 141, 143} 上。本篇的脚本核对了三件事:它与全部 72 条 X 检查对易(与每条的重叠都是偶数),它不是 Z 检查的乘积,重量 12 等于码距。它只占左层 L(0, j)、右层 R(0, j) 和右层 R(11, j)(j = 0、2、3、5),也就是环面上相邻的两列 i = 11 与 i = 0(i 模 12,11 的右边就是 0)。选它当代表元,接口就是这两列里的 12 个比特:辅助系统的新检查只需碰到它们。至于成本里的「long-range」,按 4.1 节的原文,来自辅助系统要在两块不同的数据块之间测量;两块摆在哪里、接口上要用哪些耦合器,属于所选模块化方案的几何,QEC-Bank 没有登记,本篇也不推。
Where the interface sits is decided by the chosen representative. Neither the distance nor the translation symmetry implies that “representatives are spread over the whole torus”. Fig. 4.3 is a concrete example: Z acting on the 12 qubits {0, 2, 3, 5, 72, 74, 75, 77, 138, 140, 141, 143}. This guide's script checked three things: it commutes with all 72 X checks (even overlap with each), it is not a product of Z checks, and its weight 12 equals the distance. It occupies only the left-layer L(0, j), the right-layer R(0, j) and the right-layer R(11, j) (j = 0, 2, 3, 5), that is, the two adjacent columns i = 11 and i = 0 of the torus (i is taken mod 12, so 0 is the right-hand neighbour of 11). With this representative, the interface is these 12 qubits in two columns: the ancilla's new checks only need to touch them. As for “long-range” in the cost, the quote of section 4.1 places it in measuring between two different data blocks; where the two blocks sit and which couplers the interface uses belong to the geometry of the chosen modular scheme, which the QEC-Bank does not record and this guide does not infer.
同时另外 11 个逻辑比特住在同一批 144 个比特里:手术期间这一整块不能被搬走,它们只能等待,并承受「idle and routing exposure」。以上是本篇对成本字段的解读;QEC-Bank 的原话是第 1 章那句:「A collective operation on all twelve logical qubits is not a substitute for a compiler that selects the desired logical combination while preserving the others.」——挑出想要的组合、同时保住其余的,是编译器的活。卡片承诺表把记录 3 写成:承诺「cited architecture provides joint operations」,不可推出「surgery is native to the static matrix」。
Meanwhile the other 11 logicals live in the same 144 qubits: the whole block cannot be moved away during the surgery, so they can only wait and bear the “idle and routing exposure”. The above is this guide's reading of the cost field; the QEC-Bank's own words are Chapter 1's: “A collective operation on all twelve logical qubits is not a substitute for a compiler that selects the desired logical combination while preserving the others.” Selecting the wanted combination while preserving the rest is the compiler's job. The card's promise table writes record 3 as: promise “cited architecture provides joint operations”, excluded inference “surgery is native to the static matrix”.
本章没有给出任何 BB 手术的具体几何(辅助码的形状、接口检查的支撑、维持的轮数):QEC-Bank 的记录只登记机制与成本类别,具体方案在 yoder2025tour(登记待补)里,本篇未读原文,不转述其数字。4.3 节的重量下界来自码距;图 4.3 的代表元是本篇脚本找到并验证的一个例子,不是 QEC-Bank 或 yoder2025tour 选用的接口。
This chapter gives no concrete geometry of a BB surgery (shape of the ancilla code, support of the interface checks, number of rounds held): the QEC-Bank record registers only the mechanism and the cost categories, the concrete scheme is in yoder2025tour (registration pending), and this guide has not read the paper and relays none of its numbers. Section 4.3's weight lower bound comes from the distance; the representative of Fig. 4.3 is an example found and verified by this guide's script, not the interface chosen by the QEC-Bank or by yoder2025tour.
BB 的手术与表面码同一套代数:借辅助系统测块间乘积算符,维持多轮,读数记帐。不同的是三件事:辅助系统要在两块数据块之间测量,并接到所选代表元的至少 12 个比特上;数据块 + 辅助系统要联合译码;同一块里其余 11 个逻辑比特在等待中暴露。QEC-Bank 把机制标为 surgery,就是为了让这五项资源不被「Clifford 门」四个字盖住。
BB surgery shares the surface code's algebra: measure inter-block product operators through an ancilla system, hold for several rounds, book the outcome. Three things differ: the ancilla system measures between two data blocks and must touch at least 12 qubits of the chosen representative; data blocks + ancilla must be decoded jointly; the other 11 logicals in the same block are exposed while waiting. The QEC-Bank labels the mechanism surgery precisely so that these five resources are not hidden behind the words “Clifford gate”.
自对偶子族,与非 Clifford 的边界The self-dual subfamily, and the non-Clifford boundary
记录 4 说有一族 BB 码可以横向做 H、S、CNOT——但成本字段的最后四个字是「not a gross-code claim」。这一章先读这条记录和文献扫描里两条相近的路线,再把 QEC-Bank 与扫描报告共同的负面结论摆出来:没有一篇文献给原始 gross 块提供普适的横向门集;非 Clifford 门仍要魔法态或别的认证机制。最后照录卡片的「承诺 / 不可推出」表,那是这一侧面的总账。 Record 4 says one family of BB codes admits transversal H, S and CNOT; but the cost field ends with the words “not a gross-code claim”. This chapter reads that record and two nearby routes from the literature scan, then lays out the negative conclusion shared by the QEC-Bank and the scout report: no paper supplies a universal transversal gate set for the original gross block, and non-Clifford gates still need magic states or another certified mechanism. Finally it copies the card's “promise / excluded inference” table, the balance sheet of this facet.
5.1记录 4:自对偶子族的 H / S / CNOTRecord 4: H / S / CNOT in the self-dual subfamily
记录 4 的门叫「H / S / CNOT in the self-dual BB subfamily」,机制 transversal,引文 liang2025selfdual(据文献扫描报告:Liang 与 Chen,“Self-Dual Bivariate Bicycle Codes with Transversal Clifford Gates”,2025,arXiv 2510.05211,登记待补)。QEC-Bank:「liang2025selfdual imposes extra self-duality and twisted-torus conditions, obtaining weight-eight BB blocks with transversal CNOT, H, and S. Those conditions change the selected family.」人话:在 BB 的构造上再加两个条件——自对偶self-dual(CSS 意义下):X 检查与 Z 检查有同样的形状,于是把每个比特上的 X、Z 互换(横向 H)会把 X 检查变成 Z 检查、Z 检查变成 X 检查,码空间不变。最简单的例子是 BB 教程 2.4 节的 bicycle 码 HX = HZ。liang2025selfdual 的具体条件以原文为准。(X 检查与 Z 检查同形,于是逐比特做 H 把两族检查互换,码不变)和「扭曲环面」(环面的粘合方式带一个扭转,细节见原文)——就得到检查重量 8(不是 gross 的 6)的 BB 块,它们能横向做 CNOT、H、S。成本原文:「constant-depth physical layers on blocks satisfying the extra self-duality and twisted-torus conditions; not a gross-code claim」。gross 不满足自对偶这一条(本篇算过:把 HX 与 HZ 叠成一张 144 × 144 的矩阵,秩是 112 而不是 66,两族检查张成的空间不同,逐比特做 H 不会把码映回自身;它的检查重量也是 6 而非 8),所以这条记录明说不是关于 gross 的。文献扫描报告的措辞更直接:「These gates do not transfer to the ordinary gross code merely because both are called BB.」
Record 4's gate is “H / S / CNOT in the self-dual BB subfamily”, mechanism transversal, citation liang2025selfdual (per the scout report: Liang and Chen, “Self-Dual Bivariate Bicycle Codes with Transversal Clifford Gates”, 2025, arXiv 2510.05211, registration pending). QEC-Bank: “liang2025selfdual imposes extra self-duality and twisted-torus conditions, obtaining weight-eight BB blocks with transversal CNOT, H, and S. Those conditions change the selected family.” Plainly: add two conditions on top of the BB construction, self-dualitySelf-dual (in the CSS sense): X checks and Z checks have the same shape, so swapping X and Z on every qubit (transversal H) turns X checks into Z checks and vice versa, leaving the code space unchanged. The simplest example is the bicycle code of BB guide section 2.4 with HX = HZ. The exact conditions of liang2025selfdual are as in the paper. (X and Z checks of the same shape, so a qubit-wise H swaps the two families and leaves the code unchanged) and a “twisted torus” (the torus glued with a twist, details in the paper), and you obtain BB blocks of check weight 8 (not gross's 6) that admit transversal CNOT, H and S. The cost, verbatim: “constant-depth physical layers on blocks satisfying the extra self-duality and twisted-torus conditions; not a gross-code claim”. Gross fails the self-duality condition (this guide checked: stacking HX on HZ gives a 144 × 144 matrix of rank 112, not 66, so the two check families span different spaces and a qubit-wise H does not map the code to itself; its check weight is also 6, not 8), so the record states explicitly that it is not about gross. The scout report puts it more bluntly: “These gates do not transfer to the ordinary gross code merely because both are called BB.”
文献扫描里还有两条相近的路线,QEC-Bank 记在推导页、没有写成卡片记录。breuckmann2026cups(据扫描报告:Breuckmann、Davydova、Eberhardt、Tantivasadakarn,“Cups and Gates I: Cohomology Invariants and Logical Quantum Operations”,2026,arXiv 2410.16250,登记待补):「uses cohomology and cup-product invariants to certify constant-depth logical operations on codes with the required structure, including selected BB examples. The cup product is the gate certificate; a generic bivariate polynomial pair does not automatically supply it.」人话:用一种叫杯积cup product:上同调里把两个「类」乘成一个更高阶「类」的运算;在这条路线里,它的非平凡性就是「这个码有某个常深度逻辑门」的证书。属于代数拓扑,本篇不展开。的代数不变量当门的证书——不变量非零的码才有那个门,随便一对多项式不保证。xu2025batched(据扫描报告:Xu 等,“Batched High-Rate Logical Operations for Quantum LDPC Codes”,2025,arXiv 2510.06159,登记待补):「develops batched error correction, surgery, switching, and Clifford gadgets for CSS qLDPC architectures and specializes a proposal to self-dual BB blocks. ‘Batched’ changes the resource schedule and shared ancilla accounting, not the static stabilizer parameters.」——「批处理」改的是资源的排期与共享辅助系统的记账方式,不改静态的 [[n,k,d]]。
The literature scan holds two nearby routes that the QEC-Bank records on the derivation page without turning them into card rows. breuckmann2026cups (per the scout report: Breuckmann, Davydova, Eberhardt, Tantivasadakarn, “Cups and Gates I: Cohomology Invariants and Logical Quantum Operations”, 2026, arXiv 2410.16250, registration pending): “uses cohomology and cup-product invariants to certify constant-depth logical operations on codes with the required structure, including selected BB examples. The cup product is the gate certificate; a generic bivariate polynomial pair does not automatically supply it.” Plainly: an algebraic invariant called the cup productIn cohomology, the operation multiplying two “classes” into a higher-degree “class”; on this route its non-triviality is the certificate that “this code has a certain constant-depth logical gate”. Algebraic topology, not unfolded here. serves as the gate certificate; only codes where the invariant is non-zero have the gate, and an arbitrary polynomial pair is no guarantee. xu2025batched (per the scout report: Xu et al., “Batched High-Rate Logical Operations for Quantum LDPC Codes”, 2025, arXiv 2510.06159, registration pending): “develops batched error correction, surgery, switching, and Clifford gadgets for CSS qLDPC architectures and specializes a proposal to self-dual BB blocks. ‘Batched’ changes the resource schedule and shared ancilla accounting, not the static stabilizer parameters.” “Batched” changes the resource schedule and the accounting of shared ancillas, not the static [[n,k,d]].
5.2负面结论:gross 没有普适的横向门集The negative conclusion: no universal transversal gate set for gross
QEC-Bank 第 6 节的标题叫「The non-Clifford boundary」,开头一句:「No source in the six-lens sweep supplies a universal transversal gate set for the original gross block. This is the honest boundary」,随后四条原文:「transversal CNOT is available between aligned identical CSS blocks; selected symmetric or self-dual blocks gain more Cliffords; surgery and automorphisms enlarge the instruction set with extra resources; non-Clifford completion still needs magic-state injection/cultivation, switching, measurement-based resources, or another certified mechanism.」文献扫描报告的「Negative result」用几乎相同的话:「No fetched source provides a universal transversal gate set for the original [[144,12,12]] gross code. Architecture-level universality adds magic states, code switching, surgery, or another block family.」
Section 6 of the QEC-Bank file is titled “The non-Clifford boundary” and opens: “No source in the six-lens sweep supplies a universal transversal gate set for the original gross block. This is the honest boundary”, followed by four items verbatim: “transversal CNOT is available between aligned identical CSS blocks; selected symmetric or self-dual blocks gain more Cliffords; surgery and automorphisms enlarge the instruction set with extra resources; non-Clifford completion still needs magic-state injection/cultivation, switching, measurement-based resources, or another certified mechanism.” The scout report's “Negative result” uses almost the same words: “No fetched source provides a universal transversal gate set for the original [[144,12,12]] gross code. Architecture-level universality adds magic states, code switching, surgery, or another block family.”
这条边界背后其实有两条不同的定理,一条对 gross 给不出结论,一条给得出,值得分开说。Bravyi–König 定理(Bravyi 与 König,arXiv 1206.1609)说:把稳定子码摆在二维格子上,如果每条检查只碰一小块区域(直径不超过 ξ 格,叫作用范围有界),并且码距 d 相对这个范围足够大(原文的条件是 ξ 与 h·r 都远小于 √d,h 是电路深度,r 是每个门能跨的距离),那么任何保持码空间的常深度局域电路,最多实现 Clifford 门。这是表面码那条边界的来由:表面码族的检查只碰相邻的比特,ξ 固定,d 可以任意大,条件总能满足。gross 呢?把它画在 12 × 6 的环面上,A、B 里最高的项是 x³、y³,一条检查的腿最远相隔 3 步,而 √12 ≈ 3.5:「远小于」不成立,定理对这一块码不给结论,既不说它没有非 Clifford 的常深度门,也不说它有。定理要说话,需要一族码:检查的作用范围固定不变,d 不断增大。「检查绕过环面」本身不是理由,环面上的表面码检查也绕过环面。Eastin–Knill 定理(Eastin 与 Knill,“Restrictions on Transversal Encoded Quantum Gate Sets”,arXiv 0811.4262)说:只要一个量子码能探测任意单个物理比特上的任意错误(对量子比特码,就是 d ≥ 2),它就不可能有一组既通用、又全部横向的逻辑门。这条定理不要求二维、不要求局域;gross 的 d = 12 ≥ 2,满足它的条件。所以「gross 没有普适的横向门集」不只是扫描的结果,而是定理的结论。扫描真正补充的是另一层:在已有文献里,gross 这一块具体能拿到哪些 Clifford 门、各要付什么代价(本篇第 2 至 4 章)。读到「BB 码有横向 Clifford 门」这类话,先问:哪个子族、哪块码、哪个证书。
Two different theorems stand behind this boundary, one that gives no verdict on gross and one that does, and they are worth separating. The Bravyi–König theorem (Bravyi and König, arXiv 1206.1609) says: lay a stabilizer code out on a two-dimensional lattice; if every check touches only a small region (diameter at most ξ sites, a bounded interaction range) and the distance d is large compared with that range (the paper's condition is that ξ and h·r are both much smaller than √d, where h is the circuit depth and r the distance one gate can span), then every constant-depth local circuit that preserves the code space implements at most a Clifford gate. That is where the surface code's boundary comes from: the surface-code family's checks touch only neighbouring qubits, ξ is fixed and d can be as large as you like, so the condition is always met. And gross? Drawn on the 12 × 6 torus, the highest terms of A and B are x³ and y³, so the legs of one check lie up to 3 steps apart, while √12 ≈ 3.5: “much smaller” fails, and the theorem gives no verdict on this one block, neither that it lacks non-Clifford constant-depth gates nor that it has them. For the theorem to speak you need a family of codes whose check range stays fixed while d grows. “The checks wrap round the torus” is not a reason by itself; the checks of the surface code on a torus wrap round too. The Eastin–Knill theorem (Eastin and Knill, “Restrictions on Transversal Encoded Quantum Gate Sets”, arXiv 0811.4262) says that a quantum code able to detect an arbitrary error on any single physical subsystem (for qubit codes, d ≥ 2) cannot have a gate set that is both universal and entirely transversal. It needs neither two dimensions nor locality; gross has d = 12 ≥ 2 and meets its condition. So “gross has no universal transversal gate set” is not merely a result of the scan but a consequence of the theorem. What the scan adds is the other layer: which Clifford gates the existing literature actually supplies for the gross block, and at what cost (Chapters 2 to 4 of this guide). When you read “BB codes have transversal Clifford gates”, first ask: which subfamily, which block, which certificate.
5.3魔法态:非 Clifford 门的来源仍在码外Magic states: the non-Clifford gate still comes from outside the code
五条记录的 level 全是 Clifford。要通用,还差一个 T 门(或等价的非 Clifford 门)。QEC-Bank 列出四条路:「magic-state injection/cultivation, switching, measurement-based resources, or another certified mechanism」。第一条是表面码架构的主流:先制备带噪的魔法态magic state:一个非稳定子态(例如 T 门作用在 |+⟩ 上得到的态)。有了它,用 Clifford 操作加测量就能实现 T 门;制备与提纯(蒸馏或培育)是逻辑计算开销的主项。,用 Clifford 操作提纯(蒸馏,或近年更省的「培育」cultivation),再通过门传送(用 Clifford 门和测量把魔法态「送进」电路,效果等于做了一个 T 门)消耗它实现 T——《格点手术》1.3 节介绍过蒸馏。第二条是码切换(在有 T 门的码与 BB 码之间来回切)。第三条是基于测量的资源。文献扫描里 xu2025batched 的方案正是把「parallel magic-state cultivation」配给自对偶 BB 块——仍是魔法态路线,只是并行化了。intuition.md 的总结:「Non-Clifford completion still needs magic states, switching, surgery, or another certified resource.」人话:BB 让存储便宜了很多,却没有让 T 门变便宜。存储这一侧的数字出自 Bravyi 等(arXiv 2308.07915,第 3 节与第 8 节),是电路级噪声下的数值模拟比较:每个操作(CNOT、制备、测量、空等)以概率 p = 0.1% 独立出错的标准去极化电路噪声;gross 一侧用 MIN-SUM 置信传播(上限 10,000 轮迭代)加 combination-sweep 版本的 OSD 译码,288 个物理比特(144 数据 + 144 帮手),估计每轮逻辑错误率约 2 × 10⁻⁷,论文由此估计能把 12 个逻辑比特保存近一百万轮症状测量;对照组是 12 块独立的旋转表面码贴片(d = 9 到 15,标准症状测量电路,同样的噪声模型,数据来自作者之一与 Vargo 的模拟软件,论文此处没有写明表面码一侧的译码器),要把每轮错误率从 10⁻³ 压到 10⁻⁶ 需要近 3000 个物理比特。论文据此说节省超过 10 倍;注意两边的目标错误率并不相同(约 2 × 10⁻⁷ 对 10⁻⁶),「10 倍」是近似的比较。在任何 BB 架构的总账里,T 门那一项仍要单列。
All five records have level Clifford. Universality still needs a T gate (or an equivalent non-Clifford gate). The QEC-Bank lists four roads: “magic-state injection/cultivation, switching, measurement-based resources, or another certified mechanism”. The first is the mainstream of surface-code architectures: prepare a noisy magic stateA non-stabilizer state (for example T applied to |+⟩). With it, Clifford operations plus measurement implement the T gate; preparing and purifying it (distillation, or cultivation) is the dominant cost of logical computation., purify it with Clifford operations (distillation, or the cheaper recent “cultivation”), then consume it by gate teleportation (Clifford gates and a measurement “feed” the magic state into the circuit, with the effect of a T gate) to realise T; section 1.3 of “Lattice Surgery” introduced distillation. The second is code switching (moving back and forth between a code with a T gate and the BB code). The third is measurement-based resources. In the literature scan, the proposal of xu2025batched pairs “parallel magic-state cultivation” with self-dual BB blocks, still the magic-state road, only parallelised. The summary of intuition.md: “Non-Clifford completion still needs magic states, switching, surgery, or another certified resource.” Plainly: BB made storage much cheaper, but not the T gate. The storage numbers come from Bravyi et al. (arXiv 2308.07915, sections 3 and 8) and are a numerical comparison under circuit-level noise: the standard depolarizing circuit noise in which every operation (CNOT, preparation, measurement, idling) fails independently with probability p = 0.1%; on the gross side, MIN-SUM belief propagation (at most 10,000 iterations) with the combination-sweep version of OSD as decoder, 288 physical qubits (144 data + 144 helpers), an estimated logical error rate of about 2 × 10⁻⁷ per cycle, from which the paper estimates that 12 logical qubits survive nearly one million syndrome cycles; the comparator is 12 separate rotated surface-code patches (d = 9 to 15, the standard syndrome circuit, the same noise model, data from simulation software by one of the authors and Vargo; the paper does not name the surface-code decoder at this point), which need nearly 3000 physical qubits to push the per-cycle error rate from 10⁻³ down to 10⁻⁶. On this basis the paper claims a saving of more than 10 times; note that the two target error rates differ (about 2 × 10⁻⁷ versus 10⁻⁶), so “10 times” is an approximate comparison. In the balance sheet of any BB architecture the T gate remains a separate line.
5.4卡片的承诺表:每行一句承诺,一句不可推出The card's promise table: one promise and one excluded inference per row
logical-operations.md 第 7 节「What the card promises」用一张表收尾,原文照录。它是读这一侧面的钥匙:每条记录承诺的是左边那句,右边那句是读者最容易多推出来、而 QEC-Bank 明确不背书的话。
Section 7 of logical-operations.md, “What the card promises”, closes with a table, reproduced verbatim. It is the key to reading this facet: what each record promises is the left sentence, and the right sentence is the one readers most easily infer in addition, which the QEC-Bank explicitly does not endorse.
| 行(原文)Row (verbatim) | 承诺(原文)Promise (verbatim) | 不可推出(原文)Excluded inference (verbatim) | 本篇In this guide |
|---|---|---|---|
| identical-block CNOT | aligned pairwise CNOT preserves two BB blocks | zero routing or decoder cost | 第 2 章Chapter 2 |
| selected fold Cliffords | cited symmetric instances have a fold certificate | every BB instance has H/S | 3.3 |
| automorphism Cliffords | a resolved logical action can implement Cliffords | every graph symmetry is useful | 3.4 |
| modular surgery | cited architecture provides joint operations | surgery is native to the static matrix | 第 4 章Chapter 4 |
| self-dual H/S/CNOT | extra self-dual subfamily has transversal Cliffords | gross inherits those gates | 5.1 |
表后一句说明了为什么要这样分开写:「This separation lets later work add a gross-specific logical-action certificate without rewriting family-wide folklore as fact.」人话:有一天若有人对 gross 算出了某个自同构的 24 × 24 辛作用并认证了布线,QEC-Bank 只需新增一条针对 gross 的记录,而不必把「BB 家族有这些门」这种口耳相传的说法改写成事实。这也是为什么五条记录的 applies_to 全是 qcga#collection(这一族)而不是 gross 实例:它们目前都是「族里有人做到过」,不是「gross 做到了」。
The sentence after the table explains why it is written apart like this: “This separation lets later work add a gross-specific logical-action certificate without rewriting family-wide folklore as fact.” Plainly: should someone one day compute the 24 × 24 symplectic action of some gross automorphism and certify its routing, the QEC-Bank need only add a gross-specific record, rather than rewrite the hearsay “the BB family has these gates” as fact. It is also why all five records have applies_to = qcga#collection (the family) rather than the gross instance: each currently says “someone in the family has done it”, not “gross has done it”.
自对偶子族的 H/S/CNOT 是靠换一族码(加自对偶与扭曲环面条件,重量 8)得到的,成本字段明写「not a gross-code claim」。QEC-Bank 与扫描报告的共同负面结论:没有文献给原始 gross 块普适的横向门集;这一点由 Eastin–Knill 定理保证(它对任何 d ≥ 2 的码成立;Bravyi–König 的前提 gross 这一块码不满足,给不出结论);扫描补充的是文献实际给了 gross 哪些 Clifford 门。T 门仍靠魔法态、码切换或其他认证资源。五条记录,每条一句承诺、一句不可推出。
The self-dual subfamily's H/S/CNOT are obtained by changing the family (adding self-duality and twisted-torus conditions, weight 8), and the cost field says “not a gross-code claim” in so many words. The joint negative conclusion of the QEC-Bank and the scout report: no paper gives the original gross block a universal transversal gate set ; the Eastin–Knill theorem (valid for every code with d ≥ 2; gross as a single block does not meet the premises of Bravyi–König, which therefore gives no verdict) guarantees it, and the scan adds which Clifford gates the literature actually supplies for gross. The T gate still rests on magic states, code switching or another certified resource. Five records, each with one promise and one excluded inference.
五条记录,三个问题,一条边界Five records, three questions, one boundary
回放一遍。仓库变计算机要答三问:哪个物理过程保持码、它对 12 个逻辑比特的 24 × 24 辛作用是什么、什么容错与布线资源认证它;k = 12 再加一问——可寻址;QEC-Bank 的 5 条记录全是 Clifford、全是 claimed、全对这一族而非 gross 说(第 1 章)。横向 CNOT:四条共轭规则把控制块的 X 检查复印成「自己乘目标块同号检查」,两块相同且 CSS 时全部留在稳定子群里,144 个物理 CNOT = 12 个并行逻辑 CNOT;成本另算搬运对齐与块间相关译码;它不能做块内门、不能挑对(第 2 章)。平移是自同构:HX diag(P,P) = P HX,检查 0 → 检查 6,72 个平移,reproduce.py 已验证;但门要再走五步,gross 的辛作用 QEC-Bank 没有登记(本篇算得是 36 种逻辑 CNOT 线路之一,Bravyi 等给出了实现平移的容错线路,用于寻址),一般而言可能是单位、置换或缠绕的 Clifford;记录 1、2 是文献对选定实例走完五步的结果,对称是选码条件(第 3 章)。手术:借辅助系统在块与块之间测乘积算符,五项资源,标签 surgery 防止它们被藏在「Clifford 门」下;k = 12 让「测哪个算符」成为编译器的问题(第 4 章)。自对偶子族靠换一族码得到横向 H/S/CNOT,not a gross-code claim;没有文献给 gross 普适横向门集,Eastin–Knill 定理也禁止它;T 门仍靠魔法态(第 5 章)。
Replay. Turning the warehouse into a computer means answering three questions: which physical process preserves the code, what 24 × 24 symplectic action it induces on the 12 logicals, what fault-tolerance and routing resources certify it; k = 12 adds a fourth, addressability; the 5 QEC-Bank records are all Clifford, all claimed, all about the family rather than gross (Chapter 1). Transversal CNOT: four conjugation rules copy a control X check into “itself times the same-numbered target check”, everything stays in the stabilizer group when the blocks are identical and CSS, 144 physical CNOTs = 12 parallel logical CNOTs; transport, alignment and inter-block correlated decoding are billed separately; it cannot do within-block gates or select pairs (Chapter 2). Translations are automorphisms: HX diag(P,P) = P HX, check 0 → check 6, 72 translations, verified by reproduce.py; but a gate needs five more steps; the QEC-Bank records no symplectic action for gross (this guide finds one of 36 logical CNOT circuits, and Bravyi et al. give fault-tolerant circuits for the translations, used for addressing), and in general it could be the identity, a permutation or an entangling Clifford; records 1 and 2 are the literature's completion of those steps for selected instances, symmetry being a code-selection condition (Chapter 3). Surgery: measure product operators between blocks through an ancilla system, five resources, the label surgery keeping them from hiding under “Clifford gate”; k = 12 makes “which operator to measure” a compiler question (Chapter 4). The self-dual subfamily gets transversal H/S/CNOT by changing the family, not a gross-code claim; no paper gives gross a universal transversal gate set, and Eastin–Knill forbids one; the T gate still rests on magic states (Chapter 5).
符号与读法Symbols & how to read them
| 符号Symbol | 名称与读法Name & how to read it | 在本篇中的含义Meaning in this guide |
|---|---|---|
| c, t | 读「控制」「目标」Read “control”, “target” | 横向 CNOT 里的两块相同的 BB 码;Xc = 控制块某比特上的 X。The two identical BB blocks in the transversal CNOT; Xc = an X on some control-block qubit. |
| X̄i, Z̄i | 字母上加横线,读「X 杠 i」Letter with a bar, read “X bar i” | 第 i 个逻辑比特的逻辑 X、逻辑 Z,i = 1…12;上标 c、t 标明属于哪一块。The logical X and Z of logical qubit i, i = 1…12; superscripts c, t say which block. |
| ⇒ | 读「变成」Read “becomes” | 在共轭规则里表示「经 CNOT 共轭后变成」;在其他处是逻辑推出。In the conjugation rules, “becomes after conjugation by the CNOT”; elsewhere, logical implication. |
| P, x, y | 读「一个平移」Read “a translation” | P ∈ {x, y},72 × 72 置换矩阵;x 往右一格(编号 +6),y 往上一格(编号 +1);共 72 个平移 xayb。P ∈ {x, y}, a 72 × 72 permutation matrix; x one site right (index +6), y one site up (index +1); 72 translations xayb in all. |
| diag(P, P) | 读「分块对角」Read “block diagonal” | 144 × 144 矩阵,对左层与右层做同一个平移;HX diag(P,P) = P HX。The 144 × 144 matrix applying the same translation to both layers; HX diag(P,P) = P HX. |
| HX, HZ | 读「X、Z 检查矩阵」Read “the X and Z check matrices” | gross 各 72 × 144,[A | B] 与 [Bᵀ | Aᵀ];X 检查 0 的六腿 [1, 2, 18, 75, 78, 84]。Each 72 × 144 for gross, [A | B] and [Bᵀ | Aᵀ]; the six legs of X check 0 are [1, 2, 18, 75, 78, 84]. |
| k, 2k, 24 × 24 | 读「逻辑比特数」「辛矩阵的边长」Read “logical count”, “side of the symplectic matrix” | k = 12;2k = 24 个逻辑 Pauli 生成元;一个 Clifford 操作的辛作用是 24 × 24 的 0/1 矩阵,每行是一个生成元的像(前 k 位记 X̄,后 k 位记 Z̄)。例:H 为 (0 1; 1 0),S 为 (1 1; 0 1)(补课 1.A)。k = 12; 2k = 24 logical Pauli generators; a Clifford operation's symplectic action is a 24 × 24 binary matrix whose rows are the images of the generators (first k entries for X̄, last k for Z̄). Examples: H is (0 1; 1 0), S is (1 1; 0 1) (catch-up 1.A). |
| H, S, CNOT, T | 读「门的名字」Read “gate names” | H、S、CNOT 是 Clifford 门(把 Pauli 映成 Pauli);T 是通用性所需的非 Clifford 门,五条记录都不含它。H, S, CNOT are Clifford gates (mapping Paulis to Paulis); T is the non-Clifford gate needed for universality, absent from all five records. |
| Z̄AZ̄B | 读「Z 杠 A、Z 杠 B」Read “Z bar A, Z bar B” | 两块码各一个逻辑 Z 的乘积;手术测的就是它(或 X̄X̄)。The product of one logical Z from each block; what surgery measures (or X̄X̄). |
| ∈ ≈ | 读「属于」「约等于」Read “belongs to”, “approximately” | P ∈ {x, y};224 ≈ 1.7 × 107。P ∈ {x, y}; 224 ≈ 1.7 × 107. |
本篇新增词汇New terms in this guide
| 术语Term | 白话定义Plain definition |
|---|---|
| 可寻址addressability | 能对指定的逻辑比特做门而不扰动同块其余的;k = 12 的块必须回答。Applying a gate to chosen logicals without disturbing the rest of the block; a k = 12 block must answer it. |
| 辛作用symplectic action | 一个 Clifford 操作把 2k 个逻辑 Pauli 生成元各送到哪里,2k × 2k 的 0/1 矩阵;gross 24 × 24。Where a Clifford operation sends each of the 2k logical Pauli generators, a 2k × 2k binary matrix; 24 × 24 for gross. |
| 横向 / 折叠横向 / 手术(机制词)transversal / fold-transversal / surgery (mechanism words) | 每个物理门在每块码里最多碰一个比特 / 先按对称配对再做常深度门层 / 借辅助系统测乘积算符。Every physical gate touches at most one qubit per code block / pair by a symmetry, then a constant-depth gate layer / measure product operators through an ancilla. |
| 共轭规则conjugation rules | CNOT 对 Pauli 的四条变换:Xc → XcXt,Zt → ZcZt,其余不动。CNOT's four Pauli transformations: Xc → XcXt, Zt → ZcZt, the others fixed. |
| 自同构automorphism | 把稳定子群映到自身的物理置换;gross 的 72 个平移都是;不等于门。A physical permutation mapping the stabilizer group to itself; all 72 gross translations are; not the same as a gate. |
| 认证一个门的五步the five steps to certify a gate | 选逻辑基、共轭、模稳定子约化、拼 24 × 24 辛矩阵、认证容错布线。Choose a logical basis, conjugate, reduce modulo stabilizers, assemble the 24 × 24 symplectic matrix, certify fault-tolerant routing. |
| 折叠fold | 按反射等对合把比特配对,使常深度 Clifford 层实现逻辑操作;只对有该对称的实例成立。Pairing qubits under a reflection or other involution so a constant-depth Clifford layer implements a logical operation; only for instances with that symmetry. |
| 长程手术long-range surgery | 借辅助码测块间逻辑 Pauli 乘积;五项资源;数字属于所选模块化方案。Measuring inter-block logical Pauli products through an ancilla code; five resources; numbers belong to the chosen modular scheme. |
| 自对偶 / 扭曲环面self-dual / twisted torus | X、Z 检查同形 / 环面带扭转地粘合;liang2025selfdual 加的两个条件,重量 8,非 gross。X and Z checks of the same shape / a torus glued with a twist; the two conditions liang2025selfdual adds, weight 8, not gross. |
| 杯积cup product | 上同调里的乘法,其非平凡性作为常深度逻辑门的证书(breuckmann2026cups)。A multiplication in cohomology whose non-triviality certifies a constant-depth logical gate (breuckmann2026cups). |
| 魔法态 / 培育magic state / cultivation | 实现 T 门的非稳定子资源态 / 比蒸馏更省的提纯方法。The non-stabilizer resource state for the T gate / a purification cheaper than distillation. |
| 承诺 / 不可推出promise / excluded inference | 卡片每条记录担保的那句话 / 读者最易多推、QEC-Bank 不背书的那句话。The sentence each record guarantees / the sentence readers most easily infer and the QEC-Bank does not endorse. |
延伸阅读Further reading
- T. J. Yoder et al., “Tour de Gross: A Modular Quantum Computer Based on Bivariate Bicycle Codes” (2025, arXiv 2506.03094)
yoder2025tour——据文献扫描报告,登记待补。记录 0 与记录 3 的出处:横向 CNOT 嵌入模块化架构;d = 12、18 模块的指令集、编译与资源估计。yoder2025tour: from the scout report, registration pending. Source of records 0 and 3: transversal CNOT embedded in a modular architecture; instruction set, compilation and resource estimates for d = 12, 18 modules. - J. N. Eberhardt, V. Steffan, “Logical Operators and Fold-Transversal Gates of Bivariate Bicycle Codes” (2024, arXiv 2407.03973)
eberhardt2024fold——登记待补。记录 1:对称 BB 例子([[98,6,12]]、[[162,8,12]])的显式逻辑基与折叠横向 Clifford 门。eberhardt2024fold: registration pending. Record 1: explicit logical bases and fold-transversal Cliffords for symmetric BB examples ([[98,6,12]], [[162,8,12]]). - H. Sayginel, S. Koutsioumpas, M. Webster, A. Rajput, D. E. Browne, “Fault-Tolerant Logical Clifford Gates from Code Automorphisms” (2025, arXiv 2409.18175)
sayginel2025automorphisms(已登记完整元数据)。记录 2:搜自同构、算辛作用、编译 Clifford 门的一般流程。sayginel2025automorphisms (full metadata registered). Record 2: the general workflow of finding automorphisms, computing symplectic actions and compiling Cliffords. - Z. Liang, Y.-A. Chen, “Self-Dual Bivariate Bicycle Codes with Transversal Clifford Gates” (2025, arXiv 2510.05211)
liang2025selfdual——登记待补。记录 4:自对偶 + 扭曲环面条件下的重量 8 BB 块,横向 CNOT、H、S;not a gross-code claim。liang2025selfdual: registration pending. Record 4: weight-8 BB blocks under self-duality + twisted-torus conditions with transversal CNOT, H, S; not a gross-code claim. - L. Z. Cohen, I. H. Kim, S. D. Bartlett, B. J. Brown, “Low-Overhead Fault-Tolerant Quantum Computing Using Long-Range Connectivity” (2022, arXiv 2110.10794)
cohen2022longrange——登记待补。第 4 章长程手术的一般基础设施;不是「BB 的门都横向」的证明。cohen2022longrange: registration pending. The general infrastructure of long-range surgery in Chapter 4; not a proof that BB gates are transversal. - N. P. Breuckmann, M. Davydova, J. N. Eberhardt, N. Tantivasadakarn, “Cups and Gates I: Cohomology Invariants and Logical Quantum Operations” (2026, arXiv 2410.16250)
breuckmann2026cups——登记待补,不在卡片上。5.1 节:杯积不变量作为常深度逻辑门的证书。breuckmann2026cups: registration pending, not on the card. Section 5.1: cup-product invariants as certificates for constant-depth logical gates. - Q. Xu et al., “Batched High-Rate Logical Operations for Quantum LDPC Codes” (2025, arXiv 2510.06159)
xu2025batched——登记待补,不在卡片上。批处理的纠错、手术、切换与 Clifford 组件;自对偶 BB 块加并行魔法态培育的近期方案。xu2025batched: registration pending, not on the card. Batched error correction, surgery, switching and Clifford gadgets; a near-term proposal pairing self-dual BB blocks with parallel magic-state cultivation. - S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, T. J. Yoder, “High-threshold and low-overhead fault-tolerant quantum memory” (arXiv 2308.07915, v2 2024)
gross 码的出处。本篇用到:第 9.2 节与表 8,实现平移的容错线路(CNOT 深度 4)及其寻址用途(3.2.2 节);第 3、8 节,「超过 10 倍」比较的噪声模型、译码器与错误率(5.3 节)。The source of the gross code. Used here: section 9.2 and Table 8, fault-tolerant circuits for the translations (CNOT depth 4) and their use for addressing (section 3.2.2); sections 3 and 8, the noise model, decoder and error rates behind the “more than 10 times” comparison (section 5.3). - S. Bravyi, R. König, “Classification of topologically protected gates for local stabilizer codes” (arXiv 1206.1609)
5.2 节:二维、检查作用范围有界且码距相对足够大时,常深度局域电路只能实现 Clifford 门;条件 ξ、h·r ≪ √d。Section 5.2: in 2D, with bounded check range and a distance large enough relative to it, constant-depth local circuits implement only Clifford gates; condition ξ, h·r ≪ √d. - QEC-Bank: logical operations and their certificates
codes/bivariate_bicycle/pedagogy/logical-operations.md。本篇逐段引用的原文:三问、共轭规则、平移恒等式、五步、折叠证书、手术五项资源、非 Clifford 边界、承诺表。codes/bivariate_bicycle/pedagogy/logical-operations.md. The text quoted throughout: the three questions, conjugation rules, translation identity, five steps, fold certificate, five surgery resources, non-Clifford boundary, promise table.
机器验证过的(QEC-Bank 的 reproduce.py):平移 x、y 的恒等式 HX diag(P,P) = P HX、HZ diag(P,P) = P HZ(模 2),以及 X 检查 0 的六腿 [1, 2, 18, 75, 78, 84]。本篇自己算的、QEC-Bank 页面上没有的数:x 把检查 0 送到检查 6(六腿 [7, 8, 24, 81, 84, 90]);72 = 12 × 6 个平移;HX 与 HZ 叠起来的秩为 112 而非 66(gross 不是 CSS 意义下的自对偶码);2k = 24、224 ≈ 1.7 × 107;2.1 节对 gross 检查 0 逐条套用共轭规则的验证;Z 检查 0 的六腿 {3, 60, 66, 76, 77, 126};3.2.1 节 toric_L3 上 x 的逻辑作用为单位(X̄1 = {0, 1, 2} 平移到 {3, 4, 5},差为 X 检查 0、1、2 之积);3.2.2 节 gross 上 x、y 的 24 × 24 逻辑作用不是单位、减去单位后满秩、阶为 6。以上由 notes/operations/verify.py 重算。3.2.1 节四个代表元的平移与抵消它们的检查、72 个平移中只有「不动」与 x⁶ 在逻辑上平凡(36 种作用)、图 4.3 的重量 12 Z 型代表元,由 notes/operations/verify_fixes.py 重算,图 3.2、4.3 由 make_figs.py 从同一套编号生成。定理与文献:Eastin–Knill 核对过 arXiv 0811.4262 的摘要;Bravyi–König 的前提(ξ、h·r ≪ √d)核对过 arXiv 1206.1609;平移的容错线路(第 9.2 节、表 8)与「超过 10 倍」的噪声模型、译码器和两边的错误率核对过 arXiv 2308.07915 v2 的 HTML 版第 3、8、9.2 节,表 8 的线路本篇没有复现。与文献不符、待查:该文第 9.2 节说除「不动」外没有平移在逻辑上平凡,本篇算得 x⁶ 平凡。文献声明(QEC-Bank 转录为 claimed,未重算):五条记录的门、机制与成本;[[98,6,12]]、[[162,8,12]] 的折叠门;自对偶子族的 H/S/CNOT;手术的指令集与资源估计;杯积与批处理两条路线。本篇的解读而非原文:4.3 节对成本里「long-range」的读法;5.1 节对「自对偶」的通俗解释(liang2025selfdual 的确切条件以原文为准)。QEC-Bank 未登记、本篇也未列出的:gross 任何自同构的 24 × 24 辛作用矩阵本身(本篇只报告了平移作用的性质);任何逻辑门的错误率;手术的具体比特数与轮数。登记状态:yoder2025tour、eberhardt2024fold、liang2025selfdual、cohen2022longrange、breuckmann2026cups、xu2025batched 均为 metadata pending,题目与作者取自文献扫描报告;本篇未读这些论文的原文。写作时没有在本机运行 reproduce.py;QEC-Bank 的数字抄自仓库文件,本篇自算的编号用一段独立的 Python 按构造器约定重算。
Verified by machine (the QEC-Bank's reproduce.py): the identities HX diag(P,P) = P HX and HZ diag(P,P) = P HZ (mod 2) for the translations x, y, and the six legs [1, 2, 18, 75, 78, 84] of X check 0. Computed by this guide and absent from QEC-Bank pages (recomputed by notes/operations/verify.py): the legs {3, 60, 66, 76, 77, 126} of Z check 0; the identity logical action of x on toric_L3 in section 3.2.1 (X̄1 = {0, 1, 2} moves to {3, 4, 5}, differing by the product of X checks 0, 1, 2); the 24 × 24 logical actions of x and y on gross in section 3.2.2 (not the identity, full rank after subtracting the identity, order 6); the Eastin–Knill statement checked against the abstract of arXiv 0811.4262; recomputed by notes/operations/verify_fixes.py: the shifts of the four representatives in section 3.2.1 and the checks that cancel them, the fact that only “stay” and x⁶ act as the logical identity among the 72 translations (36 actions), and the weight-12 Z-type representative of Fig. 4.3 (Figs. 3.2 and 4.3 generated from the same numbering by make_figs.py); the premises of Bravyi–König (ξ, h·r ≪ √d) checked against arXiv 1206.1609; the fault-tolerant translation circuits (section 9.2, Table 8) and the noise model, decoder and error rates behind “more than 10 times” checked against sections 3, 8 and 9.2 of the HTML version of arXiv 2308.07915 v2, without reproducing the Table 8 circuits; open disagreement: section 9.2 of that paper says no translation other than “stay” acts as the logical identity, while this guide finds x⁶ does; x sends check 0 to check 6 (legs [7, 8, 24, 81, 84, 90]); 72 = 12 × 6 translations; the rank of HX stacked on HZ is 112, not 66 (gross is not self-dual in the CSS sense); 2k = 24 and 224 ≈ 1.7 × 107; the rule-by-rule check of the conjugation rules on gross check 0 in section 2.1. Literature claims (transcribed by the QEC-Bank as claimed, not recomputed): the gate, mechanism and cost of all five records; the fold gates of [[98,6,12]] and [[162,8,12]]; the self-dual subfamily's H/S/CNOT; the surgery instruction set and resource estimates; the cup-product and batched routes. This guide's reading rather than QEC-Bank text: section 4.3's reading of “long-range” in the cost; section 5.1's plain explanation of “self-dual” (the exact conditions of liang2025selfdual are as in the paper). Not registered by the QEC-Bank and not listed here: the 24 × 24 symplectic matrix of any gross automorphism itself (this guide reports only properties of the translation actions); any logical-gate error rate; concrete qubit counts or rounds for surgery. Registration: yoder2025tour, eberhardt2024fold, liang2025selfdual, cohen2022longrange, breuckmann2026cups, xu2025batched are all metadata pending, with titles and authors from the scout report; this guide has not read those papers. reproduce.py was not run on this machine while writing; QEC-Bank numbers are copied from repository files, and the guide's own indices were recomputed by a separate Python script under the constructor's convention.
BB 码 · 条目总览 · 直觉 · 导览 · 表示阶梯 · 参数与实例 · 形式化 IR 与证书 · 译码器 · 逻辑操作(本篇) · 用例与实现 · 关系 · 推导与指南 · 参考文献 · 表面码的同一侧面 · 在 QEC-Bank 中查看此条目 →
BB codes · Entry overview · Intuition · Guided tour · Representation ladder · Parameters & instances · Formal IR & certificates · Decoders · Logical operations (this guide) · Use cases & realizations · Relations · Derivations & guides · References · The same facet for the surface code · Open in the QEC-Bank →