All manuscripts

Manuscript En02-B@1 · En02-B-v1.tex · ca28dee4

En02-B Resource-Limited Holographic Reconstruction Boundary Access, Decoder Memory, and Certified Operational Recovery

Export En02-B-v1.tex

Proves, for the accessible triple of one five-qubit perfect-code block, an exact batch decoder of peak three and an exact streaming decoder of peak two. Theorem B5 shows that one live laboratory qubit cannot implement subsystem recovery, even with unrestricted classical memory, so the streaming optimum is exactly two. The same channel has coherent environment dimension four; that dimension does not bound instantaneous adaptive memory. Observable readout at peak one is not subsystem recovery. For a rooted perfect-code tree, batch peak 3^h is optimal, and streaming peak h+1 is optimal only inside a declared serial decoder-module class. A finite schedule recurrence prices that class and is not unrestricted decoder optimality. A specified one-way implementation needs at least two classical bits, and a matching decoder attains the bound. Half-diamond error budgets compose at the channel level. En02-A's global capacity is not this laboratory peak: the conditional transfer does not solve En02-A's measurement-uniqueness problem. I's Born interface and X-Enter's record channel are not premises that supply the code, and X-Enter's four-live-qubit restriction is not this decoder bound. The instruments do not instantiate IV's three models. Em02-B is a different manuscript and is not a premise. The tree is not a hyperbolic tessellation. This is not an entanglement-wedge identification, not spacetime emergence, and not a gravitational memory bound. The Gaussian-integer checks are package evidence, not certificates. H2, I3, and J2 remain unresolved. XV-B is not opened. No quantum coefficient is admitted. No compilation is asserted.

Front matter

  • abstractAbstractFront matter · lines 127–157
    Open as its own page

    Algebraic reconstruction from a boundary region does not specify the resources needed to execute a recovery. We formulate observable readout, subsystem recovery, and instrument recovery as distinct finite-dimensional channel tasks, with correctness including arbitrary external references. Under specified Born semantics, we construct explicit decoders for the five-qubit perfect-code building block used in holographic tensor networks. For the accessible triple , a nine-gate Clifford decoder uses three batch input qubits and no additional workspace. A streaming decoder uses two live qubits, two classical record bits, and no ancillary quantum register. An intrinsic uniqueness argument identifies the recovery channel on its entire three-qubit input space. Its Choi operator has a negative partial transpose across the first input, proving that one-live-qubit streaming recovery is impossible even with unrestricted classical memory. Thus the streaming optimum is exactly two, whereas batch access forces three. The same recovery channel has coherent environment dimension four; this is compatible with, but does not bound, instantaneous adaptive memory. For a rooted perfect-code tree, we prove batch peak and a streaming bound , the latter optimal within a declared serial decoder-module class. A finite schedule recurrence prices that class without claiming unrestricted decoder optimality. We also prove a two-bit lower bound for a specified one-way distributed implementation and give a matching decoder. Half-diamond error budgets compose at the channel level. Exact Gaussian-integer checks and a finite schedule explorer are supplied as independently inspectable artefacts, not universal proof certificates. The results concern finite perfect-tensor code models, not an entanglement-wedge identification, spacetime emergence, or a gravitational memory bound.

Introduction and scope

  • sectionIntroduction and scopeIntroduction and scope · lines 163–191
    Open as its own page

    The quantum-error-correction formulation of holographic subregion reconstruction is established, rather than introduced here. Almheiri, Dong, and Harlow connected bulk locality with quantum error correction; perfect-tensor networks subsequently supplied explicit finite encoders and reconstruction examples ADH,HaPPY. Operator-algebra quantum error correction separates correctable observables and subsystems BKK. Approximate reconstruction can be studied using approximate-correction and universal-recovery methods BenyApprox,Cotler. These results concern correctability or recovery maps. They do not, by themselves, specify the live-register ledger of an executable decoder.

    The question addressed here is:

    When a logical subsystem is reconstructible from an accessible boundary region, what quantum storage, records, scheduling, and communication are required to execute a declared recovery task?

    Our contribution is a resource-certified finite construction. We give the code, gates, measurement branches, output conventions, and lower bounds together. We make no claim that the underlying five-qubit code, perfect tensor, or quantum-error-correction interpretation is new.

  • sectionRelationship to En02-AIntroduction and scope › Relationship to En02-A · lines 192–218
    Open as its own page

    En02-A supplies a finite-resource accounting vocabulary and separates specified Born semantics from conditional characterization of an unknown measurement strategy En02A. Here the primary decoder theorems use ordinary quantum channels and specified destructive Born readout from the outset.

    The encoding, access sets, recovery channels, and decoder schedules below are new mathematical data of this paper. They are not furnished by En02-A, manuscript I, or X-Enter. The finite-program path-map convention agrees with the specified Born interface described in I and X-Enter I,XEnter; its completeness is proved again in Theorem thm:B1.

    Our laboratory count excludes inaccessible boundary systems and external references, while retaining them in the correctness specification. It is therefore not automatically En02-A's global capacity convention.

    The identifier En02-B is distinct from Em02-B. No field-theoretic, characteristic-map, gravitational-insertion, or microsphere-readout result is used as a holographic-code premise. In particular, our instruments do not instantiate the separately represented scalar-field Models 1, 2, or 3 of manuscript IV.

  • sectionWhat is completedIntroduction and scope › What is completed · lines 219–240
    Open as its own page

    The principal results are:

    1. an explicit batch decoder and a reference-preserving channel certificate;

    2. an exact streaming decoder and a nontrivial one-qubit-memory obstruction;

    3. an intrinsic recovery-channel ledger, avoiding arbitrary off-code lower bounds;

    4. a proved decoder-module scheduling bound for a finite perfect-code tree;

    5. a matching upper and lower bound for a declared one-way distributed implementation;

    6. channel-level implementation-error budgets.

    The tree model is a rooted concatenation of the perfect-code isometry. It is not asserted to be a hyperbolic tessellation, a continuum holographic dual, or a model of gravitational dynamics.

Encoding, access, and three recovery tasks

  • sectionEncoding, access, and three recovery tasksEncoding, access, and three recovery tasks · En02-B@1#eq:access · lines 242–264
    Open as its own page

    All Hilbert spaces are finite dimensional. Channels act linearly on operator spaces and are completely positive and trace preserving, abbreviated CPTP.

    Fix an isometry

    The accessible-boundary channel is

    An external reference is arbitrary and may be entangled with .

  • definitionDefinition: Recovery tasksEncoding, access, and three recovery tasks · En02-B@1#def:tasks, En02-B@1#eq:recovery · lines 265–298
    Open as its own page

    The following tasks have different output specifications.

    readout. For a specified logical POVM on , a boundary measurement must implement the quantum-to-classical channel

    Its output is classical. No quantum preservation of is required.

    recovery. A channel must satisfy

    recovery. For specified completely positive maps , whose sum is trace preserving, the required output channel is

    A boundary programme must implement , including its conditional quantum outputs, not only its outcome probabilities.

  • sectionEncoding, access, and three recovery tasksEncoding, access, and three recovery tasks · En02-B@1#eq:diamond · lines 298–322
    Open as its own page

    Equation (eq:recovery) is an equality of linear maps. Consequently,

    for every reference and every input.

    For approximate recovery we use

    The diamond norm is the completely bounded trace norm. For channel differences, it controls every input entangled with a reference; standard finite-dimensional channel conventions are those of Watrous (Chapters 2–3).

  • remarkRemark: A selected state is not a channel certificateEncoding, access, and three recovery tasks · lines 323–329
    Open as its own page

    Agreement on and does not determine the action on . An exact certificate must determine all matrix units, or equivalently the Choi operator. Numerical fidelity on selected states is not a diamond-norm certificate.

Laboratory resources and implementation libraries

  • definitionDefinition: Peak laboratory occupancyLaboratory resources and implementation libraries · En02-B@1#def:peak · lines 336–355
    Open as its own page

    For a finite decoder programme ,

    The count includes:

    • accessible input qubits already delivered;

    • working ancillas;

    • recovered output until its final return;

    • retained syndrome and quantum-record registers.

    Inaccessible boundary systems, undelivered streaming inputs, and external references are outside laboratory occupancy. They remain inside the channel specification.

  • sectionLaboratory resources and implementation librariesLaboratory resources and implementation libraries · lines 355–360
    Open as its own page

    Every laboratory qubit is either destructively measured or returned. There is no silent quantum deletion or uncounted external quantum scratch space. Classical records may be forgotten explicitly.

  • definitionDefinition: Resource vectorLaboratory resources and implementation libraries · lines 361–376
    Open as its own page

    We record

    Here is the worst-history number of elementary unitary gates. The depth counts rounds of gates and destructive readouts; operations on disjoint qubits may share a round. Waiting for a streaming delivery is not a gate round. counts retained outcome bits, not the fixed programme description. Communication is zero in the local model and specified separately in the distributed model.

  • sectionLaboratory resources and implementation librariesLaboratory resources and implementation libraries · lines 376–380
    Open as its own page

    Classical storage is initially unrestricted. Its reported upper bounds are nevertheless part of each programme's ledger.

  • definitionDefinition: Batch accessLaboratory resources and implementation libraries › Batch and streaming interfaces · lines 383–391
    Open as its own page

    All qubits of are present in the laboratory at the initial time. Thus

    Ignoring or measuring a supplied qubit does not erase this initial occupancy cost.

  • definitionDefinition: Ordered streaming accessLaboratory resources and implementation libraries › Batch and streaming interfaces · En02-B@1#def:stream · lines 393–405
    Open as its own page

    The accessible input is an arbitrary joint state on an ordered list of carriers . A passive supplier retains the undelivered carriers and transfers them, one at a time, on request in that order.

    The supplier performs no decoding, measurement, or state-dependent selection. The laboratory may pause delivery but may not return intermediate quantum data to the supplier, use another quantum buffer, or export a quantum output before completion. The target quantum output is returned only at the end.

  • sectionBatch and streaming interfacesLaboratory resources and implementation libraries › Batch and streaming interfaces · lines 405–409
    Open as its own page

    This convention changes the storage interface; it does not compress the total quantum state of the supplier and laboratory.

  • sectionFixed gate libraryLaboratory resources and implementation libraries › Fixed gate library · lines 410–436
    Open as its own page

    For the explicit benchmarks, contains:

    zero-state allocation, destructive computational readout, finite classical control, and quantum return. Any pair of laboratory qubits may interact. All these gates are exact.

    The matrices are

    with the usual Pauli, CNOT, and controlled- conventions. A controlled Pauli chosen from costs at most one elementary gate. Global phases are irrelevant.

    No gate-count optimality or geometric locality follows from this all-to-all library.

Programme soundness and elementary monotonicities

  • sectionFinite certificatesProgramme soundness and elementary monotonicities › Finite certificates · lines 441–452
    Open as its own page

    For a linear map , use the unnormalized Choi operator

    Its blocks determine on every matrix unit.

  • definitionDefinition: Resource-certified programmeProgramme soundness and elementary monotonicities › Finite certificates · lines 453–470
    Open as its own page

    A certificate for comprises:

    1. its finite instruction tree and its input/output names;

    2. the branch path maps ;

    3. the complete selective channel

    4. an equality of the task channel composed with , certified on all matrix units;

    5. a live-name ledger at every instruction and branch.

    All outcomes are retained in the branch sum. A successful branch alone is not a deterministic recovery.

  • theoremTheorem: B1: resource-certified decoder soundnessProgramme soundness and elementary monotonicities › Finite certificates · En02-B@1#thm:B1 · proof attached · lines 472–505
    Open as its own page

    Under specified Born semantics, a finite legal programme with the above certificate implements its declared channel on arbitrary reference-entangled inputs and obeys its declared peak bound.

    Proof. Along a history, compose allocation isometries, gates, and destructive measurement bras. The resulting linear map is . Branch normalizations cancel against the product of branch probabilities, leaving the unnormalized output .

    Completeness follows by backward induction on the finite instruction tree. Gates and allocations are isometric. At a readout, . Every subsequent branch is complete by induction, so

    The programme therefore defines a CPTP output channel, or a complete instrument if outcomes are reported.

    Equality of Choi blocks is equality on all matrix units and hence equality of the linear maps. Tensoring this equality with proves correctness with every reference.

    Finally, the live-name ledger counts every allocated, surviving, and returned quantum factor on each branch. Its maximum is the claimed bound by Definition def:peak. Consumption and return ensure there is no unpriced quantum output.

  • sectionCost functionsProgramme soundness and elementary monotonicities › Cost functions · lines 507–521
    Open as its own page

    For a fixed task, access interface, and implementation library, define

    over legal programmes satisfying the subsystem recovery requirement within . The value is if none exists. Because finite peaks are integers, a finite infimum is attained as a minimum of the achievable peak values.

  • propositionProposition: B2: cost and feasibility monotonicitiesProgramme soundness and elementary monotonicities › Cost functions · En02-B@1#prop:B2 · proof attached · lines 522–535
    Open as its own page

    With the task and access convention fixed:

    1. increasing cannot increase ;

    2. enlarging cannot increase ;

    3. increasing a laboratory capacity cannot destroy feasibility.

    Proof. Each change enlarges the relevant feasible set or leaves an already legal programme legal. Taking infima gives the first two statements.

  • sectionCost functionsProgramme soundness and elementary monotonicities › Cost functions · lines 535–541
    Open as its own page

    There is no analogous general decrease in total batch peak when the accessible region grows: its enlarged input already occupies more qubits.

The exact five-qubit perfect-code building block

  • sectionThe exact five-qubit perfect-code building blockThe exact five-qubit perfect-code building block · En02-B@1#eq:stabilizers, En02-B@1#eq:encoding · lines 543–611
    Open as its own page

    The five-qubit code is a standard quantum-error-correction benchmark Laflamme. We use the stabilizer convention in the perfect-tensor construction HaPPY (Appendix A.1) and give the finite algebra needed here.

    Let

    Tensor positions are . Define

    The generators commute. The following table gives every nonidentity stabilizer product, with its overall sign omitted only because this table is used to inspect support.

    ProductUnsigned wordProductUnsigned wordProductUnsigned word

    All fifteen words have weight four. Their distinct supports and words also show that the sixteen stabilizer products are distinct and that is absent. Thus is an orthogonal projector of trace .

    No nonidentity stabilizer product is diagonal in the computational basis. Hence . Fix the encoding explicitly by

    These vectors are normalized, have opposite eigenvalues, and obey

    In this benchmark is trivial.

  • sectionAccess classificationThe exact five-qubit perfect-code building block › Access classification · lines 612–635
    Open as its own page

    For a Pauli error, its syndrome is the four-bit vector recording anticommutation with . The single-qubit syndromes are:

    Position
    1000110101011
    2100001011101
    3110000101110
    4011010011111
    5001101000111

    They are precisely the fifteen distinct nonzero four-bit vectors. Every nonidentity Pauli of weight one or two therefore has nonzero syndrome. For weight two, this follows because its syndrome is the sum of two distinct single-site syndromes.

  • lemmaLemma: Two-qubit privacy and erasure certificateThe exact five-qubit perfect-code building block › Access classification · En02-B@1#lem:privacy, En02-B@1#eq:privacy, En02-B@1#eq:KL · proof attached · lines 636–670
    Open as its own page

    For with ,

    If , and , then

    Proof. A nonzero syndrome supplies a stabilizer anticommuting with the Pauli . Since ,

    so it vanishes. Expanding operators on in the Pauli basis gives (eq:privacy), including off-diagonal logical matrix units. Equation (eq:KL) follows by applying the same identity to .

  • sectionAccess classificationThe exact five-qubit perfect-code building block › Access classification · lines 670–675
    Open as its own page

    Equation (eq:KL) is the erasure form of a Knill–Laflamme certificate KL; here it has been evaluated explicitly rather than inferred from a distance label.

  • propositionProposition: Authorized and unauthorized accessThe exact five-qubit perfect-code building block › Access classification · En02-B@1#prop:access · proof attached · lines 676–726
    Open as its own page

    Every boundary set of at least three qubits can recover the logical qubit algebraically. Every set of at most two qubits is independent of the logical input and cannot recover it exactly.

    For an unauthorized set, the optimal subsystem recovery error, over arbitrary channels, is

    Proof. For an accessible triple, . The eight vectors

    are orthonormal by (eq:KL). They form a basis of . The unitary sending them to , followed by tracing the last two factors, is an exact decoder. For a larger accessible set, select a triple and explicitly consume the other accessible qubits by unreported destructive measurement.

    For an unauthorized set, (eq:privacy) makes every decoded channel a constant preparation channel. On a logical Bell state with a reference, its output has the form , whose Bell overlap is . The Bell-projector test gives trace distance at least .

    This bound is achieved by the completely depolarizing logical output . Indeed,

    so

    The Bell-state lower bound supplies equality.

  • sectionAccess classificationThe exact five-qubit perfect-code building block › Access classification · lines 726–731
    Open as its own page

    The proposition classifies algebraic access. The explicit gate and memory theorems below concern the particular authorized triple .

  • propositionProposition: The associated six-leg perfect stateThe exact five-qubit perfect-code building block › Why this is a perfect-tensor building block · En02-B@1#prop:perfect · proof attached · lines 734–760
    Open as its own page

    The normalized state

    has maximally mixed reduction on every set of three of its six qubits. Its tensor therefore gives, up to normalization, an isometry across every bipartition with at most three input legs.

    Proof. For three physical qubits, their reduction is the reduction of . The stabilizer expansion contains no nonidentity term supported on three qubits, so the reduction is .

    For and two physical qubits, apply (eq:privacy) to the logical half of the Bell state: the reduction is . These are all kinds of three-qubit subsets. Smaller subsets follow by tracing. The Schmidt coefficients across each three-versus-three cut are equal, which is precisely the stated isometry property.

An explicit batch subsystem decoder

  • sectionAn explicit batch subsystem decoderAn explicit batch subsystem decoder · En02-B@1#eq:reps, En02-B@1#eq:U · lines 764–811
    Open as its own page

    Set and . Multiplication by stabilizers gives supported logical representatives

    For example,

    Thus and .

    Define the following unitary, with the rightmost gate applied first:

    Its chronological gate list is:

    StageGates
    1
    2
    3, in parallel
    4, in parallel
    5
    6
    7

    There are nine elementary gates and seven gate rounds.

  • lemmaLemma: Decoder conjugation certificateAn explicit batch subsystem decoder · En02-B@1#lem:conjugation · proof attached · lines 812–828
    Open as its own page

    Proof. The two controlled- gates map to and leave unchanged. On positions 1 and 3, maps to . The two CNOTs then map to , leaving unchanged. The final reverses the signs of both and . This cancels the two minus signs in (eq:reps).

  • sectionAn explicit batch subsystem decoderAn explicit batch subsystem decoder · lines 828–831
    Open as its own page

    Let denote the two syndrome factors after decoding.

  • lemmaLemma: Intertwining factorizationAn explicit batch subsystem decoder · En02-B@1#lem:factor, En02-B@1#eq:factor · proof attached · lines 832–865
    Open as its own page

    For a fixed normalized vector ,

    for every logical vector . Moreover,

    Proof. Write . Lemma lem:conjugation gives and . The identity makes and . The identity gives . Isometry of gives normalization.

    The encoded maximally mixed logical input is . Its reduction on is , by the weight-four stabilizer table. Equation (eq:factor) therefore gives

    proving the syndrome statement.

  • sectionAn explicit batch subsystem decoderAn explicit batch subsystem decoder · En02-B@1#eq:normalform · lines 865–874
    Open as its own page

    Consequently,

  • theoremTheorem: Explicit batch recovery and its ledgerAn explicit batch subsystem decoder · En02-B@1#thm:batch, En02-B@1#eq:D · proof attached · lines 875–920
    Open as its own page

    The programme

    implements

    and satisfies , including every reference.

    Its resource vector has

    It allocates no ancilla and is peak-optimal for batch access.

    Proof. Destructively measuring and summing its outcomes is precisely the partial trace over . Equation (eq:normalform) proves recovery. Alternatively, (eq:factor) proves it before tracing and therefore with every reference.

    The syndrome outcomes are uniform over four values and independent of the logical-reference state. Each normalized positive branch returns the original logical state with its reference correlations.

    Three input names are initially live. Gates preserve that count. The two readout names are then consumed, leaving one returned qubit. The two readouts share the eighth round. No quantum record or environment remains unconsumed. Batch access forces the initial lower bound three.

Intrinsic recovery channel and one-shot accounting

  • sectionIntrinsic recovery channel and one-shot accountingIntrinsic recovery channel and one-shot accounting · lines 924–929
    Open as its own page

    The cost of an arbitrary off-code extension need not be an intrinsic reconstruction cost. In this benchmark the ambiguity can be removed.

  • lemmaLemma: Faithful-syndrome uniquenessIntrinsic recovery channel and one-shot accounting · En02-B@1#lem:unique · proof attached · lines 930–962
    Open as its own page

    Let . If a CPTP channel satisfies

    for every , then .

    Proof. Take Kraus operators of . The operators

    are a Kraus family for . The Choi operator of the identity has rank one. Since it is a sum of positive rank-one operators, every is proportional to . Thus , and

    for some vectors . Trace preservation gives . Substitution yields the partial trace on every operator.

  • theoremTheorem: B3: intrinsic one-shot ledger for the authorized tripleIntrinsic recovery channel and one-shot accounting · En02-B@1#thm:B3 · proof attached · lines 964–999
    Open as its own page

    Every CPTP exact recovery channel on equals in (eq:D) on its entire input space. Its Choi rank is four.

    In the pure-environment, one-shot dilation model, its minimum environment dimension is four. The output-plus-environment peak is three qubits, with no additional workspace beyond the batch input.

    Proof. For another exact decoder , define . Equation (eq:normalform) and exact recovery give . Lemma lem:unique identifies , hence .

    The four Kraus maps

    are Hilbert–Schmidt orthogonal: . Their Choi vectors are independent, so the Choi rank is four.

    For completeness, an environment of dimension yields at most Kraus operators by expanding its dilation in a basis. Conversely, a minimum Kraus family defines the isometry . Thus the minimum environment dimension equals Choi rank Watrous (Chapter 2). Here the two environment qubits are the original syndrome factors, and the total output dimension is .

  • sectionIntrinsic recovery channel and one-shot accountingIntrinsic recovery channel and one-shot accounting · lines 999–1003
    Open as its own page

    This is an application of the one-shot model also priced in En02-A. It is not a bound on every adaptive instantaneous memory.

  • exampleExample: Why an arbitrary extension is not a lower boundIntrinsic recovery channel and one-shot accounting · En02-B@1#ex:offcode · lines 1004–1031
    Open as its own page

    Consider the restricted encoding . Partial trace over the second qubit is a valid decoder of Choi rank two.

    Another valid decoder acts as identity when the second qubit is zero, and depolarizes the first when it is one:

    It has the five independent Kraus operators

    Its Choi rank is five, despite identical recovery on the restricted encoding. Its larger dilation cost is not an intrinsic recovery lower bound.

    Theorem thm:B3 avoids this error because the syndrome in (eq:normalform) is faithful and forces uniqueness.

Streaming recovery: a decoder and a genuine lower bound

  • sectionA two-live-qubit programmeStreaming recovery: a decoder and a genuine lower bound › A two-live-qubit programme · En02-B@1#eq:B · lines 1040–1082
    Open as its own page

    Define commuting operators on the first two carriers:

    They are independent and have one-dimensional joint eigenspaces. Let

    Direct conjugation gives

    Write the computational readout of positions 1 and 2 after as , so

    are the eigenvalues of and , respectively.

    After the third carrier arrives, put

    The product is implemented by one Pauli gate, up to phase.

    The programme is:

    1. receive ;

    2. apply ;

    3. destructively read both qubits, retaining bits ;

    4. receive ;

    5. apply ;

    6. forget , and return .

  • theoremTheorem: Streaming decoder correctnessStreaming recovery: a decoder and a genuine lower bound › A two-live-qubit programme · En02-B@1#thm:streamupper · proof attached · lines 1083–1138
    Open as its own page

    The programme implements the same channel as the batch decoder. On encoded inputs each of its four histories has probability , independent of the logical-reference input.

    Its resources satisfy

    Proof. Let . The branch map on the full encoded state is

    Since and , the eigenvalue equations imply

    and similarly . Here , , and the correction supplies the required signs.

    The same intertwining argument as in Lemma lem:factor gives

    for a fixed branch vector. The first-two-qubit reduction is , so . Thus every branch preserves the logical-reference state, and the complete channel is exact recovery. Theorem thm:B3 then identifies it with on the whole accessible input space.

    Before the first readout two qubits are live. They are both consumed before the third arrives. Thereafter only one qubit is live. Four early gates, two late basis-change gates, and at most one correction give . The early readout adds one round to the seven sequential gate rounds. No ancilla or retained quantum record is used.

  • sectionThe one-live-qubit obstructionStreaming recovery: a decoder and a genuine lower bound › The one-live-qubit obstruction · En02-B@1#eq:choi · lines 1140–1172
    Open as its own page

    Let be the normalized Choi state of , ordered as output and input-reference positions . From (eq:reps),

    Set

    They commute and . Partial transpose on position 1 therefore gives

    On the simultaneous eigenspace , its eigenvalue is . That eigenspace is nonzero because the two commuting Paulis are independent.

  • theoremTheorem: B5: exact streaming memory optimumStreaming recovery: a decoder and a genuine lower bound › The one-live-qubit obstruction · En02-B@1#thm:B5 · proof attached · lines 1173–1212
    Open as its own page

    Under Definition def:stream, exact subsystem recovery from the authorized triple requires at least two live laboratory qubits, even with unrestricted classical storage and arbitrary local single-qubit operations. Hence

    Proof. Suppose the peak were one. Before the second carrier can be delivered, the first carrier must cease to be a live laboratory qubit. There is no early quantum output, return to the supplier, or other quantum storage. Its only possible continuing influence is therefore a classical record.

    The implemented channel consequently has the form

    with positive effects on position 1 and subsequent completely positive maps on positions 2 and 3. Its Choi operator is a sum of positive products across input-reference position 1 versus all remaining systems. It is separable across that cut and has positive partial transpose.

    Exact recovery on the code would force by Theorem thm:B3. Equation (eq:choi) has a negative partial transpose, a contradiction. Theorem thm:streamupper attains peak two.

  • remarkRemark: Adaptive versus retained-coherent executionStreaming recovery: a decoder and a genuine lower bound › The one-live-qubit obstruction · lines 1214–1225
    Open as its own page

    In the restricted streaming model that retains every delivered carrier coherently until all three have arrived, peak occupancy is at least three. The batch unitary , followed by terminal syndrome readout, attains it.

    The adaptive streaming programme and this coherent programme implement the same complete channel . Their streaming peaks are two and three. For batch access both peaks are three, because the input itself already occupies three qubits.

  • propositionProposition: One-live-qubit logical readoutStreaming recovery: a decoder and a genuine lower bound › Observable and instrument tasks have different costs · En02-B@1#prop:observable · proof attached · lines 1229–1264
    Open as its own page

    In the ordered streaming interface, logical -readout and logical -readout each admit peak one.

    The rank-one logical Lüders instrument, with its quantum post-measurement output, also admits peak one. None of these programmes is subsystem recovery.

    Proof. For , measure the physical observables sequentially and report the negative of their product. For , measure and report the negative product. Equation (eq:reps) gives the required logical effects. An -measurement uses before destructive readout; a -measurement uses . Each carrier is consumed before the next arrives.

    For the logical instrument, let the reported logical outcome be . After consuming all boundary carriers, allocate , apply , and return it. The resulting selective map has the correct effect and prepares the fixed state . For a rank-one projector this is exactly

    including its action on an external reference.

    Forgetting the outcome instead gives logical -dephasing, not the identity channel. A logical Bell input detects the lost coherence.

A finite perfect-code tree and decoder schedules

  • sectionEncoding and accessible leavesA finite perfect-code tree and decoder schedules › Encoding and accessible leaves · lines 1271–1300
    Open as its own page

    Define the rooted encoders recursively:

    There are physical leaves and one root logical qubit. At every node choose child positions as accessible and discard positions into the inaccessible complement. The accessible set has

    leaves.

    For , the network has one root tensor and five child tensors, with twenty-five physical leaves. The accessible nine are

    This is the small multi-tensor benchmark.

    Streaming deliveries use depth-first order: all accessible leaves of child 1, then child 2, then child 3, recursively.

  • lemmaLemma: Recursive recovery normal formA finite perfect-code tree and decoder schedules › Encoding and accessible leaves · En02-B@1#lem:treenormal, En02-B@1#eq:treenormal · proof attached · lines 1301–1335
    Open as its own page

    There is an ancilla-free unitary on such that

    Every exact recovery channel on is therefore the same channel

    whose Choi rank is .

    Proof. At , use (eq:normalform). For the induction, apply the three child unitaries without yet measuring their syndrome factors. Each child outputs its intermediate logical qubit tensored with a maximally mixed syndrome independent of that qubit and every reference. The three intermediate qubits have the root accessible channel . Apply to them. The root contributes two further maximally mixed syndrome qubits. All syndrome factors are independent, giving (eq:treenormal).

    The faithful-syndrome lemma proves uniqueness. Partial trace over qubits has exactly independent Kraus maps, and unitary precomposition does not change this rank.

  • sectionEncoding and accessible leavesA finite perfect-code tree and decoder schedules › Encoding and accessible leaves · lines 1335–1340
    Open as its own page

    This proof also establishes correctness when the intermediate logical inputs are entangled with other nodes. No product-input assumption is used.

  • sectionA declared module classA finite perfect-code tree and decoder schedules › A declared module class · lines 1341–1348
    Open as its own page

    Let

    be the number of decoded nodes in the accessible ternary subtree.

  • definitionDefinition: Serial decoder-module classA finite perfect-code tree and decoder schedules › A declared module class · En02-B@1#def:moduleclass · lines 1349–1367
    Open as its own page

    A node may use the batch programme , or the streaming programme of Theorem thm:streamupper. For an internal node:

    1. child subprogrammes execute serially in order ;

    2. a completed child returns one intermediate quantum qubit to its parent, retained in the same laboratory;

    3. a parent may consume its first two intermediate qubits using its early two-input streaming stage;

    4. the parent performs its final one-input stage only after child 3 has completed;

    5. subprogrammes are not otherwise interleaved, and no intermediate quantum output is exported.

    All child syndrome outcomes may be forgotten after their corrections. Parent record bits are retained until the parent correction.

  • theoremTheorem: Tree compilation and module-optimal streaming peakA finite perfect-code tree and decoder schedules › A declared module class · En02-B@1#thm:tree · proof attached · lines 1369–1435
    Open as its own page

    For every :

    1. batch recovery has optimal peak , with no additional workspace, and an explicit implementation with

    2. the serial streaming module class has optimal peak

      with an implementation satisfying

    3. both implement the same channel .

    All programmes consume syndrome qubits and return one quantum output.

    Proof. For batch input, decode all child nodes at one level in parallel, measure their syndrome factors, and continue upward. There are decoded nodes and levels. Every node uses nine gates and at most eight rounds. Occupancy decreases after each local syndrome readout and never exceeds the initial . The initial batch occupancy proves optimality.

    For streaming, let be the peak in the prescribed module class. The base optimum is by Theorem thm:B5. Decode child 1, retaining its output. Decode child 2 while retaining that one qubit; this costs at most . Perform the parent's early two-qubit stage and consume those two intermediate inputs, retaining only two classical bits. Decode child 3 with no other parent quantum register live. Apply the parent's late stage. Thus

    For the matching module lower bound, the first child's quantum output must remain live until the second child has returned its output: neither allowed parent programme consumes a single first input alone. The serial second-child subprogramme requires at least live qubits on one of its histories. The retained first output is an additional qubit. Therefore . This is a lower bound within Definition def:moduleclass, not among all possible decoders.

    Every decoded node uses at most seven unitary gates and eight instruction rounds in the serial construction. At most two record bits per ancestor are retained, giving . Each local recovery is a channel identity on its logical input, including all reference systems, so composition proves recovery. Lemma lem:treenormal identifies both programmes with .

  • sectionA declared module classA finite perfect-code tree and decoder schedules › A declared module class · lines 1435–1451
    Open as its own page

    For the twenty-five-leaf, nine-accessible-leaf patch:

    ProgrammePeakGate boundDepth boundRecord-bit bound
    Batch, levelwise936168
    Streaming, modular328324
    Retained-coherent streaming936168

    The batch record bound allows all local syndrome records to be retained; forgetting them earlier can reduce classical storage.

  • corollaryCorollary: Same-task coherent/adaptive separationA finite perfect-code tree and decoder schedules › A declared module class · En02-B@1#cor:separation · proof attached · lines 1452–1467
    Open as its own page

    In the streaming model that forbids destruction of any delivered carrier until all have arrived, the optimal peak for is . The adaptive module construction implements that same channel with peak .

    Proof. The retained-coherent convention forces all input carriers to remain live at the last arrival. The unitary and terminal syndrome readout attain that peak. The adaptive bound is Theorem thm:tree. Channel uniqueness prevents a change of the off-code task.

  • sectionA declared module classA finite perfect-code tree and decoder schedules › A declared module class · lines 1467–1471
    Open as its own page

    The unrestricted adaptive streaming optimum for is not determined by the module lower bound.

  • definitionDefinition: Decoder decomposition and frontierA finite perfect-code tree and decoder schedules › A general finite scheduling recurrence · En02-B@1#def:frontier · lines 1474–1490
    Open as its own page

    A declared decomposition is a finite acyclic collection of modules. Module consumes named input qubits, produces named output qubits, and has a certified local peak . Classical dependencies are specified separately. There is no quantum fanout.

    For a legal completed-module set and delivered input prefix , let be the live quantum frontier. Executing an enabled module has laboratory peak at most

    and replaces its input names by its output names. A delivery increases the frontier by one.

  • theoremTheorem: B4: exact optimization of a declared schedule classA finite perfect-code tree and decoder schedules › A general finite scheduling recurrence · En02-B@1#thm:B4 · proof attached · lines 1492–1516
    Open as its own page

    The least certified frontier bound over all legal schedules of a finite declared decomposition is obtained by the recurrence

    with terminal value . Here is the module peak in Definition def:frontier, or for a delivery.

    The recurrence is a finite search and proves schedule optimality within that decomposition.

    Proof. Each action increases the delivered prefix or completed-module set. There are finitely many states and no cycle in the recurrence. For a fixed first action, the overall bound is the maximum of its local peak and the optimal remaining bound. Minimizing over all legal first actions exhausts all schedules. Backward induction proves the formula.

  • sectionA general finite scheduling recurrenceA finite perfect-code tree and decoder schedules › A general finite scheduling recurrence · lines 1516–1525
    Open as its own page

    Memory optimization for multi-step quantum strategies is an established subject; classical memory and global consistency matter Bisio. Our frontier recurrence instead optimizes named-register schedules of a fixed compiled decomposition. It does not identify this restricted quantity with the unrestricted memory cost of a quantum strategy.

Approximate recovery and implementation error

  • theoremTheorem: B6: compatible half-diamond error budgetsApproximate recovery and implementation error · En02-B@1#thm:B6 · proof attached · lines 1530–1575
    Open as its own page

    Suppose an ideal decoder satisfies

    and its implementation satisfies

    Then

    If a finite implementation is a composition of complete channels , with corresponding implementations and local errors , then

    Proof. CPTP pre- and postcomposition contract the diamond distance. Apply the triangle inequality to

    For the second statement, telescope the channel products, replacing one factor at a time. Each intervening channel has diamond norm one. The sum of the resulting bounds is the displayed expression.

  • sectionApproximate recovery and implementation errorApproximate recovery and implementation error · lines 1575–1608
    Open as its own page

    For adaptive programmes, include the classical history register in each complete channel. A controlled operation is blockwise on that classical register; a uniform bound over its possible histories bounds the controlled step. No postselected normalization is used.

    If

    then . Indeed, expanding into two terms bounds its trace norm by , also after tensoring a reference.

    For the streaming tree, a uniform elementary-gate error and destructive single-qubit-readout error give

    An error in the supplied encoding/access channel can be added in the same half-diamond metric.

    Approximate-QEC and universal-recovery results motivate possible choices of BenyApprox,Cotler. No state-specific recovery guarantee is silently promoted here to a worst-case diamond bound.

Resource-constrained reconstruction regions

  • definitionDefinition: Resource-constrained executability regionResource-constrained reconstruction regions · lines 1613–1623
    Open as its own page

    Fix an encoding, a collection of target subsystems, an access interface, and an implementation library. Define

    This is a region of executable recovery tasks under the specified budget. It is not automatically an entanglement wedge.

  • sectionResource-constrained reconstruction regionsResource-constrained reconstruction regions · lines 1623–1660
    Open as its own page

    Proposition prop:B2 gives monotonicity in budget, error tolerance, and library inclusion.

    For the single-block target and authorized triple:

    The first statement is a genuine lower bound from Theorem thm:B5, not the failure of one proposed decoder.

    For batch access:

    For the second equality, destructively consume qubit 4 without reporting its outcome, then apply the triple decoder. The resulting unconditioned channel is the partial trace over 4 followed by . The initial occupancy proves the lower bound.

    The code-theoretic price of a logical algebra concerns the smallest physical support for its representatives PastawskiPreskill. For this block the full logical-qubit price is three. Our execution cost additionally specifies delivery, output, workspace, schedule, and operations. The streaming optimum two therefore does not change the algebraic price or contradict its support bound.

Conditional transfer to an unknown-strategy model

  • sectionConditional transfer to an unknown-strategy modelConditional transfer to an unknown-strategy model · lines 1763–1771
    Open as its own page

    The preceding proofs use specified Born readout and its projective residuals. They do not solve En02-A's unrestricted finite-capacity measurement-uniqueness problem.

    A sufficient conditional transfer can nevertheless be stated.

  • propositionProposition: Conditional semantics transferConditional transfer to an unknown-strategy model · En02-B@1#prop:transfer · proof attached · lines 1772–1798
    Open as its own page

    Purify the complete finite decoder experiment, including undelivered carriers, inaccessible boundary systems, and its reference. Suppose it is represented inside En02-A's global structural class at capacity , with its admissibility requirements and global diagonal faithfulness.

    If every actual readout of qubits, on a global configuration of live qubits, satisfies

    then the decoder's histories and quantum outputs agree with the specified Born programme.

    Proof. En02-A's global diagonal-faithfulness theorem identifies all outcome laws. Its continuation-record corollary identifies positive projective residual rays whenever the displayed record budget fits. Apply these statements at each actual readout. Gates and allocations already have the specified meanings. Induction over the finite instruction tree gives the same branch weights and residuals as the Born execution. Zero branches contribute nothing.

  • sectionConditional transfer to an unknown-strategy modelConditional transfer to an unknown-strategy model · lines 1798–1807
    Open as its own page

    The count is not the local decoder peak. For example, a Bell-purified single-block input has six global qubits before decoding: five physical code qubits and one reference. A two-qubit record comparison can require eight global slots even when the streaming laboratory peak is two. Arbitrary larger references require their own global accounting.

Certificate boundaries, negative tests, and open problems

  • sectionFour separate artefactsCertificate boundaries, negative tests, and open problems › Four separate artefacts · lines 1812–1840
    Open as its own page
    ArtefactWhat it establishes or checks
    Exact code specificationStabilizer projector, logical conventions, low-weight privacy, and the six-leg perfect state
    Decoder certificatePauli intertwiners and exact branch factorizations, determining logical-reference recovery
    Occupancy ledgerLegal live names, consumed syndrome registers, returned output, and branchwise peak
    Schedule explorerMinimum frontier bound in the declared finite module decomposition

    The mathematical proofs are in the main text. The appendix supplies exact finite checks of selected certificates and a complete finite search of one specified schedule class. Neither its success nor its failure certifies statements outside that scope.

  • sectionNegative tests with analytic reasonsCertificate boundaries, negative tests, and open problems › Negative tests with analytic reasons · lines 1841–1874
    Open as its own page
    1. Unauthorized recovery. For two-qubit access, the channel is constant and its best logical half-diamond error is .

    2. Uncounted workspace. A module's local peak must be added to the unaffected frontier. Counting only its returned output omits its live input or ancilla.

    3. Premature destructive readout. Measuring before applying the batch decoder removes the logical and components because their representatives anticommute with . Logical survives. The induced logical channel is -dephasing, not recovery.

    4. Readout substituted for quantum recovery. The programme of Proposition prop:observable correctly realizes a logical measurement instrument. Its unreported logical output is dephased and fails the identity task on a Bell input.

    5. Hidden postselection. Keeping one syndrome branch retains probability . Its selective logical map is , not a trace-preserving decoder. Renormalization does not make it deterministic.

    6. Off-code rank used as an intrinsic obstruction. Example ex:offcode gives correct restricted decoders with different Choi ranks. Only the faithful-syndrome uniqueness theorem justifies an intrinsic rank claim in our benchmark.

  • sectionWhat remains openCertificate boundaries, negative tests, and open problems › What remains open · lines 1875–1891
    Open as its own page

    For , determine the minimum peak among all exact streaming programmes for , allowing interleavings outside Definition def:moduleclass. The module optimum is an upper bound for this larger class, not its proved lower bound.

    For an explicitly embedded multi-tensor network and a local, precision-limited gate library, determine gate, depth, communication, and memory trade-offs with a certified diamond-error target. The all-to-all Clifford results do not solve this problem.

  • remarkRemark: Retained physical and evidential boundariesCertificate boundaries, negative tests, and open problems › What remains open · lines 1892–1905
    Open as its own page

    This paper does not identify an entanglement wedge, derive spacetime, model black-hole evaporation, or prove a universal gravitational memory bound. No field-theoretic insertion or symmetry status in another manuscript is changed. In particular, no closing of O.1, restoration of bulk symmetry, release of a frozen insertion, or opening of XV-B is claimed.

    The gate translations here are mathematical programme constructions. No external package compilation, laboratory implementation, local LaTeX compilation, or formal proof-checker execution is asserted. A finite test is evidence for its stated finite assertion, not a certificate of a larger quantified claim.

Exact finite checks and a schedule explorer

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 1910–2036
    Open as its own page

    Copy the following standard-library Python source to 02_b_checks.py and run:

    python en02_b_checks.py

    The code uses Gaussian integers, represented by pairs of integers. Hadamards are applied without their factors, and those factors are accounted for explicitly in the checked norms. There is no floating-point state simulation.

    The checks cover the supplied code projector, all physical Pauli operators of weight at most two, the batch and streaming branch factorizations, and a finite two-level schedule class. The tree channel theorem itself follows by composition in the main text; no dense twenty-five-qubit simulation is needed or claimed.

    """En02-B: exact finite checks, not a universal proof certificate.

    Standard library only. Gaussian integers are pairs (real, imag). No execution log is supplied by the manuscript. """

    from itertools import combinations, product from functools import lru_cache from dataclasses import dataclass

    class CheckFailure(Exception): pass

    def need(condition, message): if not condition: raise CheckFailure(message)

    ZERO = (0, 0) ONE = (1, 0) II = (0, 1)

    def add(a, b): return (a[0] + b[0], a[1] + b[1])

    def neg(a): return (-a[0], -a[1])

    def mul(a, b): return (a[0] * b[0] - a[1] * b[1], a[0] * b[1] + a[1] * b[0])

    def conj(a): return (a[0], -a[1])

    def norm_sq(a): return a[0] * a[0] + a[1] * a[1]

    def inner(v, w): out = ZERO for a, b in zip(v, w): out = add(out, mul(conj(a), b)) return out

    def vadd(v, w): return [add(a, b) for a, b in zip(v, w)]

    def bits(index, n): return tuple((index >> (n - 1 - j)) & 1 for j in range(n))

    def index_of(bs): out = 0 for b in bs: out = 2 * out + b return out

    def nqubits(v): size = len(v) need(size >= 1 and (size & (size - 1)) == 0, "state size is not a power of two") return size.bit_length() - 1

    def pauli_action(v, word, phase=0): """Apply i**phase times a Pauli word exactly.""" n = nqubits(v) need(len(word) == n, "wrong Pauli arity") units = (ONE, II, (-1, 0), (0, -1)) out = [ZERO] * len(v) for k, amp in enumerate(v): bs = list(bits(k, n)) factor = units[phase for j, letter in enumerate(word): b = bs[j] if letter == "X": bs[j] ^= 1 elif letter == "Z": if b: factor = neg(factor) elif letter == "Y": factor = mul(factor, II if b == 0 else (0, -1)) bs[j] ^= 1 elif letter != "I": raise CheckFailure("invalid Pauli letter") target = index_of(bs) out[target] = add(out[target], mul(factor, amp)) return out

    LOCAL_PRODUCT = ("X", "Y"): (1, "Z"), ("Y", "Z"): (1, "X"), ("Z", "X"): (1, "Y"), ("Y", "X"): (3, "Z"), ("Z", "Y"): (3, "X"), ("X", "Z"): (3, "Y"),

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 2037–2140
    Open as its own page

    def multiply_paulis(a, b): pa, wa = a pb, wb = b need(len(wa) == len(wb), "Pauli lengths differ") phase = (pa + pb) word = [] for x, y in zip(wa, wb): if x == "I": word.append(y) elif y == "I": word.append(x) elif x == y: word.append("I") else: p, z = LOCAL_PRODUCT[x, y] phase = (phase + p) word.append(z) return phase, "".join(word)

    GENERATORS = ("XZZXI", "IXZZX", "XIXZZ", "ZXIXZ")

    def stabilizer_group(): out = [] for selected in product((0, 1), repeat=4): p = (0, "IIIII") for use, word in zip(selected, GENERATORS): if use: p = multiply_paulis(p, (0, word)) out.append(p) need(len(set(out)) == 16, "stabilizers are dependent") need((2, "IIIII") not in out, "minus identity is a stabilizer") for phase, word in out: need(phase in (0, 2), "stabilizer is not Hermitian") if word != "IIIII": need(sum(x != "I" for x in word) == 4, "nonidentity stabilizer is not weight four") return tuple(out)

    def encoded_integer_vectors(): """True code vectors are these Gaussian-integer vectors / 4.""" v = [ZERO] * 32 v[0] = ONE for g in GENERATORS: v = vadd(v, pauli_action(v, g)) w = pauli_action(v, "XXXXX") need(inner(v, v) == (16, 0), "wrong code-zero norm") need(inner(w, w) == (16, 0), "wrong code-one norm") need(inner(v, w) == ZERO, "codewords not orthogonal") need(pauli_action(v, "ZZZZZ") == v, "wrong logical Z zero") need(pauli_action(w, "ZZZZZ") == [neg(x) for x in w], "wrong logical Z one") for g in GENERATORS: need(pauli_action(v, g) == v, "zero not stabilized") need(pauli_action(w, g) == w, "one not stabilized") return v, w

    def apply_gate(v, gate): """H is unnormalized: the omitted factor is 1/sqrt(2).""" n = nqubits(v) kind = gate[0] if kind in ("X", "Y", "Z"): q = gate[1] word = ["I"] * n word[q] = kind return pauli_action(v, "".join(word))

    out = [ZERO] * len(v) if kind == "H": q = gate[1] for k, amp in enumerate(v): bs = list(bits(k, n)) old = bs[q] for new in (0, 1): bs[q] = new term = neg(amp) if old == 1 and new == 1 else amp target = index_of(bs) out[target] = add(out[target], term) return out

    if kind == "SD": q = gate[1] for k, amp in enumerate(v): out[k] = mul(amp, (0, -1)) if bits(k, n)[q] else amp return out

    if kind in ("CX", "CZ"): q, r = gate[1], gate[2] for k, amp in enumerate(v): bs = list(bits(k, n)) if kind == "CX": if bs[q]: bs[r] ^= 1 out[index_of(bs)] = amp else: out[k] = neg(amp) if bs[q] and bs[r] else amp return out

    raise CheckFailure("unknown gate")

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 2141–2231
    Open as its own page

    def apply_circuit(v, gates): out = list(v) h_count = 0 for gate in gates: out = apply_gate(out, gate) h_count += gate[0] == "H" return out, h_count

    BATCH = ( ("CZ", 0, 1), ("CZ", 1, 2), ("SD", 0), ("SD", 2), ("H", 0), ("H", 2), ("CX", 0, 1), ("CX", 2, 1), ("Y", 1), )

    EARLY = ( ("H", 1), ("CX", 0, 1), ("SD", 0), ("H", 0), )

    def select_coordinates(v, fixed, survivors): """Unnormalized bra projection and factor deletion.""" n = nqubits(v) need(set(fixed).isdisjoint(survivors), "fixed and surviving positions overlap") need(set(fixed) | set(survivors) == set(range(n)), "coordinates are not completely accounted for") out = [ZERO] * (1 << len(survivors)) for k, amp in enumerate(v): bs = bits(k, n) if all(bs[j] == b for j, b in fixed.items()): out[index_of(tuple(bs[j] for j in survivors))] = amp return out

    def check_low_weight_privacy(code): v0, v1 = code for weight in (1, 2): for sites in combinations(range(5), weight): for letters in product("XYZ", repeat=weight): word = ["I"] * 5 for q, letter in zip(sites, letters): word[q] = letter images = [pauli_action(v, "".join(word)) for v in code] for i in (0, 1): for j in (0, 1): need(inner(code[i], images[j]) == ZERO, "low-weight logical compression is nonzero")

    def check_batch_certificate(code): decoded = [] for v in code: out, h_count = apply_circuit(v, BATCH) need(h_count == 2, "batch Hadamard count changed") decoded.append(out)

    chi0 = select_coordinates(decoded[0], 1: 0, (0, 2, 3, 4)) chi1 = select_coordinates(decoded[1], 1: 1, (0, 2, 3, 4)) wrong0 = select_coordinates(decoded[0], 1: 1, (0, 2, 3, 4)) wrong1 = select_coordinates(decoded[1], 1: 0, (0, 2, 3, 4))

    need(all(x == ZERO for x in wrong0 + wrong1), "batch decoder mixes logical basis values") need(chi0 == chi1, "batch decoder loses logical coherence") # True chi is chi0 / (4 * sqrt(2)**2) = chi0 / 8. need(inner(chi0, chi0) == (64, 0), "wrong decoded norm")

    # Syndrome positions are the first two coordinates of chi. for f in range(4): for g in range(4): value = ZERO for e in range(4): value = add(value, mul(chi0[4 * f + e], conj(chi0[4 * g + e]))) expected = (16, 0) if f == g else ZERO need(value == expected, "syndrome is not I_4/4")

    # A single syndrome branch has probability 16/64 = 1/4. need(sum(norm_sq(x) for x in chi0[:4]) == 16, "postselection probability certificate failed")

    def check_stream_certificate(code): early = [apply_circuit(v, EARLY) for v in code] need(all(h == 2 for _, h in early), "early H count changed")

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 2231–2315
    Open as its own page

    for t, s in product((0, 1), repeat=2): branch_vectors = [] for raw, _ in early: # Remaining order: physical 3, physical 4, physical 5. branch = select_coordinates(raw, 0: t, 1: s, (2, 3, 4)) branch, late_h = apply_circuit( branch, (("SD", 0), ("H", 0)) ) need(late_h == 1, "late H count changed") # Apply Z^(1-s), then X^(1-t). # This equals the manuscript's product up to branch phase. if 1 - s: branch = apply_gate(branch, ("Z", 0)) if 1 - t: branch = apply_gate(branch, ("X", 0)) branch_vectors.append(branch)

    c0 = select_coordinates(branch_vectors[0], 0: 0, (1, 2)) c1 = select_coordinates(branch_vectors[1], 0: 1, (1, 2)) w0 = select_coordinates(branch_vectors[0], 0: 1, (1, 2)) w1 = select_coordinates(branch_vectors[1], 0: 0, (1, 2)) need(all(x == ZERO for x in w0 + w1), "streaming branch has wrong logical output") need(c0 == c1, "streaming branch loses coherence")

    # True branch vector is raw / (4 * sqrt(2)**3). # Squared denominator is 16 * 8 = 128. need(inner(c0, c0) == (32, 0), "streaming branch probability is not 1/4")

    def check_npt_symbolic_certificate(): # Ordered as output 0, input-reference 1,2,3. S1 = (2, "XZXZ") S3 = (2, "ZYZY") S2 = (0, "YXYX") need(multiply_paulis(S1, S3) == S2, "Choi stabilizer product is wrong") need(multiply_paulis(S3, S1) == S2, "Choi stabilizers do not commute") need(S1[1][1] == "Z" and S2[1][1] == "X" and S3[1][1] == "Y", "partial-transpose signs changed") # PT on input-reference position 1 changes only S3's sign. numerator = 1 + (-1) + (-1) * (+1) - (+1) need(numerator == -2, "negative eigenvalue certificate failed") # Eigenvalue = -2/16 = -1/8.

    @dataclass(frozen=True) class Module: name: str inputs: frozenset outputs: frozenset depends: frozenset peak: int

    def optimize_schedule(arrivals, modules, batch=False): """Exact frontier optimization in this finite module class.""" arrivals = tuple(arrivals) modules = tuple(modules) names = tuple(m.name for m in modules) need(len(names) == len(set(names)), "duplicate module name") by_name = m.name: m for m in modules need(all(m.peak >= max(len(m.inputs), len(m.outputs)) for m in modules), "invalid module peak")

    def frontier(k, done): live = set(arrivals[:k]) produced = set() consumed = set() for name in done: m = by_name[name] produced |= set(m.outputs) consumed |= set(m.inputs) return frozenset((live | produced) - consumed)

    @lru_cache(None) def solve(k, done): done = frozenset(done) live = frontier(k, done) if k == len(arrivals) and len(done) == len(modules): return len(live), ()

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 2315–2406
    Open as its own page

    choices = [] if k < len(arrivals): tail, path = solve(k + 1, tuple(sorted(done))) choices.append((max(len(live) + 1, tail), ("receive " + arrivals[k],) + path))

    for name, m in by_name.items(): if name in done: continue if not m.depends <= done or not m.inputs <= live: continue next_done = tuple(sorted(done | name)) tail, path = solve(k, next_done) local_peak = len(live) - len(m.inputs) + m.peak choices.append((max(local_peak, tail), (name,) + path))

    need(bool(choices), "decomposition is stuck") return min(choices, key=lambda x: (x[0], x[1]))

    start = len(arrivals) if batch else 0 value, path = solve(start, ()) return max(start, value), path

    def stream_modules_one(): return ( Module("early", frozenset(("q1", "q2")), frozenset(), frozenset(), 2), Module("late", frozenset(("q3",)), frozenset(("out",)), frozenset(("early",)), 1), )

    def stream_modules_two(): modules = [] arrivals = [] for j in (1, 2, 3): q = tuple(f"qjk" for k in (1, 2, 3)) arrivals.extend(q) early = f"earlyj" late = f"latej" modules.append(Module( early, frozenset(q[:2]), frozenset(), frozenset(), 2 )) modules.append(Module( late, frozenset((q[2],)), frozenset((f"tj",)), frozenset((early,)), 1 )) modules.append(Module( "root_early", frozenset(("t1", "t2")), frozenset(), frozenset(("late1", "late2")), 2 )) modules.append(Module( "root_late", frozenset(("t3",)), frozenset(("out",)), frozenset(("root_early", "late3")), 1 )) return tuple(arrivals), tuple(modules)

    def batch_modules_two(): modules = [] arrivals = [] for j in (1, 2, 3): q = tuple(f"qjk" for k in (1, 2, 3)) arrivals.extend(q) modules.append(Module( f"decodej", frozenset(q), frozenset((f"tj",)), frozenset(), 3 )) modules.append(Module( "root", frozenset(("t1", "t2", "t3")), frozenset(("out",)), frozenset(("decode1", "decode2", "decode3")), 3 )) return tuple(arrivals), tuple(modules)

    def check_schedules(): q1, p1 = optimize_schedule( ("q1", "q2", "q3"), stream_modules_one() ) need(q1 == 2, "wrong single-block module optimum")

    arrivals, modules = stream_modules_two() q2, p2 = optimize_schedule(arrivals, modules) need(q2 == 3, "wrong two-level streaming module optimum")

    arrivals_b, modules_b = batch_modules_two() qb, pb = optimize_schedule(arrivals_b, modules_b, batch=True) need(qb == 9, "batch input accounting was omitted")

  • sectionExact finite checks and a schedule explorerExact finite checks and a schedule explorer · lines 2406–2439
    Open as its own page

    # Negative accounting check: one declared workspace qubit # raises a three-input module's peak from three to four. workspace_module = ( Module("with_workspace", frozenset(("a", "b", "c")), frozenset(("out",)), frozenset(), 4), ) qw, _ = optimize_schedule( ("a", "b", "c"), workspace_module, batch=True ) need(qw == 4, "workspace was not counted") return "single_stream": (q1, p1), "patch_stream": (q2, p2), "patch_batch": (qb, pb)

    def main(): stabilizer_group() code = encoded_integer_vectors() check_low_weight_privacy(code) check_batch_certificate(code) check_stream_certificate(code) check_npt_symbolic_certificate() schedules = check_schedules() print("Exact finite code and decoder checks: PASS") print("Declared finite schedule-class optima:", schedules) print("A pass is not a universal or formal proof certificate.")

    if __name__ == "__main__": main()

Independent certificate checklist

  • sectionIndependent certificate checklistIndependent certificate checklist · lines 2441–2491
    Open as its own page

    A submission or implementation archive should keep the following objects separate.

    1. Encoding convention. The four generators, logical , normalized vectors (eq:encoding), and physical factor order are fixed. Changing a logical phase convention changes the required decoder correction and must be recorded.

    2. Access certificate. The syndrome table proves all weight-one and weight-two compressions vanish. The stabilizer support table proves the relevant maximally mixed three-qubit reduction.

    3. Batch certificate. The gates in (eq:U) conjugate the supported logical Pauli pair to the output Pauli pair. The common environment vector in (eq:factor) certifies coherence, not merely computational-basis probabilities.

    4. Streaming certificate. Both classical record bits are priced. All four branch vectors have squared norm and preserve the same logical ray and its external reference. All branches are summed.

    5. Lower-bound certificate. Faithful-syndrome uniqueness removes the off-code freedom. The negative partial-transpose eigenvalue is . The one-live-qubit interface forces a separable first-input Choi cut.

    6. Tree certificate. Recovery identities are composed as channels with arbitrary spectators. Local module cost and schedule optimality are distinct from unrestricted recovery-channel optimality.

    7. Distributed certificate. A message is a classical service of declared capacity. The four-message lower bound assumes the stated one-way model, not arbitrary distributed assistance.

    8. Approximation certificate. Local implementation bounds refer to complete channels, including classical registers, in a compatible half-diamond metric. Selected-state numerical tests cannot replace those bounds.

Declarations

  • sectionDeclarationsDeclarations · lines 2492–2514
    Open as its own page

    interests. The author declares no competing interests.

    . No specific grant supported this work.

    contribution. N.C.\ developed the resource model, mathematical constructions, proofs, and computational specification, and prepared the manuscript.

    and code availability. The exact code data, programmes, proof certificates, and standalone finite-check source are included in this document. No external execution log or formal verification certificate is supplied.

    and clinical studies. Not applicable.

  • bibliographyReferencesDeclarations · lines 2515–2616
    Open as its own page

    ADH

    A. Almheiri, X. Dong, and D. Harlow, Bulk Locality and Quantum Error Correction in AdS/CFT, Journal of High Energy Physics 2015, 163 (2015). arXiv:1411.7041. https://arxiv.org/abs/1411.7041.

    HaPPY

    F. Pastawski, B. Yoshida, D. Harlow, and J. Preskill, Holographic quantum error-correcting codes: Toy models for the bulk/boundary correspondence, Journal of High Energy Physics 2015, 149 (2015). arXiv:1503.06237. https://arxiv.org/abs/1503.06237.

    Laflamme

    R. Laflamme, C. Miquel, J. P. Paz, and W. H. Zurek, Perfect Quantum Error Correction Code, Physical Review Letters 77, 198–201 (1996). arXiv:quant-ph/9602019. https://arxiv.org/abs/quant-ph/9602019.

    KL

    E. Knill and R. Laflamme, A Theory of Quantum Error-Correcting Codes, Physical Review A 55, 900–911 (1997). arXiv:quant-ph/9604034. https://arxiv.org/abs/quant-ph/9604034.

    BKK

    C. Bény, A. Kempf, and D. W. Kribs, Quantum Error Correction of Observables, Physical Review A 76, 042303 (2007). arXiv:0705.1574. https://arxiv.org/abs/0705.1574.

    BenyApprox

    C. Bény, Conditions for the approximate correction of algebras, arXiv:0907.4207 (2009). https://arxiv.org/abs/0907.4207.

    Cotler

    J. Cotler, P. Hayden, G. Penington, G. Salton, B. Swingle, and M. Walter, Entanglement Wedge Reconstruction via Universal Recovery Channels, Physical Review X 9, 031011 (2019). arXiv:1704.05839. https://arxiv.org/abs/1704.05839.

    Bisio

    A. Bisio, G. M. D'Ariano, P. Perinotti, and M. Sedlák, Memory cost of quantum protocols, Physical Review A 85, 032333 (2012). arXiv:1112.3853. https://arxiv.org/abs/1112.3853.

    PastawskiPreskill

    F. Pastawski and J. Preskill, Code properties from holographic geometries, Physical Review X 7, 021022 (2017). arXiv:1612.00017. https://arxiv.org/abs/1612.00017.

    Watrous

    J. Watrous, The Theory of Quantum Information, Cambridge University Press, 2018. Author's text: https://cs.uwaterloo.ca/ watrous/TQI/.

    En02A

    N. Cheung, En02-A: Finite-Resource Geometry for the Enter Calculus: Cut Monotones, Certificate Costs, and Conditional Born Rigidity. Companion manuscript, 02-A-v1.tex, 7 October 2026. The capacity convention, conditional rigidity statements, and one-shot implementation model are distinguished explicitly in the present paper.

    I

    N. Cheung, {Born–Lüders as the unique measurement strategy of a strictly linear quantum -calculus: The Enter Calculus}. Manuscript I, version 1. Cited for its specified finite destructive-measurement interface and the distinction between that semantics and characterization of an unknown strategy.

    XEnter

    N. Cheung, X-Enter. Manuscript, version 1. Complete-history instrument and record-channel conventions: :instrument and :recordchannel. Its named four-live-qubit programme restriction is not used as a decoder bound here.