Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Noise, Fault Tolerance, Concatenation, and Thresholds

1 · Prerequisites

2 · Summary

Objective

Define finite ordered channel schedules and independent or local-stochastic fault models. Construct a fixed protected universal family and prove conditional concatenated-threshold bounds from its explicit encoded-instrument contracts and proved finite port-substitution certificate, using recursive decoded recovery. Separately prove the ideal-syndrome iid-Z planar-memory bound.

Scope and caveats

The finite construction uses the [ ⁣[49,1,9] ⁣] code with declared capacity two and effective spread budget one. Verified cats, four-round correction, magic-state injection, pure initialization, protected encoded-classical readout, physical Boolean controls, full-unitary scalar phases and recursive replacement are proved locally. No unknown unprotected input is assumed to admit fault-free recovery from its first possible logical fault; noisy guarantees begin on encoded input or a verified prescribed initialization.

The general threshold results require the additional finite port-substitution hypothesis: noisy arbitrary-input attraction, typed intermediate sectors, attached syndromes, local first-use refresh and residual-support accounting. The concrete family proves this certificate before simultaneous induction through the concatenation levels. Higher-level residual sectors are hierarchical; only their recursively decoded logical outputs are compared with the ideal computation. The general probability theorems retain their explicit proper-gadget and hierarchy hypotheses. Local-stochastic fault indicators may be correlated, while conditional replacement maps remain attached to their declared physical locations. The distance-three exRec result has its own source-derived pure-preparation, basis-measurement and explicit-port hypotheses; its overlap analysis is separate from the nonvacuous capacity-two proper-code construction. The planar result concerns perfect syndrome extraction and iid Z noise, rather than a faulty-gate circuit threshold.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Local-Stochastic Fault-Set Law

Definition

Let L be a finite set of elementary fault-location labels and let (Ω,w) be a finite probability space as in Finite probability spaces, outcome weights, events, and event probabilities. A fault-set random variable is a map F:Ω→P(L). For a parameter η∈[0,1], the fault-set law is η-local-stochastic if, for every subset S⊆L,

P{ω∈Ω:S⊆F(ω)}≤η∣S∣.

Here ηk is the ordinary k-fold product, with η0=1. This condition allows correlations among fault indicators; it does not assert mutual independence.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Local-Stochastic Fault-Witness Bound

Statement

Let r≥0 and let a finite rooted rectangle hierarchy have every root-to-leaf path of exactly r edges. Each leaf is one elementary location; every internal node has at most a children, and the elementary-location sets of distinct children are disjoint. Let a,q be integers with 1≤q<a. A leaf is bad exactly when its location is faulty, and an internal node is bad exactly when at least q+1 children are bad. Under an η-local-stochastic fault-set law, with A=(aq+1) and Aηq<1, the probability that the root is bad is at most

A−1/q(A1/qη)(q+1)r.

No independence assumption is used.

Facts & Assumptions

Given: A finite location set, an η-local-stochastic random fault set, an integer r≥0, and the full-depth rooted hierarchy and recursive badness predicate in the statement. Prove the probability bound.

[F1]

Local-Stochastic Fault-Set Law: For every specified set S of elementary locations, the probability that all of S fault is at most η∣S∣.

Proof

1.1givenF1

For a leaf v, its single location is a witness set S whose fault forces v to be bad. At depth zero there is one such witness, its size is 1=(q+1)0, and [F1] bounds the bad probability by η.

2.1givenstep 1.1construct

Suppose a depth-(r+1) node is bad. It has a (q+1)-subset J of bad children. For each child j∈J, select one witness set Sj that forces that child to be bad. The child location sets are disjoint, so S=⋃j∈JSj has size (q+1)(q+1)r=(q+1)r+1 and its occurrence forces the parent to be bad. There are at most Awrq+1 such witness sets if wr bounds their number at depth r. Only finite selection from finite sets is used.

3.1step 2.1algebra

The witness-count recurrence w0=1, wr+1≤Awrq+1 gives wr≤A((q+1)r−1)/q. This follows by induction: it is equality at r=0, and substituting the bound at level r gives exponent 1+(q+1)((q+1)r−1)/q=((q+1)r+1−1)/q.

4.1F1step 3.1algebra∎

Each fixed witness set has probability at most η(q+1)r by [F1]. The union bound over all witnesses gives P(root bad)≤A((q+1)r−1)/qη(q+1)r=A−1/q(A1/qη)(q+1)r. Since Aηq<1, the base A1/qη is below one, so the bound tends to zero.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Code Deviation and Fault Spread

Definition

Consider one block of m tensor factors H1⊗⋯⊗Hm, its code subspace Q, and an arbitrary finite reference system R. For an integer s≥0, let Es be the complex linear span of all operators on the block supported on at most s physical coordinates, with support and weight as in Support and weight of an operator on a finite register.

A density operator ρ on the block and R is s-deviated from a code-supported density operator σ if there is a CPTP map N on the block with a finite Kraus family K1,…,Kt∈Es such that ρ=(N⊗id⁡R)(σ)=∑j=1t(Kj⊗IR)σ(Kj†⊗IR) and ∑j=1tKj†Kj=I. Here σ is code-supported when its joint support is contained in Q⊗R. The reference factor is retained in the identity above. Equality of reduced states outside a coordinate set is not the definition of deviation here.

For a finite family of live blocks indexed by B, use the joint error space EsB:=span⁡{⨂b∈BAb:Ab is supported on at most s coordinates of block b}. Joint s-deviation means the same Kraus formula with a single CPTP map on all live blocks, every Kraus operator in EsB, and identity on the external reference alone. The ideal joint state is supported in ⨂b∈BQb⊗R. This includes the original one-block definition when ∣B∣=1. The joint error map need not factor across blocks: a faulty multi-block gate can correlate their errors. Other live data blocks are part of the data system, not part of the unchanged external reference. Statements about deviation per block in a multi-block computation use this joint convention.

There is also a weaker encoded instrument error-sector relation, which does not require a CPTP extension to the whole physical input space. Fix the joint encoding VB=⨂b∈BVb. An s-supported encoded instrument is a finite family of completely positive branch maps from the joint logical register to the physical register, with Kraus operators

Aβj=EβjVB,Eβj∈EsB,∑β,jAβj∗Aβj=IHL.

Thus its full instrument is trace preserving on the admitted encoded input domain. A branch retains its actual subnormalized probability; neither it nor its normalized conditional output is required to extend to a full-space CPTP error map. With an ideal logical unitary g, replace VB in this formula by VBg. For other ideal logical instruments, state the analogous Kraus identities and output registers explicitly. Every equality is tensored with identity on an arbitrary finite external reference. With auxiliary fault memory M, allow coefficients on M, that is Kraus sums ∑a(EaVB)⊗Ma, and impose the full instrument's trace-preservation identity on HL⊗M. Memory output may change; after its trace, the logical/reference channel is the one required by the declared decoded-recovery identity.

A correcting gadget states the stronger input-sector/output-sector operator identity it needs: on every admitted incoming error term EVB, its branch Kraus maps are sums of E′VBg with the prescribed output support budget. Coefficients may depend on the incoming error term and on retained branch/memory registers, but not act on the logical factor. Linearity covers coherent incoming errors and correlated blocks. This is the sector convention for noisy correcting instruments. The earlier full-space CPTP deviation relation remains a sufficient, stronger relation; it is not redefined to mean this weaker encoded relation.

For an integer ℓ≥1, literal support-propagation spread applies to a specified unitary circuit segment: conjugating a fault operator supported on S through the remaining fault-free unitary gates produces an operator supported on at most ℓ∣S∣ output coordinates per block. For several faults, expand the finite Kraus families and take the union of their propagated supports. This gives the sum of the individual support bounds. The bound must account for all input blocks of a multi-block gate.

For a correcting, preparing or measuring gadget, an effective spread budget is instead part of an explicit input-sector/output-sector contract. The gadget declares its admitted joint error sectors, allowed fault supports, ideal logical channel or instrument, and joint residual-error sector for each allowed fault count. The required identities compare its decoded output with that ideal logical channel or instrument on every admitted input, with an arbitrary finite external reference. Measurement identities are identities of the subnormalized branch maps, not equations obtained by ignoring their probabilities. Any auxiliary fault memory is retained in the description of the faulty maps and may change there; it is distinct from the untouched external reference, and nonfaulty locations leave that memory alone. An identity that retains fault memory must specify its output memory action rather than silently identify it with the reference identity.

The numerical computation and correction budgets needed for sparse induction are explicitly imposed in the separately stated proper-code gadget contract; the word spread alone supplies none of those identities. In particular, incoming-error propagation and the full noisy correction action must be checked. Zero-fault recovery on arbitrary inputs remains a separate requirement. No global equation moving arbitrary input faults through a recovery channel on its whole input space is asserted.

Remarks

The distinction between full-space CPTP deviation and encoded instruments, a concrete nonextension example on the [ ⁣[49,1,9] ⁣] code, and transfer of a fixed decoded recovery to the encoded instrument relation are proved in Encoded error instruments and full-space CPTP error maps. That comparison is not needed to define either relation.

DefinitionDefinition: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Finite ordered channel-location schedules

Definition

Fix a nonzero finite-dimensional ordered tensor register H=H0⊗⋯⊗Hn−1 and an integer M≥0. A finite channel-location schedule is an ordered list of slots ℓ1,…,ℓM. Slot ℓt has an ideal quantum channel Φℓt:L(H)→L(H) and a declared support Sℓt⊆{0,…,n−1}. A channel is supported on Sℓt when it has a finite Kraus representation all of whose Kraus operators are supported there in the sense of Support and weight of an operator on a finite register. The order is chronological: slot ℓ1 acts first. Its circuit denotation is the linear map

ΦℓM∘⋯∘Φℓ1,

with the empty schedule denoting the identity map on L(H). The definition records the full-register channels at the slots; gate, preparation, measurement, reset, classical-control, and scheduled-idle operations are included only when their corresponding local channels and supports are supplied. Any ancillary or classical record registers they use are factors of H. No unlisted idle slot is implicit. A pattern-dependent replacement at slot ℓ must be a quantum channel supported on the same Sℓ; the chosen replacement may depend on the full fault pattern, but no extra joint operation across distinct slots is part of this schedule.

Facts & Assumptions

Given: A finite-dimensional ordered tensor register, a finite ordered list of full-register quantum channels, and declared supports for their Kraus operators. Verify that the schedule denotation is well-defined and is a quantum channel.

[F1]

Finite-dimensional quantum channel: A quantum channel is a complex-linear completely positive trace-preserving map on the full operator space.

[F2]

Finite-dimensional channels compose and tensor: A finite composition of finite-dimensional quantum channels is a quantum channel.

[F3]

Support and weight of an operator on a finite register: E is supported in S when its wire permutation has the form ΠSEΠS−1=ES⊗ISc for some ES.

Verification

1.1givenF1F3construct

Each Φℓt is a complex-linear endomorphism of L(H) by [F1] and is assigned its declared local support by [F3], so the displayed finite chronological composition is well-typed; for M=0 it is the identity.

2.1givenF1F2algebrainduction∎

For M>0, repeated application of [F2] shows the composition is completely positive and trace-preserving. For M=0, tensoring the identity with any finite reference identity leaves every positive operator positive, and tr⁡(id⁡(X))=tr⁡(X), so the identity is a channel. Thus every schedule has a well-defined channel denotation.

DefinitionDefinition: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Independent Local Quantum Fault Model

Definition

Let C be a finite channel-location schedule as in Finite ordered channel-location schedules, with finite ordered location set L(C). A location is a supplied gate, preparation, measurement, reset, or explicitly scheduled idle channel with declared support Sℓ. The model does not create idle locations that the schedule did not declare.

Fix η∈[0,1]. A fault pattern is a subset F⊆L(C). Its probability is

P(F)=η∣F∣(1−η)∣L(C)∖F∣,

where integer powers use the empty-product convention x0=1, including at x=0. Thus each location faults with probability η, and the event classes generated by the fault/no-fault indicator at each location form an independent family in the sense of Independent families of event classes. Conditional on F, each ℓ∈F replaces only the ideal operation at ℓ by an arbitrary CPTP map supported on Sℓ; all other locations apply their ideal channels. A replacement map may depend on the full pattern, but it acts only at its own location. Faults at measurement and reset locations are represented by channels on their declared quantum and classical registers.

This definition is the independent, local fault model: location indicators are independent, and each fault map acts at its own scheduled location.

Facts & Assumptions

Given: A finite location set L from a channel-location schedule and a parameter η∈[0,1]. Verify that the fault-pattern weights define a finite probability space and that the fault/no-fault event classes are independent.

[F1]

Finite ordered channel-location schedules: A schedule is a finite ordered list of location slots with full-register channels and declared supports.

[F2]

Independent families of event classes: Independence means that every finite choice of events from distinct event classes has intersection probability equal to the product of its probabilities.

[F3]

Finite probability spaces, outcome weights, events, and event probabilities: A finite probability space consists of a finite outcome set with nonnegative weights summing to one.

Verification

1.1givenF1F3chooseinductionalgebra

For every F⊆L, the displayed weight is nonnegative because η,1−η∈[0,1]. Its total mass is one by induction on ∣L∣: the empty location set has one pattern of weight 1; for nonempty L, choose ℓ0∈L and split the sum into patterns omitting and containing ℓ0. Each part is respectively (1−η) and η times the same normalized sum on L∖{ℓ0}, so their sum is one. The powers use the stated empty-product convention, including when η=0 or 1. Thus the weights define a finite probability space by [F3].

2.1givenF2step 1.1algebra∎

Fix distinct locations ℓ1,…,ℓk and prescribed fault/no-fault values bi∈{0,1}. Splitting a pattern into its restriction to these k locations and its restriction to the complement, then summing over all complement patterns using step 1.1, gives P(Xℓi=bi for all i)=∏i=1kηbi(1−η)1−bi. This is the product of the single-location atom probabilities. Summing over the finitely many atom choices belonging to any selected event in each indicator class proves the finite-subfamily independence condition [F2].

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

The Local Noise Model Composes With Circuit Semantics

Statement

For a finite channel-location schedule and any finite probability law on its fault patterns, suppose each conditional pattern replaces faulty locations by CPTP maps on their declared supports. Every conditional denotation is a CPTP channel, and the probability-weighted average of these denotations is a CPTP channel. No independence assumption on the fault-pattern law is required.

Facts & Assumptions

Given: A finite channel-location schedule, a finite probability law on its fault patterns, and one local CPTP replacement map for each faulty location in each pattern. Prove that the averaged noisy denotation is CPTP.

[F1]

Finite probability spaces, outcome weights, events, and event probabilities: The outcome weights of a finite probability space are nonnegative and sum to one.

[F2]

Finite-dimensional channels compose and tensor: The composition of finite-dimensional quantum channels is a quantum channel.

[F3]

Finite ordered channel-location schedules: A schedule is a finite ordered list of full-register channels, and its denotation composes them in chronological order.

Proof

1.1givenF2F3

Fix a fault pattern F. At each ℓ∈F, insert its declared local CPTP replacement; at each ℓ∉F, use the ideal CPTP location map. Each is a full-register channel by the schedule definition [F3]. Applying [F2] successively in chronological order shows the finite composition ΦF is CPTP.

1.2givenF1algebra

Let wF be the probability of pattern F. The mutually disjoint pattern events cover the finite sample space, so their weights are nonnegative and sum to one by [F1].

2.1F1step 1.1step 1.2algebra

Define Φ‾=∑FwFΦF. It is completely positive: for every finite reference R and positive X, (Φ‾⊗id⁡R)(X)=∑FwF(ΦF⊗id⁡R)(X) is a nonnegative weighted sum of positive operators. It is trace-preserving because tr⁡Φ‾(X)=∑FwFtr⁡ΦF(X)=∑FwFtr⁡(X)=tr⁡(X) by steps 1.1 and 1.2.

3.1givenstep 1.1step 1.2step 2.1algebra∎

For each input operator, averaging the conditional schedule outputs is exactly application of Φ‾. Thus the finite stochastic schedule has a well-defined CPTP denotation.

Remarks

The proof uses the finite channel-location schedule, finite probability law, and channel-composition result. It applies to both the independent and local-stochastic fault-set branches.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

An explicit scalar phase completes Clifford+T to full unitary density

Statement

Let P=e2πi2I2, and use the exact matrices H,T of Exact one-qubit gates and rotations. The inverse-closed alphabet {H,T,T∗,P,P∗} generates a subgroup dense in U(2) in operator norm, including scalar phases.

For any encoding isometry V:C2→(C2)⊗m, m≥1, the logical matrices P,P∗ have the following depth-one gadgets: apply the corresponding scalar matrix on coordinate one and the identity on every other coordinate. Count exactly m scheduled locations, one on each coordinate, including the m−1 idles. Each gadget has literal spread one. A joint input with s supported errors per live block and at most q faulty elementary locations per block has joint (s+q)-deviation at its output, with any finite external reference retained. These phase and idle gadgets are closed under recursive replacement: the phase operation is applied to the first child only, and all other children are idle. This supplies a phase gadget and its error budget, not the noisy correction or non-Clifford gadget contracts of a full proper code.

Facts & Assumptions

Given: The exact alphabet, a fixed finite encoding isometry, the specified phase/idle schedules and arbitrary CPTP replacements supported on the faulty locations.

[F1]

Clifford+T Is Dense Projectively on One Qubit: the classes of H,T generate a dense subgroup of PU(2)=U(2)/{λI:∣λ∣=1} with the quotient topology.

[F2]

Powers of an Irrational Rotation Are Dense on the Circle: for irrational α, the integer powers of e2πiα are dense in the unit circle.

[F3]

The operator norm as the least bound and as the unit-sphere or unit-ball supremum defines the operator norm as the supremum on the unit ball.

[F4]

Code Deviation and Fault Spread: joint s-deviation uses one CPTP error map with Kraus operators in the span of tensor operators of support at most s per block, and identity on the external reference.

[F5]

Finite ordered channel-location schedules counts each supplied ideal channel or faulty local replacement at its declared support; unlisted idles are not implicit.

[F6]

The operator norm is a norm on the space of bounded linear operators supplies operator-norm homogeneity and the triangle inequality.

Proof

1.1givenF2algebra

The number 2 is irrational. Otherwise write 2=a/b with positive coprime integers a,b. Then a2=2b2 makes a even, so a=2c and b2=2c2 makes b even, contradicting coprimality. Thus [F2] applies to the scalar phases e2πin2.

1.2givenF3F5algebra

The gadget matrix is (e±2πi2I2)⊗I2m−1=e±2πi2I2m. Consequently it intertwines V with P or P∗ exactly, including the scalar phase. Its channel is the identity on the whole physical operator space, also with an external reference. The schedule has one supplied gate or idle on each of the m distinct coordinates, so [F5] gives size m and depth one. Its literal unitary propagation changes no operator support.

2.1F1F2F3F6step 1.1algebrachoose

Fix U∈U(2) and ε>0. Write π:U(2)→PU(2) for the quotient. The set π(B(U,ε/2)) is open, because its inverse image is ⋃∣λ∣=1λB(U,ε/2), a union of open operator-norm balls. By [F1], some matrix word W in H,T and their adjoints has projective class in that open set, so ∥U−λW∥op<ε/2 for some ∣λ∣=1. By step 1.1 and [F2], choose an integer n with ∣e2πin2−λ∣<ε/2. Since W is unitary, [F3] gives ∥W∥op=1 and homogeneity and the triangle inequality from [F6] yield ∥U−PnW∥op<ε. This proves density in the full matrix group U(2).

2.2givenF4step 1.2algebra

A union of at most q faulty locations in this layer touches at most q coordinates per block. Expand the incoming Kraus operators from [F4] as finite sums of per-block supported terms. Each product of a fault Kraus operator and such a term has per-block support in the union of their supports, of cardinality at most s+q. The ideal scalar gates commute with all of them. Their composite is CPTP and hence is a joint error channel of the type in [F4]; it need not factor across blocks. This proves joint (s+q)-deviation and the spread-one fault budget with the external reference unchanged. In particular, s=q=1 gives the computation-stage budget two needed when the declared capacity is two.

3.1givenstep 1.2step 2.2inductionalgebra∎

Replace a phase location by the same phase on its first child and idle locations on its other m−1 children; replace an idle by m idles. At each replacement exactly one descendant carries the phase, so the full matrix after any number of replacements remains e±2πi2I. Every elementary operation used is again P,P∗ or an idle. Thus this part of the finite alphabet is closed under recursive replacement, with at most m children per phase or idle gadget and the exact level-one size and depth already proved. No controlled phase is identified with an identity gate: the claim concerns the displayed scalar matrices themselves, while their unconditioned channels are identity.

Remarks

Clifford+T alone has only finitely many determinant values, so its projective density does not imply full U(2) density. The explicit scalar generator above supplies the missing phases. It does not establish a verified T-state factory, noisy recovery, or a complete universal fault-tolerant gadget family.

DefinitionDefinition: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Fault Locations, Paths, and Rectangles

Definition

For a finite channel-location schedule C, its elementary fault locations are the elements of the finite set L(C) in Independent Local Quantum Fault Model and Finite ordered channel-location schedules. A fault path is a subset F⊆L(C); it records where faults occur, not the CPTP maps chosen at those locations.

Fix a recursively replaced gadget family. A level-zero rectangle is one elementary location. A level-(r+1) rectangle is the complete set of elementary locations used by one level-r operation gadget, including its declared preparation, correction, measurement, reset, classical-control, and idle locations. Its level-r child rectangles partition its elementary location set; in the ordinary rectangle recursion these child sets are disjoint. Let a be a uniform upper bound on the number of child rectangles in any such parent. The extended rectangle for a gate is the union of its rectangle and its adjacent correction rectangles; extended rectangles may overlap and are not covered by the disjoint-child convention.

Use a separate integer b for a uniform upper bound on the number of elementary locations in a level-one extended rectangle. The constants a and b count different objects.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Distance-Three exRec Correctness and Truncated Witness Reduction

Statement

Consider a finite recursively closed distance-three stabilizer-code simulation encoding one logical qubit per block, with the following checked local gadget conditions. The finite logical alphabet consists of unitary gates, prescribed one-block pure-state preparations (in particular the usual ∣0⟩, ∣+⟩ and any verified pure magic-state preparation), and destructive rank-one basis measurements, together with explicitly retained classical records and their declared controls. Each template is a finite directed circuit with declared input/output quantum and logical classical ports. Syndrome-processing and ancilla records of an EC are internal to that EC; the checked channel or instrument identity includes every logical classical port, with decoded recovery acting as identity on ports it does not decode. Its internal ancillas are freshly allocated or reset for that invocation; every wire crossing invocations is an explicit template port. Recursive replacement refines these ported vertices and wires, rather than introducing an undeclared shared scratch register. These are hypotheses about elementary gadgets, rather than a hypothesis of exRec correctness or of a witness reduction. Use a complete stabilizer Pauli recovery, with one chosen Pauli correction for every syndrome, including uncorrectable syndromes. Let D be this recovery followed by ideal decoding; require the zero-fault EC E0 to obey DE0=D on every input. Let Ps, s=0,1, project onto the span of weight-at-most-s Pauli errors applied to codewords. Equalities below hold as channel equalities on the indicated subspaces, with arbitrary finite reference systems. They must also hold when a faulty location interacts with an auxiliary memory; the memory is untouched at nonfaulty locations.

For multiple blocks, the indicated error sector is the joint linear span of tensor Pauli errors with the indicated weight in each block, tensored with an unchanged external reference. Arbitrary coherent errors and correlations between data blocks are allowed; no product noise or product state is required.

An EC with f≤1 faults maps every input into Pf. For s+f≤1, it preserves decoded recovery on Ps: DEfPs=DPs, where a projection in a channel identity denotes restriction to its range. A gate gadget Gf, with ideal logical unitary g, on inputs in ⨂iPsi, where f+∑isi≤1, has each output in Pf+∑isi and satisfies D⊗outGf=gD⊗in on those inputs. A one-block preparation of a prescribed pure state with f≤1 faults has output in Pf and decoded output its prescribed ideal state, independent of a reference or memory. A destructive measurement on Ps with s+f≤1 has precisely the ideal logical instrument after D, including its retained classical outcome. Classical processing of the final outcomes is reliable. Idle gadgets satisfy the gate conditions. All scheduled operations, ancilla preparations, syndrome processing and measurements belong to these finite gadgets. Unknown unencoded inputs are not covered: initial inputs are encoded or are the prescribed preparations.

A rectangle is a gate gadget followed by output ECs; its extended rectangle (exRec) also includes its input ECs. Preparations have no input EC; destructive measurements have no output EC. Shared ECs are the only overlaps at a fixed scale. Use the following truncation convention recursively: when a later bad exRec claims an input EC, erase that shared EC from the earlier exRec, including every elementary location belonging to the recursively expanded later exRec. Here the expanded support is defined by the recursive input-collar construction in the proof: start with the ordinary recursively replaced gadget cores, and adjoin the leading lower-scale ECs of opening child roots, descending one scale at a time. Thus an erased EC also erases those opening lower-level ECs. Complete erased output ECs by ideal recovery ECs, starting at the lowest scale. Assume b≥2 uniformly bounds the number of child-location roots in any complete one-scale exRec template, including its leading ECs; erased roots retain their template labels. Every recursive path has the declared full depth.

Scan roots in reverse circuit order. At scale zero a retained location is bad exactly when faulty. At scale r≥1, perform the scale-(r−1) scan inside the retained exRec, completing erased ECs ideally. Call the retained exRec bad if at least two bad child roots survive this scan, and good otherwise. A bad root claims its entire retained exRec; an earlier root loses any locations so claimed. A good root removes only its rectangle during decoding, leaving its leading ECs for the earlier scan. Use any fixed reverse topological order when roots are incomparable.

Then every good complete or truncated exRec is correct: its retained rectangle followed by decoded recovery equals decoded recovery at its input followed by the ideal logical operation, on the state produced by its retained leading ECs. The scan reduces the circuit exactly to its ideal circuit with faults only at selected bad roots. Each selected bad level-r root has a full binary witness tree of depth r, with distinct faulty elementary leaves; trees of jointly selected bad roots have pairwise disjoint leaves. A fixed root has at most A2r−1 possible labelled witness trees, where A=(b2). Consequently, for any specified k roots which are required to be jointly selected bad at level r, the independent elementary fault model gives

P(all specified roots are selected bad)≤(A2r−1η2r)k.

This bound includes the dependence of truncation on the fault pattern; it does not assert independence of the selected bad-root events.

Facts & Assumptions

Given: The finite recursive schedule, checked local gadget identities, decoder, truncation rule, full-depth hierarchy, bound b, and reverse scan in the statement. Prove correctness, disjoint witnesses, and the probability bound.

[F1]

Independent Local Quantum Fault Model: For any fixed set of h distinct elementary locations, the probability they are all faulty is ηh; other locations are unrestricted. Conditional on the pattern, each replacement is a fixed CPTP map on its own declared support; there is no additional joint cross-slot operation or undeclared persistent fault-memory wire.

[F2]

The finite union bound bounds the probability of a finite union by the sum of the probabilities.

[A1]

The elementary EC, gate, preparation and measurement identities in the statement hold for every allowed fault map, with references and auxiliary memory retained.

[A2]

The recursive templates, full-depth replacement, shared-EC overlap rule and bound b are those in the statement. Truncation erases the full elementary support of a claimed later exRec, at every nested scale.

Authoring scope

The primitive interface above is the actual distance-three threshold setting of Aliferis–Gottesman–Preskill: one-qubit pure preparations and standard-basis destructive measurements. Generic mixed or multioutput primitive preparations and arbitrary POVM primitives were introduced by the first helper draft, not required by the pre-existing threshold claim. Their broader extension is not asserted here. The port discipline is the meaning of recursive replacement used below: it does not permit undeclared cross-invocation shared scratch. Conditional on an elementary fault pattern, the independent local channel model introduces no persistent external fault-memory wire; all actual wires are the declared circuit wires. Auxiliary memory remains allowed in the checked local identities, so those hypotheses are stronger than the actual patternwise model.

Exact syndrome-preserving boundary identity

The following local identity explains the syndrome-preserving alternative to a lossy recovery insertion. It applies at an actual adjacent input boundary of a later bad region; it does not place that boundary or justify crossing any retained gate.

For a level-j block let Uj:HP,j→HL⊗HS,j be the invertible syndrome decoder, fix its zero syndrome ∣0⟩, and define the code isometry Vjψ=Uj−1(ψ⊗∣0⟩). The coherent recovery isometry and its inverse on its range are

Cj=(Vj⊗IS,j)Uj:HP,j⟶Qj⊗HS,j,Kj=Uj−1(Vj∗⊗IS,j):Qj⊗HS,j⟶HP,j.

Since Vj∗Vj=IL, KjCj=IP,j exactly, including after tensoring any other blocks, classical records or memory. Tracing the stored syndrome after Cj gives the code-valued recovery Ad⁡VjDj; that trace is not made in the boundary identity.

If B:HP,j⊗M→Hout⊗M′ is the actual retained channel of the selected later bad region, put B′=B∘(Ad⁡Kj⊗id⁡M) on Qj⊗HS,j⊗M. Then

B=B′∘(Ad⁡Cj⊗id⁡M).

This is a typed channel equality on every input, not merely on the logical marginal. Both operations act only on that input block and its new syndrome register; all other logical blocks are unchanged references. Thus the reconstruction adds neither a logical data support nor an elementary witness address. It is included in the already selected bad region's effective operation, and no new bad region is introduced. The same equality is valid for a bad quantum comb when Kj is inserted at its actual first input port: all its later memory ports and their chronological order remain as originally supplied. For disjoint blocks use tensor products of Cj,Kj. For nested cuts use their actual temporal composition and reconstruct in the inverse order, so that adjacent KjCj pairs cancel. This last assertion is an identity of composed isometries; it does not allow any pair to cancel through an intervening retained gate.

The proof below does not insert these recovery isometries: it changes coordinates at actual owned block boundaries. The identity records why a syndrome-preserving reconstruction, if used, would have to remain local and adjacent; it cannot justify crossing a retained gate.

Proof

1.1givenA1construct

Choose a complete stabilizer syndrome decoder U:HP→HL⊗HS, using the stipulated Pauli recovery representative for each syndrome. The stabilizer eigenspaces are mutually orthogonal copies of the code, so this map is unitary. Write U=Ad⁡U and D=Tr⁡SU. Recursively, Uj first applies Uj−1 to each subblock and then U to the resulting logical coordinates, retaining every syndrome register. Thus HP,j=HL⊗HS,j after applying Uj. A weight-filter sector becomes HL⊗S0 or HL⊗S1, where Ss is the span of syndrome basis vectors of errors of weight at most s. For a degenerate code, errors with the same syndrome give the same copy of the logical space, so this assertion remains true. All tensor products below include the external reference unchanged.

1.2givenA2constructinduction

Here are the actual circuit boundaries used below. An ordinary gadget core is its recursive replacement circuit, before adjoining leading ECs of its opening child roots. Give every child slot its schedule address and every shared EC one physical address. To expand an exRec, adjoin those opening leading EC cores, then their opening leading EC cores at the next lower scale, and continue downwards. An added leading j-EC is the output j-EC of the previous j-rectangle on precisely that wire; it does not include the previous gate. Thus after a later bad root claims its expanded support, its earlier neighbors lose only output ECs at the outer scale and at successively lower scales. Each affected lower rectangle still has the full input and output registers of its own gate. Its missing EC wires are connected directly from the last retained operation to the first operation owned by the later root. Register identity along that connection does not assert equality of their states after any recovery. This is a boundary in the actual retained directed circuit, not a factor of a remotely placed final decoder. Gates on other wires may lie between its endpoints in a linear schedule; none lies on that wire between these endpoints, by the definition of the preceding rectangle.

2.1givenA1step 1.1algebra

At scale one let si count faults in the leading ECs, f those in the gate, and ta those in the output ECs which are present. If their total is at most one, the leading ECs put the input in ⨂iPsi. The gate takes this entire sector into Ps+f on each output, where s=∑isi, and has decoded logical action g. Every present output EC preserves that action because s+f+ta≤1. If an output EC is absent, the decoded gate identity already gives precisely the same conclusion on that output; no EC is inserted. This proves, simultaneously for every subset J of output ECs retained, DoutEJGf∣⨂iPsi=gDin∣⨂iPsi. The corresponding preparation and destructive-measurement identities are exactly those in [A1]. This establishes the base assertion for complete and truncated rectangles together.

2.2givenA1A2step 1.2constructinduction

First remove transparent classical bypasses from the EC ownership graph. A retained logical classical record on which D acts as identity cannot have a last incident location inside an elementary EC: replacing that location by its ideal operation followed by resetting that outgoing bit to zero is an allowed one-location CPTP fault. No later EC location could restore it. On an encoded quantum input with that logical bit equal to one, this would violate DE1P0=DP0, including its classical port. The same argument excludes a newly prepared retained logical bit. Thus these external record wires pass untouched through the EC; route their fan-out directly from their original incoming source, outside the EC owner. Recursive refinement preserves these bypasses because it replaces locations, and there is no EC location on such a wire to replace. Records obtained by decoding an encoded block instead belong to that block bundle until its declared measurement. Now contract ordinary recursively replaced cores. By the port discipline this recovers the parent circuit DAG, with the transparent wires bypassed: all internal ancillas close within their invocation, and every remaining external quantum or classical wire is a parent edge. Moving a shared EC from an earlier rectangle to a following selected bad exRec transfers an output-terminal subcircuit forward along that edge. No output of the moved piece returns to a retained operation of the earlier owner. To check the last assertion at nested boundaries, take the first lower EC core adjoined across the boundary: it is the trailing EC immediately before the first opening child in the already transferred piece. A retained gate on that wire between it and that child would contradict their being consecutive. Any other non-bypass output of that EC is an internal ancilla, closed within the same EC, or another output in that same block bundle. Repeat at smaller scales. Thus every collar piece transferred forward is terminal on all its non-bypass external output wires in the retained earlier owner. All such outputs of the transferred EC feed the claiming successor: syndrome-processing records are internal, transparent classical fan-out has already been bypassed, and the quantum output is precisely that successor's input bundle. Thus each new quotient edge into the successor replaces an old forward path through the preceding owner and that EC; there is no new outgoing edge to a third owner. Such a transfer cannot create a quotient cycle, since replacing every new edge by its old forward path would give a cycle in the previous DAG. Repeating these finite transfers, in the prescribed reverse root order and descending collar scale, gives disjoint owners and a causal quotient DAG. The owner's interface can be staggered in elementary time; at a stagger use its complete child block bundles, descending until each bundle is exposed. Every primitive multi-register operation belongs to one owner and is never split. This also proves that the quotient's root labels and the addresses erased at its boundaries are exactly those in the stated scan.

3.1givenA1step 1.1step 2.1algebra

We will retain the syndromes in that identity. If a CPTP map M on HL⊗K has logical marginal gTr⁡K for every input, its conjugation by g−1 has identity logical marginal. Its Choi matrix has marginal supported on the one-dimensional maximally entangled logical subspace. Positivity forces the entire Choi matrix to have support in that subspace tensored with the remaining registers; hence it factors as the identity-channel Choi matrix times the Choi matrix of a CPTP map on K. Consequently M=Ad⁡g⊗T. Apply this to the entire filter sector in step 2.1, which by step 1.1 is the full logical space tensored with an allowed syndrome subspace. It gives an exact syndrome-retaining identity on that sector, including all input correlations. Extend T to the remaining syndrome space by first projecting onto this sector and its orthogonal complement and using any fixed channel on the complement. Only the restriction is used on reachable states. For a prescribed pure preparation, its pure logical marginal forces its joint logical/syndrome output to be that state tensored with a syndrome state; this follows by the same positivity-support argument. For a good destructive measurement there is no syndrome output: its full quantum-to-classical channel on the admitted sector is exactly the ideal measurement following Tr⁡S, with all other-block syndromes included in the unchanged external reference. Retain its classical output as a logical wire. No tensor-factor theorem for a general instrument is being assumed.

3.2givenF1A1A2step 1.1step 1.2step 2.2constructalgebra

Fix the elementary pattern. Its replacement maps are fixed local CPTP maps by [F1]; they have no unlisted persistent memory port. Contract each actual physical owner in the DAG of step 2.2, before introducing any syndrome coordinates. It is a channel B on its declared block bundles and classical ports; other live blocks are references. Now change coordinates at its actual input and output bundles: B^=UoutBUin−1, so UoutB=B^Uin exactly. Insert U−1U on each internal block edge of that DAG; the adjacent pairs cancel. At a staggered interface use the lower bundles of step 2.2 and keep the upper decoder on their logical outputs. No decoder crosses an intervening retained gate. In this construction a syndrome register is the coordinate of its particular physical block edge, not a new global bath: a multi-block operation can process syndromes only on its declared block ports, and a destructive measurement has no outgoing quantum or syndrome port. Thus the coordinate change introduces no extra cross-owner memory edge or cycle. In particular, for a bad owner B^ is the conjugation of the ORIGINAL retained physical channel, with its original incoming syndromes. Its logical support is only its declared blocks and classical ports, and its elementary support has not enlarged. Neither a physical ideal recovery nor the false identity UjEj=Uj has been inserted.

3.3givenA2step 1.2step 2.2constructinduction

To compare this exact network to the scan, distinguish a restored address from its original physical address: the former is a virtual ideal copy at the same template slot; the original, if claimed by a later bad owner, stays with that owner. Restore the erased cores and collars from the smallest scale upwards. We prove by address induction that every opening EC address of a virtual child is also virtual. Within its restored core this is immediate; at the input boundary the address is one of the leading ECs adjoined by the expanded-support rule of step 1.2, hence was claimed and erased together with that core, and is restored as a fresh ideal copy. Repeat down to elementary addresses. Therefore every wholly added child's entire expanded support is ideal, not merely its gate core. It is good at scale zero and, inductively, at every scale, so it makes no claim on a retained physical address. A retained child's new output EC pieces have just this property; its original physical faults and original leading addresses are unchanged. Induct on its scale: the added child roots are good and make no erasure, and the original child roots have unchanged bad flags and unchanged claims on original addresses. Hence the selected bad children and their template labels agree with the scan in which those output EC pieces are absent. This proves the needed scan mapping without replacing any retained real context by an ideal channel.

4.1givenA1A2step 1.1step 2.1step 3.1step 3.2constructinduction

Specify the induction domain at one actual INPUT boundary, rather than intersecting constraints at different circuit times. Fix the fault pattern, root and truncation. At every exposed opening lower block port record the filter required by that opening component's leading EC; impose no filter at an opening bad component. Also record the outer one-scale filter Psi on the decoded subblock coordinates of each parent input block, where si counts the effective faults in its leading EC. These are all conditions on the same input registers. Under the recursive decoder each lower-port filter constrains the syndrome register of its decoder-tree node; the outer filter constrains the outer syndrome register. Each acts as identity on the final logical coordinates by step 1.1. Thus their joint allowed space is Uj,in−1(HL,in⊗K∂) for a syndrome subspace K∂ (use a direct sum of allowed syndrome tuples if several boundary cases are allowed). No filter at a later intermediate time is included in this definition. We prove simultaneously at scale j: a good retained rectangle has ideal logical action on EVERY state in this full input space, with arbitrary reference; its syndrome-retaining form is the factor in step 3.1; a bad owner is its original exact conjugation; and a leading-EC subnetwork with f≤1 effective child faults puts its decoded subblock coordinates in Pf, preserving their decoded logical state on Ps when s+f≤1. The EC assertion is on those decoded coordinates, not a claim of weight-at-most-one elementary error at every concatenation level. At scale one these assertions are exactly [A1] and step 2.1 and step 3.1.

5.1givenA1A2step 3.1step 2.2step 3.2step 3.3step 4.1inductionconstruct

Suppose the assertion holds at every scale at most j. Decompose a retained level-(j+1) exRec using the actual level-j block interfaces of step 2.2, descending through staggered collars. All components used here have scale at most j. Start with an arbitrary state in the full input sector of step 4.1, and process this DAG in topological order. For each next good component its leading EC is either at the initial boundary, where the required filter is part of K∂, or is already in the processed prefix, where the lower-scale EC assertion forces that filter on EVERY incoming state. A bad component needs no input filter. This forward support induction proves eligibility of each lower-scale identity for every state in the parent input sector; it does not infer eligibility merely from one particular image of the parent leading EC. Contract their original channels and change coordinates as in step 3.2. The induction hypothesis replaces a good unitary component by its ideal logical gate and a syndrome-only channel; a good preparation by its prescribed pure logical state and a syndrome state; and a good destructive measurement by its ideal quantum-to-classical channel, discarding that measured block's syndrome. Classical outcomes remain explicit logical wires. On other blocks all syndrome registers remain references. The tensor syndrome channels on the surviving block edges commute with ideal logical gates on those edges, and with a measurement on its logical coordinate before its syndrome is discarded. If the parent is good there is at most one bad component by step 3.3. Keep each syndrome-edge channel in causal order. Its causal past supplies an arbitrary finite syndrome-memory input to that one fault; its causal future has no further access to logical data through a fault. After tracing the final syndromes, those future trace-preserving memory channels have no effect on the logical instrument and can be removed, even when conditioned on retained classical outcomes. With no bad component the whole syndrome network is of this harmless kind. Thus only the memory already arriving at the bad component is included in its effective fault map; no future outcome is pulled backwards and no other logical block is accessed. Classical controls are handled on each retained classical history, keeping the corresponding instrument branch and summing those branches at the end. This is the primitive one-scale template with at most one effective faulty location, the same classical ports, some output ECs omitted, and arbitrary finite memory only at that fault. It has not contracted multiple bad owners into a common channel or reordered memory interactions between them.

6.1givenA1A2step 2.1step 3.1step 1.2step 2.2step 3.2step 3.3step 4.1step 5.1induction

Apply [A1] to the resulting one-scale network. If si effective faults are in leading EC i, the EC condition puts its coarse output coordinates in Psi for every coarse input, with the smaller syndrome registers retained as reference or allowed fault memory. On a coarse Ps input it also gives the asserted decoded preservation whenever s+si≤1. This proves the auxiliary EC assertion at the new scale. The gate filter condition similarly propagates the coarse input filters, and its decoded identity, followed by any present output ECs, gives step 2.1 for the parent. Its absent output ECs remain absent. Since step 5.1 established every lower component's eligibility for ALL states in the input sector defined in step 4.1, this is a channel identity on that full sector, not just on the image of a preceding channel. Step 3.1 now supplies the parent's syndrome-retaining factor, pure preparation factor, or destructive measurement identity, as applicable. It remains to verify the ENTIRE boundary sector for the actual parent leading-EC output. Use the following cover of the actual exposed ports. A retained good opening level-a component p has its immediately preceding level-a EC e and the descending input collar of e available as physical context, possibly owned by an earlier rectangle. Here availability is relative to the network under consideration: if p is inside a larger claimed owner, that owner contains this context. If a different later owner had erased e from this context, its only external quantum outlet would lead to p. By step 1.2 and step 2.2 the claim must then include that immediately following opening region; it cannot pass through or jump across a retained gate. Thus p would have been removed into that owner, or would itself be the selected bad claimant, which imposes no boundary filter. Private EC records give no alternative outlet. This excludes precisely the case of a retained good p whose necessary EC has disappeared; it does not assert that an EC owned elsewhere is absent from the physical circuit. For each such good p, its scan contains at most one bad child in total, hence at most one in e. To apply the EC assertion to e, first cover the opening ports of e and its retained collar in the same manner at scales STRICTLY BELOW a. At scale zero there is no decoder input filter to supply. Ascending this finite cover tree, the already proved lower-scale EC assertion therefore forces each required filter for every incoming state, including an arbitrary output of a preceding bad owner. A bad opening component requires no filter, and virtual opening components have entirely ideal collars by step 3.3. For a parent of scale j+1, the largest a used in this cover is j, so no same-level EC assertion is invoked to establish its own input domain. The cover establishes all lower exposed-port constraints of K∂ independently; applying the elementary EC condition to the reduced actual parent leading EC then supplies its outer Pf constraint. Their joint range is exactly the input-boundary sector defined in step 4.1. In particular no outer Pf condition is used to infer a lower syndrome condition. A bad parent is still its original conjugated channel. This closes the simultaneous induction using only strictly smaller-scale identities in step 5.1 and in the cover descent, and elementary identities at the new scale. Encoded inputs or the prescribed pure preparations close the initial circuit boundary, and final destructive instruments give the ideal output law when all selected top roots are good.

7.1givenA2step 3.3step 6.1constructinduction

A selected bad level-r root, r≥1, contains at least two selected bad child roots in its retained scan. Choose the first two in the fixed order, and repeat inside each of them down to scale zero. The result is a full binary tree of depth r. A later selected bad child claimed every location of its retained exRec before the earlier child was processed. Hence the two child supports are disjoint. This remains true at every nested boundary because [A2] erases all overlapping elementary locations, not just the nominal outer EC. Induction down the tree gives 2r distinct faulty elementary leaves. The same argument gives disjoint leaves for trees from jointly selected roots. Ideal completions create no faulty leaves.

8.1givenA2step 7.1algebra

Count the trees before considering probabilities. At each internal vertex its two child roots have labels in its fixed complete exRec template, with at most b possibilities; hence their unordered pair has at most A=(b2) possibilities. Order that pair by the fixed template order. A full depth-r binary tree has 2r−1 internal vertices, so it has at most A2r−1 labelings. A label sequence fixes every elementary leaf's physical location in the original schedule, regardless of which ECs the scan erased: truncation deletes locations and never changes a root's template address. Thus no extra count of truncation patterns is needed. Some labelings cannot survive a scan or repeat a leaf; discard them. Every actual witness is among the remaining predetermined labelings, by step 7.1.

9.1F1F2step 7.1step 8.1algebra∎

For k specified selected bad roots, choose one of these labelled witness trees for each root. There are at most Ak(2r−1) such tuples. Keep only tuples with k2r distinct elementary leaves. For a fixed retained tuple the probability all its leaves fault is ηk2r by [F1]; no restriction on other locations, erasure decisions, or additional faults is imposed. Step 7.1 makes the event of interest a subset of the union of these fixed leaf-fault events. Applying [F2] proves P(all specified roots selected bad)≤Ak(2r−1)ηk2r. This proof uses independence only for fixed elementary locations and therefore remains valid for fault-dependent truncations.

Remarks

The proof uses the original retained channels throughout. Ideal completions serve only the scan's address bookkeeping. Good destructive measurements discard their own syndrome and retain their classical logical outcome; only unitary logical factors use the Choi factorization. Broader primitive classes such as generic mixed multioutput preparations and arbitrary POVMs are not included in this source-derived helper and would require their own instrument/environment interface proof.

Repair history

The first two attempted repairs did not supply a valid internal decoder-cut placement invariant. An expressly authorized third cycle identified the additional distinction between a lossy recovery identity and an invertible syndrome-retaining identity; the proof claim remained retracted. The exact pre-cycle-three source remains in research/quantum-computing-algorithms-60-2026-10-15-owner/qc21-cycle3-preimages/lem-qc-t1-truncated-exrec-witness-reduction.md. Continuing user authorization then permitted cycle four without resetting that history. Its exact preimage and its first independently rejected coordinate-network candidate remain in research/quantum-computing-algorithms-60-2026-10-15-owner/qc21-cycle4-preimages/. The primitive-scope clarification restores the actual original threshold setting rather than claiming a new arbitrary-instrument theorem. The replacement argument contracts original physical channels on declared ports before changing coordinates, so no independent shared syndrome bath is introduced.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Disjoint Fault-Location Events Are Independent

Statement

In the independent local fault model, events determined by pairwise disjoint finite sets of location fault indicators are mutually independent. In particular, bad-rectangle events determined only by the faults in pairwise disjoint child rectangles are independent.

Facts & Assumptions

Given: A finite set of independent Bernoulli fault indicators indexed by L, and pairwise disjoint subsets L1,…,Ls⊆L. For each j, let Ej be an event determined only by the indicators indexed by Lj. Prove that E1,…,Es are independent.

[F1]

Independent Local Quantum Fault Model: A fault pattern F has probability η∣F∣(1−η)∣L∖F∣.

[F2]

Fault Locations, Paths, and Rectangles: Distinct child rectangles used in the ordinary recursion have pairwise disjoint elementary-location sets.

[F3]

Independent families of event classes: For distinct event classes, every finite intersection of chosen events has probability equal to the product of their probabilities.

Proof

1.1givenF1F2

For each j, let Xj={0,1}Lj be the finite set of fault-indicator patterns on Lj, and let Aj⊆Xj be the patterns that realize Ej. The event Ej is the disjoint union of the pattern events {X∣Lj=xj} over xj∈Aj.

1.2F1F3

For any tuple xj∈Aj, the joint pattern event fixes one bit at each location in ⋃jLj. The product fault law [F1] gives its probability as the product of the one-location bit probabilities; this is the finite-intersection condition in [F3].

2.1step 1.1step 1.2algebra∎

Summing over the finite Cartesian product A1×⋯×As and distributing finite sums gives P(⋂j=1sEj)=∑x1∈A1,…,xs∈As∏j=1sP(X∣Lj=xj)=∏j=1s∑xj∈AjP(X∣Lj=xj)=∏j=1sP(Ej). Thus E1,…,Es are mutually independent.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Conditional Distance-Three Extended-Rectangle Threshold

Statement

Assume the finite recursively closed distance-three, t=1 gadget family, complete syndrome decoder, explicit port discipline, local channel model and checked elementary correction, gate, pure-preparation and destructive-basis-measurement identities of Distance-Three exRec Correctness and Truncated Witness Reduction. Each level-zero rectangle is one elementary location, faulty independently with probability η∈[0,1]. Let b≥2 bound the number of child-location roots in each one-scale exRec template, including leading ECs, and put A1=(b2). Use that lemma's reverse scan and expanded-support truncation convention.

Define the uniform probability envelope p0=η and pr+1=A1pr2. Then

pr=A1−1(A1η)2r.

For any specified k roots, the probability that they are jointly selected bad at level r is at most prk. For N top-level roots, the probability of any selected bad root is at most Npr, and every final classical success probability differs from ideal by at most Npr. If η<1/A1, then pr→0 super-exponentially. For fixed gadgets and fixed subthreshold η, achieving error at most δ requires O(log⁡log⁡(N/δ)) levels and polylogarithmic multiplicative size and depth overhead. Elementary gadget correctness remains an explicit hypothesis; recursive exRec correctness and the witness reduction are supplied by the cited lemma.

Facts & Assumptions

Given: The checked local gadget and recursive port hypotheses in the statement, b≥2, the independent fault process, N≥1, and target δ∈(0,1]. Prove the probability and overhead bounds.

[F1]

Distance-Three exRec Correctness and Truncated Witness Reduction supplies correctness of good complete or truncated exRecs and the joint bound (A12r−1η2r)k from fixed disjoint elementary witness leaves.

[F2]

Independent Local Quantum Fault Model supplies the finite independent elementary fault process and fixed patternwise local replacement maps.

[F3]

The finite union bound bounds a finite union by the sum of its probabilities.

Proof

1.1givenF1F2algebra

The local hypotheses in the statement are precisely those of [F1], and [F2] supplies its independent elementary model. Thus [F1] bounds the joint selected-bad event for any specified k roots by (A12r−1η2r)k. Since A12r−1η2r=A1−1(A1η)2r, this is prk. This argument uses only fixed elementary witness leaves; the selected bad-root events need not be independent.

2.1step 1.1algebra

The expression pr=A1−1(A1η)2r equals η at r=0 and satisfies A1pr2=A1−1(A1η)2r+1=pr+1. Hence it is the stated recurrence envelope. In particular step 1.1 with k=1 bounds each selected bad-root probability by pr.

3.1givenF1F3step 2.1algebra

By [F3], the probability α of any selected bad top-level root is at most Npr. For every pattern in its complement, [F1] gives the ideal output instrument. Consequently the full output law is (1−α)Pideal+αQ for some probability law Q; at α=0 choose Q arbitrarily. Each success probability differs from ideal by at most α≤Npr. This remains true if the complement has probability zero, since then α=1.

4.1givenstep 2.1algebra∎

If η=0, pr=0 at every level. Otherwise for fixed η<1/A1 put θ=A1η∈(0,1) and c=−log⁡θ>0. The bound Npr≤δ holds whenever 2r≥c−1log⁡(N/(A1δ)), and level zero suffices when the right side is at most one. Hence the least qualifying level is O(log⁡log⁡(N/δ)). The finite recursive gadget family has a constant size and depth expansion bound κ≥1, so a circuit of original size S and depth D has size at most Sκr and depth at most Dκr, with a fixed boundary factor. Its multiplicative overheads are polylogarithmic, and pr=A1−1e−c2r→0 super-exponentially.

Remarks

The local gadget conditions and port discipline are essential. The witness-tree proof handles fault-dependent truncation without independence of adaptive selected events. It applies to the stated pure-preparation and destructive-basis-measurement primitive family; no general mixed multioutput preparation or arbitrary POVM primitive is inferred.

LemmaStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Twice-Concatenated Steane Code and Its Transversal Clifford Gates

Statement

Let D be the row space over F2 of

B=(110110010110100111001),x=(1,1,1,0,0,0,0).

Define V:C2⟶(C2)⊗7 by

V∣a⟩=8−1/2∑c∈D∣ax+c⟩(a∈{0,1}),W=V⊗7V.

The image of W is an explicit [ ⁣[49,1,9] ⁣] stabilizer code. It admits a fixed exact decoded recovery for the entire linear span of Pauli errors of weight at most four, preserving every finite reference. In particular it has the error-correction capacity d=2, with 49≥2d+1; this assertion concerns ideal recovery, not a noisy recovery gadget.

Put S=diag⁡(1,i). The following identities include their scalar phases exactly:

H⊗49W=WH,S⊗49W=WS,CNOT⁡⊗49(W⊗W)=(W⊗W)CNOT⁡.

Here the last tensor product pairs equal coordinates of the two blocks, with the first block as control. Each displayed gate circuit has depth one and exactly 49 gate locations. It has spread one in the support-propagation sense of Code Deviation and Fault Spread, for arbitrary joint fault channels on any set of its locations. For a two-block CNOT, errors on input coordinate sets A and B can affect coordinates A∪B in either output block; no bound by max⁡(∣A∣,∣B∣) is asserted.

Facts & Assumptions

Given: The displayed binary matrix, coset encoding, concatenation map, and exact ordered one- and two-qubit gates.

[F1]

CSS encoding dimension and commutation gives the coset encoding, its stabilizer space, and the exact dual-coset Hadamard formula.

[F2]

Stabilizer projector and code dimension gives dimension 2n−r for r independent commuting stabilizer checks on n qubits.

[F3]

Stabilizer distance defines distance by the least weight of a nontrivial Pauli class in the centralizer, modulo scalar phases and stabilizers.

[F4]

Stabilizer distance detection and correction gives exact recovery for the linear span of weight-at-most-t Paulis when 2t is less than the stabilizer distance.

[F5]

The Pauli matrices and Exact one-qubit gates and rotations specify the exact matrices X,Z,H,S; CNOT and Control-Target Order specifies ∣u,v⟩↦∣u,u+v⟩.

[F6]

Code Deviation and Fault Spread defines literal unitary support propagation per output block, retaining a finite reference.

Proof

1.1F1givenalgebra

The columns of B are the seven distinct nonzero vectors of F23, and its last three columns are the standard basis, so its rank is three. Each row has weight four and any two distinct rows have overlap two; hence BBT=0 and D⊆D⊥. Every nonzero word of D evaluates a nonzero linear functional on these seven columns. Such a functional takes value one on four of the eight vectors of F23, and takes value zero on the zero vector, so all seven nonzero words of D have weight four. Also BxT=0 and wt⁡(x)=3, so x∈D⊥∖D. Since dim⁡D⊥=4, it follows that D⊥=D⊔(x+D). The two coset sums defining V are orthonormal.

2.1F1F3F5step 1.1algebra

The six checks Xb,Zb, with b ranging over the rows of B, are independent commuting Hermitian Paulis, and their common fixed space is im⁡V by [F1]. A Pauli ikXuZv centralizes them exactly when u,v∈D⊥, and is a scalar-phase stabilizer exactly when u,v∈D. No nonzero word of D⊥=ker⁡B has weight one or two, since the columns of B are nonzero and distinct. Thus a nontrivial centralizer class has weight at least three. The operators Xx,Zx attain three and act respectively as logical X,Z on the displayed basis: translation by x exchanges the cosets, and x⋅(ax+c)=a since x⋅x=1 and x⊥D. Therefore this seven-qubit code has distance exactly three.

2.2F1F5step 1.1algebra

Since D⊥/D has representatives 0,x, x⋅x=1, and D=(D⊥)⊥, the exact Hadamard formula in [F1] gives H⊗7V=VH. For c∈D, its weight is zero or four, so iwt⁡(c)=1. For x+c, the weight identity wt⁡(x+c)=wt⁡(x)+wt⁡(c)−2∣supp⁡(x)∩supp⁡(c)∣ is congruent to three modulo four: the first weight is three, the second is divisible by four, and the intersection size is even because x⊥D. Thus S⊗7V=VS†, with no additional scalar phase. Taking adjoints of this diagonal action also gives (S†)⊗7V=VS.

3.1F1F2step 2.1construct

Partition the 49 coordinates into seven ordered inner blocks. Take the six inner checks from step 2.1 in each block, giving 42 checks. Lift the six outer checks by replacing their single-qubit X,Z factors with the inner representatives Xx,Zx. All 48 checks commute: inner checks commute with these representatives, and the representatives obey exactly the one-qubit Pauli commutation rule on each block because x⋅x=1. The checks are independent. Indeed, reducing a relation among them modulo the seven inner stabilizer groups leaves a relation among the six independent outer Pauli labels; thus all six outer exponents vanish, and independence of the disjoint inner checks then makes the remaining 42 exponents vanish. They fix every vector in im⁡W, so their group excludes −I. By [F2] their fixed space has dimension 249−48=2 and consequently equals im⁡W.

3.2F5step 2.2algebra

On the pair of encoded computational basis states with logical bits a,b, coordinatewise CNOT sends the summand ∣ax+c⟩∣bx+e⟩ to ∣ax+c⟩∣(a+b)x+c+e⟩. The substitution (c,e)↦(c,c+e) is a bijection of D×D, so the transformed sum is exactly V∣a⟩⊗V∣a+b⟩. Linearity gives the seven-coordinate CNOT intertwining identity. Applying it first in every inner block pair and then to the outer encoding proves the stated 49-coordinate identity. Likewise step 2.2 at the inner and outer levels gives H⊗49W=WH and S⊗49W=V⊗7(S†)⊗7V=WS.

4.1F3step 1.1step 2.1step 3.1algebra

Let E centralize these 48 checks. Its restriction to each inner block centralizes the six inner checks. Modulo an inner stabilizer and scalar phase, that restriction is uniquely one of I,Xx,Zx,XxZx, by the description D⊥/D in step 1.1 and step 2.1. Its seven labels therefore define an outer Pauli. Commutation with the lifted outer checks says exactly that this outer Pauli centralizes the seven-qubit outer code. If its outer class is trivial, multiplying the corresponding lifted outer stabilizers leaves an inner stabilizer in each block; hence E is a scalar-phase stabilizer of the 49-qubit code. Otherwise at least three inner blocks have nontrivial labels by step 2.1, and each of those restrictions has weight at least three. Thus every nontrivial class has weight at least nine. Lift the weight-three outer logical Xx using weight-three inner Xx in its three occupied blocks. This gives a nontrivial logical Pauli of weight nine. The distance is therefore exactly nine.

5.1F4step 4.1algebra

Let E1,…,EM list all phase-free Paulis of weight at most four. Their normalized Kraus family Ea/M defines a channel, since each Ea is unitary. Apply [F4] with t=4, since 2t=8<9, and compose its recovery with inverse encoding to obtain a decoded recovery R with Kraus operators Rj. This one recovery works uniformly on the entire error span. Indeed its correction of the displayed mixed-Pauli channel means that the operators RjEaW/M are Kraus operators of the identity logical channel. Each must be a scalar multiple of the logical identity: for every pure logical input their output vectors must lie in its one-dimensional span, since their positive rank-one output sum is that pure input; applying this to a basis and its pairwise sums makes the scalar independent of the input. Thus RjEaW=cjaIL. For any channel with Kraus operators Kh=∑aαhaEa, it follows that RjKhW=(∑aαhacja)IL; trace preservation makes the sum of squared scalar moduli one. Therefore the decoded channel is the identity, also after tensoring every operator with IR. This proves uniform capacity four and hence the declared smaller capacity two.

6.1F5F6step 3.2algebra∎

Each circuit consists of 49 disjoint one- or two-qubit gates in one layer, so its size is 49 and its depth is one. In a CNOT layer a location touches one coordinate in each block; in a one-block layer it touches one coordinate. Replacing any chosen locations by an arbitrary joint CPTP map supported on their union changes no other output coordinate, since all other gates are disjoint from that union. The same support assertion holds for every Kraus operator, including after tensoring IR; no product assumption on the joint fault map is used. Thus one faulty location has spread at most one per block, and any collection has the union bound in [F6]. Conjugating an input-supported operator by a transversal layer also preserves coordinate labels, except that CNOT may transfer its support to the matching coordinate of the other block. Input supports A,B therefore give output supports contained in A∪B in each block. This proves all gate and spread assertions.

Remarks

The ideal decoded recovery proved here is not a finite noisy error-correction circuit with a proved spread bound. This lemma supplies the code, its actual distance and three exact transversal Clifford circuits. Verified ancillas, a universal non-Clifford gadget, bounded syndrome processing and closure under recursive replacement require additional construction and proof.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Minimum-Weight Recovery Failure Yields a Half-Error Crossing Path

Statement

For an integer d≥2, use the relative d×d square patch with n=2d2 data edges. Let E be a set of actual Z-error edges and let R be any minimum-cardinality correction satisfying ∂1R=∂1E (the same perfect syndrome). Recovery fails logically when E△R∉im⁡∂2. In that case E△R contains a self-avoiding primal path P joining the left and right rough boundaries. Writing ℓ=∣P∣, one has d≤ℓ≤n and ∣P∩E∣≥⌈ℓ/2⌉.

Facts & Assumptions

Given: An integer d≥2, the relative square patch, a finite actual Z-error chain E, its perfectly measured syndrome, and any correction chain R of minimum cardinality among chains with that syndrome. Prove the crossing-path witness on logical failure.

[F1]

Square planar surface code: The X-check matrix is HX=∂1, with rows indexed by vertices outside R and columns by physical edges.

[F2]

Stabilizer syndromes and logical Pauli operators: For a phase-aware Pauli error E, the syndrome convention is Egj=(−1)sj(E)gjE.

[F3]

Pauli matrix algebra and trace identities: Distinct Pauli matrices anticommute.

[F4]

Square planar surface-code distance and path count: Every nontrivial Z logical class contains a rough-to-rough path of length at least d, and a straight row attains d.

Proof

1.1givenF1F2F3algebra

For a Z-error chain E, its commutation sign with the X check at nonrough vertex u is (−1)(∂1E)u: the exponent is the parity of incident error edges by [F1], and every overlapping Z and X factor anticommutes by [F3]. Thus the X-check component of the syndrome is ∂1E by [F2]; every Z-check component is zero because Z-type Paulis commute. Equality of the perfect syndromes of E and R therefore gives ∂1(E△R)=0.

2.1givenF1F4step 1.1algebra

Put C=E△R. Logical failure means that C is a nontrivial Z-logical class. By [F4], it contains a rough-to-rough path of length at least d. If that path repeats a vertex, delete the closed subpath between two occurrences; finitely many such deletions produce a self-avoiding path P whose edges remain in C and whose endpoints remain on the left and right rough boundaries. It crosses every one of the d vertical cuts, so ℓ:=∣P∣≥d, and self-avoidance bounds ℓ≤n.

3.1givenF1step 2.1algebra∎

The path P has zero relative boundary because its internal vertices have even degree and its two endpoints are omitted rough vertices. Hence R△P has the same syndrome as R. Minimum cardinality gives ∣R∣≤∣R△P∣. Since P⊆E△R, each edge of P belongs to exactly one of E and R; comparing the two cardinalities and canceling the edges outside P yields ∣R∩P∣≤∣P∖R∣=∣E∩P∣. These counts sum to ℓ, so ∣E∩P∣≥⌈ℓ/2⌉.

LemmaStatement: AI-adaptedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Encoded error instruments and full-space CPTP error maps

Statement

Let V:HL→HP be an encoding isometry into a finite tensor register and let Es be the finite operator error span of Code Deviation and Fault Spread. A full-space CPTP map with Kraus operators in Es, restricted after V, gives a trace-preserving encoded error instrument. The converse is false even for the explicit [ ⁣[49,1,9] ⁣] code and s=1: the encoded isometry

A=2−1/2(I+X1)V

has range in the weight-one error sector but no full-space CPTP extension whose Kraus operators all lie in E1. Thus neither an encoded error instrument nor one of its normalized conditional outputs can in general be identified with a full-space CPTP error map.

Nevertheless, a fixed decoded recovery which corrects the normalized mixed channel of all weight-at-most-s Pauli errors corrects every trace-preserving encoded error instrument with Kraus operators Aj=EjV, Ej∈Es. This conclusion also holds for joint per-block error spans and arbitrary finite external references. If coefficients act on auxiliary memory, the recovery preserves the logical/reference marginal after summing the instrument outcomes and tracing that memory; a retained memory need not have identity output action.

Facts & Assumptions

Given: The finite error spans, an encoding isometry, the actual fixed recovery in the last assertion, and, for the counterexample, the explicit twice-concatenated Steane code.

[F1]

Code Deviation and Fault Spread supplies the supported operator span and the stronger full-space CPTP deviation relation.

[F2]

Twice-Concatenated Steane Code and Its Transversal Clifford Gates proves the [ ⁣[49,1,9] ⁣] code, describes its inner and outer stabilizers, and supplies a uniform recovery through weight four.

[F3]

Exact recovery of an encoded quantum code defines exact decoded recovery as an equality of logical channels, including arbitrary finite reference identities.

Proof

1.1givenF1algebra

If Kj∈Es are Kraus operators of a full-space channel, their restrictions Aj=KjV satisfy ∑jAj∗Aj=V∗(∑jKj∗Kj)V=IHL. Partitioning a finite Kraus family into recorded outcomes gives an encoded instrument; each branch is completely positive and the sum is trace preserving on the logical input. No assertion that each branch has trace one is needed.

1.2F2algebra

In the code [F2], no nonidentity scalar-phase stabilizer has weight one or two. Indeed, an inner-block stabilizer has binary X,Z labels in the row code D; every nonzero word of D has weight four, so a nonidentity inner stabilizer has support at least four. If a full stabilizer has a nontrivial outer stabilizer label modulo the inner groups, that outer label has at least four occupied inner blocks, and each nontrivial inner logical restriction has weight at least three, giving weight at least twelve. Thus distinct phase-free Paulis Ea,Eb of weight at most one have V∗Ea∗EbV=0: their product has weight at most two, is not a scalar-phase stabilizer, and is detected by some check. Also V∗Ea∗EaV=I. Hence the maps EaV have pairwise orthogonal ranges and the restriction E↦EV is injective on E1.

1.3givenF3algebra

List the phase-free weight-at-most-s Pauli operators as F1,…,FM. Their normalized mixed channel has Kraus operators Fa/M. Let Rl be Kraus operators of a fixed decoded recovery correcting it. Then RlFaV/M form a Kraus representation of the identity logical channel. Every Kraus operator of the identity channel is a scalar multiple of IHL: its output on every pure input must lie in that input's one-dimensional span, and linearity on basis vectors and their sums makes the scalar independent of the input. Thus RlFaV=claIHL for scalars cla.

2.1F1step 1.2algebra

Put B=(I+X1)/2. Step 1.2 gives V∗X1V=0, so (BV)∗(BV)=V∗(I+X1)V=I. Therefore A=BV is an isometry and its encoded channel is trace preserving. Suppose a full-space channel with Kraus operators Kj∈E1 agreed with this channel on the code. For any logical vector ψ, positivity of the rank-one output sum forces every KjVψ to be proportional to BVψ. Since BV is an isometry, linearity on a basis and its pairwise sums gives scalars cj, independent of ψ, with KjV=cjBV. The injectivity from step 1.2 then gives Kj=cjB.

2.2F3step 1.3algebra

For any encoded instrument write Abj=∑aαbjaFaV. Step 1.3 gives RlAbj=γlbjIHL, where γlbj=∑aαbjacla. Complete trace preservation on the encoded input gives ∑l,b,j∣γlbj∣2=1. Hence recovery of the full instrument is the identity logical channel; each recorded branch is a nonnegative scalar multiple of that channel, without requiring a normalized physical error map. Tensoring every displayed equality with an external reference identity proves its reference-preserving version. For several blocks use tensor Pauli labels and the product recovery; tensoring the scalar identities from step 1.3 yields the same proof for their joint span.

3.1step 1.2step 2.1algebra

Trace preservation of the supposed extension would require I=∑jKj∗Kj=(∑j∣cj∣2)(I+X1). This is impossible: I+X1 annihilates the nonzero −1 eigenspace of X1. Thus no such extension exists. The encoded map can also occur as a normalized measured branch: prepare a control in ∣+⟩, apply controlled X1, and measure that control in the X basis. The plus branch has physical Kraus operator (I+X1)/2; on code inputs its probability is 1/2 by step 1.2, so its normalized output is exactly Ad⁡BV. The full two-branch instrument is trace preserving.

4.1F3step 1.3step 2.2algebra∎

If coefficients in these expansions are operators on fault memory, the corrected Kraus operators instead have the form IHL⊗Mlbj. Trace preservation makes their full sum a channel acting on that memory alone. It leaves the logical/reference marginal unchanged even for correlations with memory, since a local trace-preserving operation does not change a remote marginal. Its individual outcomes may have subnormalized probabilities and may condition correlations; its memory output need not equal its input. This proves the stated interpretation with memory and completes all assertions.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A Finite Four-Round Verified Shor Correction Circuit

Statement

For the explicit [ ⁣[49,1,9] ⁣] encoding W of Twice-Concatenated Steane Code and Its Transversal Clifford Gates, there is a fixed finite correction circuit with the following properties. With zero faults it maps every input into the code and exactly corrects the entire weight-at-most-four Pauli error span. On inputs in the weight-at-most-two error sector, at most one faulty location leaves the original logical state with a weight-at-most-one residual error. These identities hold with every finite external reference retained, for arbitrary CPTP faults on a location's registers, also with an auxiliary fault memory. The branch assertion is an assertion about subnormalized Kraus maps: each branch, restricted to an admitted erroneous encoding, is a linear combination of weight-at-most-one operators after W, with scalar coefficients on the logical factor. Summing branches and applying the declared exact decoded recovery gives the identity logical channel.

There is also an arbitrary-input attraction property: with at most one fault, every branch has output range in the span of weight-one errors applied to the code. Here the resulting logical state is unspecified and may be correlated with retained syndrome and fault memory; preservation of an arbitrary initially unencoded logical interpretation is not asserted.

The circuit uses preparations of ∣0⟩, H, X, CNOT, Toffoli, computational-basis measurement, reset/discard, and their classical restrictions. All controls are physical circuit registers. It admits a fully serial schedule with fewer than 2240 locations including every idle, depth less than 2210, and fewer than 216 live qubits. This is a construction over that finite elementary alphabet; fault-tolerant recursive replacements for its Toffoli and preparation operations are not asserted here.

Facts & Assumptions

Given: The ordered 49-qubit code, its 48 ordered independent checks (the 42 inner checks first, followed by the six lifted outer checks), and an arbitrary finite external reference.

[F1]

Twice-Concatenated Steane Code and Its Transversal Clifford Gates proves the checks, distance nine, and a fixed decoded recovery for the entire weight-at-most-four Pauli span. Every check is purely X or purely Z and has weight at most twelve.

[F2]

The Pauli matrices gives a basis of the operator space at each qubit; tensor products give a basis on the registers of one location.

[F3]

Finite measurement branches and classical control permits finite instruments and circuit registers controlling a finite suffix.

[F4]

Code Deviation and Fault Spread specifies joint Kraus error sectors, finite external references, and subnormalized branch identities for correcting instruments; auxiliary fault memory is not an unchanged external reference.

Proof

1.1F1constructalgebra

Fix a total order on the 49-qubit Paulis modulo scalar phase. For each of the 248 syndromes s, choose the least-weight Pauli Rs having syndrome s, breaking ties by that order. Such a Pauli exists: independence of the 48 check labels makes their 48 symplectic linear functionals independent, so their syndrome map has rank 48 and is onto. Then Rs maps the syndrome-s eigenspace into the code. If a Pauli E has weight at most four and syndrome s, Rs has weight at most four, and RsE is a centralizer element of weight at most eight. Distance nine forces its code action to be scalar. Consequently measuring the full syndrome and applying Rs is a fixed code-valued recovery on arbitrary inputs and corrects the full weight-four error span.

1.2F2F3construct

All Boolean functions below are finite explicit functions of their displayed input bits; use the following fixed reversible implementation whenever a truth table is specified. For each input string in lexicographic order, temporarily negate its zero positions, compute the conjunction of the input bits into fresh zero scratch bits by a Toffoli chain, toggle each designated output bit whose truth-table value is one, uncompute the chain, and undo the negations. Initialize output and scratch bits to zero. For k≤192 input bits and two output bits this takes at most 2k(8k+8) one-, two-, or three-register gates, with at most 2k+4 workspace registers. Each implementation has its own input copies and scratch: no working register is shared between distinct output coordinates. Classical restrictions mean these reversible quantum gates acting on computational-basis registers; no noiseless Boolean operation is assumed.

1.3F2F3construct

To measure a check g=⨂j=1wPj, w≤12, form two fresh candidate cat registers. A candidate is prepared by initializing w zero qubits, applying H to the first, and CNOT from the first to each remaining qubit in increasing order. Verify it by measuring Z1Zj, for j=2,…,w, three times each. Each parity measurement uses a fresh zero target, CNOT from cat coordinate 1 to the target, CNOT from coordinate j to the target, and target measurement. Keep all 3(w−1) raw records. An acceptance predicate is true exactly when every triple has majority zero. Copy these raw records, using direct CNOTs from each raw register into fresh zeros, into w separate workspaces. In each workspace compute the acceptance predicate: the majority of three bits is ab+ac+bc over F2, computable with three Toffolis into a fresh zero; combine their negations by an AND chain. The workspace for coordinate j enables only the controlled-Pj interaction of cat coordinate j with data coordinate j. Thus an interaction is controlled by the cat bit and its own workspace's acceptance bit. Implement enabled controlled X by Toffoli, and enabled controlled Z by H on the data, Toffoli, then H on the data. Finally measure every cat qubit in the X basis, using H then computational-basis measurement. Do this for both candidates, always in their fixed order.

2.1F2step 1.2step 1.3algebra

A noiseless candidate is (∣0w⟩+∣1w⟩)/2, every verification record is zero, and all its interactions are enabled. Conditional on the final X-measurement string z, its data Kraus operator is 2−(w+1)/2(I+(−1)∑zjg). Summing strings of each parity gives exactly the projective measurement of g. Record each candidate's measured parity and raw verification records. The reported check bit is the second candidate's parity if its acceptance predicate is true, otherwise the first candidate's parity if that predicate is true, and otherwise zero. Compute this reported bit in a separate workspace by the finite reversible procedure of step 1.2. In a fault-free execution both candidates measure g, the second repeats its eigenvalue, and this is an exact nondestructive measurement.

2.2F3step 1.1step 1.2step 1.3construct

Begin with one layer of 49 explicit identity locations, one on each data coordinate. Then perform four complete rounds, each consisting of the 48 check circuits just specified. Retain their four reported syndrome vectors s1,s2,s3,s4. In each of 49 separate final-decoder workspaces, receive fresh direct CNOT copies of all 192 raw syndrome bits and compute two correction bits by the truth-table procedure of step 1.2: choose the first index i∈{1,2,3} with si=si+1, and output the X,Z label at this workspace's coordinate of Rsi. If there is no such index, use R0. Apply the X correction bit by CNOT with this data coordinate as target. Apply the Z correction bit by H on that data coordinate, CNOT from the correction bit to it, then H on it; this is exactly controlled Z since HXH=Z. Discard all ancillary registers. Gate order, scratch allocation, candidate order, check order, and lookup tie-breaking have all been fixed, so this specifies one finite circuit rather than an unbounded retry procedure. The initial identity layer leaves all base-level conclusions unchanged; on recursive replacement it explicitly schedules input refresh through the chosen idle templates before the first upper syndrome round.

3.1F1F2step 1.3step 2.1algebra

Suppose the only fault affecting this check occurs during one candidate's preparation, before verification begins. Expand the faulty operation in the tensor Pauli basis, retaining its coefficients as operators on fault memory if present. All subsequent parity checks are exact, so every accepted component of that candidate lies in the two-dimensional space span⁡{∣0w⟩,∣1w⟩}. Its interaction and cat readout therefore have data Kraus operators of the form αI+βg, with memory-valued coefficients. Rejection disables every interaction of that candidate. The other candidate is ideal, is accepted, and performs a projective measurement of g. If the faulty candidate is first, this last projective measurement follows it; if it is second, it follows a projective measurement and its operators αI+βg preserve each eigenspace. In either case the quantum data undergoes a measurement of g, possibly with a faulty reported bit, and no additional data-coordinate error.

3.2F1step 1.1step 2.1step 2.2algebra

With no faults every round measures the same full stabilizer syndrome. The first round projects an arbitrary input into one of its joint eigenspaces; all subsequent measurements repeat that syndrome. Every final decoder selects it, and step 1.1 maps its eigenspace into the code. This proves the arbitrary-input zero-fault requirement, as well as exact correction of the weight-four error span.

4.1F2step 1.3step 2.1step 3.1algebra

Suppose instead that the sole fault occurs in verification of an initially ideal cat. A verifier target can pass Z back to cat controls but cannot pass X between different cat coordinates: it is always a CNOT target and is discarded after its second interaction. A fault in its first interaction can therefore give Z errors on two cat coordinates, but an X component on at most the one cat coordinate touched by the faulty interaction. A fault in the second interaction has the same property. Cat idles or cat measurements affect at most one cat coordinate. Thus, apart from arbitrary cat phase errors and verification-record changes, an accepted cat has at most one bit error. Cat phase errors only change the coefficients of I and g; a cat bit error produces an additional Pj on its one matching data coordinate. The other candidate is noiseless. A faulty enabled interaction itself touches only one data coordinate, and its subsequent gates in that workspace touch no other data coordinate. These statements remain true for sums of Pauli components and memory-valued coefficients.

4.2F2step 1.2step 2.2step 3.2algebra

Put the sole fault instead in final syndrome copying or decoding. All quantum checks are then noiseless, and all four true syndrome vectors are the same s. A faulty copying CNOT can arbitrarily change its one target workspace and can corrupt its one source raw bit for later workspaces. Every other workspace consequently sees at most one corrupted bit in one of its four vectors. Its first selected equal pair is still s, since any matching pair includes an unchanged vector and there are four vectors. Only the target workspace can output wrong correction bits. An internal decoder fault or a faulty final controlled correction likewise affects its one designated data coordinate. Thus all other coordinates apply Rs, and this one coordinate differs by an arbitrary local operator. Unlike a data-changing fault, this fault cannot coexist with old/new quantum syndrome changes: it is the only fault. There is therefore no mixing of coordinatewise representatives of two different valid syndromes.

5.1F2step 1.2step 1.3step 4.1algebra

A fault in copying raw verification records deserves a separate check. Before such a fault both candidates are ideal and every raw verification record is zero. A faulty copying CNOT can corrupt its target workspace arbitrarily and can change its one source raw record for later copies. Every other workspace still has at most one corrupted entry among all the triples, so majority decoding makes all its acceptance decisions true. Only the target workspace can make a wrong enable decision, affecting its own one data coordinate. A fault strictly inside one acceptance workspace likewise affects only its matching data coordinate. A fault in the final reported-bit computation has no data access and may change only that check's reported bit. This exhausts the check circuit, including faults on initialized scratch registers and idles. In particular there is no shared acceptance flag whose corruption could disable a long suffix of data interactions.

6.1F2step 3.1step 4.1step 5.1step 2.2algebra

First put the sole fault in a check circuit, a data idle, or a data location before final decoding. Step 3.1 and step 4.1 and step 5.1 show that the affected round may have an arbitrary reported vector, while quantum errors added to the data are confined to one coordinate. On each Pauli component, all noiseless earlier rounds have the old syndrome s and all noiseless later rounds have the new syndrome s′; if no data error was added these are equal. The faulty round can be a hybrid, but cannot remove the adjacent equal pair guaranteed among four rounds: a fault in round one or two leaves rounds three and four equal, and a fault in round three or four leaves rounds one and two equal. A fault in the initial identity layer instead leaves all four rounds noiseless, with the new syndrome. Every selected adjacent pair contains a noiseless round and consequently equals s or s′. All final copying and decoding are now noiseless, so every output coordinate selects the same pair and applies the same Rs or Rs′.

7.1F1F2step 1.1step 3.1step 6.1algebra

Write an incoming Pauli component as E, of weight at most two, and the added data Pauli as F, on at most one coordinate. If the selected syndrome is s′, the Pauli FE has weight at most three; step 1.1 therefore makes Rs′FE scalar on the code. If it is s, then RsE is scalar on the code and the Pauli commutation rule gives RsFE=±FRsE, leaving only F. Factors αI+βg from a faulty cat only multiply these terms by scalar syndrome eigenvalues and do not change their support or logical action. This proves the residual weight-one assertion componentwise for the case of step 6.1.

7.2F2F4step 1.1step 3.1step 6.1step 4.2algebra

For arbitrary input, the same branch analysis proves attraction without any claim of preserving its initially unspecified logical state. A selected equal pair contains a noiseless full syndrome measurement of its selected syndrome s. If the data-changing fault precedes that measurement, the branch is already in the syndrome-s eigenspace when Rs is applied and is corrected into the code. If the fault follows that measurement, its Pauli components are supported on one coordinate; the intervening stabilizer measurements only project them or multiply them by eigenvalues, so RsFPs=±FRsPs, with RsPs code valued. Here Ps is the full syndrome projector. Final copying/decoder faults give one-coordinate deviations from the code-valued RsPs in exactly the case split of step 4.2. Faulty cat factors αI+βg do not change a fixed syndrome sector. Thus each arbitrary-input branch Kraus operator is a sum of AWB, with A supported on at most one coordinate and B an arbitrary map from the original input to the logical factor and branch/memory registers. This proves the asserted attraction range, including coherent errors and arbitrary references.

8.1F1F2F4step 7.1step 4.2algebra

Expand every incoming Kraus operator in the weight-two Pauli basis and every faulty-location Kraus operator in the Pauli basis on its registers, with matrix coefficients on finite fault memory. Every intervening noiseless circuit operation and every measured branch is linear. Step 6.1 and step 7.1 and step 4.2 give, term by term, an operator of the form AW on the logical input, where A lies in the weight-one Pauli span and the remaining coefficient acts on fault memory and ancillary branch registers alone. The only operators applied to the logical factor are scalar multiples of the identity; all scalar-compression uses are valid by distance nine. Tensoring the identity on an external reference leaves these identities unchanged. Summing Kraus terms proves the stated subnormalized branch identities without conditioning away their probabilities. Summing all branches is trace preserving; the fixed decoded recovery corrects every pair of the residual weight-one terms by [F1], leaving the original logical/reference state. The same expansion handles joint input correlations with other blocks by keeping their tensor factors in the coefficients and applying their declared recoveries.

9.1step 1.2step 1.3step 2.1step 2.2constructalgebra∎

Here are explicit finite schedule bounds. Each cat has at most twelve coordinates and 33 raw parity records. Its preparation uses at most 24 locations and its 33 parity measurements at most 132. Each of its twelve enable workspaces uses at most 33 input-copy preparations, 33 copying CNOTs, 11 majority outputs and 33 Toffolis, and at most 48 more scratch preparations and 64 AND/NOT gates. Thus all 384 candidates in the four rounds, their enabled interactions, readouts, reported-bit truth tables (at most 90 input bits), preparations and discards require fewer than 2110 nonidle locations by step 1.2. The final 49 truth tables have 192 inputs each; their gates and copies require fewer than 49⋅2192(8⋅192+8)+220<2210 nonidle locations. Use fresh workspaces for the currently measured check and discard them before the next check; retain only its one reported bit. For final decoding allocate all 49 workspaces, each with fewer than 2⋅192+4 registers, so fewer than 216 registers are ever live. Serialize the nonidle gates and insert one identity location on every other live register in each layer. Depth is less than 2210, and total locations, including all such idles, is less than 2226<2240. Every location has at most three quantum or classical input registers, and resets, preparation, readout, controls and discard have been included.

Remarks

This lemma proves a bounded noisy correction instrument, not a complete proper universal gate family. Its residual branch formulation does not assert the impossible full-space fault/recovery intertwiner. It also does not replace subnormalized branch maps by normalized CPTP error maps. Recursive implementations of its elementary alphabet, and a verified non-Clifford resource-state construction, remain separate obligations.

TheoremStatement: Literature-sourcedProof: AI-generatedjudge pass (gpt-6-luna)Open item page →

Planar Surface-Code Memory Bound Under IID Z Noise

Statement

For each integer d≥2, use the relative d×d square patch, which has n=2d2 data qubits. On a finite probability space, let each data edge independently carry a Z error with probability ϵ∈[0,1]. For each syndrome, choose any minimum-cardinality correction; the bound below holds for every such choice. Under one perfect syndrome round, the logical-memory failure probability satisfies

Plogical≤(d+1)∑ℓ=dn(36ϵ)ℓ/2.

Consequently Plogical decays exponentially in d, up to a polynomial prefactor, for ϵ<1/36. This is an ideal-syndrome memory theorem; it is not a faulty-gate circuit threshold.

Facts & Assumptions

Given: An integer d≥2, the finite relative square patch with data-edge count n=2d2, a finite family of mutually independent Bernoulli Z-error indicators each of rate ϵ∈[0,1], one perfect syndrome round, minimum-cardinality recovery, and the geometric path interface in [F3].

[F1]

Finite probability spaces, outcome weights, events, and event probabilities: A finite probability space is a pair (Ω,w) consisting of a finite set and nonnegative weights summing to one; event probabilities are sums of outcome weights.

[F2]

Minimum-Weight Recovery Failure Yields a Half-Error Crossing Path: On logical failure, a minimum-cardinality correction with the same perfect syndrome yields a self-avoiding left-to-right path of length d≤ℓ≤n containing at least ⌈ℓ/2⌉ actual error edges.

[F3]

Square planar surface-code distance and path count: For each ℓ≥1, the number of self-avoiding rough-to-rough paths of length ℓ is at most (d+1)3ℓ.

[F4]

Independent families of event classes: The family (Ci)i∈I is independent when for every natural number n≥1, every choice of distinct indices i0,…,in−1, and every choice of events Ak∈Cik, one has P(⋂k<nAk)=∏k<nP(Ak).

[F5]

The finite union bound: For every finite family of events A0,…,An−1, P ⁣(⋃i<nAi)≤∑i<nP(Ai).

Proof

1.1givenF1F2F4F5algebra

Fix a candidate path P of length ℓ. A logical failure witness on it requires at least k=⌈ℓ/2⌉ actual errors by [F2]. If at least k of its ℓ edges are faulty, some k-subset is entirely faulty. There are at most (ℓk)≤2ℓ such subsets; by [F4] each has probability ϵk≤ϵℓ/2 for ϵ∈[0,1]. The union bound [F5] gives P(P is a failure witness)≤2ℓϵℓ/2.

2.1F2F3F5step 1.1algebra

There are at most (d+1)3ℓ candidate paths of length ℓ by [F3]. By [F2], every logical failure lies in the union of witness events for paths with d≤ℓ≤n. The finite union bound [F5] and step 1.1 therefore give Plogical≤∑ℓ=dn(d+1)3ℓ2ℓϵℓ/2=(d+1)∑ℓ=dn(36ϵ)ℓ/2.

3.1step 2.1algebra∎

If ϵ<1/36, set r=6ϵ<1. The finite sum is at most ∑ℓ=d∞rℓ=rd/(1−r), so Plogical≤d+11−6ϵ(6ϵ)d. The denominator is a fixed positive constant for fixed ϵ<1/36, while d+1 is polynomial in d; hence the bound decays exponentially up to a polynomial prefactor.

Remarks

The geometric inputs are the relative-cycle crossing property and the finite path count in [F2] and [F3]. The probability argument uses their stated directions only; it needs no enumeration of all logical operators and no assumption about independence of recovery choices. Perfect syndrome and iid Z-noise are essential hypotheses. No circuit-level gate threshold follows.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Fault-Tolerant Gadget and Proper-Code Contract

Definition

A proper fault-tolerant code contract consists of a finite-dimensional code subspace Q in a fixed block of m physical coordinates, a finite logical gate alphabet G, and a fixed finite family of encoder, initialization, error-correction, decoder/readout, gate, syndrome-measurement, reset, and idle gadgets. Throughout this page, universal means that the subgroup generated by G and its adjoints is dense in the unitary group on the logical space, in the operator norm of The operator norm as the least bound and as the unit-sphere or unit-ball supremum (the supremum over the unit ball). The parameter d is an unlocated-error correction capacity: for an encoding isometry V:HL→HP and the declared decoded recovery channel R, every channel N with Kraus operators supported on at most d physical coordinates satisfies R∘N∘Ad⁡V=id⁡B(HL), including after tensoring the identity on any finite reference. The support may differ between Kraus operators and is not supplied to the fixed recovery. This capacity is distinct from the stabilizer distance d(S) of Stabilizer distance, the minimum weight of a Pauli centralizer class outside scalar phases times the stabilizer; a distance argument certifies capacity d only after separately verifying 2d<d(S) and the relevant error-family hypotheses. When the concatenated-threshold theorem uses m≥2d+1, this inequality is an explicit hypothesis.

For several live blocks, the noisy stage requirements use the joint encoded-instrument error sectors of Code Deviation and Fault Spread. Full-space CPTP deviations remain sufficient inputs, but an output instrument is not required to have a full-space CPTP error extension. The fixed-recovery transfer proved in Encoded error instruments and full-space CPTP error maps supplies exact decoding of these sectors. Thus a fault may have arbitrary correlations between blocks while its support budget is bounded in each block; the untouched reference is external to all live data. The tensor product of the declared block recoveries must recover every trace-preserving encoded instrument in the joint d-error span, with that external reference retained after internal outcomes and fault memory are traced. Recorded logical measurement outcomes retain their stated ideal instrument law.

Each gadget specifies its finite input and output registers, ideal logical channel or instrument, fault locations and supports, depth, size, literal unitary support bounds and effective spread budget ℓ in the sense of Code Deviation and Fault Spread, and a uniform upper bound a on its child rectangles. Zero-fault gadgets implement their ideal channels exactly on encoded inputs, with the reference system preserved. The encoder implements its exact isometry on arbitrary logical inputs in the zero-fault case; the noisy guarantees begin at an admitted encoded input or the protected prescribed initialization. Every encoder location inside such a protected factory is counted and its faults must be handled. No guarantee corrects an arbitrary first fault on an unknown unprotected logical input. For every integer q≥1 with 2qℓ≤d, the checked computation-stage contract must say that an incoming joint encoded error instrument of budget qℓ and at most q bad child rectangles has joint output budget 2qℓ before correction; the checked correction-stage contract must correct every admitted joint input sector of budget at most d and, with at most q bad children, return joint residual budget qℓ with the same decoded logical channel. Residual branch maps have the encoded Kraus form specified above. Their full instrument is trace preserving on the admitted domain, and after declared decoded recovery and trace of internal records it equals the ideal logical channel. These are subnormalized branch identities for every measurement outcome, with any finite external reference retained; a branch is not replaced by a normalized physical CPTP map. They quantify over arbitrary CPTP maps supported on the union of the faulty child supports, not only product fault maps. An error-correction gadget must also map arbitrary inputs into the code subspace in the zero-fault case. Its noisy identities are required on the specified joint encoded error sectors, rather than as a full-space intertwining of every input fault through ideal recovery. Any auxiliary fault memory may be updated at a faulty location and is carried in the channel/instrument description; only the external reference is constrained to the identity, and nonfaulty locations leave that memory alone. All preparation, syndrome, readout, classical-control, reset, and scheduled idle locations are included in the size and spread bounds.

The finite physical gate alphabet is closed under recursive replacement: every operation used by each gadget is itself in the declared alphabet. The contract makes no claim that a concrete code or gadget family satisfying it has been constructed. That existence and verification obligation is a separate theorem.

LemmaStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Finite Verified Steane Magic States and T Injection

Statement

Use the explicit encoding W of Twice-Concatenated Steane Code and Its Transversal Clifford Gates, and put T=diag⁡(1,eiπ/4) and ∣A⟩=T∣+⟩. There is a deterministic finite preparation circuit whose zero-fault output is W∣A⟩ and whose output with at most one faulty location is in its weight-one Pauli error span. There is also a deterministic finite T-injection circuit on one encoded data block: on the weight-one input error sector, at most one faulty location leaves at most a weight-two error after the ideal encoded T output. Both assertions are subnormalized branch Kraus identities, retain every finite external reference and allow arbitrary CPTP location faults with fault memory, as in Code Deviation and Fault Spread. Summing branches and applying the fixed decoded recovery gives exactly the stated logical operation.

With zero faults, an incoming Pauli of weight s≤4 propagates to weight at most s after ideal encoded T; by linearity the same holds for its operator span. The elementary alphabet is H,S,T,T†,X, CNOT, Toffoli, ∣0⟩ preparation, computational-basis measurement, reset/discard and idle; all Boolean controls are circuit registers. Each circuit has fewer than 2240 locations including idles, depth below 2210 and fewer than 220 live qubits. This lemma does not yet assert a recursive fault-tolerant replacement for every elementary alphabet operation.

Facts & Assumptions

Given: The code W, its check order and Pauli representatives, and the exact elementary gate matrices.

[F1]

Twice-Concatenated Steane Code and Its Transversal Clifford Gates proves distance nine, the fixed weight-four recovery, and the exact transversal S, H, CNOT identities. Its weight-nine representative X‾ acts as the logical X.

[F2]

A Finite Four-Round Verified Shor Correction Circuit supplies explicit two-candidate cat preparation, threefold parity verification, independent per-coordinate enable workspaces, and finite reversible truth-table circuits. Its proof identifies every one-fault cat/control case.

[F3]

The Pauli matrices gives the local operator basis, and Exact one-qubit gates and rotations fixes all scalar phases of H,S,T.

[F4]

Code Deviation and Fault Spread specifies the joint error sectors and subnormalized branch convention, retaining the external reference and explicitly carrying auxiliary fault memory.

Proof

1.1F1F3constructalgebra

Here is a fixed bare encoder, including its finite bound. Let b1,b2,b3 be the rows of the seven-coordinate matrix defining W, and let x be its displayed logical representative. The vectors x,b1,b2,b3 are independent. Complete them to a basis of F27 by taking the first standard basis vector outside their span repeatedly. Let L have these seven columns. Put the logical input on coordinate one, initialize the other six coordinates to zero, apply H to coordinates two, three and four, and apply the reversible linear map y↦Ly. This is exactly the seven-qubit coset encoder. Row elimination synthesizes L with at most 42 row-addition CNOTs and seven row swaps, each swap using three CNOTs. Thus at most 66 unitary gates suffice. Apply this encoder once at the outer level and then in the seven inner blocks, giving the exact map W with at most 528 unitary gates on 49 coordinates. Preparation of the logical input by H then T gives a bare W∣A⟩ preparation with fewer than 600 nonidle locations. No fault-tolerance property is attributed to this bare encoder.

1.2F1F3algebra

Define the physical tensor-product Clifford U=e−iπ/4S⊗49X‾. By [F1], UW=WM where M=e−iπ/4SX=(X+Y)/2. Direct multiplication gives M∗=M, M2=I, and M∣A⟩=∣A⟩; its other eigenspace is one-dimensional with eigenvalue −1. Thus the code projector followed by the +1 projector of U on the code is the rank-one projector onto W∣A⟩. The full physical U need not be Hermitian off the code. It is a product of one-site Cliffords, so conjugation by U preserves any fixed one-coordinate operator space. In particular UEW∣A⟩=(UEU∗)W∣A⟩ for every local E.

2.1F2F3step 1.2constructalgebra

Extend the verified-cat check circuit of [F2] to the following one additional check, of length 49. Its cat encoding, three repetitions of every Z1Zj parity check, independent enables and final X readout are identical. On coordinate j, apply controlled Xj if X‾ occupies that coordinate, followed by controlled Sj on every coordinate. Both controls are the corresponding cat bit and its own acceptance workspace. To implement the latter, compute their conjunction into a fresh zero using Toffoli, use that conjunction as control of controlled S, and uncompute it. Controlled S is the exact five-gate circuit TcTtCNOT⁡c,tTt†CNOT⁡c,t: its phase on ∣c,t⟩ is eiπ(c+t−(c⊕t))/4=ict. Finally apply T† to cat coordinate one. This supplies the scalar e−iπ/4 on the all-one cat component. Every workspace for coordinate j touches only that data coordinate. Compute each candidate's X-readout parity by CNOTs into a zero bit, its acceptance predicate by majority-of-three and an AND chain, and the last-accepted reported bit by a two-input Boolean multiplexer synthesized with NOT, CNOT and Toffoli. These computations take fewer than 212 gates and scratch preparations and avoid a truth table on all raw cat records. An ideal cat and an X-readout string z give the Kraus operator 2−25(I+(−1)∑zjU). On the code these are the two exact M eigenprojections, with their correct branch weights.

2.2F1step 1.1constructalgebra

Define the logical readout function on 49 physical measurement bits explicitly. Let C0,C1 be the disjoint computational-basis supports of W∣0⟩,W∣1⟩, obtained by expanding the finite coset encoder. Their mutual Hamming distance is nine: a difference between their words is a representative of the nontrivial pure-X logical class of the CSS code, so [F1] gives minimum weight nine, attained by X‾. Let f(z) be the label of the nearest one of these two finite sets, resolving ties as zero. If z is within four bit changes of either set, this label is unique by the triangle inequality. Thus up to four erroneous readout bits cannot change the ideal logical label.

3.1F1F2step 1.1step 1.2step 2.1algebra

Prepare a first bare candidate by step 1.1. Verify the 48 stabilizers in order and then U, repeating each entire target check three times consecutively; each target check itself uses the two-cat circuit. Retain the resulting 147 target-outcome bits. Acceptance means that every one of the 49 target triples has majority zero. With no faults the bare candidate is W∣A⟩ and acceptance is certain. If preparation alone is faulty and verification is ideal, the first full set of stabilizer measurements projects onto a definite syndrome. An accepted branch has zero syndrome, so is in the code; the ensuing U measurements are then the Hermitian logical M measurement. Acceptance projects onto its +1 eigenspace. Hence every accepted branch is exactly W∣A⟩ tensored with an updated preparation/fault-memory state. This argument starts from an arbitrary faulty candidate and never assumes it was merely a low-weight error.

4.1F2F3step 1.2step 2.1step 3.1algebra

If instead the sole fault is in verification, its input is the ideal W∣A⟩. The cat cases of [F2] apply to each stabilizer check. For the U check, accepted faulty cat preparation leaves cat operators in the span of its all-zero and all-one vectors; the data factors are αI+βU, which are scalar on W∣A⟩. A verification or interaction fault has a bit error on at most one cat coordinate, or changes only that coordinate's enable predicate. Its data factors are consequently a local operator times I or U, with arbitrary cat phase coefficients. By step 1.2 these are in the one-coordinate error span of W∣A⟩. Subsequent ideal stabilizer checks multiply each Pauli component by syndrome signs or project it away, and subsequent ideal U checks preserve that same one-coordinate span by step 1.2. The threefold raw-parity majority and independent enables handle copying faults exactly as in [F2]: all other workspaces have one corrupted record at most, and only the faulty workspace can omit a local controlled factor. Therefore accepted and rejected branches alike remain in the weight-one sector when verification contains the sole fault. This also covers cat and data idles, scratch preparation, and readout faults.

4.2F2F3step 1.1step 3.1constructalgebra

After first-candidate verification, prepare a second, unverified bare W∣A⟩ fallback. Copy the first candidate's 147 raw target records directly into 49 separate selector workspaces. Each workspace majority-decodes its 49 triples and computes the same accept predicate. If it rejects, swap its first-candidate coordinate with the matching fallback coordinate. Implement this conditional swap by CNOT from the first coordinate to the second, Toffoli controlled by the reject bit and the second coordinate with the first as target, then the same CNOT again. This is identity when reject is zero and swap when reject is one, by checking the two classical target bits. Retain the first register and discard the fallback and all workspaces. There is no shared selection flag and no repeat-until-success loop.

5.1F2F3step 3.1step 4.1step 4.2algebra

With a sole fault in the first bare preparation, step 3.1 says acceptance yields the exact target and rejection selects an ideal fallback. With a sole verification fault, step 4.1 says acceptance retains a weight-one candidate and rejection selects an ideal fallback. A sole fault in fallback preparation is irrelevant because the first candidate is ideal and accepted. A sole fault in selector copying finds all 147 raw target records zero. Outside its one target workspace it changes at most one record in a target triple, so all those workspaces still accept. The faulty workspace can swap only its one output coordinate with the matching coordinate of an ideal fallback. This is an operator supported on that coordinate of the retained register and its ancillary environment. An internal selector fault or conditional-swap fault has the same one-coordinate bound. Idles in either candidate either belong to these cases or give one local error directly; idles of selector records affect one triple entry, and idles of selector scratch affect one workspace. This proves the deterministic factory's one-fault residual sector.

6.1F1F2F3step 5.1step 2.2constructalgebra

The injection circuit prepares the factory state, applies transversal CNOT from the data to it, and measures every factory coordinate in Z. For each data coordinate independently, copy all 49 measurement records into a fresh decoder workspace, compute f by the reversible truth-table construction of [F2], and apply S to that one data coordinate controlled by the output, using the five-gate controlled-S decomposition of step 2.1. Discard the workspaces and measured block. On ideal logical input ∣ψ⟩, the two logical target-measurement branches are T∣ψ⟩/2 for m=0 and eiπ/4T†∣ψ⟩/2 for m=1, as direct multiplication of the two amplitudes of ∣A⟩ shows. The second branch becomes eiπ/4T∣ψ⟩/2 after S. The transversal identities of [F1] and the coset readout function in step 2.2 make this the exact encoded T channel, preserving every reference and all branch probabilities.

7.1F1F3step 5.1step 2.2step 6.1algebra

First suppose there are no faults and an incoming Pauli occupies s≤4 coordinates. Its X component propagates to those same factory coordinates, while the data retains errors only on its original coordinates. The readout differs from its ideal coset by at most s bits, so step 2.2 returns the correct m. Conjugation through Sm is coordinatewise, leaving at most the original s data coordinates erroneous. Now take an incoming Pauli error on at most one data coordinate and allow one fault. If it is in the factory, its additional error is on at most one factory coordinate by step 5.1. Transversal CNOT propagates these to the union of their coordinate labels: the factory's Z component may reach the data and the data's X component may reach the factory. Thus at most two coordinates in either block are erroneous. If the sole fault is instead a CNOT or a data/factory idle, it contributes at most its one paired coordinate, again giving at most two. In these cases the readout string remains within two bit changes of its ideal logical coset; all decoder workspaces are noiseless and return the correct m. Conjugating these local error factors through the transversal Sm preserves their two-coordinate support. All resulting output terms are weight-at-most-two errors after ideal encoded T.

8.1F3F4step 2.2step 6.1step 7.1algebra

At a faulty destructive factory measurement on coordinate j, each outcome b and Kraus index has a row operator ⟨ϕbν∣ on that qubit; with fault memory, its entries are operators on the memory. Expand ⟨ϕbν∣=∑zj∈{0,1}⟨ϕbν∣zj⟩⟨zj∣. Each term is an ideal computational-basis readout with the same other 48 records, while the reported bit b can differ from zj only at coordinate j. With the admitted input error, both strings are within at most two changes of the same logical coset, so the decoder returns the same m by step 2.2. Thus every term receives the same logical T branch and S correction; its coefficient acts only on fault memory, and its data output has the residual bound from step 7.1. Summing these terms preserves the subnormalized branch identity for the arbitrary destructive-measurement channel.

9.1F1F2F3F4step 2.2step 7.1step 8.1algebra

If the sole fault occurs in decoder copying, all preceding quantum operations are ideal except for the admitted one-coordinate incoming error. The measured string is within one bit change of its ideal coset. A copying fault can arbitrarily corrupt its target workspace and alter one source record for later workspaces. Every other workspace still sees at most two changes from the ideal coset, and step 2.2 returns the same correct m. Only the target workspace can apply a wrong S, on its one designated data coordinate. A fault internal to a decoder or in its final controlled S has the same local bound. Combined with the incoming error this gives at most two data coordinates. The factory and incoming-error Pauli expansions, followed by the faulty-location operator expansion with coefficients on fault memory, extend steps 7.1 and 8.1 and the present calculation to arbitrary CPTP faults and erroneous inputs in the stated span. Scalar logical identities hold termwise; summing the subnormalized branch maps and applying [F1]'s recovery therefore gives the ideal T channel with every finite external reference retained.

10.1F2step 1.1step 2.1step 4.2step 6.1constructalgebra∎

A length-49 cat needs fewer than 100 encoding/preparation locations and 144 four-location parity checks. Its 49 acceptance workspaces each use 144 raw copies and a majority/AND circuit with fewer than 500 gates and scratch preparations. Enabled controlled-S or controlled-X adds fewer than twenty locations per coordinate. The two-cat version of any target check therefore has fewer than 218 nonidle locations, and all 147 target checks have fewer than 226. The final 49 selector predicates have 147 inputs but use explicit majority and AND circuits, not an exponentially large table; their total is below 218. Fewer than 220 registers are live, since cat workspaces are discarded between target checks and only the 147 target records and two code blocks persist. The 49 injection readout tables have 49 inputs; the bound in [F2] gives fewer than 49⋅249(8⋅49+8)<264 additional nonidle locations. Serialize every gate, including initialization, measurement and discard, and insert identity locations on every other live register at each layer. The entire factory and injection together then have depth below 265 and fewer than 285 locations including idles. The looser bounds in the Statement follow.

Remarks

The fallback is unverified because the whole factory permits at most one faulty location: correct rejection caused by an earlier preparation or verification fault leaves fallback preparation fault free. A sole selector fault instead finds both candidates ideal and can alter only its matching output coordinate. At no point is the output of a faulty bare encoder assumed to have small weight. All projector claims occur only after the stated ideal stabilizer projection. The physical U measurement is used as a Hermitian measurement only on the code.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Good and Bad Concatenated Rectangles

Definition

Fix an integer q≥1, a recursively replaced gadget family with disjoint child rectangles, and a fault path F⊆L(C) in its finite physical schedule C, as in Fault Locations, Paths, and Rectangles. Goodness and badness below are relative to this same q and F. A level-zero rectangle at location λ is good exactly when λ∉F, and is bad otherwise. Recursively, a level-(r+1) rectangle is q-good exactly when at most q of its level-r child rectangles are q-bad; it is q-bad otherwise. Thus the status of a rectangle depends only on the restriction of F to its elementary-location set. For a random fault path these predicates define the corresponding good and bad events.

The implication from q-goodness to the ideal reference-preserving logical action is a property that must be proved from the gadget contracts in Fault-Tolerant Gadget and Proper-Code Contract. The definition of good and bad rectangles alone does not prove that implication. For each parent, the number of children is at most a, and their underlying elementary-location sets are pairwise disjoint.

DefinitionDefinition: AI-adaptedProof: Not applicableOpen item page →

Local-Stochastic Correlated Quantum Noise

Definition

Use the finite channel-location schedule from Finite ordered channel-location schedules and its location set L. Let (Ω,w) be a finite probability space and F:Ω→P(L) a random fault set. Its law is η-local-stochastic as in Local-Stochastic Fault-Set Law. For each pattern F⊆L and each ℓ∈F, specify a CPTP replacement map supported on the same declared support Sℓ as the ideal channel at ℓ. The replacement at one location may depend on the full pattern F. For each outcome, the conditional noisy denotation is the chronological schedule obtained by using those replacements at faulty locations and the ideal channels elsewhere. It is a composition of per-location channels; the model does not add a joint operation across distinct locations.

This is a separate noise model from the independent local replacement model. Its probability hypothesis is the bound on every specified subset of fault locations; it does not assert independence. Correlation is allowed in the fault-set law and in the pattern-dependent choice of local fault maps, while each map remains attached to its own location.

LemmaStatement: Literature-sourcedProof: AI-generatedOpen item page →

Verified Steane Initialization and Protected Classical Readout

Statement

For the explicit [ ⁣[49,1,9] ⁣] code W, there are finite preparation gadgets for W∣0⟩ and W∣+⟩ with weight-one residual error under at most one arbitrary CPTP location fault. There is a finite computational-basis readout gadget which, instead of leaving an unprotected last output bit, prepares a new encoded classical register:

ρ⟼∑m=01W∣m⟩⟨m∣W∗⊗⟨m∣ρ∣m⟩.

The displayed map includes the unchanged external reference in the second factor. On inputs in the weight-two error sector, at most one fault gives the same logical readout instrument with at most one residual error in the new block. Reset is discard followed by the verified zero preparation. All identities use subnormalized branch maps, retain arbitrary finite external references, and allow explicit auxiliary fault memory. The finite elementary alphabet and bounds 2240 locations including idles, 2210 depth and 220 live registers of Finite Verified Steane Magic States and T Injection suffice.

Facts & Assumptions

Given: The ordered code W and the exact finite circuits of the following suppliers.

[F1]

Twice-Concatenated Steane Code and Its Transversal Clifford Gates gives distance nine, transversal Hadamard and logical Pauli representatives, and a fixed recovery through weight four.

[F2]

A Finite Four-Round Verified Shor Correction Circuit gives finite verified cats, majority-protected acceptance controls and reversible truth tables.

[F3]

Finite Verified Steane Magic States and T Injection gives the bare encoder, two-candidate coordinatewise factory selection, and the explicit nearest-logical-coset readout function f, correct through four bit errors.

[F4]

Code Deviation and Fault Spread gives the joint-sector, subnormalized branch and external-reference conventions.

Proof

1.1F1F2F3constructalgebra

To prepare zero, use exactly [F3]'s factory circuit with two changes: omit the initial bare H,T that prepare the unencoded ∣A⟩, and replace the last verified logical observable M by the physical logical Z‾. The latter is a weight-nine product of Z operators, so its controlled factors use the already specified verified-cat Pauli circuit; no controlled non-Pauli gate is needed. Repeat each of the 48 stabilizer target checks and the Z‾ target check three times as before. A fault-free bare candidate is W∣0⟩. For a fault in bare preparation, ideal accepted verification projects first into the code and then into its logical-Z +1 space, namely the rank-one space spanned by W∣0⟩. For a verification fault the input is that ideal state, and every later stabilizer or Z‾ measurement preserves its one-coordinate Pauli error span. Thus the entire two-candidate, independently decoded swap argument of [F3] applies verbatim with this explicitly specified Pauli observable, giving weight-one residual error. Apply the 49-location transversal Hadamard to obtain plus: a factory fault is still local after that layer, and a fault in that layer contributes only its one coordinate.

1.2F1F2F3constructalgebra

Prepare a fresh verified zero block, while retaining the data to be read. Measure the data's 49 coordinates in Z and keep all physical records z. For each coordinate in the support of X‾ on the fresh block, independently copy the full 49-bit record into its own decoder workspace, compute [F3]'s function f(z) by its fixed reversible truth-table circuit, and apply X to that one coordinate controlled by its own output. Leave the other fresh coordinates unchanged. Discard the old data and every workspace. With no errors the measured strings belong to the disjoint supports Cm of W∣m⟩; all decoders return m, and the output is X‾mW∣0⟩=W∣m⟩. Since no string can occur for two different logical labels, this physical measurement followed by controlled preparation is exactly the displayed logical instrument, including its reference blocks and probabilities.

2.1F1F3step 1.2algebra

More generally, fix a physical measurement string z and an incoming Pauli component XuZv of weight at most three. Its measurement amplitude on logical ∣m⟩ is zero unless z+u∈Cm. Whenever it is nonzero, z is within three changes of Cm, so f(z)=m by [F3]. For several Pauli components contributing to the same z, their logical label is still the same: if z were within three changes of both cosets, their mutual distance would be at most six, contradicting nine. Their phases and amplitudes are therefore scalar coefficients multiplying the same logical measurement bra ⟨m∣. This proves the ideal instrument identity on the whole weight-three operator span. Summing the physical strings uses trace preservation to give the correct logical probabilities; cross terms between distinct logical labels vanish already string by string. The calculation is unchanged with an arbitrary external reference.

3.1F3F4step 2.1algebra

At a faulty destructive Z readout on coordinate j, each recorded bit b and Kraus index has a row operator ⟨ϕbν∣ on that qubit; with fault memory, its entries are operators on memory. Expand ⟨ϕbν∣=∑zj∈{0,1}⟨ϕbν∣zj⟩⟨zj∣. Each term is an ideal computational-basis measurement string whose reported string can differ only at coordinate j. With the two admitted data errors, these strings are within at most three changes of the same logical coset, so [F3]'s function f returns the same m by step 2.1. All terms therefore have the same logical measurement bra ⟨m∣ and the same encoded output W∣m⟩; only their subnormalized branch and memory coefficients differ. This proves the readout identity for an arbitrary one-location destructive-measurement channel.

4.1F1F3step 1.1step 2.1step 3.1algebra

If the sole fault is in zero preparation, its output has one residual coordinate error by step 1.1, and all readout decoders are noiseless. Their input physical strings have at most two changes from the ideal coset, so they all apply the same correct X‾m, which preserves one-coordinate support by conjugation. If the fault touches the old data, including its idles while zero is prepared, its local Kraus expansion contributes at most one changed coordinate in addition to the two admitted input errors. Step 2.1 therefore still identifies the correct logical label. A fault at a physical measurement is covered by step 3.1. The fresh zero block and all decoders are then noiseless, so the new output has no residual error.

5.1F1F2F3F4step 2.1step 3.1step 4.1algebra

A sole record-copying fault may arbitrarily corrupt its target decoder and change its one source bit for later decoders. All other decoders see at most three changes from the ideal coset, and [F3] therefore still returns the same m. Only the faulty workspace can apply an incorrect X, on its one designated fresh coordinate. An internal decoder fault, a fresh-output idle fault, or a final controlled-X fault likewise affects at most that coordinate. This accounts for every location. Expanding input and fault Kraus operators in the finite Pauli bases with coefficients on fault memory extends the displayed logical-bra calculation to arbitrary CPTP faults. Each subnormalized branch is a weight-one error after the displayed ideal instrument, with scalar logical coefficients and memory actions; [F1]'s recovery removes these residual terms. Reset discards the old logical register and then applies step 1.1; a trace-preserving fault on discarded old registers alone cannot signal to the external reference.

6.1F2F3step 1.1step 1.2constructalgebra∎

All zero-factory target checks are shorter than their counterparts in [F3]. Readout uses at most 49 independent 49-input truth tables, already bounded there by fewer than 264 nonidle locations. There is one additional code block, and no additional exponentially large workspace. Serial scheduling and inserting an identity at every other live register therefore fit the same conservative location, depth and live-register bounds. All raw record copies, Boolean gates, final controls, preparation, measurement, reset and discard are included.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Recursive Bad-Rectangle Probability

Statement

Let a≥2 and 1≤q<a be integers and let η∈[0,1]. For each integer r≥0, suppose every level-(r+1) rectangle has at most a level-r children, the family has full depth r+1 (every root-to-leaf path has exactly r+1 child edges), the leaves are single elementary locations, and sibling elementary-location sets are pairwise disjoint. A level-zero rectangle is bad exactly when its location faults, and a parent is bad only if at least q+1 children are bad. Put A=(aq+1), the number of (q+1)-subsets of an a-element set, and define p0=η and pr+1=min⁡{1,Aprq+1}. Under independent local faults of rate η, pr is a uniform upper bound for the probability that a level-r rectangle is bad. Moreover, pr+1≤Aprq+1 and pr≤A−1/q(A1/qη)(q+1)r. If Aηq<1, then pr→0 super-exponentially in r. No independence of child badness is inferred without the disjoint-location hypothesis.

Facts & Assumptions

Given: A finite independent local fault model, a full-depth rooted hierarchy with one elementary location per leaf and pairwise disjoint sibling location sets, and a parent bad only when at least q+1 of at most a children are bad. Prove the recurrence and closed form.

[F1]

Independent Local Quantum Fault Model: Elementary fault indicators are mutually independent and each has probability η.

[F2]

Good and Bad Concatenated Rectangles: A parent has at most a disjoint child rectangles and is bad only if at least q+1 children are bad.

[F3]

Disjoint Fault-Location Events Are Independent: Events determined by disjoint child location sets are independent.

Proof

1.1givenF1F2constructinduction

Define a dominating event Bv for each rectangle v: at a leaf it is the event that its location faults, and at a parent it is the event that at least q+1 children satisfy their events B. By finite induction, actual badness implies Bv, using the stated one-sided badness rule. Each Bv depends only on the fault indicators in v. At level zero its probability is η=p0 by [F1]. For a level-(r+1) parent, Bv is the union over the at most A=(aq+1) child subsets J of the events that all their Bj occur.

2.1givenF1F2F3step 1.1inductionalgebra

Suppose every level-r event Bj has probability at most pr. For each fixed J, these events depend on pairwise disjoint location sets, so they are independent by [F3], and their intersection has probability at most prq+1. The indicator of a finite union is at most the sum of its event indicators. Summing probabilities over the at most A choices of J, and also using that a probability is at most one, gives P(Bv)≤min⁡{1,Aprq+1}=pr+1. Induction from step 1.1 proves that pr bounds every Bv and hence every actual bad probability at its level. Its defining recursion also gives pr+1≤Aprq+1.

3.1step 2.1algebra

Set θ=A1/qη. The asserted closed form holds at r=0, since A−1/qθ=η. If it holds at r, then pr+1≤A(A−1/qθ(q+1)r)q+1=A−1/qθ(q+1)r+1, because 1−(q+1)/q=−1/q. Induction proves the formula for every r.

4.1givenstep 3.1algebra∎

The condition Aηq<1 is equivalent to 0≤θ<1. For A≥1 and q+1>1, the exponent (q+1)r tends to infinity, so the closed-form upper bound tends to zero.

LemmaStatement: AI-adaptedProof: AI-generatedOpen item page →

Sparse Fault Paths Preserve Correctable Code Deviation

Statement

Let a proper gadget family have encoding V, correction capacity d, and effective spread budget ℓ as in Fault-Tolerant Gadget and Proper-Code Contract. Fix q≥1 with 2qℓ≤d and put b=qℓ. Assume type-compatible recursive replacement and the following additional finite port-substitution hypothesis, proved for the actual finite templates. It is not implied by their one-level encoded-input contracts alone.

In one substitution experiment replace each elementary port by any finite encoded port U with a correctable error span T and an attached private syndrome register. Good replacements have their declared ideal logical channel/instrument tensored with syndrome maps on their admitted sectors. Intermediate computation-output and correction-input sectors must be specified; they are correctable, and complete corrected boundaries use T. Marked replacements are arbitrary CPTP maps on their own physical ports, with possibly unencoded outputs. Correction and designated input refresh have noisy arbitrary-input attraction into their declared residual ranges, without a logical-preservation assertion on arbitrary inputs.

For the outer block let Hs(T) be the span of tensor operators with at most s unrestricted child factors and all other factors in T, and let V~=U⊗mV; use the corresponding typed factors when port types differ. For at most q marked replacements, the finite hypothesis requires computation to map Hb(T)V~ to H2b(T)V~g and correction to map Hd(T)V~ to Hb(T)V~, preserving the specified ideal logical instrument. Correction and designated refresh must also attract arbitrary inputs into their stipulated residual ranges. These are joint, outcome-resolved Kraus-span identities, with arbitrary syndrome coefficients, full trace preservation on admitted domains, and identity on the external reference.

The finite proof must specify an acyclic order for these assertions, retaining any stronger zero-marked clause it uses. In particular it must show where an inadmissible port is refreshed before interaction, that this cleanup can be absorbed into its preceding marked map without enlarging that map's ports, and that still-inadmissible outputs lie in the residual support already counted. This is a hypothesis about one finite template with abstract ports, not correctness assumed at every concatenation level.

If each computation stage and its correction stage have at most q bad child rectangles, then after correction at level r≥1 the joint instrument has hierarchical residual sector Er;b, defined below, after its ideal logical target. The recursively decoded recovery Dr returns that target exactly, including every finite external reference and recorded logical outcome. At level one this is the ordinary encoded-instrument relation; at higher levels it does not bound the total number of elementary physical errors by d.

Facts & Assumptions

Given: The one-level proper-code contracts, the proved finite port-substitution hypothesis in the Statement, and b=qℓ with 2b≤d. All recursive ports and encodings have matching types.

[F1]

Code Deviation and Fault Spread defines supported error spans and the joint outcome-resolved encoded-instrument relation, retaining actual subnormalized branches and the external reference.

[F2]

Fault-Tolerant Gadget and Proper-Code Contract supplies the fixed decoded recovery and the one-level computation b→2b and correction d→b identities. No higher-level substitution assertion is inferred from that definition.

[F3]

Good and Bad Concatenated Rectangles supplies the disjoint recursive partition and the at-most-q bad-child condition.

[F4]

A recovery correcting a normalized mixed unitary error family has scalar recovered Kraus operators on its linear error span; their pairwise identities also handle joint blocks and memory coefficients (Encoded error instruments and full-space CPTP error maps).

Proof

1.1givenF1F2construct

Write V0=I and Vr=Vr−1⊗mV, with the corresponding typed tensor products for distinct port types. Put E1;s=Es and Er;s=Hs(Er−1;b) for r≥2, using joint per-block tensor spans. Define D1 to be the declared decoded recovery and Dr by applying the child decoders and then D1 to their logical outputs. Decoder syndrome registers remain attached to their original child edges in the comparison; no decoder is inserted into the faulty circuit.

2.1F1F2F4F5step 1.1inductionalgebra

First justify scalar recovery on the whole error span. In an orthonormal basis of each nonzero physical factor, the identity, diagonal sign flips, pairwise swaps, and pairwise Hermitian swaps with off-diagonal entries i,−i are unitaries spanning its matrix algebra: subtracting the identity outside the selected pair gives the symmetric and skew matrix units, and diagonal sign flips give the diagonal units. Tensor these unitaries on at most d coordinates, with identities elsewhere, and choose a basis from this finite spanning family. If its size is M, its elements divided by M are Kraus operators of a full-space channel corrected by D1. For every recovery Kraus map Rl and basis element Ea, [F4] gives RlEaV=claI. Linearity gives this for every error term. Inductively a factor in Er−1;b becomes scalar identity on its decoded logical coordinate, with its syndrome coefficient retained, whereas an unrestricted factor becomes an arbitrary operator on that one coordinate. Expanding a tensor in Er;s leaves at most s≤d outer errors, corrected by D1. Thus Dr corrects the full span. Pairwise Kraus expansion gives the joint and memory-valued version, and full trace preservation makes the total recovered coefficient one. Zero-dimensional input spaces have no density instance.

3.1givenF1F2F4F5step 2.1inductionalgebra

Prove simultaneously, by level, the computation Er;b→Er;2b and correction Er;d→Er;b identities and arbitrary-input attraction for correction and designated refresh. Include every stronger zero-marked clause named by the finite hypothesis. At level one these are the stated one-level contracts and the additional attraction hypotheses. At an induction step all lower intermediate sectors are correctable by step 2.1. For an error basis on such an edge, trace preservation of recovery gives V∗Ea∗EcV=(∑lcla‾clc)I. Diagonalize this finite positive Gram matrix, discard its zero directions, and normalize the others. The resulting encoded maps FjV satisfy (FjV)∗FkV=δjkI, so J(ψ⊗ej)=FjVψ identifies that range with logical register times a private syndrome. The lower termwise sector identities give exactly the admitted logical/syndrome maps in the finite experiment.

4.1givenF1F3step 1.1step 3.1induction

A bad lower child remains an arbitrary CPTP map on its physical ports; its output is not assumed admitted. Apply the proved finite hypothesis to the lower-port maps from step 3.1, in its specified acyclic order. Its first-use refresh and support checks justify absorption only into that marked map's own ports and include every still-inadmissible output in the same residual support. It yields precisely H2b(Er−1;b) for computation and Hb(Er−1;b) for correction, together with arbitrary-input attraction and the retained zero-marked clauses. These are the required level-r assertions. Logical outcome ports and private syndromes keep their actual branch maps throughout.

5.1givenF1F2F3step 1.1step 2.1step 4.1inductionalgebra∎

Initially the encoded boundary has budget zero. At a fixed level, chronological induction now alternates the proved computation bound 2b≤d and correction bound b, starting from that boundary and the protected preparations. Composition retains complete positivity, full trace preservation on the admitted domain, and every public logical outcome. Step 2.1 decodes the resulting joint hierarchical residual instrument to the ideal logical instrument. Together with the independent level induction in steps 3.1–4.1, this proves the assertion at every level, with the external reference unchanged.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

An Explicit Proper Code and Universal Fault-Tolerant Gadgets

Statement

There is an explicit fixed quantum code and finite logical gate set whose generated subgroup, including adjoints, is dense in the unitary group on its logical space in operator norm, and whose encoder, error-correction, initialization, readout, and gate gadgets satisfy the proper-code contract of Fault-Tolerant Gadget and Proper-Code Contract. A Steane t=1 construction must be paired with a separately proved extended-rectangle correctness and overlap analysis. A route using the concatenated threshold theorem with d≥2ℓ must exhibit a code correcting at least 2ℓ located errors and prove every required gadget contract.

Facts & Assumptions

Given: The finite gate and instrument model of the proper-code contract, including encoded-input noisy contracts and ideal unknown-input encoding.

[F1]

Twice-Concatenated Steane Code and Its Transversal Clifford Gates gives an explicit [ ⁣[49,1,9] ⁣] encoding W, a fixed exact decoded recovery through weight four, and exact transversal H,S, CNOT circuits.

[F2]

A Finite Four-Round Verified Shor Correction Circuit gives a fixed finite correction instrument C: with zero faults it maps arbitrary inputs into the code and corrects weight-four errors; with one fault it corrects weight-two inputs up to a weight-one residual.

[F3]

Finite Verified Steane Magic States and T Injection gives the exact finite bare encoder, a verified encoded T∣+⟩ factory, and injection which takes input error weight one and one fault to output error weight at most two. With no fault its local incoming errors remain local.

[F4]

Verified Steane Initialization and Protected Classical Readout gives protected zero, plus, encoded-classical readout and reset. Its readout emits a new code block in logical ∣m⟩, not an unprotected classical bit.

[F5]

An explicit scalar phase completes Clifford+T to full unitary density proves full U(2) density for H,T and P=e2πi2I, including adjoints, and exact one-layer physical gadgets for P,P∗.

[F6]

Fault-Tolerant Gadget and Proper-Code Contract imposes the computation and correction budgets; Code Deviation and Fault Spread specifies the joint encoded-instrument sectors and retained external references.

[F7]

Sparse Fault Paths Preserve Correctable Code Deviation states the additional finite port-substitution hypothesis and proves hierarchical sparse correctness from it. Its finite hypothesis, rather than an assumed all-level conclusion, is verified below.

[F8]

Encoded error instruments and full-space CPTP error maps proves scalar recovery identities from a normalized mixed Pauli channel, including memory-valued coefficients. Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely supplies diagonalization of the finite positive Gram matrix.

Proof

1.1F1F2F3F6constructalgebra

Take m=49, the code Q=im⁡W, effective spread budget ℓ=1, and declared capacity d=2. Choose the decoded recovery to be the zero-fault circuit C of [F2], followed by the inverse of [F3]'s bare Clifford encoder and discard of its other 48 coordinates. This is an actual finite circuit: C is code valued, and the inverse encoder extracts its one logical input with all other encoder coordinates reset to zero. By [F1] and [F2] it corrects the entire weight-four error span and hence every located weight-two channel required by the contract. The same recovery tensorized across live blocks corrects the whole joint error span: expand each joint Kraus operator as a sum of tensor products of local error operators and apply the one-block scalar recovery identities to every pair of terms. The resulting coefficients are scalars on every logical factor, although their fault-memory actions may be correlated. Thus the external reference is unchanged. The numerical conditions 49≥2d+1 and d≥2ℓ hold, and the integers q≥1 with 2qℓ≤d consist exactly of q=1. This is a nonvacuous sparse-fault contract.

1.2F2F3F4F5construct

Declare the finite physical alphabet to consist of H,S,S∗,T,T∗,X,P,P∗, CNOT, Toffoli, zero preparation, computational-basis measurement with a classical output register, reset, discard and idle. Classical registers are computational-basis registers; their reversible Boolean gates are the restrictions of X, CNOT and Toffoli. No Boolean computation or control signal is noiseless. Every operation in the supplier circuits is in this alphabet: their controlled X is CNOT, their doubly controlled X is Toffoli, their controlled Z is H–Toffoli–H with the indicated two controls, their controlled S has the explicit five-gate Clifford+T decomposition in [F3], and their conditional swaps use two CNOTs and one Toffoli. Source locations include all preparations, measured raw bits, scratch workspaces and idles.

1.3F1F2F3F5constructalgebra

Define protected elementary unitary templates as follows. Begin every template by applying the finite circuit C separately to every input block, before that block interacts with another input. For H,S,S∗ use their 49-coordinate transversal core. For X use the explicit weight-nine logical Pauli core, with idles on the other coordinates. For P,P∗ use [F5]'s scalar core; for CNOT use the transversal two-block core. Append one copy of C to every output block. For T use [F3]'s injection core between that input refresh and output correction. For T∗ use that same injection, then transversal S∗, then output correction, since S∗T=T∗. These occurrences of C are its explicitly expanded finite physical circuit, not an in-place recursive call. All templates are exact on fault-free encoded inputs. If the one fault occurs in an input correction, [F2] leaves at most one residual on that block while other input corrections are ideal; the fault-free core propagates this within its supported error budget and the output corrections are ideal. If the fault occurs in a one-block transversal, scalar or Pauli core, the input weight one plus that location gives at most two errors, corrected by the fault-free suffix. If it occurs in the suffix, its input has weight at most one and [F2] leaves at most one residual.

1.4F3algebraconstruct

Here is an exact finite Toffoli core over the other gates. For computational bits x,y,z the integer identity 4xyz=x+y+z−(x⊕y)−(x⊕z)−(y⊕z)+(x⊕y⊕z) follows by expanding a⊕b=a+b−2ab. Apply T to the three original bits; compute their three pair parities into fresh zero registers, apply T∗ to each and uncompute; compute their triple parity into a fourth zero register, apply T and uncompute. The net basis phase is (−1)xyz and scratch returns to zero. Conjugate by H on the third original coordinate to obtain exact Toffoli, without a scalar-phase discrepancy. There are 27 unitary elementary gates, four scratch preparations and four scratch discards.

2.1F1F2F3F6step 1.3algebra

For CNOT, two input blocks with one error each can give the union of two coordinate labels in either output. A faulty core location adds at most one more label per block, for a total of three. In that case every suffix correction is fault free and [F2] corrects through weight four. If the fault is in a suffix correction, the core is fault free and produces at most two errors per output; the faulty suffix therefore satisfies precisely [F2]'s weight-two input contract. Other suffixes are ideal. Hence the protected CNOT template has at most one residual per block. For T and T∗, [F3] gives at most two errors when the fault is in the core, so ideal suffix correction removes them. If the fault is in suffix correction, the injection is noiseless and propagates an incoming one-coordinate error to one-coordinate error; transversal S∗ preserves that support. Again [F2] applies. Every protected elementary unitary therefore takes joint weight-one inputs and one fault to joint weight-one outputs, stronger than the required weight-two computation bound. These are joint Kraus-sector assertions, so correlated faults and arbitrary finite references are covered by the suppliers' termwise proofs.

2.2F2F3F4F6step 1.3algebra

Use [F4]'s verified zero and plus preparations, reset and encoded-classical readout, and [F3]'s verified magic preparation. Append C to their live encoded output blocks. A fault in a preparation core leaves weight one, corrected by an ideal suffix; a suffix fault has a clean admitted input and leaves weight one. Prepend C to readout's encoded input as well. A fault there leaves at most one error for the ideal readout core; a fault in the core or suffix has the stated bounds by [F4] and [F2]. Readout thus preserves the logical measurement instrument and emits an encoded classical block with at most one error. In particular the final correction/control bit is protected: recursive replacement of a computational-basis measurement emits W∣m⟩ in a new block. Subsequent classical NOT, CNOT and Toffoli use the same coherent encoded unitary templates on these basis states. Discard is the ordinary trace channel; a trace-preserving fault confined to discarded registers cannot change the retained external reference. An encoded idle template is input C, a layer of 49 physical idles, and output C. Besides its weight-one invariant on admitted inputs, this template attracts arbitrary inputs into the weight-one code sector with an unspecified resulting logical map: use [F2]'s arbitrary-input attraction for the faulty correction, and its ideal arbitrary-input action for the others. This local input refresh is included even for classical registers.

2.3F1F2F6F8step 1.1inductionalgebra

For completeness specify the recursive domains, rather than treating an arbitrary bad child's output as encoded. Put V0=I, Vr=Vr−1⊗49W. Let E1;s be the usual weight-s operator span. For r≥2, let Er;s be the span of tensor operators on the 49 child blocks for which at most s child factors are unrestricted and every other factor belongs to Er−1;1. This is the hierarchical error sector; all formulas use its joint tensor version across live blocks. For the base scalar identities, list all phase-free weight-at-most-four Pauli errors Pa. Each is unitary, so Pa/M, where M is their number, form a trace-preserving Kraus family. The fixed recovery corrects that actual channel by [F1]. By [F8], each recovery Kraus map satisfies RlPaW=claI, and linearity extends this to the entire error span. A fixed recursive decoded recovery Dr corrects Er;s for s≤4: take the declared D1, apply Dr−1 in every child while retaining its private recovery-syndrome register, and then apply D1 to the 49 logical outputs. By induction a good child factor becomes scalar identity on its logical factor, with its syndrome coefficient retained. An unrestricted factor becomes an arbitrary one-qubit map, hence a Pauli linear combination at that outer coordinate. The outer recovery therefore sees at most s erroneous coordinates and corrects them by [F1]. Expanding every pair of Kraus terms proves the same assertion for coherent sums and correlations, not merely tensor product channels.

3.1F1F2F3F4step 2.1step 1.4inductionalgebra

Implement step 1.4 on encoded blocks using the protected elementary templates and verified zero scratch preparations, first refreshing the three original inputs separately by C. After each elementary stage apply C to every live block of this at-most-seven-block construction, including untouched scratch and input blocks. This supplies a fixed finite Toffoli template. To verify its one-fault branch, induct over its finitely many stages. A fault in the active core produces at most three errors per block by step 2.1; all following corrections in that stage are ideal and correct them. A fault in a correction sees at most two errors from the fault-free core and leaves at most one residual. An idle fault on another live block occurs either before its ideal correction, when at most three errors are removed, or after that correction, when its now-clean state receives one error. A fault in scratch preparation has [F4]'s one-coordinate bound. Thus every stage ends in the correct ideal joint logical state with at most one error per block, and later stages obey the same invariant. The Pauli-basis argument in [F2] and [F3] applies jointly, retaining fault memory and the external reference. This proves the Toffoli contract without assuming a fault-tolerant Toffoli supplier in its own proof. Its native physical Toffoli locations occur only inside finite lower-level templates, not as an unproved logical gate.

3.2F2F3F4F6constructalgebra

The arbitrary unknown-input encoder is the exact finite linear encoder of [F3]; its zero-fault action is W with the reference retained. The quantitative noisy-input contract starts on already encoded sectors or protected prescribed preparations, as stipulated in [F6]. This boundary is necessary: a circuit encoding every unknown σ as WσW∗ receives exactly the same physical input in a fault-free run on XρX as in a run on ρ with an initial X fault. It cannot output both WρW∗ and WXρXW∗; taking ρ=∣0⟩⟨0∣ contradicts orthogonality of the isometry's two encoded basis states. Every use of the bare encoder inside a prescribed-state factory is nevertheless an ordinary counted faulty location, and [F3] and [F4] verify all its arbitrary faulty outputs by the subsequent rank-one checks and fallback construction. The inverse quantum-code conversion in the declared decoded recovery is likewise an ideal decoding boundary; physical readout inside a noisy computation instead uses step 2.2's protected encoded-classical instrument. Error correction itself is the unmodified C, whose fault-free action on every arbitrary input is code valued by [F2]. Its finite syndrome-measurement family consists of the 48 explicit check circuits of [F2]: on weight-one input, one fault adds at most one data coordinate error, so each has the required weight-two computation output sector while revealing only an error syndrome, not the logical state.

4.1F2F3F4F6step 1.2step 3.1step 2.2inductionalgebra

All templates just specified are finite lists over the one declared physical alphabet. In particular the Toffoli template is a finite list containing native physical Toffolis inside its verified correction and preparation circuits; it does not recursively expand those native locations at the same level. At replacement level r+1, replace each listed elementary location by its already specified template at level r, with the same wire order. This is a simultaneous finite induction on r, starting at the elementary physical locations at level zero. Each measurement replacement emits its encoded public classical record; each private cat, selector and syndrome register remains private until its declared discard. Thus fault-free encoded-instrument composition preserves the actual controls and every branch probability, not merely the final unconditioned channel. The local one-fault proofs quantify over arbitrary maps on the full registers of a faulty elementary child, including correlated memory, as required by [F6]. Higher-level sparse correctness uses those explicit stage contracts; alphabet closure does not identify a good noisy child with a physical ideal gate. This establishes finite recursive replacement for every noisy classical operation, initialization, measurement, reset and scheduled idle. No additional unlisted ideal decoder is inserted into any faulty circuit.

5.1F2F3F4F5step 1.4step 3.1step 4.1algebra

One conservative numerical bound is a=2300 child locations per template, common depth 2230, and at most 224 live physical registers. Each supplier core or correction has an explicitly listed finite body using fewer than 2240 locations and 2210 depth, including its internal idles and scratch, and fewer than 220 live registers. Protected elementary templates contain at most seven such core/correction bodies. In every compound template, including the Toffoli construction, compose these unpadded bodies and the required interstage idles first; do not insert a constituent's common-depth padding between stages. The Toffoli template has fewer than 64 stages, each containing a protected core body and at most seven further block-correction bodies; their total is below 2250 listed locations and 2220 layers. Its additional idles on its other at-most-seven blocks add fewer than 7⋅49⋅2220<2230 locations. The union of simultaneously live supplier workspaces is smaller than 224. After each complete template has been composed, append a single physical-identity padding suffix on its retained registers to bring its depth to exactly 2230. If the sole fault is in this outer padding, the preceding unpadded body is ideal and has already corrected its admitted input, so padding adds at most one error; if the fault is earlier, the padding is ideal. This applies to the Toffoli only after all its stages, not at their intermediate boundaries. Padding adds at most 224⋅2230=2254 locations, still below the common a. At a global layer, other live logical blocks use their own complete padded idle templates; their count belongs to those separate circuit locations and does not inflate one active template's child bound with the total computation width. Bare encoding is an ideal boundary circuit smaller than these templates. These statements specify the common timing and every idle without a width-dependent child constant.

5.2F6F8step 2.3step 4.1algebra

The locality certificate for substitution is as follows. At a fixed physical fault pattern, each elementary location acts on its declared data ports and any fault memory allowed by [F6]. Here is an explicit factorization of a correctable block edge with encoding V. For a finite error basis Ea, step 2.3 gives scalar Gram equations V∗Ea∗EbV=cabI: applying each recovery Kraus operator to EaV gives a scalar multiple of identity, and summing their pairwise products gives this equation. Diagonalize the finite positive matrix (cab) and discard its zero eigenvalues. The normalized transformed errors FjV then satisfy (FjV)∗(FkV)=δjkI, so J(∣ψ⟩⊗∣j⟩)=FjV∣ψ⟩ is an isometry identifying the whole correctable range with logical register times a syndrome register. The termwise sector identities make each good-child Kraus map on this range Jout(g⊗B)Jin∗; for a measurement retain its logical outcome Kraus operator and public outcome port in place of g. Trace preservation holds on this entire admitted domain. This is the required CP factorization, not an asserted full-space extension. Private cat, verifier, selector and truth-table registers are freshly prepared and discarded at their listed boundaries. Only listed data ports and public classical-result ports cross a template boundary. Recovery-syndrome registers introduced for comparison in step 2.3 remain attached to their corresponding physical block edge; they are not an additional globally shared register coupling unrelated locations. A good lower child, on its admitted encoded input, consequently factors its ideal logical channel or instrument and its attached syndrome maps by the termwise identities already proved. Public measurement records remain explicit encoded classical ports. The coefficient B may act on shared fault memory; it is not assumed to commute with another location's coefficient.

6.1F2F6F8step 5.2algebra

Keep that memory order by expanding the finite Kraus products before making a substitution. Fix a complete instrument outcome and Kraus index at every location, and choose bases on the attached syndrome and private registers. In the logical/syndrome coordinates of step 5.2, each good map on admitted inputs has its ideal logical Kraus operator as data factor. A good input refresh on an unrestricted port has admitted output by the stipulated attraction property, so its Kraus operator can instead be expanded into arbitrary maps from that physical input to the logical output, with syndrome/memory coefficients. The marked map has the analogous unrestricted local matrix expansion. Thus write each typed factor as Kt=∑αAtα⊗Btα, where Atα acts only on its declared data ports and Btα on the syndrome/private registers and shared memory. Expanding the chronological product gives KN⋯K1=∑α1,…,αN(ANαN⋯A1α1)⊗(BNαN⋯B1α1), with the edge isometries understood. No B factors are permuted. Equivalently, contract the internal syndrome basis indices while leaving their memory coefficients in this order. This is a finite linear expansion of each actual Kraus operator; its summands are not separate probabilistic branches.

7.1F2F3F4F6F7step 1.3step 2.2step 6.1algebra

A marked output need not be admitted. Before its next interaction, however, the next good template applies its separate input correction on that port. In each data-factor product of step 6.1, move only this refresh's data factor backward along the unused output wire: intervening data factors have disjoint ports, so their tensor products commute. Absorb it into the marked data factor without changing that factor's input or output port labels. Do this separately for each marked output; a port with no subsequent use remains unrestricted at the output or is discarded. On admitted predecessor inputs a good refresh has logical factor I. No syndrome/memory operation has moved, and the chronological coefficient product from step 6.1 is retained. The one-location proofs in [F2]–[F4] are linear Kraus identities for arbitrary local matrices: any such matrix can be scaled to a contraction and completed to a local CPTP Kraus family. They therefore apply to every absorbed data term, with its ordered memory coefficient, and then to their coherent sum. This proves precisely the local Kraus-span absorption required by [F7]. It does not identify the complete circuit with a single relocated CPTP fault. Complete positivity, trace preservation and actual outcome probabilities come from the unchanged original circuit after reassembling each Kraus operator and summing its branches, not from treating expansion terms as channels. The remaining unrestricted output ports must still be counted in the residual support, as checked below.

8.1F1F2F7step 2.3step 5.2step 7.1algebra

Here is the finite correction experiment required by [F7], with b=1,d=2 and a lower admitted port span T. Its edge types are the logical qubit times its attached syndrome on every admitted data, cat, raw-bit and workspace port; before first use a not-yet-admitted port instead has its unrestricted physical type. The initial 49 idle replacements in C attract arbitrary input ports into their admitted ranges. With no marked replacement this converts Hs(T) input, s≤4, to at most s arbitrary outer-coordinate errors; every subsequent good replacement acts on the admitted logical/syndrome types of step 5.2. The zero-fault four-round argument of [F2] corrects these and leaves H0(T). For arbitrary input it likewise projects onto a full outer syndrome and returns H0(T), without preserving any initial logical interpretation. With one marked prefix idle, its output is refreshed at its first subsequent use and is one arbitrary outer-coordinate error. Input budget two then gives at most three such errors, corrected by the otherwise ideal outer four-error recovery. If that coordinate is never used again, it is itself the one unrestricted output factor.

9.1F2F3F4F7step 5.2step 8.1step 7.1algebra

For a mark later in C, use step 7.1 to absorb the first subsequent good refresh data factors on its output ports termwise, retaining every memory coefficient in chronological order. All other data factors have their ideal admitted logical action, so the linear finite case analysis of [F2] applies to each resulting local matrix term. A cat-preparation mark is followed by the parity verifications, whose accepted logical cat factors give αI+βg; faulty verifier or enabled-interaction ports affect at most their matching data coordinate. A raw-verification copy can corrupt its source bit and one target workspace, but every other acceptance workspace still has a correct majority triple. A final raw-syndrome copy can corrupt one source bit and one target decoder; the other decoders still select a true equal syndrome pair. Internal selector/decoder faults have only their designated data coordinate. These exhaust the raw/shared ports, and all remaining private cat and scratch outputs are discarded. Consequently every still-inadmissible retained data output is on the same coordinate as the one-coordinate residual already counted in [F2]; a mark with no subsequent use is a last data interaction, correction or idle on that coordinate. There is no second unrestricted data factor to add. Thus correction maps H2(T) to H1(T) with its original logical state, and arbitrary input into the same residual range with unspecified logical state. Full branch sums remain trace preserving; public logical readout ports are retained.

10.1F1F2F3F4F7step 1.3step 2.1step 2.2step 3.1step 5.1step 8.1step 9.1step 7.1algebra

Next apply this finite correction result to the leading and trailing corrections in the protected templates. Their cores have exactly the transversal, Pauli/scalar, injection and stagewise Toffoli cases in steps 1.3–3.1: a mark in a leading correction leaves one outer error, a mark in a core adds only its listed coordinate supports, and an ideal suffix removes at most four errors; a marked suffix sees its admitted weight-at-most-two input. Step 7.1 absorbs the input-refresh data factors for an inadmissible core port before interaction, retaining the chronological memory coefficients; an invalid retained output is already one of that slot's counted residual coordinates. Each complete protected elementary template therefore maps H1(T) to H1(T); the weaker computation bound H2(T) follows. The Toffoli construction refreshes and corrects all seven live blocks after each listed stage, so it has those same complete-boundary types. Preparations and encoded-classical readout use the outcome-resolved cases of step 2.2; physical classical controls have the same refresh and coordinate restrictions. Finally an idle template attracts arbitrary input: if its mark is in the leading correction use step 9.1, if in its middle layer use the clean outer-code output of the leading correction, and if in its suffix use the admitted-input correction result. An outer padding mark acts on one data coordinate after the ideal body. These give the acyclic order correction, protected computation, idle attraction, retaining the zero-marked weight-four correction clause. Every reduction concerns this one finite template, with arbitrary attached syndrome coefficients; it has no concatenation index.

11.1F1F2F7step 2.3step 5.2step 8.1step 9.1step 10.1inductionstep 7.1algebra

The finite experiment in steps 8.1–10.1 now proves the actual recursion by simultaneous induction. Retain correction Er;2→Er;1, correction attraction on arbitrary input, complete protected computation Er;1→Er;1, and idle attraction. Also retain correction Er;4→Er;0 and arbitrary-input Er;0 attraction when no child is bad. The level-one cases are [F2] and steps 1.3–3.1. At level r, step 2.3 makes all lower admitted sectors correctable; step 5.2 gives their logical/syndrome factorization. Apply the finite experiment with U=Vr−1 and T=Er−1;1, in its proved correction/computation/idle order. Good lower replacements have precisely the induction identities it requires, while one bad child is left unrestricted. The resulting Hs(T) sectors are exactly the Er;s of step 2.3. This establishes the simultaneous assertions without assuming a bad child's output encoded.

12.1F6F7step 2.3step 11.1algebra

For a sequence of computation/correction stages, the stronger complete-template bound from step 11.1 implies the required computation Er;1→Er;2 bound, and correction returns Er;1. Thus [F7] applies with q=1,ℓ=1,d=2 and returns the ideal joint logical instrument after the recursive decoder. These are hierarchical support bounds, not a bound of two on the total elementary error weight at higher levels. The identities retain every public logical outcome and external reference; private syndrome and fault-memory coefficients are traced only at their declared boundaries.

13.1F1F2F3F4F5F6F7step 1.1step 4.1step 5.1step 7.1step 8.1step 9.1step 10.1step 12.1algebra∎

By step 1.3 and step 2.1 and step 1.4 and step 3.1 and step 2.2 every computation template has input budget one and output budget at most two with one bad child, and correction C has input budget d=2 and output budget one. The zero-fault correction requirement on arbitrary inputs holds independently. Step 1.1 shows that these are exactly all nonzero sparse budgets demanded by 2qℓ≤d; there is no omitted higher-q branch. Steps 5.2–10.1 prove the finite port-substitution hypothesis of [F7], and steps 2.3 and 11.1–12.1 establish its actual recursive domains and decoded action. The suppliers prove the branch maps before normalization and then sum them, with all error supports and memory actions declared. Finally choose the one-block logical alphabet containing H,T,T∗,P,P∗, supplemented by the provided two- and three-block Clifford/Toffoli gates for circuits. By [F5] its one-block subgroup is dense in the full U(2) in operator norm, including scalar phases. Together with the fixed code, all finite schedules, protected boundary preparations and readout, encoder boundary, correction and recursive goodness above, this proves the proper-code existence claim through the nonvacuous d≥2ℓ route.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Concatenated Threshold Under Local-Stochastic Correlated Noise

Statement

Assume a fixed proper code of block size m≥2d+1 and correction capacity d≥1, with a recursively closed finite gadget family satisfying Fault-Tolerant Gadget and Proper-Code Contract. Let its positive integer effective spread budget be ℓ, let a≥2 bound the number of child rectangles, put q=⌊d/(2ℓ)⌋, and assume 1≤q<a. Assume also the proved finite port-substitution hypothesis of Sparse Fault Paths Preserve Correctable Code Deviation for these parameters, including its noisy attraction and intermediate-sector requirements, and use its recursive final decoder. Put A=(aq+1). At each integer level r≥0, use the full-depth recursive rectangle hierarchy: every root-to-location path has exactly r child edges, and sibling location sets are disjoint. Use the finite channel-location schedule of Finite ordered channel-location schedules and local-stochastic fault model of Local-Stochastic Correlated Quantum Noise, with η∈[0,1] and Aηq<1. For each finite simulated circuit, let N≥1 be its total number of top-level rectangles, counting every gate, initialization, correction, scheduled idle, measurement, and readout gadget. Then the level-r bad-rectangle bound is

pr≤A−1/q(A1/qη)(q+1)r.

The noisy computation starts at an admitted encoded boundary: pre-existing live data blocks are jointly encoded from an arbitrary logical input, with any finite external reference retained, and any newly initialized blocks are supplied by the protected prescribed-initialization gadgets covered by the contract and counted among the top-level rectangles. No guarantee is asserted for an unknown unencoded physical input before this protection begins. The probability that any of the N top-level rectangles is bad, decoded-output trace distance, finite-POVM total-variation error, and success-probability change are each at most Npr. For any target 0<δ≤1, choose the least r such that NA−1/q(A1/qη)(q+1)r≤δ (for η=0, take r=0). For fixed code and gadget parameters, as N/δ→∞, this gives O(log⁡log⁡(N/δ)) concatenation levels and polylogarithmic fixed-code overhead. Fault indicators need not be independent; conditional operations remain local to their specified locations.

Facts & Assumptions

Input boundary: The admitted inputs are arbitrary joint encoded logical states, with arbitrary finite external references, or blocks produced by protected prescribed initializations covered by the proper-code contract. An unknown unencoded physical input before protection is outside the noisy guarantee.

Given: A finite local-stochastic fault-set process, full-depth disjoint child-location trees at each recursive level, the proper-code encoded-instrument correction and gadget contracts, integers d≥1, ℓ≥1, a≥2, and N≥1, q=⌊d/(2ℓ)⌋ with 1≤q<a, A=(aq+1), η∈[0,1] with Aηq<1, a target δ∈(0,1], and the proved finite port-substitution hypothesis with its recursive final decoder. Prove the probability and decoded-output guarantees.

[F1]

Local-Stochastic Correlated Quantum Noise: Every realized fault set obeys the local-stochastic subset bound, and its conditional channel is a chronological composition of pattern-dependent CPTP maps, one local map at each faulty location.

[F2]

Good and Bad Concatenated Rectangles: A bad parent requires at least q+1 bad children with disjoint underlying location sets.

[F3]

Local-Stochastic Fault-Witness Bound: Under the stated hierarchy and local-stochastic subset bound, the root bad probability is at most A−1/q(A1/qη)(q+1)r.

[F4]

Sparse Fault Paths Preserve Correctable Code Deviation: Its finite port-substitution hypothesis gives joint hierarchical residual instruments in Er;qℓ, exactly corrected by the recursive decoder with arbitrary references retained.

[F5]

Trace Distance: D(ρ,σ)=12∥ρ−σ∥1.

[F6]

Trace Distance Range And Equality: D(ρ,σ)≤1 for density operators.

[F7]

Measurement Variation At Most Trace Distance: Any finite POVM outcome laws have total-variation distance at most the input-state trace distance.

[F8]

Fault-Tolerant Gadget and Proper-Code Contract: The contracts hold branchwise with any finite reference retained and quantify over arbitrary CPTP maps supported on the union of faulty child supports.

[F9]

Finite ordered channel-location schedules: Each conditional fault-pattern denotation is a finite chronological composition of full-register channels.

[F10]

The Local Noise Model Composes With Circuit Semantics: A finite probability-weighted mixture of conditional pattern denotations is a CPTP channel.

[F11]

The finite union bound: For a finite family of events, the probability of their union is at most the sum of their probabilities.

[A1]

The family satisfies the additional proved finite port-substitution hypothesis in [F4], including its support/refresh checks. This is additional to the one-level contract in [F8].

Proof

1.1givenF1F2F3

Apply [F3] to each level-r rectangle. Its proof counts fault-witness sets and uses only the local-stochastic subset bound, so it requires no independence between child fault indicators. Thus each top-level circuit rectangle is bad with probability at most pr=A−1/q(A1/qη)(q+1)r.

1.2givenF3algebra

If η=0, each single-location fault event has probability zero by the local-stochastic subset bound; the finite union bound gives no faults almost surely, so level zero suffices. Otherwise put θ=A1/qη∈(0,1) and c=−log⁡θ>0. Any r with (q+1)r≥c−1log⁡(NA−1/q/δ) is sufficient; if the logarithm is nonpositive or its positive value is at most c, r=0 suffices. For fixed parameters, the least qualifying r is O(log⁡log⁡(N/δ)) as N/δ→∞.

2.1givenA1F1F2F4F8F9F10F11step 1.1

By [F11], the probability α that at least one of the N top-level circuit rectangles is bad satisfies α≤Npr. For every fault pattern, [F9] gives a conditional channel, so its output on the fixed joint data input and external reference is a density operator. On the complementary event, recursive goodness gives at most q bad children in every stage. The one-level contract [F8] and finite hypothesis [A1] permit the simultaneous recursive correction guarantee [F4] for the per-location channels allowed by [F1]. Its recursive final decoder takes every such hierarchical residual instrument to the ideal logical instrument. Thus every pattern with no bad top-level rectangle has decoded output ρid. If α>0, the normalized finite mixture of bad-pattern outputs is a density operator τ; if α=0, choose any density operator for τ. Then ρout=(1−α)ρid+ατ, and [F10] confirms that the weighted schedule output is a channel.

3.1F5F6F7step 2.1algebra

By homogeneity of trace distance and [F6], D(ρout,ρid)=αD(τ,ρid)≤α≤Npr. Applying [F7] to the final POVM bounds its output total-variation distance by Npr, and every success event changes by at most that total-variation distance.

4.1givenstep 1.2algebra∎

Because the gadget family is fixed and finite, choose a constant κ≥1 bounding both the number of elementary locations and the scheduled depth of every replacement gadget, including preparation, control, reset, and idle locations. Replacing each location of a schedule of size S and depth D gives size at most Sκ and depth at most Dκ: replace disjoint locations of each original layer in parallel and pad their gadgets to the common depth bound. Induction gives size at most Sκr and depth at most Dκr at level r. Thus the multiplicative size and depth overheads are at most κr, which is a fixed power of log⁡(N/δ) by step 1.2.

Remarks

This is a separate proof branch from the independent-location recurrence. The source paper states the local-stochastic extension but does not supply the complete witness-count derivation written here. The finite channel schedule and proper-code gadget contracts are explicit hypotheses; their transitive supplier closure remains a draft dependency.

TheoremStatement: Literature-sourcedProof: AI-generatedOpen item page →

Conditional Concatenated Threshold for Proper Codes

Statement

Assume a fixed proper code with integer block size m≥2d+1, integer correction capacity d≥1, positive integer effective spread budget ℓ, and an integer bound a≥2 on the number of child rectangles per gadget. Let q=⌊d/(2ℓ)⌋ and assume 1≤q<a. Assume also the proved finite port-substitution hypothesis of Sparse Fault Paths Preserve Correctable Code Deviation for these parameters, including its noisy attraction and intermediate-sector requirements. Put A=(aq+1). At each integer level r≥0, use the full-depth recursive rectangle hierarchy: every root-to-location path has exactly r child edges, and sibling location sets are disjoint. Use the independent local CPTP fault model of Independent Local Quantum Fault Model with rate η∈[0,1], and assume Aηq<1. The circuit is a finite channel-location schedule as in Finite ordered channel-location schedules. Interpret level-r outputs after the recursive decoded recovery Dr of Sparse Fault Paths Preserve Correctable Code Deviation, built from the declared one-level recovery. For each finite simulated circuit, let N≥1 be its total number of top-level rectangles, counting every gate, initialization, correction, scheduled idle, measurement, and readout gadget. Then every level-r rectangle is bad with probability at most

pr≤A−1/q(A1/qη)(q+1)r.

The noisy computation starts at an admitted encoded boundary: pre-existing live data blocks are jointly encoded from an arbitrary logical input, with any finite external reference retained, and any newly initialized blocks are supplied by the protected prescribed-initialization gadgets covered by the contract and counted among the top-level rectangles. No guarantee is asserted for an unknown unencoded physical input before this protection begins. The probability that any of the N top-level rectangles is bad is at most Npr. For every admitted jointly encoded logical input, including one entangled with an arbitrary finite reference, the decoded level-r output has trace distance at most Npr from the ideal logical output; every final finite POVM output law has total-variation distance at most Npr, so every success probability changes by at most Npr. For any target 0<δ≤1, choose the least r such that NA−1/q(A1/qη)(q+1)r≤δ (for η=0, take r=0). For fixed code and gadget parameters, as N/δ→∞, this level is O(log⁡log⁡(N/δ)), and the fixed-code size and depth overhead are polylogarithmic in N/δ. This conditional theorem does not supply a concrete universal gadget family; that is a separate authoring obligation.

Facts & Assumptions

Input boundary: The admitted inputs are arbitrary joint encoded logical states, with arbitrary finite external references, or blocks produced by protected prescribed initializations covered by the proper-code contract. An unknown unencoded physical input before protection is outside the noisy guarantee.

Given: A finite channel-location schedule; a fixed proper code and recursively closed gadget family; integers m≥2d+1, d≥1, ℓ≥1, and a≥2; q=⌊d/(2ℓ)⌋ with 1≤q<a; A=(aq+1); fault rate η∈[0,1] with Aηq<1; full-depth disjoint rectangle hierarchies at each integer level r≥0; a total count N≥1 of top-level circuit rectangles; a target δ∈(0,1]; and the proved finite port-substitution hypothesis with its recursive final decoder. Prove the probability, decoded-output-distance, and overhead bounds.

[F1]

Good and Bad Concatenated Rectangles: A parent is bad only when at least q+1 child rectangles are bad; its ordinary child location sets are disjoint.

[F2]

Recursive Bad-Rectangle Probability: Under the independent local fault model, pr≤A−1/q(A1/qη)(q+1)r.

[F3]

Sparse Fault Paths Preserve Correctable Code Deviation: Under its finite port-substitution hypothesis and 2qℓ≤d, a q-sparse path leaves a joint hierarchical error instrument in Er;qℓ after correction, recovered by Dr with every finite external reference retained.

[F4]

Trace Distance: D(ρ,σ)=12∥ρ−σ∥1.

[F5]

Trace Distance Range And Equality: For density operators, 0≤D(ρ,σ)≤1.

[F6]

Measurement Variation At Most Trace Distance: Any finite POVM outcome laws from ρ,σ have total-variation distance at most D(ρ,σ).

[F7]

Fault-Tolerant Gadget and Proper-Code Contract: At one level, with at most q faulty elementary locations, the computation and correction contracts preserve the decoded logical target, leave at most qℓ residual supported errors, correct every d-deviation, and retain arbitrary references.

[F8]

The finite union bound: For a finite family of events, the probability of their union is at most the sum of their probabilities.

[F9]

Finite ordered channel-location schedules: A schedule is a finite ordered list of full-register channels, and its denotation composes them in chronological order.

[F10]

The Local Noise Model Composes With Circuit Semantics: A finite probability-weighted mixture of conditional pattern denotations is a CPTP channel.

[A1]

The family satisfies the additional proved finite port-substitution hypothesis in [F3], including its support/refresh checks. The one-level definition in [F7] alone does not imply that hypothesis.

Proof

1.1givenF2algebra

Since q=⌊d/(2ℓ)⌋, we have 2qℓ≤d. Also A≥1, and Aηq<1 gives θ:=A1/qη<1. Apply [F2] to obtain pr≤A−1/qθ(q+1)r.

1.2givenF2algebra

If η=0, the product fault law gives probability zero to every nonempty fault pattern, so p0=0 and level zero suffices. If η>0, put c=−log⁡θ>0. Any r with (q+1)r≥c−1log⁡(NA−1/q/δ) gives Npr≤δ by [F2]; if the logarithm is nonpositive or its positive value is at most c, level r=0 suffices. For fixed A,q,η with 0<θ<1, the least qualifying level is O(log⁡log⁡(N/δ)) as N/δ→∞.

2.1givenF1F8step 1.1algebra

The event that any of the N top-level circuit rectangles is bad is the union of N events, each of probability at most pr. The finite union bound [F8] gives α:=P(some top-level rectangle is bad)≤Npr.

3.1givenA1F1F3F7F9F10step 2.1

For every fault pattern, [F9] gives a conditional channel, so its output on the fixed joint data input and external reference is a density operator. On the event that all top-level rectangles are q-good, recursive goodness gives at most q bad children in each computation and correction stage. The one-level contracts [F7], finite hypothesis [A1], and simultaneous recursive induction [F3] place the final corrected instrument in its hierarchical residual sector. Applying its recursive decoder Dr returns the ideal logical instrument exactly, so every such pattern has decoded output ρid. If α>0, the normalized finite mixture of outputs from bad patterns is a density operator τ; if α=0, choose any density operator for τ. Thus ρout=(1−α)ρid+ατ, and [F10] confirms that this weighted schedule output is a channel.

4.1F4F5step 3.1algebra

By homogeneity of the trace norm, D(ρout,ρid)=αD(τ,ρid)≤α≤Npr, where the first inequality is [F5]. The same identity holds after tensoring any reference identity, since the gadget contracts preserve the external reference after internal outcomes and fault memory are traced.

5.1F6step 4.1algebra

Apply [F6] to the final finite POVM. Its output total-variation distance is at most D(ρout,ρid)≤Npr. For any success event E, ∣Pout(E)−Pid(E)∣≤12∑x∣Pout(x)−Pid(x)∣, so the success-probability change is at most Npr.

6.1givenstep 1.2algebra∎

Because the gadget family is fixed and finite, choose a constant κ≥1 bounding both the number of elementary locations and the scheduled depth of every replacement gadget, including preparation, control, reset, and idle locations. Replacing each location of a schedule of size S and depth D gives size at most Sκ and depth at most Dκ: replace disjoint locations of each original layer in parallel and pad their gadgets to the common depth bound. Induction gives size at most Sκr and depth at most Dκr at level r. Thus the multiplicative size and depth overheads are at most κr, which is a fixed power of log⁡(N/δ) by step 1.2.

Remarks

The proof is conditional on the declared gadget contract and disjoint rectangle partition. Overlapping extended rectangles require the separate truncated-exRec witness reduction in Conditional Distance-Three Extended-Rectangle Threshold. The concrete universal-code and gadget existence theorem remains a separate item.

5 · Examples, counterexamples and false statements

None yet.

Sources