P.2 Physical record profiles and fidelity minimizers
Start with a hand calculation at depth one in the Hann sequential spatial circuit above. The two addresses are and , the input bus is , and each address has amplitude ; the classical memory is arbitrary and fixed. After the complete load, the sole router has label or , respectively. For , use an orthonormal basis of a four-dimensional environment to store one local record:
Each record has norm , and their cross overlap is . Continuing through the original ideal gates gives the two orthogonal output basis vectors : since the input bus is false, its XOR with is simply . The joint system–environment vector is
Ignoring the environment means summing the record outer product attached to each system matrix entry over the environment basis. In the output basis , the record overlap matrix , the reduced state, and the coordinates of the ideal vector are
The squared fidelity with this ideal pure state is , so
At , this gives . The quantity calculated here is the squared fidelity itself; no further square root is taken.
Fix the noise scope precisely. After the actual sequential load load n n of Theorem P.3, apply the same local record coupling once, independently at every actual internal router. Then perform the original bus exchange, spatial transport, fixed classical leaf readout, and inverse of the complete forward circuit. All gates, address slots, the external bus, and spatial rails remain ideal. The preceding ideal reversible Boolean network, the ideal Hann spatial qutrit circuit, and this circuit with a single router hold are three separately specified finite objects. The literature path illustration above retains the interpretation given in Remark P.1.
To specify the complete output, retain the previously defined , , and . Let , including , , , and let be any fixed classical memory. The notation below abbreviates objects in HannRouterDephasing; load, clean, initialized, and the remaining circuit operations retain their HannSpatialQram definitions above.
Each router’s environment coordinates are : none and some s in Option Qutrit. For any label , write
Its coordinate is exactly localRecord q s e. For a complex matrix , let retain only the diagonal entries in the basis, and let be the local marginal matrix obtained by multiplying each by . The basis index set for all independent environments is Environment n:
Let be the internal router positions of Tree n: empty at depth zero, and consisting at each branch of the root router and the two copies of the child positions. Incident and output rails do not belong to . For any tree configuration , let be the router label at position . The product record and its overlap in density-matrix orientation are
These are environmentRecord and recordOverlap, respectively; the depth-zero product is . Write for routerMismatch, which counts only internal router coordinates.
For , let be its spatial-tree projection. Put and . The latter performs exchange, transport, readLeaves n D, and (forward n).symm, in that order, preserving all uninvolved coordinates of the full system at each step. Abbreviate the actual loaded trees and the inverse images by
For any joint complex amplitudes , let . Define the joint amplitudes and the system matrix on the complete physical basis:
These are exactly jointOutput n q D ψ and noisyOutput n q D ψ. The records attach to the actual router configuration after loading and before the ideal continuation. The next theorem gives their environment partial-trace relationship.
The function addressWord n a writes an address as a length- Boolean word in the actual loading order, with the first bit first: the empty address gives the empty word, and prepends to the tail address word. Let be the length of their longest common prefix, namely the length of BinaryWordGeometry.lcp. Define
Here is the real-valued kernel. Distinct addresses have , so their exponent is a positive integer. Equal addresses have the separately specified value , including at and at the unique empty address.
Write . Label the ideal output by the input address and bus:
Here is outputBasis n D (a,b), and is the full coordinate vector idealOutput n D ψ. Define the address weights, the real quadratic form, and the squared fidelity by
These are addressProbability, addressEnergy, and squaredFidelity, respectively; is Complex.normSq z. The condition Normalized n ψ means
No factorization of into separate address and bus amplitudes is required. Finally, write minimumFidelity n q as
where both sums are empty at . Write for uniformInput n: when and when .
For every , , and fixed classical memory , use the actual load, independent local records, and original ideal continuation specified above. The following hold.
-
For any complex matrix , the local environment partial trace gives the channel
where retains only the diagonal entries in the basis. Entrywise, for every ,
For every , .
-
For all and , the actual loaded trees satisfy
The right sides are independent of both bus labels; the real number is naturally embedded in the complex equality.
-
For arbitrary complex amplitudes , without requiring normalization, the complete environment partial trace satisfies, for all ,
For all , every clean output matrix entry is
If or , then . Thus the matrix is supported on the span of the clean output basis vectors.
-
If is normalized, the complete ideal output vector is normalized too, and the squared fidelity is real and satisfies
-
The input is normalized, and for every address ,
The amplitude is positive and real. This input attains the bound for every above.
First use correctness of the actual load n n to identify its tree projection with programmed n a n. Equal addresses give equal routers throughout. If distinct addresses share a prefix of length , their first routers agree. At the first differing bit, one router stores and the other stores , contributing one mismatch. Beyond that point the paths enter disjoint subtrees. Each tail contains occupied routers, while the other configuration has the waiting label at those positions. The total mismatch count is therefore
The bus remains in its separate external coordinate during loading, so neither nor enters the count. A local record overlap is for equal labels and for unequal labels. Independence multiplies these overlaps, giving on actual loaded trees and self-overlap on every tree. The local matrix-entry identity also gives directly.
Keep the environment records fixed and apply the original to the system alone. The ideal query sends each clean input to . Pulling amplitudes back along the inverse permutations on the complete system basis gives precisely the definitions of and . Summing over the environment coordinates proves the partial-trace identity. Initialized amplitudes vanish outside the clean input basis, and the ideal query maps that basis bijectively onto the clean output basis. This determines every clean entry and every zero entry outside its span.
Substituting the ideal vector into the complete system double sum gives for each pair of input labels. Summing independently over both bus labels leaves , yielding the exact real quadratic form. No independence of address and bus amplitudes is assumed.
For the bound, induct on the binary-tree depth. Split real address weights at depth by their first bit into , with masses and , and put . Within a branch the kernel is the depth- kernel; between branches it is the constant . Hence
The induction uses the homogeneous bound for arbitrary total mass. Since , the same recurrence gives . The sum of the branch bounds exceeds the required homogeneous bound by the nonnegative remainder
At depth zero the quadratic form is the square of the total mass; normalization sets that mass to and gives the stated bound. Finally, every kernel row has the same sum:
The uniform input has probability at each of the addresses, with total probability . The constant row sum therefore gives . This supplies an attaining input and makes the bound sharp. The full proof is checked by the Lean kernel.
Substitution into the finite sum gives the closed endpoints and . For any normalized input, removes only terms between distinct addresses, giving , with uniform address weights attaining . At every kernel entry is , so . At there are no routers; the empty product and empty sum give for every normalized input and all . These conclusions concern the single independent router hold and otherwise ideal gates specified in Theorem P.4. This adds a channel result for the finite Hann circuit above. The ideal Boolean network, ideal Hann query, and external literature retain their stated scopes. The result does not cover gate noise, correlated or repeated holds, or hardware fault tolerance, and does not prove the infinite address ontology or the observer-pointer MODEL consequences below.
Heterogeneous routers: which addresses does the environment distinguish? The homogeneous hold above assigns the same to every router. We now vary just this parameter: each actual internal router has its own , with one independent record after complete sequential loading, followed by the original ideal continuation. At , the local environment retains only its common coordinate and cannot distinguish the router labels. At , it distinguishes completely. The number of addresses can therefore exceed the number of distinct environment records. To describe this degeneracy, we first identify the physical coordinates being recorded, then group addresses with identical visible labels.
Retain the head-first addresses , , together with , the spatial trees, and the complete system basis space . The following objects belong to HannRouterProfiles; circuit operations still come from HannSpatialQram.
Explicitly, , , , and . The first tree coordinate is the incident mode; the first interior coordinate is the router.
The internal router positions are
This is Router n: the root is none, and is some (c,v), with false selecting the left subtree and true the right. routerLabel n t v, written , reads only the router field of . Incident modes and output rails are excluded from .
Let , and let project a system configuration onto its tree. For and any external qutrit bus label , define
The second line is loadedLabel n a β v. snoc m u c appends a final bit to . The deepest router reached along prefix is , located recursively in the head-first address order.
Actual loading correctness gives , so is independent of ; we also write it as . These are the tree coordinates after loading. Routers off the programmed path retain their literal labels and participate in the environment record as well.
Given , attach to each position an environment with orthonormal basis , and local record
This is HannRouterDephasing.localRecord (q v) s. The environment basis indices form , the Environment n of this section. For any , define
These are treeRecord n q t and record n q a, respectively. At , the environment has a single basis index, and both empty products equal .
The local coupling sends router basis vector with a blank environment to . Independent couplings at every position send a tree basis vector to , preserving the other system coordinates.
A position is active exactly when . For any real function , SameProfile n q a a' β β' means
Separates n q means that this condition implies for every and . Write for the restriction of to active positions, and for its actual image. These are profile and Profile. Label assignments realized by no address are absent from .
In the physical range , the class record is for any representative satisfying ; this is classRecord. Members of one class agree at active positions. At every remaining position , the record is always . Thus the definition is independent of the representative.
For every and every real function , with no interval restriction,
Write an arbitrary address as . At the deepest positions, the actual loaded tree satisfies
The two sibling addresses with prefix agree at every internal router other than . If this deepest position is inactive, those distinct addresses have the same active profile, proving necessity. Conversely, suppose every deepest position is active. Observe under the first address prefix: different prefixes produce an encoded label versus , while equal prefixes leave the encoded labels to distinguish the last bits. Loading labels do not depend on the external bus, so the argument allows arbitrary, possibly different, bus labels. This separation criterion is combinatorial; the square roots and normalization of physical records still use the closed interval assumption. The full proof is checked by the Lean kernel.
In the physical range above, define the complex Gram matrix in density-matrix orientation by
This is gram n q. For arbitrary complex coefficients , the class coefficient sums are
the function classSum. The same finite sum also applies to real coefficients. For arbitrary real vectors and , define
These are addressEnergy and classEnergy. Here means Complex.normSq z. The energy definitions themselves impose neither nonnegativity nor a total weight of .
Let and denote the probability simplexes: nonnegative weights summing to . They are AddressDistribution and ClassDistribution. The class-mass map classMass is
For arbitrary joint complex amplitudes , let . The input is normalized when ; then is inputDistribution. No product form between address and bus is required. For , distributionInput is
with the square root embedded in as a nonnegative real number.
DeepestActive n q is true at . At , it means .
Fix any classical memory . Retain , which performs the original bus exchange, spatial transport, leaf readout, and inverse of the complete forward circuit, in that order. It does not act on the environment. For , write
Define the heterogeneous joint amplitudes, complete system density matrix, and squared fidelity by
Here , and is the original complete ideal output. These three formulas are this section’s jointOutput, noisyOutput, and squaredFidelity. The sums range over the entire physical system ; only the independent router environments are traced out. The same finite sums define these quantities for unnormalized amplitudes, while their interpretation as state fidelity applies to normalized inputs.
Here : the address slots hold the encoded address, the external bus holds the encoded Boolean bit, and the tree is vacuum. Initialization satisfies and vanishes at every other basis configuration.
For every and every real router function , assume at every . Fix any classical memory . With the actual loading, one independent record, and original ideal continuation defined above, all of the following hold.
-
(P1) Actual loaded records for every bus. For all and , , as functions of the entire environment index.
-
(P2) Record normalization for every tree. For all , .
-
(P3) Classes equal exactly when visible labels agree. For all and ,
-
(P4) Complex linear independence of class records. is linearly independent over .
-
(P5) Exact rank. .
-
(P6) Complete kernel for arbitrary complex coefficients. For every ,
-
(P7) Full-rank criterion. if and only if
DeepestActive n q. -
(P8) Rank at depth zero. If , then .
-
(P9) Factorization through class masses. For every , .
-
(P10) Pullback of the complete ideal output. For arbitrary complex amplitudes and every , , without a normalization assumption.
-
(P11) Every clean output matrix element. For arbitrary complex amplitudes and all , ,
-
(P12) Exact fidelity formula on the complete system. For arbitrary complex amplitudes , , with the right side naturally embedded in . Normalization is unnecessary for this identity, and the value is real.
-
(P13) Normalization of both complete vectors. If is normalized, then
-
(P14) Every address law is realizable. For every , is normalized, and its
inputDistributionis exactly . -
(P15) Unique class minimizer and complete minimizing fibers. There exists such that for every . Any class law also satisfying this minimum condition equals . The map is surjective. For every ,
For every normalized joint input ,
All minimizing address laws form the entire set defined by , , and . Neither class weights nor address weights are required to be strictly positive.
The actual loaded tree is the completely programmed tree, immediately giving the independence from arbitrary external qutrit bus labels in P1 and P3. For any two local labels , multiplication of the four environment coordinates gives
Equal labels contribute ; distinct labels share only the common coordinate. The finite tensor product multiplies these node overlaps. Every tree record consequently has norm , giving P2. The address Gram entry can also be read directly as . Empty products preserve depth zero and both endpoints; no division by any is needed.
For P4, choose an actual environment basis index for each realized class : select its label coordinate at every active node, and the common coordinate elsewhere. Then
Evaluation at this coordinate isolates the coefficient of class in any complex linear combination of class records. Let the column matrix be . Every record coordinate is real, so the density-oriented here also equals . The Gram matrix and the column matrix have the same kernel and rank, while
Class-record independence and surjectivity of onto its actual image now give P5 and P6. By Theorem P.8, injectivity of the class map at positive depth is equivalent to activity of every deepest router, giving P7. At depth zero there is only the empty address with its unit record, so and P8 follows; DeepestActive adds no condition there.
Group the real address coefficients by class. The squared norm of the resulting record superposition is precisely , proving P9. For every real vector , class-record independence also gives . Expansion of the squared norm yields the midpoint gap
The class simplex is nonempty and compact, and is continuous, so a minimum exists. If two distinct minimizers existed, their midpoint would remain in the simplex and the displayed identity would strictly lower the energy. The minimizing class law is therefore unique. This argument does not require it to lie in the simplex interior.
Every class has a representative address. Placing all of a class’s mass on one representative lifts any class law to an address law, including classes of zero mass. Thus is surjective. P9 and uniqueness of the class minimizer give the address equivalence in P15, allowing every nonnegative allocation within each class. If , every address weight in that class must vanish; these boundary laws belong to the same complete fiber.
For the output clauses, use the original actual circuit. The ideal query sends to ; pulling the initialized amplitudes back through the inverse permutations gives P10. At this output basis, , so tracing the environment gives P11. On the entire , the joint amplitudes and density matrix are still determined by the defining pullbacks and environment sums. By P2, P10, and norm preservation under the ideal permutation, both the joint vector and ideal vector have norm , giving P13.
Insert P11 into the expectation in the complete ideal output. Each pair of input labels contributes . Summing separately over gives P12, without a product-state or normalization assumption. For P14, the nonnegative square roots give ; summing over gives . Every address law therefore has a normalized joint-input realization. Together with P12, this makes minimization over address laws equivalent to minimization over all normalized joint inputs, completing P15. The full proof is checked by the Lean kernel.
Take depth , and name the root, left-child, and right-child routers . Set , , and . Write addresses in head-first order as . The actual loaded labels are
Only the left-child router is active. The root and right-child environments always record , so in tensor order ,
This directly gives three realized classes, , , and , with
Its rank is , and its complex coefficient kernel is exactly , . The inactive deepest router on the right accounts for the merged sibling addresses. The three class records are orthonormal, so class masses have energy . Under ,
The unique minimizing class law is , and the minimum squared fidelity is . All minimizing address laws are
Each endpoint has a zero address weight and belongs in the fiber. The uniform address law has class masses and energy . For each fixed classical , a normalized joint complex input minimizes fidelity exactly when each of its three class masses is . This condition retains all allowed complex phases, allocations within a class, and address–bus entanglement. These values are hand calculations from the displayed actual records, a concrete specialization of Theorem P.12.
P6 describes the kernel of the complex Gram matrix acting on address coefficient vectors. It is not a statement about the kernel of a channel acting on density matrices. Likewise, uniqueness in P15 belongs to the class probability law. Every nonnegative address allocation with the optimal class masses remains allowed, and joint inputs may also differ in phase and entanglement. In general, is not required to have full support, and no closed formula or algorithm for the minimum at arbitrary heterogeneous rates is supplied. The example shows why uniform address optimality from the homogeneous case cannot be transferred without qualification.
At depth zero there are no routers, only one address and one class. The unit record gives and for normalized inputs. If every node has , all addresses again lie in a single class, every entry of equals , and every address law belongs to the minimizing fiber. At positive depth, full rank requires activity of every deepest router, without requiring every ancestor to be active. Here “active” refers specifically to the environment’s ability to distinguish labels; it does not mean that the router is programmed in every address branch.
The scope remains a finite set of actual internal routers, fixed classical data, one independent router record after complete sequential loading, and otherwise ideal gates. This does not extend to a noisy continuation, gate noise, correlated records, repeated holds, or hardware fault tolerance. Nor does it provide a new physical proof of the infinite address ontology or observer-pointer MODEL interpretation. The interpretations below retain their own premises.