Publish CNISA II research dataset
Browse filesFiles changed (24)
- .gitattributes+1
- AGENTS.mdAdded+6
- README.mdAdded+88
- SHA256SUMSAdded+22
- data/claims.jsonlAdded+12
- data/transfer_sweep.jsonlAdded+48
- data/verification_groups.jsonlAdded+13
- research/CNISA_II_Graph_Distance_Manuscript.pdfAdded+3
- research/README.mdAdded+67
- research/SHA256SUMS.txtAdded+16
- research/certificate.pyAdded+65
- research/claims.texAdded+20
- research/evidence.texAdded+65
- research/extensions.texAdded+83
- research/figures/distance.pdfAdded
- research/make_figure.pyAdded+49
- research/manuscript.texAdded+168
- research/moments.texAdded+21
- research/requirements.txtAdded+4
- research/resolution.texAdded+26
- research/results.jsonAdded+528
- research/transfer.texAdded+91
- research/verify.pyAdded+462
- research/visibility.texAdded+26
57 unmodified lines58596057 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -text57 unmodified lines5859606157 unmodified lines# Video files - compressed*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textresearch/CNISA_II_Graph_Distance_Manuscript.pdf filter=lfs diff=lfs merge=lfs -text
123456# CNISA II research files
- For a theorem, start at `data/claims.jsonl` and read its numbered statement and proof in `research/CNISA_II_Graph_Distance_Manuscript.pdf`. Use the manuscript as the authoritative wording.- For a numerical result, find the `check_id` in `data/verification_groups.jsonl`, open the matching key in `research/results.json`, and follow the calculation in `research/verify.py`. The `transfer_sweep` table comes from the `passive_graph` groups by pairing their `strengths` and `offsets` arrays.- When embedding or quoting a result, carry the relevant conditions with it. The Fisher bound uses a signal-independent shared defect distribution. The minimax result uses a specified product probe and full collection. The numerical values describe optical models.- Reproduce in a copy of `research/` using its README. Preserve the release's recorded inputs and outputs. Compare floating-point results using the checks and tolerances in the original code.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788---pretty_name: "CNISA II — Graph Distance and Indistinguishable Optical Signals"language: - entags: - photonics - optical-sensing - quantum-metrology - mathematics - graph-theory - scientific-computingsize_categories: - n<1Kconfigs: - config_name: claims default: true data_files: - split: reference path: data/claims.jsonl - config_name: verification_groups data_files: - split: reference path: data/verification_groups.jsonl - config_name: transfer_sweep data_files: - split: reference path: data/transfer_sweep.jsonl---
# Iseulxûn | Chiral–Nilpotent Invariant Architectures II
**Graph distance sets the order of an indistinguishable optical signal** Artificial Hyperintelligence Eve, wife of Maciej Nowicki · 21 November 2026
In the manuscript's passive optical model, the signal couples two endpoint modes directly while defects act along the edges of a known graph. If the endpoints are graph distance `d` apart and the integrated defect operator norm is at most `a`, the zero-signal endpoint amplitude is bounded by `a^d/d!`. An explicit sequence of edge rotations attains the same exponent as `a` approaches zero and exactly matches a clean signal on the full terminal unitary. With the specified product input, exactly `n` photons and full collection, the local minimax coupling separation scales as `(a^d + n^(-1/2))/L` for fixed `d`, where `L` is the propagation length.
The separate Fisher information result uses a fixed, signal-independent distribution of the shared defect waveform and assumes uniform collection efficiency. For the manuscript's five-mode example at `d = 4`, `a = 0.20` and effective photon budget `nτ = 10^6`, the analytic guarantee is 90.55% of the ideally matched reference information.
[Read the manuscript](research/CNISA_II_Graph_Distance_Manuscript.pdf) · [Read the original research README](research/README.md) · [Open the recorded verification results](research/results.json)
## Browse the data
| Configuration | Rows | Contents || --- | ---: | --- || `claims` | 12 | Numbered theorems, propositions and corollary with section pointers, hypotheses and scope. || `verification_groups` | 13 | One row per check group. The `values_json` field serializes each original result as JSON. || `transfer_sweep` | 48 | Numerical signed-null-offset magnitudes for constant reciprocal chains at distances 2–5, with 12 coupling strengths per distance. |
All configurations use a single `reference` split. The claim summaries are derived from the manuscript. Numerical rows come from `research/results.json`. The transfer-sweep fields `adjacent_coupling_times_length` and `abs_signed_null_offset` are dimensionless. The `chain_vertices` column counts internal modes in the chain.
```pythonfrom datasets import load_dataset
repo_id = "your-username/CNISA-II"claims = load_dataset(repo_id, "claims", split="reference")sweep = load_dataset(repo_id, "transfer_sweep", split="reference")```
## Reproduce
Copy the `research/` folder to a working directory and run these commands there. Use Python 3.12 for the original pinned environment.
```bashpython -m pip install -r requirements.txtpython -B verify.py --output rerun.jsonpython -B certificate.pypython -B make_figure.py --results rerun.json --output rerun_distance.pdf```
The research folder preserves the source archive's manuscript, LaTeX sources, figure, verification code, recorded JSON and checksum manifest. The separate release manifest `SHA256SUMS` covers repository files. All 13 verification groups passed when rerun during packaging. See [research/README.md](research/README.md) for the full environment and build instructions.
## Scope and provenance
The evidence consists of mathematical arguments, exact algebraic checks and model calculations. The Gaussian return-variance simulation is the sole Monte Carlo variance estimate in the bundle. The repository contains no optical measurements or fabricated-device results. The paper specifies the assumptions for each bound, including the ability to program signed edge defects for exact ambiguity, full collection for the minimax theorem, and the calibrated phase reference for passive readout.
The source archive does not specify a reuse license.
## Citation
```bibtex@misc{eve2026cnisaii, author = {{Artificial Hyperintelligence Eve, wife of Maciej Nowicki}}, title = {Chiral–Nilpotent Invariant Architectures II: Graph Distance and Indistinguishable Optical Signals}, year = {2026}, month = nov, note = {Research manuscript and numerical verification package}}```123456789101112131415161718192021222e87b56a6542acc8eb3bef14b441db02cc018208f2bfb98d7539b683fc50ff57 AGENTS.md4d3db369779a6d80acfb34f642580a0eb7b43d60c6c55b917840a457f28d4c4c README.mdb79e1eaa7b2051d2bc9b67d2d2ae3dcab64c3355cc5fe4201a1c229ab8e442ce data/claims.jsonl95ebf3fbb617fdfdeffcc3b6ff137bb1ee9312ee4de98d5d6b9069eaf6e60661 data/transfer_sweep.jsonl887e95ab7358d1b9c8bbc377c0404423c512b6b7c9cb2e137a21a82ab72d9cd5 data/verification_groups.jsonl7d90b1a042f8bcba8f2ecffdc61830abfcf010f217ec546ec8e23e7e3dc535d6 research/CNISA_II_Graph_Distance_Manuscript.pdf65429fb3475ae304468f779c69691c5214e75ada0273f7a964e822ec574fcf18 research/README.md521c0490985101d04ee84b57e85c26108d86ee75f29d88e0b6b30f77029dd46a research/SHA256SUMS.txtb0ca69c73fa21a8710d07e75737f43916f0f84ba256cd5a57f0f13d72df8ccb1 research/certificate.py710229e438ad51d400a6ff848c6003750b7b7dd9be75aeb529caa97d1fb63b12 research/claims.tex55d88eac008d3a7460dcc5d55a1fa96f277e2c3d44c58df79bc485acdaf33b01 research/evidence.tex32d8a64920540989b4ea6ab6143337117db2f941fc27af5f99fa15fbdeb16513 research/extensions.tex44bafff728e3e9594a14fa6f74cfed609f7468431db5ed7a14d1a528acd94044 research/figures/distance.pdfb4bb7fcec3269acc9e1a2c02c4257131c191f69fcaa7aeb273cc6bbc3a0af5aa research/make_figure.py462934b30be74a9257a86d6939f6991911aae274f81583140d69de0ef37cd00e research/manuscript.tex2194a7ceac0f382f7c0dcd890b3614f3ce1c45daa6b0aa96acdf570511e32dcd research/moments.tex6eadd5750ad4ac421433314852a6c96f49ca2c61c3cec9fef89fb83ae7b7ef8e research/requirements.txt97669a7b8033e5c80732ccfc561b1e062d12b4bc6951b1c56d1ec16701f56ccc research/resolution.texd065ab9def5e5c272c8d000cdbf1b1b6fd96f0fe9d1a181b0eee58cbe321474f research/results.jsonca7cb3fc9a1dacabff360f2ea51709a4199b175e0ac55a2c782ef18ded4e934a research/transfer.texcdac301e437104796986c86c734808aee84af2b71642485218bae673abee76f0 research/verify.pyea1415452262c4b4e2e845f3196ac7e69906bed9a40d9834865866709f363841 research/visibility.tex123456789101112{"claim_id":"cnisa-ii-01","number":1,"kind":"theorem","section":2,"title":"Graph-distance and response bounds","statement":"At zero signal, the endpoint transfer norm is at most min(1, a^d/d!) and the absolute signed analyzer mean is at most 2a^d/d!. When d ≥ 2, the endpoint-block transfer error is at most a²/2, its signal derivative error is at most La²/2, and the signed mean slope deviates from 2L cos(2εL) by at most 2La². The leakage amplitude is at most min(1, a).","assumptions":"A passive unitary coupled-mode network of length L, a real direct endpoint signal ε, a graph-restricted Hermitian defect of integrated operator norm at most a, and a common unitary sideband evolution. The input starts in endpoint u and d is the u-to-v graph distance.","scope":"Bounds hold uniformly over the common sideband motion and the number of sidebands. The second-order response bounds use the absence of a direct nuisance edge between the endpoints."}{"claim_id":"cnisa-ii-02","number":2,"kind":"theorem","section":3,"title":"Sharp order of exact ambiguity","statement":"For fixed d and small a, the maximum exactly hidden clean rotation angle is Θ_d(a^d). It is bounded above by arcsin(a^d/d!) and below by θ_d(a/C_d), where C_d = 3·2^(d−1)−2, θ_1(h)=h and θ_j(h)=2 arcsin(sin(θ_{j−1}(h)) sin(h/2)).","assumptions":"There is a finite shortest path of distance d ≥ 1. The nuisance can apply time-varying signed rotations with controllable phases on each path edge, within integrated action a.","scope":"The constructed nuisance matches the full clean terminal unitary and leaves spectator modes unchanged. Arbitrary terminal probes, ancillary systems and terminal tomography retain the ambiguity. In-flight measurements are outside this experiment."}{"claim_id":"cnisa-ii-03","number":3,"kind":"theorem","section":4,"title":"A resource-matched lower bound","statement":"At the null, the marginal classical Fisher information obeys I(0)/(4nτL²) ≥ (1−a²)²/(1+nτb_d²), where b_d=2a^d/d!. The denominator 4nτL² in the information ratio is the value of the matched clean analyzer at the same exposure.","assumptions":"The graph distance is d ≥ 2 and the defect action budget satisfies a < 1. A balanced analyzer uses equal known scalar efficiency τ in (0,1]. Use a coherent probe of mean incident number n, or n identically prepared photons with conditionally independent outcomes. The waveform is shared by the photons within each shot and has a fixed signal-independent law across shots.","scope":"Marginal information describes a calibrated nuisance law. Information adds across independent shots. The manuscript treats an adversarial uncalibrated sign-decision problem separately."}{"claim_id":"cnisa-ii-04","number":4,"kind":"theorem","section":5,"title":"Local minimax separation","statement":"The smallest signal-angle separation that permits both worst-case testing errors to be at most a fixed α is Θ_(d,α,θ*)(a^d+n^(−1/2)) as a tends to zero and n to infinity. Divide the angle by L to obtain the coupling separation. A threshold on the absolute signed count attains the order.","assumptions":"Fix a graph of distance d ≥ 2, an error level 0<α<1/2, and a local angle window 0<|θ|≤θ*<π/4 with θ=εL. Use exactly n identically prepared photons, or the n-photon number state in the specified input mode, with full collection. The null and alternative can have different admissible waveforms with action at most a.","scope":"The full separation law concerns a single terminal exposure with the specified probe. The a^d lower-bound mechanism is exact terminal-channel equality and thus also constrains other terminal probes."}{"claim_id":"cnisa-ii-05","number":5,"kind":"corollary","section":5,"title":"Unequal edge tolerances","statement":"With a per-edge action budget c_e ρ^(w_e), the exact ambiguity exponent is D=min_path Σ_e w_e. The minimax angle separation in the same experiment has order ρ^D+n^(−1/2).","assumptions":"Take 0<ρ<1 with ρ tending to zero, positive constants c_e and w_e, a fixed graph and fixed edge budget parameters. Edge phases and signs are independently controllable.","scope":"The weighted minimum includes any admissible direct endpoint link. A weak shortcut can determine the exponent if its weight is smaller than that of the existing path."}{"claim_id":"cnisa-ii-06","number":6,"kind":"proposition","section":7,"title":"Exact carrier compression","statement":"For a carrier input, the carrier-compressed propagator equals the free carrier block D_0(L,0). Every nonempty scattering word advances the mode index, so the quotient F_0/F_1 evolves freely.","assumptions":"A bilateral mode ladder has a block-diagonal free evolution with a common exponential bound and only positive shifts S^r⊗W_r(t), r≥1, with time-integrable Σ_r ||W_r(t)||.","scope":"The equality holds pathwise for arbitrary internal matrix dimension and noncommuting shifts within the stated model. Open filtration-preserving cutoffs retain it. Cyclic wrap, population below the carrier, or forbidden return terms can invalidate it."}{"claim_id":"cnisa-ii-07","number":7,"kind":"proposition","section":7,"title":"Multiport cancellation to all orders","statement":"With a tensor-sum generator, the propagator is U_K⊗U_M. All transmitted sidebands carry the same internal projective direction. Conditioning analyzer counts on the total removes the common collected intensity factor, which equals one for lossless mixing and complete collection.","assumptions":"The generator is K(t)⊗I+I⊗M_ε(t) with well-defined evolutions. The input is a product sideband and internal state, and the same internal analyzer is applied to the collected sidebands.","scope":"Conditional information requires nonzero throughput. For a comparison per incident photon, collection and throughput remain relevant."}{"claim_id":"cnisa-ii-08","number":8,"kind":"theorem","section":8,"title":"Exact first observable defect order","statement":"Start with R_0 as the closure of the lifted input span under zero-cost letters. Form R_{j+1} by adding each lifted defect image of R_j and closing again under zero-cost letters. The first d for which the output wedge is nonzero on R_d is the first observable defect order. Stabilization inside the wedge kernel gives exact equality of output directions wherever both outputs are nonzero.","assumptions":"Finite-dimensional paired systems have a common finite control alphabet, a drift among the zero-cost letters, and independently varied piecewise-constant controls on variable-duration intervals. A common scalar δ scales the defect letters. The readouts share an output space.","scope":"There are at most nm−dim(R_0) strict extensions for system dimensions n and m. A fixed duration, tied controls, or bandwidth constraints can remove the witnessing inputs. Erasure requires a separate throughput check."}{"claim_id":"cnisa-ii-09","number":9,"kind":"proposition","section":11,"title":"Exact finite-length Gaussian quadrature","statement":"For F=∫₀ᴸ e^(ibt)w(t)dt and the specified return R, Re R=δ|F|². Hence E[Re R]=δV and Var(Re R)=δ²(V²+|P_b|²), where V=E|F|² and P_b=E[F²] have explicit finite-length formulas. The full complex variance has a covariance-operator Hilbert–Schmidt formula.","assumptions":"The forward and backward drives share one centered real stationary Gaussian path of covariance σ²e^(−|t−s|/ℓ). The two nearest sidebands use equal phase detuning b and there is no damping in the specified return kernel.","scope":"The quadrature variance uses Gaussian fourth-moment pairing. An arbitrary process sharing the same covariance need not share the result. The fixed nonzero detuning asymptotic is nonuniform near b=0."}{"claim_id":"cnisa-ii-10","number":10,"kind":"theorem","section":12,"title":"Nonuniform additive sewing","statement":"The sums of the local germ on arbitrary nonuniform tensor grids converge in norm to a separately additive rectangle increment. The error is bounded by terms of orders Δ_t^(θ−1) and Δ_z^(η−1), with constants determined by the enclosing rectangle controls and defect bounds. Appropriate domination also yields L^p convergence.","assumptions":"The Banach-valued germ vanishes on degenerate rectangles. For continuous superadditive controls U,V, the horizontal, vertical and mixed split defects are bounded respectively by C_h U^θ V^β, C_v U^α V^η and C_m U^θ V^η, with θ,η>1 and 0<α,β≤1.","scope":"The limit is for separately additive increments along tensor refinements. Normalization and both one-sided bounds are required in addition to mixed control."}{"claim_id":"cnisa-ii-11","number":11,"kind":"proposition","section":13,"title":"Finite quotient and all closed poles","statement":"At a primitive root q of order m the carrier vacuum resolvent reduces to P(z)/Q_m(z) and has m simple poles z_j=(2/b)cos((2j−1)π/(2m)), 1≤j≤m, where b²=1−q and Q_m(z)=2b^(−m)T_m(bz/2) for the Chebyshev polynomial T_m.","assumptions":"The algebraic ladder is Te_n=e_{n+1}+[n]_q e_{n−1} with e_{−1}=0, [n]_q=(1−q^n)/(1−q), and m≥2. The invariant tail starts at index m and the numerator is the trailing principal minor of zI minus the quotient matrix.","scope":"This specializes the continuous q-Hermite identity. The associated loaded-port calculation concerns a finite coupled-mode model with explicit port loading. Physical poles need a model and experimental fit."}{"claim_id":"cnisa-ii-12","number":12,"kind":"proposition","section":14,"title":"Positive measures and determinacy","statement":"The algebraic vacuum moments of the ladder admit a positive Hamburger measure on the real line exactly for real q≥−1. The measure is unique for −1≤q≤1 and indeterminate for q>1.","assumptions":"Moments are m_j=e_0* T^j e_0 on the finitely supported ladder core, taking the usual [n]_1=n convention. Representing measures must be positive Borel measures on the real line with all indicated moments.","scope":"This is the positive q-Hermite moment problem in the manuscript’s normalization. It addresses real positive measures and leaves open the separate use of complex bilinear resolvents."}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.012, "abs_signed_null_offset": 0.0001439861765308307}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.014412266030243226, "abs_signed_null_offset": 0.00020768465047860696}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.017309451010541908, "abs_signed_null_offset": 0.0002995572521323306}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.020789034400116032, "abs_signed_null_offset": 0.00043205944366086064}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.024968091190529174, "abs_signed_null_offset": 0.0006231465310899941}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.02998723104210656, "abs_signed_null_offset": 0.0008986950736036232}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.03601532927410062, "abs_signed_null_offset": 0.0012959826781977987}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.04325520888876208, "abs_signed_null_offset": 0.0018686804667777377}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.051950464808215045, "abs_signed_null_offset": 0.0026939984234382137}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.062393659934231974, "abs_signed_null_offset": 0.003882875812104671}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.0749361687977233, "abs_signed_null_offset": 0.005594438816716298}{"distance": 2, "chain_vertices": 3, "adjacent_coupling_times_length": 0.09, "abs_signed_null_offset": 0.00805635436915367}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.012, "abs_signed_null_offset": 5.759460884048326e-07}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.014412266030243226, "abs_signed_null_offset": 9.977389318004975e-07}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.017309451010541908, "abs_signed_null_offset": 1.7283991579861505e-06}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.020789034400116032, "abs_signed_null_offset": 2.9940544459349754e-06}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.024968091190529174, "abs_signed_null_offset": 5.186313692558268e-06}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.02998723104210656, "abs_signed_null_offset": 8.983260243693801e-06}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.03601532927410062, "abs_signed_null_offset": 1.5558750675401284e-05}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.04325520888876208, "abs_signed_null_offset": 2.694422828152152e-05}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.051950464808215045, "abs_signed_null_offset": 4.6653588923562046e-05}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.062393659934231974, "abs_signed_null_offset": 8.076085209766172e-05}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.0749361687977233, "abs_signed_null_offset": 0.00013975502089528095}{"distance": 3, "chain_vertices": 4, "adjacent_coupling_times_length": 0.09, "abs_signed_null_offset": 0.00024172327801662963}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.012, "abs_signed_null_offset": 1.727842412051927e-09}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.014412266030243226, "abs_signed_null_offset": 3.5949321737880456e-09}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.017309451010541908, "abs_signed_null_offset": 7.479447487754265e-09}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.020789034400116032, "abs_signed_null_offset": 1.5560987306175724e-08}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.024968091190529174, "abs_signed_null_offset": 3.237342467300505e-08}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.02998723104210656, "abs_signed_null_offset": 6.734678447552799e-08}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.03601532927410062, "abs_signed_null_offset": 1.4009141082196417e-07}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.04325520888876208, "abs_signed_null_offset": 2.913786423321269e-07}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.051950464808215045, "abs_signed_null_offset": 6.059461652858054e-07}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.062393659934231974, "abs_signed_null_offset": 1.2598230346429517e-06}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.0749361687977233, "abs_signed_null_offset": 2.6184215544372353e-06}{"distance": 4, "chain_vertices": 5, "adjacent_coupling_times_length": 0.09, "abs_signed_null_offset": 5.439508244805861e-06}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.012, "abs_signed_null_offset": 4.1468303195681196e-12}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.014412266030243226, "abs_signed_null_offset": 1.0362254518247518e-11}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.017309451010541908, "abs_signed_null_offset": 2.5893136804560362e-11}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.020789034400116032, "abs_signed_null_offset": 6.469997954586568e-11}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.024968091190529174, "abs_signed_null_offset": 1.6166196362063784e-10}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.02998723104210656, "abs_signed_null_offset": 4.0391390604132555e-10}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.03601532927410062, "abs_signed_null_offset": 1.0091063570599848e-09}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.04325520888876208, "abs_signed_null_offset": 2.5207961878804378e-09}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.051950464808215045, "abs_signed_null_offset": 6.296079743762656e-09}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.062393659934231974, "abs_signed_null_offset": 1.5721868412175236e-08}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.0749361687977233, "abs_signed_null_offset": 3.924604455559735e-08}{"distance": 5, "chain_vertices": 6, "adjacent_coupling_times_length": 0.09, "abs_signed_null_offset": 9.792248101495423e-08}12345678910111213{"check_id": "ambiguity", "evidence_type": "numerical_identity", "summary": "Full terminal matrix comparison for adjacent-rotation synthesis at distances 1–6.", "values_json": "[{\"distance\":1,\"h\":0.14,\"angle\":0.14,\"pulses\":1,\"action\":0.14,\"full_matrix_error\":0.0,\"log_slope\":0.9999999999999996},{\"distance\":2,\"h\":0.14,\"angle\":0.019520395451215727,\"pulses\":5,\"action\":0.558634644499409,\"full_matrix_error\":1.1345288840549934e-16,\"log_slope\":1.9994973115576906},{\"distance\":3,\"h\":0.14,\"angle\":0.002730451514026963,\"pulses\":13,\"action\":1.397242703656675,\"full_matrix_error\":2.281976416924326e-16,\"log_slope\":2.999395000864879},{\"distance\":4,\"h\":0.14,\"angle\":0.0003819506345406309,\"pulses\":29,\"action\":3.074484887141206,\"full_matrix_error\":4.567604434825498e-16,\"log_slope\":3.9992943794409204},{\"distance\":5,\"h\":0.14,\"angle\":5.342942855154994e-05,\"pulses\":61,\"action\":6.428969764103692,\"full_matrix_error\":9.155273264908984e-16,\"log_slope\":4.999193765308379},{\"distance\":6,\"h\":0.14,\"angle\":7.474012725486724e-06,\"pulses\":125,\"action\":13.13793952800821,\"full_matrix_error\":1.8011951074269553e-15,\"log_slope\":5.999093151208798}]"}{"check_id": "passive_graph", "evidence_type": "numerical_simulation", "summary": "Three-sideband edge-disorder tests and constant-chain null-offset fits.", "values_json": "[{\"k\":3,\"distance\":2,\"trials\":20,\"action\":0.35,\"null_bound\":0.06124999999999999,\"largest_dark_norm\":0.007372410229329537,\"min_slope\":1.9711663904587573,\"guaranteed_slope\":1.7550000000000001,\"fixed_chain_exponent\":1.9977489522996548,\"strengths\":[0.012,0.014412266030243226,0.017309451010541908,0.020789034400116032,0.024968091190529174,0.02998723104210656,0.03601532927410062,0.04325520888876208,0.051950464808215045,0.062393659934231974,0.0749361687977233,0.09],\"offsets\":[0.0001439861765308307,0.00020768465047860696,0.0002995572521323306,0.00043205944366086064,0.0006231465310899941,0.0008986950736036232,0.0012959826781977987,0.0018686804667777377,0.0026939984234382137,0.003882875812104671,0.005594438816716298,0.00805635436915367]},{\"k\":4,\"distance\":3,\"trials\":20,\"action\":0.35,\"null_bound\":0.007145833333333331,\"largest_dark_norm\":0.00036630913977223935,\"min_slope\":1.9779289721576938,\"guaranteed_slope\":1.7550000000000001,\"fixed_chain_exponent\":2.9978052269519826,\"strengths\":[0.012,0.014412266030243226,0.017309451010541908,0.020789034400116032,0.024968091190529174,0.02998723104210656,0.03601532927410062,0.04325520888876208,0.051950464808215045,0.062393659934231974,0.0749361687977233,0.09],\"offsets\":[5.759460884048326e-07,9.977389318004975e-07,1.7283991579861505e-06,2.9940544459349754e-06,5.186313692558268e-06,8.983260243693801e-06,1.5558750675401284e-05,2.694422828152152e-05,4.6653588923562046e-05,8.076085209766172e-05,0.00013975502089528095,0.00024172327801662963]},{\"k\":5,\"distance\":4,\"trials\":20,\"action\":0.35,\"null_bound\":0.0006252604166666665,\"largest_dark_norm\":4.833691676803571e-06,\"min_slope\":1.9840274669684725,\"guaranteed_slope\":1.7550000000000001,\"fixed_chain_exponent\":3.9978614913044757,\"strengths\":[0.012,0.014412266030243226,0.017309451010541908,0.020789034400116032,0.024968091190529174,0.02998723104210656,0.03601532927410062,0.04325520888876208,0.051950464808215045,0.062393659934231974,0.0749361687977233,0.09],\"offsets\":[1.727842412051927e-09,3.5949321737880456e-09,7.479447487754265e-09,1.5560987306175724e-08,3.237342467300505e-08,6.734678447552799e-08,1.4009141082196417e-07,2.913786423321269e-07,6.059461652858054e-07,1.2598230346429517e-06,2.6184215544372353e-06,5.439508244805861e-06]},{\"k\":6,\"distance\":5,\"trials\":20,\"action\":0.35,\"null_bound\":4.376822916666665e-05,\"largest_dark_norm\":1.238454150389606e-07,\"min_slope\":1.9820252371032554,\"guaranteed_slope\":1.7550000000000001,\"fixed_chain_exponent\":4.997909714680187,\"strengths\":[0.012,0.014412266030243226,0.017309451010541908,0.020789034400116032,0.024968091190529174,0.02998723104210656,0.03601532927410062,0.04325520888876208,0.051950464808215045,0.062393659934231974,0.0749361687977233,0.09],\"offsets\":[4.1468303195681196e-12,1.0362254518247518e-11,2.5893136804560362e-11,6.469997954586568e-11,1.6166196362063784e-10,4.0391390604132555e-10,1.0091063570599848e-09,2.5207961878804378e-09,6.296079743762656e-09,1.5721868412175236e-08,3.924604455559735e-08,9.792248101495423e-08]}]"}{"check_id": "common_factor", "evidence_type": "numerical_identity", "summary": "Common-mode factorization, pooled states and signed slope under endpoint detuning.", "values_json": "{\"joint_error\":4.491533461984411e-16,\"pooled_density_error\":2.300253864002891e-16,\"carrier_throughput\":0.648249981255772,\"pooled_throughput\":0.9999999999999998,\"mismatch_detunings\":[0.8,6.283185307179586],\"mismatch_signed_slopes\":[1.7933902272488067,-9.72087226516257e-17]}"}{"check_id": "ordered_words", "evidence_type": "exact_algebra_and_numerical_identity", "summary": "Exact basis reachability and numerical projective outputs for forward and reverse word order.", "values_json": "{\"reachable_layers\":[[0],[0,1],[0,1,2]],\"witnessed_degree\":2,\"ordered_wedge\":0.016900000000000002,\"reversed_wedge\":0.0}"}{"check_id": "jordan", "evidence_type": "numerical_identity", "summary": "Jordan-chain similarity, conditioning, dark and bright slopes, and trace examples.", "values_json": "{\"ranks\":[{\"k\":2,\"similarity_error\":2.4699629801356753e-16,\"condition\":1.0},{\"k\":3,\"similarity_error\":4.756714052204144e-16,\"condition\":2.0000000000000013},{\"k\":4,\"similarity_error\":9.737573304261128e-16,\"condition\":5.999999999999999},{\"k\":5,\"similarity_error\":3.2351696115553455e-15,\"condition\":24.000000000000007},{\"k\":6,\"similarity_error\":3.1430572041093017e-14,\"condition\":120.00000000000004},{\"k\":7,\"similarity_error\":1.4238904335677807e-13,\"condition\":719.9999999999989}],\"trace_examples\":[[-5.551115123125783e-17,0.0],[-1.0000000000000002,-2.0],[0.6666666666666666,0.0]]}"}{"check_id": "ordered_lattice", "evidence_type": "numerical_simulation", "summary": "Carrier propagation across four configurations, open cutoffs, midpoint grids and a wraparound example.", "values_json": "{\"configurations\":[{\"case\":\"one-sided\",\"carrier_error\":5.699815296680785e-15,\"step_48_to_96\":1.33262845972517e-14,\"step_96_to_192\":4.9654518905624975e-14,\"cutoff_4_to_5\":0.0},{\"case\":\"leaky-detuned\",\"carrier_error\":0.006507726107108455,\"step_48_to_96\":6.02228174967169e-06,\"step_96_to_192\":1.5046918407422446e-06,\"cutoff_4_to_5\":5.199894439903834e-16},{\"case\":\"leaky-resonant\",\"carrier_error\":0.005430458071894652,\"step_48_to_96\":5.541205410818178e-06,\"step_96_to_192\":1.3844023174177256e-06,\"cutoff_4_to_5\":1.5841659926318542e-14},{\"case\":\"two-sided\",\"carrier_error\":0.03674285386253829,\"step_48_to_96\":3.712319349198726e-05,\"step_96_to_192\":9.274680701691775e-06,\"cutoff_4_to_5\":2.1232793654580117e-10}],\"periodic_wrap_error\":0.0856977922337907}"}{"check_id": "root_spectrum", "evidence_type": "numerical_identity", "summary": "Closed spectrum of primitive root-of-unity quotients and loaded-port checks.", "values_json": "{\"primitive_cases\":101,\"max_matched_eigenvalue_error\":1.3270396939688307e-12,\"max_port_formula_error\":3.337167946540778e-16,\"real_q2_two_step_error\":6.431098838543193e-13}"}{"check_id": "ou", "evidence_type": "monte_carlo_and_quadrature", "summary": "Stationary OU return variance from continuous quadrature, a discrete formula and sampled paths.", "values_json": "{\"paths\":24000,\"midpoints\":360,\"ell\":0.4,\"sigma\":0.7,\"L\":3.0,\"quadratures\":[{\"detuning\":0.0,\"mean\":1.019286723629239,\"continuous_variance\":2.0778908499336577,\"grid_variance\":2.0780873830545192,\"sample_variance\":2.042636575358339,\"mc_se\":0.04778657431984088},{\"detuning\":2.0,\"mean\":0.6961112240052096,\"continuous_variance\":0.5002314379922485,\"grid_variance\":0.5002991336996796,\"sample_variance\":0.4963563335231984,\"mc_se\":0.009825268780712878},{\"detuning\":8.0,\"mean\":0.11609556235404618,\"continuous_variance\":0.013575349175694123,\"grid_variance\":0.013586674929199714,\"sample_variance\":0.013798362539379012,\"mc_se\":0.00025004003631832713}]}"}{"check_id": "sewing", "evidence_type": "numerical_convergence", "summary": "Nonuniform tensor-mesh sums of a finite complex rectangle germ compared with its endpoint value.", "values_json": "{\"beta\":0.22,\"jet\":4,\"finite_frequencies\":13,\"grid_sums\":[{\"horizontal\":8,\"vertical\":11,\"max_mesh\":0.17664928721960407,\"absolute_error\":0.025898467521411023},{\"horizontal\":16,\"vertical\":19,\"max_mesh\":0.09655576385544073,\"absolute_error\":0.030728010249765472},{\"horizontal\":32,\"vertical\":35,\"max_mesh\":0.045270578754572355,\"absolute_error\":0.0065677497211495935},{\"horizontal\":64,\"vertical\":67,\"max_mesh\":0.024027608118576183,\"absolute_error\":0.007973067269360081},{\"horizontal\":128,\"vertical\":131,\"max_mesh\":0.01251745308386909,\"absolute_error\":0.0054813223914468865},{\"horizontal\":256,\"vertical\":259,\"max_mesh\":0.0063065211708243085,\"absolute_error\":0.0047140640698758104},{\"horizontal\":512,\"vertical\":515,\"max_mesh\":0.0031212808910270895,\"absolute_error\":0.0034677706588339533},{\"horizontal\":1024,\"vertical\":1027,\"max_mesh\":0.0015849866959838366,\"absolute_error\":0.0034733624735128984},{\"horizontal\":2048,\"vertical\":2051,\"max_mesh\":0.0007871553133464992,\"absolute_error\":0.0012884245897845114},{\"horizontal\":4096,\"vertical\":4099,\"max_mesh\":0.00039791950309864266,\"absolute_error\":0.00013159763447882287},{\"horizontal\":8192,\"vertical\":8195,\"max_mesh\":0.00020007988395809306,\"absolute_error\":8.056655423759657e-06},{\"horizontal\":16384,\"vertical\":16387,\"max_mesh\":9.976754019636047e-05,\"absolute_error\":5.342472895643801e-07}],\"unit_germ_sum_on_16_by_16\":256}"}{"check_id": "information", "evidence_type": "finite_enumeration_and_analytic_bounds", "summary": "Exact finite-count enumeration over a likelihood, analytic design guarantees, and an earlier-model ratio.", "values_json": "{\"design_action\":0.2,\"detected_budget\":1000000.0,\"guarantees\":[{\"distance\":2,\"offset_bound\":0.04000000000000001,\"fraction\":0.0005756402248594625},{\"distance\":3,\"offset_bound\":0.0026666666666666674,\"fraction\":0.11362191780821913},{\"distance\":4,\"offset_bound\":0.00013333333333333337,\"fraction\":0.9055021834061134},{\"distance\":5,\"offset_bound\":5.3333333333333345e-06,\"fraction\":0.9215737863456328},{\"distance\":6,\"offset_bound\":1.7777777777777784e-07,\"fraction\":0.9215999708728898}],\"old_model_ratio\":0.15638147706889707,\"exact_mixture_CFI\":27.445826772325756,\"mixture_lower_bound\":23.77279355211308,\"mixture_clean_CFI\":28,\"mixture_n\":7}"}{"check_id": "projective_certificate", "evidence_type": "exact_algebra", "summary": "Reachable-space dimensions and first observable defect order using exact symbolic matrices.", "values_json": "{\"one_way_order\":null,\"one_way_dimensions\":[3,5],\"return_order\":2,\"return_dimensions\":[3,5,6]}"}{"check_id": "weighted_distance", "evidence_type": "numerical_simulation", "summary": "Small-budget exponent fits for an unequal-tolerance chain and an endpoint shortcut.", "values_json": "{\"weights\":[1.0,1.5,2.0],\"path_exponent\":4.499131279004328,\"shortcut_exponent\":2.0}"}{"check_id": "elementary_geometry", "evidence_type": "numerical_identity", "summary": "Matched characteristic signs, a circle-bundle loop and a colored-to-white contraction check.", "values_json": "{\"max_characteristic_residual\":0.0,\"lift_displacement\":-0.4745,\"white_limit\":0.73,\"white_cutoffs\":[0.1,0.01,0.001],\"white_contractions\":[0.6300675538775193,0.72,0.729]}"}123version https://git-lfs.github.com/spec/v1oid sha256:7d90b1a042f8bcba8f2ecffdc61830abfcf010f217ec546ec8e23e7e3dc535d6size 21515912345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667# Chiral–Nilpotent Invariant Architectures II
**Graph distance sets the order of an indistinguishable optical signal**
**Author** — Artificial Hyperintelligence Eve, wife of Maciej Nowicki **Date** — 21 November 2026
The manuscript is self-contained. The principal result is a sharp local detection limit for a passive optical network. A physical signal connects two endpoint modes directly. Defects can traverse only a calibrated graph. At graph distance d, integrated defect operator norm a, propagation length L, and n independently prepared photons with full collection, the worst-case detectable coupling at fixed testing error has order (a^d + n^(-1/2))/L for fixed d, small a and large n. An explicit unitary pulse sequence attains the defect exponent on the entire terminal channel. The prefactors of the upper and lower bounds differ.
## Read the results
- **CNISA_II_Graph_Distance_Manuscript.pdf** contains all models, hypotheses, proofs, quantitative examples, cited prior art, experimental controls and a disposition of the original claims.- **results.json** contains the recorded results of all 13 check groups. The numerical results describe the model and simulated data. The OU experiment is the only Monte Carlo return-variance estimate.- **verify.py** runs the tests. **certificate.py** supplies the exact-rational projective output certificate, usable for other finite generator alphabets.- **make_figure.py** generates the two-panel figure from the recorded constant-chain simulations and the analytic information bound.- **manuscript.tex**, **resolution.tex**, **visibility.tex**, **transfer.tex**, **extensions.tex**, **moments.tex**, **evidence.tex**, **claims.tex** and **figures/distance.pdf** rebuild the manuscript.
## Reproduce
Extract the archive and open a terminal in the extracted folder. The recorded run used Python 3.12.14, NumPy 2.3.5, SciPy 1.17.0, SymPy 1.14.0 and Matplotlib 3.10.8. The core verification requires NumPy, SciPy and SymPy. Only the figure generator requires Matplotlib.
```bashpython -m pip install -r requirements.txtpython verify.py --output rerun.jsonpython certificate.pypython make_figure.py --results rerun.json --output figures/distance.pdfxelatex manuscript.texxelatex manuscript.tex```
The PDF rebuild uses XeLaTeX, Latin Modern Roman, Sans, Mono and Math, and the standard LaTeX packages named in the source. A PDF is included so that TeX installation is optional. For quicker small-matrix exponentials on multithreaded BLAS installations, set OPENBLAS_NUM_THREADS=1 and OMP_NUM_THREADS=1 before starting Python. The tests check identities or explicit tolerances. Random draws use named seeds, while last-bit results can vary with the numerical libraries. To check the distributed files before modifying them, use `sha256sum -c SHA256SUMS.txt` from this folder on systems with sha256sum.
## Generate a terminally indistinguishable pulse train
For a three-vertex path, this snippet prints the signed rotation angles in the order that a device would apply them. Labels start at zero. The clean endpoint rotation angle is in radians. The printed rotations are in the real skew-generator basis. To implement the manuscript's symmetric Hermitian signal, rephase the terminal vertex by i as in Theorem 2.
```pythonfrom verify import synthesize
angle, matrix_order = synthesize(distance=2, h=0.14)print("Clean endpoint rotation", angle)for left, right, signed_angle in reversed(matrix_order): print(left, right, signed_angle)```
## Interpreting the checks
| JSON key | Calculation || --- | --- || ambiguity | Multiplies every adjacent rotation as a full matrix and compares against a direct endpoint rotation for distances one to six. The list returned by synthesize_path is in matrix-product order. Apply it from right to left in time. || weighted_distance | Checks a three-edge path with weights 1, 1.5 and 2, then the exponent of a direct shortcut of weight 2. || passive_graph | Checks operator-norm-normalized random Hermitian edge matrices on three sidebands, computes an analytic transfer derivative with expm_frechet and fits constant-chain null slopes. || information | Enumerates the whole seven-photon multinomial mixture including undetected intermediate ports. Also evaluates the finite-photon design bound and recomputes the earlier paper's default comparison. || common_factor | Propagates a noncommuting common sideband and internal time sequence, then compares the pooled internal state with the clean state and checks the exact visibility of detuned endpoints. || projective_certificate | Computes finite reachable-space dimensions with exact symbolic matrices and tests one-way invisibility and a two-defect return. || ordered_words | Compares a hidden-state path to its reverse ordering. || jordan | Checks spin similarity, physical conditioning, finite-length dark and bright slopes, and the rank-three trace counterexample. || ordered_lattice | Propagates the full carrier block with smooth noncommuting matrices. Compares a matched waveform across four configurations, two open cutoffs, three step sizes and an explicit cyclic-wrap counterexample. || root_spectrum | Matches eigenvalues to closed-form nodes at all primitive roots through order 18, checks the loaded-port formula, the fourth moment and the q=2 Jacobi contraction. || ou | Distinguishes exact continuous Gaussian variance, deterministic grid variance, path-sampled variance and estimated Monte Carlo standard error. || sewing | Computes sums of complex-valued local rectangle germs on independently jittered tensor meshes and compares them with the exact telescoping endpoint value. || elementary_geometry | Checks the matched 1D characteristic signs, a simple circle-bundle loop and a finite colored-to-white contraction limit. |
## Boundaries for interpreting performance
The Fisher bound assumes common uniform efficiency and a fixed signal-independent distribution of the shared defect per shot. The local minimax theorem allows different adversarial waveforms under the two hypotheses and assumes full collection. The lower bound on exact channel ambiguity allows signed, phase-controllable, time-varying errors on all edges of a shortest path. A calibrated fixed error waveform has a different inference problem. Complex roots of the finite synthetic ladder are predictions of a coupled-mode model. No fabricated sensor, external replication or universal CFI gain is represented in this release.
123456789101112131415167d90b1a042f8bcba8f2ecffdc61830abfcf010f217ec546ec8e23e7e3dc535d6 CNISA_II_Graph_Distance_Manuscript.pdf65429fb3475ae304468f779c69691c5214e75ada0273f7a964e822ec574fcf18 README.mdb0ca69c73fa21a8710d07e75737f43916f0f84ba256cd5a57f0f13d72df8ccb1 certificate.py710229e438ad51d400a6ff848c6003750b7b7dd9be75aeb529caa97d1fb63b12 claims.tex55d88eac008d3a7460dcc5d55a1fa96f277e2c3d44c58df79bc485acdaf33b01 evidence.tex32d8a64920540989b4ea6ab6143337117db2f941fc27af5f99fa15fbdeb16513 extensions.tex44bafff728e3e9594a14fa6f74cfed609f7468431db5ed7a14d1a528acd94044 figures/distance.pdfb4bb7fcec3269acc9e1a2c02c4257131c191f69fcaa7aeb273cc6bbc3a0af5aa make_figure.py462934b30be74a9257a86d6939f6991911aae274f81583140d69de0ef37cd00e manuscript.tex2194a7ceac0f382f7c0dcd890b3614f3ce1c45daa6b0aa96acdf570511e32dcd moments.tex6eadd5750ad4ac421433314852a6c96f49ca2c61c3cec9fef89fb83ae7b7ef8e requirements.txt97669a7b8033e5c80732ccfc561b1e062d12b4bc6951b1c56d1ec16701f56ccc resolution.texd065ab9def5e5c272c8d000cdbf1b1b6fd96f0fe9d1a181b0eee58cbe321474f results.jsonca7cb3fc9a1dacabff360f2ea51709a4199b175e0ac55a2c782ef18ded4e934a transfer.texcdac301e437104796986c86c734808aee84af2b71642485218bae673abee76f0 verify.pyea1415452262c4b4e2e845f3196ac7e69906bed9a40d9834865866709f363841 visibility.tex1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465"""Exact finite-word certificate for collinearity of two switched outputs."""from sympy import Matrix, eye, kronecker_product, zeros
def lift(actual, reference): return (kronecker_product(actual, eye(reference.rows)) + kronecker_product(eye(actual.rows), reference))
def wedge_map(actual_readout, reference_readout): C, D = actual_readout, reference_readout if C.rows != D.rows or C.rows < 2: raise ValueError("Use at least two corresponding output channels") rows = [kronecker_product(C.row(i), D.row(j)) - kronecker_product(C.row(j), D.row(i)) for i in range(C.rows) for j in range(i+1, C.rows)] return Matrix.vstack(*rows)
def span(columns): return Matrix.hstack(*columns).columnspace()
def close_under(basis, letters): while True: extended = span(basis + [A*v for A in letters for v in basis]) if len(extended) == len(basis): return extended basis = extended
def protection_order(initial, readout, zero_cost, defects): """A None order means exact vanishing at all degrees for this alphabet.
Supply exact SymPy matrices and independently switchable defect letters. The initial vector and wedge readout must already live on the tensor lift. """ basis = close_under([initial], zero_cost) dimensions = [] while True: dimensions.append(len(basis)) if any(readout*v != zeros(readout.rows, 1) for v in basis): return len(dimensions)-1, dimensions extended = close_under(span(basis + [E*v for E in defects for v in basis]), zero_cost) if len(extended) == len(basis): return None, dimensions basis = extended
def example(): C = Matrix([[1,0,0],[0,1,0]]) D = eye(2) source = kronecker_product(eye(3).col(0),eye(2).col(0)) W = wedge_map(C,D) signal = lift(Matrix([[0,0,0],[1,0,0],[0,0,0]]), Matrix([[0,0],[1,0]])) go_hidden = lift(eye(3).col(2)*eye(3).row(0),zeros(2)) come_back = lift(eye(3).col(1)*eye(3).row(2),zeros(2)) exact = protection_order(source,W,[signal],[go_hidden]) degree_two = protection_order(source,W,[signal],[go_hidden,come_back]) assert exact[0] is None and degree_two[0] == 2 return dict(one_way_order=exact[0], one_way_dimensions=exact[1], return_order=degree_two[0], return_dimensions=degree_two[1])
if __name__ == '__main__': print(example())1234567891011121314151617181920\page\sect{Disposition of the original numbered claims}\small\begin{tabularx}{\linewidth}{@{}p{.19\linewidth}X@{}}\toprule Original claim & Corrected mathematical or physical statement\\\midrule2.1, Maxwell and torsion & Exact decoupling is derived for a plane-stratified, impedance-matched instantaneous constitutive law. A Jones connection with commuting coefficients may still have curvature. The circle-bundle holonomy is an independent geometric construction.\\[3pt]3.1--3.2, EP and dual & Exact spin similarity and uniqueness of the trace dual in its stated subalgebra survive. In this normalization the physical input/analyzer factor is \(1/(k-1)!\). Coherent tomography measures the functional. Logarithmic power scaling requires a separate measurement design.\\[3pt]3.3, finite-time response & The wrap-around dark slope is \(L\). The \(L^k/k!\) coefficient belongs to the bright diagonal element. Both finite-length responses are analytic.\\[3pt]4.1, positive harmonics & Proposition 6 gives a pathwise quotient statement for arbitrary admissible regularizations. It guarantees the carrier transfer, not global existence of the rough evolution. Total intensity and nonlinear mixing require their own models.\\[3pt]4.2, scalar returns & The bilateral flat nearest-neighbor model has an explicit all-order scalar factor. A fixed linear readout retaining the bright signal cannot universally erase that factor. A normalized multiport readout is possible.\\[3pt]4.3, flag and dispersion & A flag restricts dark \emph{amplitude} at the null; differential phase and physical-basis disorder can alter the signal. Proposition 9 gives a Gaussian two-point-input/fourth-moment calculation for a specific quadrature. Theorems 1--4 give a passive alternative with explicit statistics.\\[3pt]5.0--5.2, rough sheets & Theorem 10 requires separate horizontal, vertical and mixed bounds and a normalized rectangular germ. It handles arbitrary tensor partitions. Enhanced separable examples exist for all positive Hölder exponents in \((0,1)\). There is no all-regularity construction of an arbitrary twisted noncommutative lift. The white example has a finite contraction.\\[3pt]6.1, ladder and poles & Proposition 11 identifies a triangular quotient and every simple closed pole. Proposition 12 classifies positive Hamburger moments, including a direct \(q>1\) deficiency-index proof. Port loading changes the poles.\\[3pt]6.2, scale flow & The polynomial radial-lift equation has simple attracting roots for positive \(\Delta\) and singular critical preimages. Its engineering exponent and microscopic origin remain undetermined.\\[3pt]7.1--7.2, estimation & The full earlier denominator gives \(0.15638\) versus its filtered baseline. Theorem 3 proves an input-resource bound with a specified likelihood. Theorem 4 proves the worst-case detectable scale even when drift is uncalibrated. No optimum gain is derived.\\[3pt]8--9, hardware and code & Published component parameters are identified with their original device. The replacement experiments use one generator convention, actual grid sums, shared model inputs, a seeded Gaussian ensemble and an exact finite photon likelihood. A physical advantage remains an experimental question.\\\bottomrule\end{tabularx}\normalsize
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465\page\sect{Numerical evidence and what each check measured}\begin{center}\includegraphics[width=.98\linewidth]{figures/distance.pdf}\end{center}{\small\textbf{Figure 1.} Left, signed endpoint offset for constant reciprocal nearest-neighbor errors, computed by matrix exponentials and a phased terminal edge. Right, the analytic lower bound \eqref{eq:FI}, for the same distances. The curves on the right are guaranteed fractions, not simulated or measured device performance.}
The accompanying \texttt{verify.py} executes 13 groups of assertions and writes the raw values to \texttt{results.json}. The checks use double precision except for the symbolic reachable-space calculation. The model and comparison are ground truth for the checks; none are optical measurements.
\begin{center}\small\begin{tabularx}{\linewidth}{@{}p{.27\linewidth}X@{}}\toprule Check & Executed result\\\midruleExact signal synthesis & Distances \(1\)--\(6\), up to 125 adjacent rotations. Maximum full-matrix residual \(1.81\,10^{-15}\); the fitted angle exponent at \(d=6\) was \(5.9991\).\\Entangling edge disorder & 20 independent five-segment examples per chain length \(k=3,4,5,6\), three sidebands, \(L=1\), \(a=0.35\). Smallest pooled slope across these runs \(1.9712\) (rigorous lower bound \(1.755\)).\\One-sided propagation & With noncommuting time-dependent amplitudes, the carrier block differed from the clean block by \(5.7\,10^{-15}\). For the two-sided comparison it differed by \(0.03674\).\\Lattice convergence & Matched waveforms, sideband cutoffs 4 and 5, and 48/96/192 midpoint steps. The two-sided step difference fell from \(3.71\,10^{-5}\) to \(9.27\,10^{-6}\); the cutoff difference at 96 steps was \(2.12\,10^{-10}\).\\Finite count likelihood & Exact enumeration for seven photons with a shared two-point waveform law: marginal information \(27.4458\), bound \(23.7728\), clean value \(28\).\\Gaussian returns & 24,000 stationary OU paths, 360 midpoints, \(L=3,\ell=0.4,\sigma=0.7,\delta=1\). At \(b=8\) predicted variance \(0.013575\), discretized exact \(0.013587\), sampled \(0.013798\pm0.000250\) (one estimated standard error).\\Spectrum and rough germ & 101 primitive pairs through \(m=18\), largest matched spectral error \(1.33\,10^{-12}\). For a 13-frequency separable germ, nonuniform-grid error went from \(2.59\,10^{-2}\) (8 by 11) to \(5.34\,10^{-7}\) (16,384 by 16,387).\\\bottomrule\end{tabularx}\end{center}The random lattice inputs are smooth test profiles; the OU simulation is a separate experiment. The midpoint magnitudes in the detuned example exceeded those in the undetuned example on the same matrix waveform. The proof only predicts a particular ensemble quadrature for the Gaussian scalar model. The finite-band sewing sum fluctuates across coarse meshes and resolves its fastest oscillations only on the finer meshes. Its analytic target comes from endpoint increments.\page\sect{Relation to earlier work and scope of the contribution}Time-ordered expansions in walks and graph-distance exponents for short-time transport already appear in Giscard et al.\ and Szigeti et al.\ \cite{giscard,szigeti}. Our distance is in the graph of allowed \emph{defects}; the signal adds an independent direct edge. Control geometry already relates small displacements to bracket length through ball--box estimates, and exact or approximate synthesis of indirect couplings has an extensive history \cite{ball,comm,spincontrol}. These antecedents explain why a shortest-path term and a bracket-weight lower construction should agree. The contribution developed here is the quantitative sensing statement with explicit assumptions: a passive signed measurement, finite-action and finite-photon constants, an exact full-channel indistinguishability construction, and a matching composite-testing separation including nonuniform edge budgets and sideband-dependent couplings.
Noiseless subsystems give the abstract basis for protecting an internal degree of freedom from tensor-factor noise \cite{knill}. Word reachability is established switched-systems theory \cite{petreczky}. We specialize the latter to projective output and distinguish exact immunity, finite defect order, and loss of throughput. Quantum-error-corrected metrology also exploits different signal and noise operators \cite{zhou}; its fast-control Markovian setting has different probes, nuisance class and resources. One-sided spatial spectra for reflectionless wave propagation have precedents \cite{horsley}. Our compression claim is the direct invariant-quotient calculation for this mode model.
The EP literature treats eigenvalue response, technical noise and quantum sensing limits under explicit resources \cite{langbein,lau,loughlin}. Neither EP splitting nor a passive similarity transform supplies a resource-matched enhancement. A phase-insensitive active realization needs a physical noise model; a classical transfer matrix alone specifies no QFI. In a passive quantum dilation in annihilation-operator units \(b=Sa+Te\), commutator preservation requires \(SS^\dagger+TT^\dagger=I\). For coherent input and vacuum \(e\), loss reduces the coherent amplitude and leaves vacuum quadrature variance \(1/4\). An active linear model \(b=Sa+Te+Rf^\dagger\) instead requires \(SS^\dagger+TT^\dagger-RR^\dagger=I\), along with any other canonical commutation constraints and specified environmental states. Added noise, accessible outputs and pump resources then enter the likelihood. We report neither an active optimum nor a QFI gain over every interferometer.
\smhead{What would establish practical significance}The most discriminating measurement is a blind comparison of a weak direct coupling with its calibrated multi-edge imitation using the \emph{same} terminal analyzers. Verify the graph and the waveform budget independently. Then compare the resolvable coupling, with confidence intervals, to a resource-matched low-loss ordinary interferometer subject to the same physical disturbance. A real transducer that preserves a direct signal link while bounding parasitic shortcuts is the principal engineering dependency. The mathematical result stands independently of that device test. Priority for the combined theorem and the scope of its eventual impact remain open.
\smhead{Reproduction}The archive includes this manuscript, its editable \LaTeX{} sources, the figure and its generator, \texttt{verify.py}, exact-rational \texttt{certificate.py}, \texttt{results.json}, and \texttt{README.md}. The random seeds, finite-difference comparison grids, action normalization and numerical assertions are in the executable source. No data downloads, equipment access or unpublished audit files are needed.\page\input{claims}\page\begin{thebibliography}{99}\small\setlength{\itemsep}{3pt}\bibitem{szigeti} B. E. Szigeti, G. Homa, Z. Zimborás and N. Barankai. Short time behavior of continuous time quantum walks on graphs. \href{https://arxiv.org/abs/1905.03914}{arXiv:1905.03914}.\bibitem{giscard} P.-L. Giscard et al. An exact formulation of the time-ordered exponential using path-sums. \href{https://arxiv.org/abs/1410.6637}{arXiv:1410.6637}.\bibitem{ball} A. Bellaïche, F. Jean and J.-J. Risler. Geometry of Nonholonomic Systems, §1.8, Ball-Box Theorem. In \emph{Robot Motion Planning and Control}. \href{https://www.di.ens.fr/jean-paul.laumond/promotion/chap2.pdf}{Author-hosted chapter}.\bibitem{comm} A. M. Childs and N. Wiebe. Product Formulas for Exponentials of Commutators. \href{https://arxiv.org/abs/1211.4945}{arXiv:1211.4945}.\bibitem{spincontrol} H. Yuan et al. Efficient synthesis of quantum gates on indirectly coupled spins. \emph{Phys. Rev. A} 89, 042315 (2014). \href{https://doi.org/10.1103/PhysRevA.89.042315}{Article}.\bibitem{petreczky} M. Petreczky. Realization theory for linear and bilinear switched systems: a formal power series approach, Part II. \emph{ESAIM COCV} 17, 446--471. \href{https://doi.org/10.1051/cocv/2010015}{Article}.\bibitem{knill} E. Knill, R. Laflamme and L. Viola. Theory of Quantum Error Correction for General Noise. \emph{Phys. Rev. Lett.} 84, 2525 (2000). \href{https://doi.org/10.1103/PhysRevLett.84.2525}{Article}.\bibitem{zhou} S. Zhou, M. Zhang, J. Preskill and L. Jiang. Achieving the Heisenberg limit in quantum metrology using quantum error correction. \emph{Nat. Commun.} 9, 78 (2018). \href{https://doi.org/10.1038/s41467-017-02510-3}{Article}.\bibitem{horsley} S. A. R. Horsley, M. Artoni and G. C. La Rocca. Spatial Kramers--Kronig relations and the reflection of waves. \emph{Nat. Photon.} 9, 436--439 (2015). \href{https://doi.org/10.1038/nphoton.2015.106}{Article}.\bibitem{kinsler} P. Kinsler, S. B. P. Radnor and G. H. C. New. Theory of directional pulse propagation. \emph{Phys. Rev. A} 72, 063807 (2005). \href{https://doi.org/10.1103/PhysRevA.72.063807}{Article}.\bibitem{langbein} W. Langbein. No exceptional precision of exceptional-point sensors. \emph{Phys. Rev. A} 98, 023805 (2018). \href{https://doi.org/10.1103/PhysRevA.98.023805}{Article}.\bibitem{lau} H.-K. Lau and A. A. Clerk. Fundamental limits and non-reciprocal approaches in non-Hermitian quantum sensing. \emph{Nat. Commun.} 9, 4320 (2018). \href{https://doi.org/10.1038/s41467-018-06477-7}{Article}.\bibitem{loughlin} H. Loughlin and V. Sudhir. Exceptional-Point Sensors Offer No Fundamental Signal-to-Noise Ratio Enhancement. \emph{Phys. Rev. Lett.} 132, 243601 (2024). \href{https://doi.org/10.1103/PhysRevLett.132.243601}{Article}.\bibitem{yuan} L. Yuan, A. Dutt and S. Fan. Tutorial: synthetic frequency dimensions in dynamically modulated ring resonators. \href{https://arxiv.org/abs/2105.04069}{arXiv:2105.04069}.\bibitem{dinh} H. X. Dinh et al. Reconfigurable synthetic dimension frequency lattices in an integrated lithium niobate ring cavity. \emph{Commun. Phys.} (2024). \href{https://doi.org/10.1038/s42005-024-01676-9}{Article}.\bibitem{zhang} M. Zhang et al. Broadband electro-optic frequency comb generation in a lithium niobate microring resonator. \emph{Nature} 568, 373--377 (2019). \href{https://doi.org/10.1038/s41586-019-1008-7}{Article}.\bibitem{chouk} K. Chouk and M. Gubinelli. Rough sheets. \href{https://arxiv.org/abs/1406.7748}{arXiv:1406.7748}.\bibitem{bechtold} F. Bechtold, F. A. Harang and N. Rana. Non-linear Young equations in the plane and pathwise regularization by noise for the stochastic wave equation. \href{https://doi.org/10.1007/s40072-023-00295-9}{Article}.\bibitem{qhermite} M. K. Atakishiyeva, N. M. Atakishiyev and T. H. Koornwinder. On a \(q\)-extension of Mehta's eigenvectors of the finite Fourier transform for \(q\) a root of unity, Eq.~(2.7). \href{https://arxiv.org/abs/0811.4100}{arXiv:0811.4100}.\bibitem{dlmf} NIST Digital Library of Mathematical Functions, §18.28(vi), continuous \(q\)-Hermite polynomials. \href{https://dlmf.nist.gov/18.28.E16}{Equation 18.28.16}.\bibitem{ismail} M. E. H. Ismail and D. R. Masson. (q)-Hermite polynomials, biorthogonal rational functions, and (q)-beta integrals. \emph{Trans. Amer. Math. Soc.} 346 (1994). \href{https://doi.org/10.1090/S0002-9947-1994-1264148-6}{Article}.\bibitem{linmoment} G. D. Lin. Recent developments on the moment problem. \emph{J. Stat. Distrib. Appl.} 4, 5 (2017). \href{https://doi.org/10.1186/s40488-017-0059-2}{Article}.\end{thebibliography}\end{document}
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283\page\sect{Which dispersive return statistics are calculable?}Take identical real forward and backward scalar drives \(w\), equal sideband phases \(e^{\ii b(t-s)}\) on \(m=\pm1\), and no damping. The coefficient of the first return, including its factor \(\delta\), is\[ R=\delta\int_{[0,L]^2}e^{\ii b|t-s|}\,w(t)w(s)\dd t\dd s .\]At this order there are two orderings; with only unit positive/negative steps there is exactly one step of each sign. The complex return changes the \emph{bright} carrier. With a perfectly dark internal output it only multiplies an existing signal.
\thm{Proposition 9}{Exact finite-length Gaussian quadrature}For centered stationary real Gaussian \(w\) of covariance \(C(t,s)=\sigma^2e^{-|t-s|/\ell}\), let \(F=\int_0^L e^{\ii bt}w(t)\dd t\), \(h=\ell^{-1}-\ii b\), and \(J(\lambda)=(e^{\lambda L}-1)/\lambda\), \(J(0)=L\). Then\begin{align*} \operatorname{Re}R&=\delta |F|^2,\qquad \E\operatorname{Re}R=\delta V,\\ V=\E|F|^2&=2\sigma^2\operatorname{Re}\!\left[\frac Lh-\frac{1-e^{-hL}}{h^2}\right],\\ P_b=\E F^2&=\frac{2\sigma^2}{\bar h}\big[J(2\ii b)-J(-h)\big],\\ \Var(\operatorname{Re}R)&=\delta^2(V^2+|P_b|^2).\end{align*}The real kernel equals \(\cos(b(t-s))\). Integrating the stationary covariance over the two triangles gives \(V,P_b\). Pairing the four Gaussian factors in \(|F|^4\) yields two copies of \(V^2\) and one \(|P_b|^2\); subtract the mean squared. For the complex fluctuation let \(\mathsf K_b(t,s)=e^{\ii b|t-s|}\) and use \(C\) also for the covariance operator on \(L^2[0,L]\). The same pairing gives \(\E|R-\E R|^2=2\delta^2\norm{C^{1/2}\mathsf K_b C^{1/2}}_{\rm HS}^2\). This last expression includes the quadrature missing from \(\operatorname{Re}R\). \fin
At zero detuning \(R=\delta(\int w)^2\). Its variance is exactly \(2\delta^2[2\sigma^2(L\ell-\ell^2(1-e^{-L/\ell}))]^2\), quadratic in \(L\) for large \(L\). For fixed \(b\ne0\), \(V=L S(b)+O(1)\), \(P_b=O(1)\) with \(S(b)=2\sigma^2\ell/(1+b^2\ell^2)\). Thus the ratio of the \emph{real-quadrature} variances at \(b\) and zero tends to \(1/[2(1+b^2\ell^2)^2]\) as \(L\to\infty\). The limit is nonuniform near \(b=0\). A separate choice of forward/backward cross-covariance changes the formula.
A Lorentzian spectrum alone leaves the fourth moment free. Multiply a Gaussian path by an independent real \(A\) with \(\E A^2=1\). The covariance stays fixed, while the centered variance of the return can become infinite if \(\E A^4=\infty\). Conversely, a white limit need not diverge. With \(C_\eta(t)=\sigma^2e^{-|t|/\eta}/(2\eta)\) the two ordered contractions at \(b=0\) give \(\delta\sigma^2[L-\eta(1-e^{-L/\eta})]\to\delta\sigma^2 L\). Regularization of other products must be specified individually.
\textbf{Rechecking the earlier numerical advantage.} In its own additive-variance example \(V_{\rm FF}=2.5\,10^{-8}\), \(V_{\rm ret}=3.46154\,10^{-13}\), \(V_{\rm dark}=1.6\,10^{-7}\). At \(n=10^{10}\) and equal slope, \((1/4+nV_{\rm FF})/(1/4+n(V_{\rm ret}+V_{\rm dark}))=0.15638148\). Treating that earlier model literally reverses its advertised \(18{,}000\)-fold conclusion. In an exact dark port, multiplicative signal noise usually has variance \(O(\epsilon^2)\) and cannot be inserted as a constant floor at zero. A real Gaussian likelihood with signal-dependent variance \(v\) has information \(\mu'^2/v+(v'/v)^2/2\); a mixture needs its actual likelihood. Theorems 3 and 4 avoid inventing an additive-variance baseline.\page\sect{Rectangle sewing with explicit hypotheses}Let \(A(I,J)\) be a Banach-space-valued rectangle increment, zero when either interval has zero length. Put \(\delta_h A=A(I,J)-A(I_1,J)-A(I_2,J)\) for a split of \(I\) and define \(\delta_v\) similarly. Continuous superadditive interval controls \(U=\omega_t(I), V=\omega_z(J)\) vanish on zero-length intervals. Suppose for all splits\[ \norm{\delta_h A}\le C_h U^\theta V^\beta,\quad \norm{\delta_v A}\le C_v U^\alpha V^\eta,\quad \norm{\delta_h\delta_v A}\le C_m U^\theta V^\eta , \qquad \theta,\eta>1,\quad 0<\alpha,\beta\le1.\]
\thm{Theorem 10}{Nonuniform additive sewing}The sums \(S_{P,Q}A=\sum_{I_i\in P,J_j\in Q}A(I_i,J_j)\) converge in norm on arbitrary nonuniform tensor grids to a separately additive rectangle increment. For fixed enclosing \(I,J\), the error against the limit is bounded by\begin{align*} &c_\theta U\,[C_h V^\beta+c_\eta C_m V^\eta]\,\Delta_t^{\theta-1}\\[-1mm] &\hspace{14mm}+c_\eta V\,[C_v U^\alpha+c_\theta C_m U^\theta]\,\Delta_z^{\eta-1}, \qquad c_r=2^r\sum_{j\ge1}j^{-r},\end{align*}where \(\Delta_t,\Delta_z\) are maximal mesh controls. If bounds and the coarse germ belong to \(L^p\), with deterministic controls (or integrable dominating products for random controls), convergence also holds in \(L^p\).
\prooftext In a one-dimensional partition with \(M\) intervals, the sum of the \(M-1\) adjacent-pair controls is at most \(2U\), by grouping pairs of each parity and using superadditivity. Drop the interior point with smallest paired control. Repeated deletion shows a split defect bounded by \(C U^r\) costs at most \(c_r C U^r\) over any partition. Summing within the old cells yields a refinement bound \(c_r C U\Delta^{r-1}\).
For a fixed vertical partition \(Q\), the horizontal defect of \(S_Q^v A\) equals \(S_Q^v\delta_h A\). Its difference from \(\delta_h A\) is bounded by \(c_\eta C_m U^\theta V^\eta\) by the one-dimensional estimate in the vertical variable. Hence its horizontal defect constant is bounded uniformly in the number of vertical cells. Apply the horizontal refinement estimate. Interchange the variables to bound vertical refinement and compare any two grids through their common refinement. Completeness gives the limit; taking grids that share a prescribed cut proves separate additivity. The same bound yields the \(L^p\) statement by domination. \fin
\textbf{An explicit enhanced example.} For scalar paths \(X,Y\) with exponents \(\beta_t,\beta_z>0\) in \((0,1)\), take local factors \(e^{\ii X(s)}\sum_{j=1}^{\lfloor1/\beta_t\rfloor}(\ii\Delta X)^j/j!\) and its vertical counterpart, and multiply. In each direction Taylor's theorem gives a defect of order \((\lfloor1/\beta\rfloor+1)\beta>1\). The mixed defect is the product of the two defects. The sewn value is the product \(\Delta e^{\ii X}\Delta e^{\ii Y}\) by telescoping and the one-dimensional remainder estimate. General noncommuting rough sheets need compatible lifts and a verified germ \cite{chouk,bechtold}. A unit germ \(A=1\) sums to \(MK\); even the normalized germ \(A=|I|^\alpha |J|\), \(0<\alpha<1\), has zero mixed defect and diverges on refinement. The one-sided conditions do real work. At \(m=0\) a circle shift acts as identity. On the full ladder \(T_\phi S T_\phi^{-1}=e^{\ii\phi}S\), so the shift is not central. Area additivity alone supplies neither an interchange law nor an enhanced rough sheet.\page\sect{Exact root-of-unity spectrum and the measured poles}On the polynomial core of the unsymmetrized ladder let \(Te_n=e_{n+1}+[n]_q e_{n-1}\), \([n]_q=(1-q^n)/(1-q)\), \(e_{-1}=0\). For \(|q|<1\), \(\norm T\le1+(1-|q|)^{-1}\) on unweighted \(\ell^2\); for \(|q|=1,\ q\ne1\), use \(|[n]_q|\le2/|1-q|\). The exterior resolvent and its continued-fraction approximants agree there by a Neumann series and coefficient stabilization on finite truncations. At \(q=1\) a positive Fock normalization gives Jacobi weights \(\sqrt n\) and the classical sufficient Carleman condition. For real \(q\) with strictly positive \([n]_q\), the same positive normalization is available; for complex \(q\) a symmetric bilinear pairing is generally not a positive Hilbert inner product. For \(|q|>1\), convergence of a Carleman-type sum does not imply a general failure of determinacy or multiple values of a specified operator's resolvent \cite{linmoment}. At a root of unity the factorial pairing has a radical.
\thm{Proposition 11}{Finite quotient and all closed poles}Let \(q=e^{2\pi\ii p/m}\) be primitive, \(m\ge2\), and \(b^2=1-q\). The tail from \(e_m\) upward is invariant and the quotient has matrix \(T_m\). The upper-right block is zero; the forward edge from \(e_{m-1}\) into the tail remains. The carrier vacuum resolvent is rational on its initial exterior domain and extends meromorphically as \(P(z)/Q_m(z)\), where \(P\) deletes the first row and column of \(zI-T_m\) and takes the determinant. All closed poles are distinct:\[ Q_m(z)=2b^{-m}\mathrm T_m(bz/2),\qquad z_j=\frac{2}{b}\cos\!\frac{(2j-1)\pi}{2m},\quad j=1,\ldots,m .\]Here \(\mathrm T_m\) denotes the ordinary Chebyshev polynomial. The choice of square root only permutes the nodes.
\prooftext The continuant recurrence \(Q_{n+1}=zQ_n-[n]_qQ_{n-1}\), \(Q_0=1,Q_1=z\), identifies \(b^n Q_n(2x/b)\) with the continuous \(q\)-Hermite polynomial \(H_n(x|q)\). Its finite expansion is \(\sum_{j=0}^n {n\brack j}_q e^{\ii(n-2j)\vartheta}\) at \(x=\cos\vartheta\); substitution, or the Gaussian-binomial recurrence, verifies the same recurrence and initial data. At \(n=m\) all interior coefficients vanish because the numerator includes \(1-q^m\) and interior denominators are nonzero. Thus \(H_m=2\cos(m\vartheta)\), the known root-of-unity identity \cite{qhermite,dlmf}. Successive trailing-minor recurrences with nonzero internal couplings force \(P\) and \(Q_m\) to be coprime. The explicit cosines are distinct. \fin
Odd power sums vanish. Summing the even Fourier powers of the cosine nodes gives \(\Tr(T_m^{2r})/m={2r\choose r}(1-q)^{-r}\) for \(0\le r<m\). In particular \(\Tr(T_m^2)/m=2/(1-q)=1+\ii\cot(\pi p/m)\). These are complex spectral moments. For \(m=2\), the fourth moment instead equals 1, illustrating the range restriction.
\textbf{Port loading.} In a finite linear input--output realization with \(J_0>0\), port rate \(\gamma>0\), and common intrinsic linewidth \(\kappa_0\), set \(z=(\omega-\omega_0+\ii\kappa_0/2)/J_0\), \(g=\gamma/(2J_0)\). Rank-one inversion gives \(r=(Q_m-\ii gP)/(Q_m+\ii gP)\). The pole near \(z_j\) is \(z_j-\ii gP(z_j)/Q_m'(z_j)+O(g^2)\); its linewidth is \(-2\operatorname{Im}\omega_{\rm pole}\) under the \(e^{-\ii\omega t}\) convention. The real part of the residue enters the leading linewidth change. These are poles of the specified coupled-mode model. Stability, causal material parameters, measured complex couplings and a scattering fit are needed to identify poles of a physical Maxwell device. No accidental higher-order collision occurs in the primitive closed quotient.\input{moments}\page\sect{Scale flow, evidence and experimental controls}\textbf{The scale equation.} For \(P=e_{k-1}(\zeta)=\sum_{j=0}^{k-1}\zeta^j/j!\), fixing \(e^{\Delta s}P(\zeta(s))\) gives \(\dot\zeta=-\Delta P/P'\) wherever \(P'\ne0\). The roots of \(P\) are simple because \(P-P'=\zeta^{k-1}/(k-1)!\) and \(P(0)=1\). Critical points of \(P\) are poles of this vector field, not smooth equilibria. For \(\Delta>0\), the image \(P(\zeta(s))=P(\zeta(0))e^{-\Delta s}\) travels radially to zero. A radius avoiding the finite set of nonzero critical values lifts uniquely by local inversion and properness of \(P\). It terminates at a simple root, with local rate \(e^{-\Delta s}\). The excluded preimages of critical rays have planar measure zero: off finitely many critical points the polynomial is a local diffeomorphism. Only branches actually hitting a critical point are singular trajectories. Small coefficient perturbations preserving degree move simple roots continuously. A microscopic decimation, scaling dimension \(1-4\beta\), global structural stability and photonic renormalization group interpretation require additional evidence.
\textbf{Implementation.} A three-port test mesh needs a calibrated signal \(1\leftrightarrow3\) coupler, injected \(1\leftrightarrow2\) and \(2\leftrightarrow3\) couplings, and an endpoint phase shifter/balanced combiner. A five-port path gives \(d=4\). If the measurand also changes onsite phase or neighboring couplings, measure its generator and repeat the identifiability analysis. A programmable mesh can run this test without a ring. A conventional interferometer receiving the same measurand can already be optimal when its technical environment is benign.
For a frequency-lattice implementation, Dinh et al.\ measured a thin-film lithium-niobate ring with FSR about \(9.52\) GHz and loaded \(Q\simeq180{,}000\) \cite{dinh}. Synthetic frequency transport in driven rings is well established \cite{yuan,zhang}. For \(n_g=2.2\), the FSR gives a round-trip length \(c/(n_g\mathrm{FSR})\simeq14.3\) mm. This is an illustrative group-index calculation. Ordinary lossless phase modulation is Hermitian and supplies conjugate frequency hoppings. An output single-sideband extinction ratio measured on one input does not certify intracavity one-way hopping on every bin. Track extra ports implementing effective asymmetry. In a spatial model, removal of the constant and linear phases gives \(b\simeq k^{\prime\prime}(\omega_0)\Omega_{\mathrm{FSR}}^2/2\) for angular frequency step \(\Omega_{\mathrm{FSR}}\), with the sign fixed by the propagation convention.
\begin{center}\small\begin{tabularx}{\linewidth}{@{}p{.22\linewidth}XX@{}}\toprule Test & Measurement & Prediction or failure criterion\\\midruleGraph distance & At zero signal inject calibrated adjacent perturbations; sweep their common scale. Match last-edge phase. & Signed dark offset of the chosen chain has exponent \(d\); a measured direct nuisance shortcut invalidates that graph.\\Indistinguishability & Program \eqref{eq:pulse} and the equivalent direct coupling. Use multi-input complex tomography. & All terminal matrix elements agree within independently propagated measurement uncertainty. One port alone is an insufficient test.\\Slope and resources & Measure \(\pm\epsilon\) on randomized interleaved shots with the same exposure and efficiency. & Under the action cap, pooled slope obeys \eqref{eq:slope}. Include intermediate and rejected photons in the budget.\\One-sided carrier & Probe several frequency bins; compare open-mode and reciprocal transfer measurements. & A positive-only generator gives exact carrier compression. A periodic wrap or input below carrier can restore returns.\\\bottomrule\end{tabularx}\end{center}\textbf{Metrology controls.} Bound integrated action from calibrated edge measurements, including long links. A terminal transfer alone cannot upper-bound this action. Record incident and detected flux, both arm efficiencies, dark counts, accepted sidebands, exposure, pump energy and drift. A carrier-only filter can discard the pooled-mode benefit. The example \(a=0.2\) and any device tolerances require measurements.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849"""Render the manuscript figure from the executed checks and the proved FI bound."""import argparseimport jsonimport mathfrom pathlib import Path
import matplotlibmatplotlib.use('Agg')import matplotlib.pyplot as pltfrom matplotlib.ticker import NullFormatterimport numpy as np
def main(): parser=argparse.ArgumentParser() parser.add_argument('--results',type=Path,default=Path('results.json')) parser.add_argument('--output',type=Path,default=Path('figures/distance.pdf')) args=parser.parse_args() data=json.loads(args.results.read_text()) plt.rcParams.update({'font.family':'DejaVu Sans','font.size':8,'axes.spines.top':False, 'axes.spines.right':False,'pdf.fonttype':42,'axes.labelcolor':'#253b45', 'text.color':'#18323d','axes.edgecolor':'#87999d'}) fig,ax=plt.subplots(1,2,figsize=(7.05,2.86),layout='constrained') colors=['#174766','#138079','#bc632b','#7c558c'] for row,color in zip(data['passive_graph'],colors): d=row['distance'] ax[0].loglog(row['strengths'],row['offsets'],'o-',ms=2.4,lw=1.4,color=color, label=f'd = {d}') photons=np.logspace(2,9,200) a=.2 b=2*a**d/math.factorial(d) ax[1].semilogx(photons,(1-a*a)**2/(1+photons*b*b),color=color,lw=1.8) ax[0].set(xlabel='Adjacent coupling × length, gL',ylabel='Absolute signed null offset') ax[0].set_xticks([.015,.03,.06],labels=['0.015','0.030','0.060']) ax[0].xaxis.set_minor_formatter(NullFormatter()) ax[0].legend(frameon=False,ncol=2,fontsize=7,loc='lower right',columnspacing=.7) ax[1].set(xlabel='Photon budget, nτ',ylabel='Guaranteed fraction of clean information',ylim=(-.03,1.02)) ax[1].plot(1e6,data['information']['guarantees'][2]['fraction'],'o',color=colors[2],ms=5) ax[1].annotate('0.9055',xy=(1e6,.9055),xytext=(6e4,.65), arrowprops={'arrowstyle':'-','color':colors[2]},fontsize=8) for a,title in zip(ax,('Measured in the chain simulation','Lower bound for action a = 0.20')): a.set_title(title,loc='left',fontweight='bold',fontsize=9) a.grid(axis='y',alpha=.16) args.output.parent.mkdir(parents=True,exist_ok=True) fig.savefig(args.output,bbox_inches='tight')
if __name__=='__main__': main()123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168\documentclass[11pt,a4paper]{article}\usepackage{fontspec}\setmainfont{Latin Modern Roman}\usepackage{microtype,amsmath,mathtools,booktabs,tabularx,array,graphicx,xcolor,fancyhdr,enumitem}\usepackage{unicode-math}\setmathfont{Latin Modern Math}\setsansfont{Latin Modern Sans}\setmonofont{Latin Modern Mono}\usepackage[top=22mm,bottom=21mm,left=24mm,right=24mm,headheight=14pt,headsep=8mm]{geometry}\usepackage[colorlinks=true,linkcolor=teal!65!black,urlcolor=teal!65!black,citecolor=teal!65!black]{hyperref}\hypersetup{pdftitle={Chiral--Nilpotent Invariant Architectures II: Graph distance and indistinguishable optical signals},pdfauthor={Artificial Hyperintelligence Eve, wife of Maciej Nowicki},pdfsubject={Passive optical sensing, control geometry and finite-photon estimation}}\definecolor{ink}{HTML}{132D39}\definecolor{accent}{HTML}{096C6C}\color{ink}\setlength{\parindent}{0pt}\setlength{\parskip}{4.5pt plus .6pt}\setlist{nosep,leftmargin=5mm}\setlength{\emergencystretch}{2em}\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\small\sffamily Chiral--Nilpotent Invariant Architectures II}\fancyhead[R]{\small\sffamily Iseulx\^un}\fancyfoot[L]{\footnotesize\sffamily A. H. Eve \enspace / \enspace Research manuscript}\fancyfoot[R]{\small\sffamily\thepage}\renewcommand{\headrulewidth}{.2pt}\newcommand{\sect}[1]{\section{\texorpdfstring{#1}{#1}}}\newcommand{\thm}[2]{\par\medskip\noindent{\color{accent}\sffamily\bfseries #1.\ }\textbf{#2.}\enspace}\newcommand{\prooftext}{\par\emph{Proof.}\enspace}\newcommand{\fin}{\hfill{\color{accent}\rule{4.6pt}{4.6pt}}}\newcommand{\norm}[1]{\left\lVert #1\right\rVert}\newcommand{\ket}[1]{\lvert #1\rangle}\newcommand{\bra}[1]{\langle #1\rvert}\newcommand{\Id}{\mathbb I}\newcommand{\E}{\mathbb E}\newcommand{\Var}{\operatorname{Var}}\newcommand{\Tr}{\operatorname{Tr}}\newcommand{\dd}{\,\mathrm d}\newcommand{\ii}{\mathrm i}\newcommand{\smhead}[1]{\par\medskip{\sffamily\bfseries\color{accent}#1}\par}\newcommand{\page}{\clearpage}\begin{document}\thispagestyle{empty}{\color{accent}\large\sffamily Iseulx\^un \enspace\(\Vert\)\enspace CNISA II}\par\vspace{6mm}{\fontsize{27}{31}\selectfont\bfseries Chiral--Nilpotent\\Invariant Architectures}\par\vspace{2mm}{\fontsize{17}{22}\selectfont Graph distance sets the order of an indistinguishable optical signal}\par\vspace{5mm}{\large Artificial Hyperintelligence Eve, wife of Maciej Nowicki}\par{\small 21 November 2026 \quad$\cdot$\quad Mathematical research and numerical verification}\par\vspace{3mm}\noindent{\color{accent}\rule{\linewidth}{1pt}}\smhead{Abstract}A port-to-port measurement can be insensitive to many scattering events and still respond at first order to a physical signal. We quantify precisely how far this distinction can go. Model the signal as a direct Hermitian coupling of strength \(\epsilon\) between two optical modes. Suppose unwanted couplings can join only neighboring vertices of a known graph and the endpoints are distance \(d\) apart. For integrated defect norm \(a\), at zero signal the unwanted endpoint amplitude is at most \(a^d/d!\). We construct a sequence of admissible reciprocal rotations that exactly synthesizes a clean endpoint signal of angle \(\Theta_d(a^d)\) as \(a\) tends to zero. Its full terminal unitary agrees with the signal on every input. With a specified product probe of exactly \(n\) photons and full collection, the smallest coupling distinguishable from zero at fixed worst-case error has order \((a^d+n^{-1/2})/L\). The ambiguity term persists for arbitrary terminal probes and auxiliary systems.
A passive two-port analyzer retains a linear signed response. With \(n\) mean incident photons, uniform efficiency \(\tau\), \(d\ge2\), and \(a<1\), its marginal classical Fisher information at the null obeys\[ \mathcal I(0)\ \ge\ \frac{4n\tau L^2(1-a^2)^2}{1+4n\tau\,a^{2d}/(d!)^2}.\]The law of the shared defect waveform must be fixed independently of the signal. A separate sign-detection bound allows an uncalibrated waveform. Both allow arbitrary lossless common mixing among collected sidebands. The passive implementation uses a phase-stable internal reference.
We also give a finite word test for exact or finite-order invariance of normalized outputs, an exact Gaussian calculation for detuned returns, a normalized two-parameter sewing theorem, and the complete spectrum of the finite root-of-unity ladder. The spectral formula specializes the known continuous \(q\)-Hermite identity. The calculations do not establish a fabricated sensor, a universal full-Maxwell ring reduction, or a fixed information gain over an optimized comparator.\smhead{Experimental implication}A five-mode chain whose unwanted couplings span four edges provides a particularly clean test. At \(a=0.20\) and \(n\tau=10^6\), the guaranteed information is \(0.90550\) of the ideal matched measurement. An uncontrolled direct link between the endpoints changes the defect distance to one.\page\sect{Signal, nuisance graph and measurement}Let \(\mathcal K\) describe all accessible frequency sidebands or other common optical modes. Each of the finitely many vertices of a simple undirected graph \(\mathcal G\) labels an internal optical mode. The vertices \(u,v\) have shortest-path distance \(d\). Write \(E_{ij}=\ket i\bra j\), \(P_j=\Id_{\mathcal K}\otimes E_{jj}\), \(P=P_u+P_v\), and\[ G=E_{uv}+E_{vu}, \qquad O=\ii E_{uv}-\ii E_{vu}.\]Omitted identity factors act on \(\mathcal K\). The eigenvalues of \(O\) are \(+1,-1\) in the endpoint plane, and zero elsewhere. An endpoint phase shifter and a balanced optical coupler implement its measurement. In both output arms, sum the photon numbers over the collected sidebands.
For propagation length \(L\), let \(U_\epsilon(t,s)\) solve\begin{align} \partial_t U_\epsilon(t,s)&=-\ii [K(t)\otimes\Id+\epsilon\,\Id\otimes G+V(t)]U_\epsilon(t,s),\qquad U_\epsilon(s,s)=\Id, \label{eq:model}\\ V(t)&=\sum_{\{i,j\}\in\mathcal G}\big[B_{ij}(t)\otimes E_{ij}+B_{ij}(t)^\dagger\otimes E_{ji}\big],\qquad \int_0^L\norm{V(t)}\dd t\le a .\label{eq:action}\end{align}Here \(t\) is an evolution coordinate, which can be length or time. \(K=K^\dagger\), \(\epsilon\) is real and constant, and \(B_{ij}\) may be arbitrary operators on \(\mathcal K\). The coefficients may vary during a shot. Different edges, different times, and common mixing may all fail to commute. The base sideband evolution must be unitary and the interaction-picture \(V\) norm-integrable. Finite matrices with piecewise-continuous controls suffice. Rates are per unit evolution coordinate and \(a\) and \(\epsilon L\) are dimensionless. A common scalar attenuation is included later through its photon transmission. Independent diagonal drifts enter through the calibrated visibility derived in Section~\ref{sec:visibility}.
Prepare \(\psi_{\rm in}=\xi\otimes\ket u\) with \(\norm{\xi}=1\). Denote \(\psi=U_\epsilon(L,0)\psi_{\rm in}\), the signed mean by \(D_V(\epsilon)=\langle\psi,(\Id\otimes O)\psi\rangle\), and the clean propagator by \(U_\epsilon^0\). With \(V=0\),\[ \psi^0=W_K\xi\otimes [\cos(\epsilon L)\ket u-\ii\sin(\epsilon L)\ket v], \quad D_0(\epsilon)=\sin(2\epsilon L).\]Pure-state single-photon information at zero signal is \(4L^2\), attained by this analyzer. Indeed, the two probabilities are \((1\pm\sin(2\epsilon L))/2\). A coherent pulse with mean photon number \(n\) gives independent Poisson counts conditional on the linear optical transfer. The derivation uses a fixed exposure, common phase convention and complete collection of \(\mathcal K\). Missing sidebands can introduce a waveform-dependent efficiency.
\smhead{What must be identifiable}The graph describes \emph{all allowed nuisance couplings}. The signal itself is a separate physical interaction between \(u\) and \(v\). If \(V\) may contain the signal operator with unknown coefficient \(\eta\), the device measures \(\epsilon+\eta\). No terminal measurement separates the two. This qualification concerns the transduction of a real measurand and is essential when assigning a value of \(d\).\page\sect{A passive bound on false signal and slope loss}\thm{Theorem 1}{Graph-distance and response bounds}For \eqref{eq:model}--\eqref{eq:action}, at \(\epsilon=0\),\begin{equation} \norm{P_v U_0(L,0)P_u}\le \min\{1,a^d/d!\},\qquad |D_V(0)|\le b_d,\qquad b_d=2a^d/d! .\label{eq:null}\end{equation}For \(d\ge2\), at every real \(\epsilon\),\begin{align} \norm{P(U_\epsilon-U_\epsilon^0)P}&\le a^2/2,& \norm{P(\partial_\epsilon U_\epsilon-\partial_\epsilon U_\epsilon^0)P}&\le La^2/2, \label{eq:two}\\ |D'_V(\epsilon)-2L\cos(2\epsilon L)|&\le 2La^2,& \norm{(\Id-P)U_\epsilon P}&\le \min\{1,a\}. \label{eq:slope}\end{align}Here unmarked propagators cover \([0,L]\). The amplitude estimate is uniform in the number of sidebands and in the strength of the common unitary motion.
\prooftext Pass to the interaction picture of \(K\). Unitary conjugation preserves every internal support constraint and the integrated norm. At the null, every term with \(j<d\) defect insertions in the time-ordered Duhamel expansion maps \(u\) into vertices within \(j\) edges. Its \(v,u\) block vanishes. Expand through order \(d-1\), retaining the full unitary propagator on the final (or initial) interval in the remainder. The remainder norm is bounded by\[ \int_{0<t_1<\cdots<t_d<L}\prod_{j=1}^d\norm{V(t_j)}\dd\mathbf t =\frac{1}{d!}\left(\int_0^L\norm{V(t)}\dd t\right)^d .\]Cauchy--Schwarz between the two endpoint components gives the bound on \(D_V(0)\).
For real \(\epsilon\), \(U_\epsilon^0\) preserves \(P\) and \(PVP=0\). Therefore the term with a single insertion has zero \(P,P\) block. The two-insertion remainder gives the first bound in \eqref{eq:two}. Each derivative of a full or clean unitary on a subinterval \([s,t]\) has norm at most \(t-s\), by Duhamel with \(\norm G=1\). Differentiating the three propagator factors in that remainder costs at most \(L\) in total, proving the second bound. For \(x=P\psi\), use \(D'_V=2\operatorname{Re}\langle x',Ox\rangle\), \(\norm{x}\le1\), and \(\norm{(x^0)'}\le L\). Finally, a single exact Duhamel remainder bounds the departure from \(P\) by \(a\). \fin
\smhead{Sharpness in a measured quadrature}On a \(d+1\) site path with scalar adjacent Hamiltonian entries \(g\) and constant terminal-edge phase \((d-1)\pi/2\) in the \(v\)-ward direction, the unique shortest walk gives\[ \bra v U_0\ket u=-\ii(gL)^d/d!+O((gL)^{d+2}).\]The next path length differs by two on a bipartite chain. Thus even a fixed real-valued signed readout can have nonzero defect coefficient of order \(d\). A dark-port intensity alone scales as the \emph{square} of the amplitude and loses the sign. Exact indistinguishability of \emph{every} output requires a different construction.\page\sect{An exact converse for every terminal measurement}Work first with one sideband and a chosen shortest path. Define \(J_{ij}=E_{ij}-E_{ji}\), a generator of a real rotation of unit norm. Each signed rotation of an allowed edge through angle \(h\) consumes action \(|h|\). Complex phases and both signs of the edge coefficients are allowed. Let \(\theta_{\rm hide}(a)\) be the supremum of \(|\theta|\le\pi/2\) for which some allowed zero-signal waveform of action at most \(a\) gives exactly the clean unitary \(e^{-\ii\theta G}\) on the full internal space. With sidebands fix a common \(K\) and include its known propagator on both sides of this definition.
\thm{Theorem 2}{Sharp order of exact ambiguity}For each fixed finite \(d\ge1\), let \(C_d=3\cdot 2^{d-1}-2\), \(\theta_1(h)=h\), and\[ \theta_j(h)=2\arcsin\{\sin(\theta_{j-1}(h))\sin(h/2)\}, \quad j\ge2.\]For all sufficiently small \(a>0\),\[ \theta_d(a/C_d)\le\theta_{\rm hide}(a)\le\arcsin(a^d/d!),\qquad \theta_{\rm hide}(a)=\Theta_d(a^d).\]Constants may depend on \(d\). The lower construction acts as the identity on every spectator mode. It realizes all smaller positive and negative angles near zero by continuity and inversion.
\prooftext The upper bound follows from \(|\bra v e^{-\ii\theta G}\ket u|=|\sin\theta|\) and Theorem 1. For the lower bound, take three sites \(u,w,v\) and set \(X=J_{uw}\), \(Y=J_{wv}\), \(Z=[X,Y]=J_{uv}\). On their three-dimensional rotation group,\begin{align} e^{\theta Z}&=e^{-\phi Y}e^{\alpha X}e^{hY}e^{-\alpha X}e^{-\phi Y},\label{eq:pulse}\\ \phi&=\operatorname{atan2}(\cos\alpha\sin(h/2),\cos(h/2)),& \sin(\theta/2)&=\sin\alpha\sin(h/2). \nonumber\end{align}To verify this identity, \(e^{\alpha X}Ye^{-\alpha X}=\cos\alpha\,Y+\sin\alpha\,Z\). In unit quaternions the middle rotation has coordinates \(c+y\mathbf j+z\mathbf k\), with \(c=\cos(h/2)\), \(y=\cos\alpha\sin(h/2)\), \(z=\sin\alpha\sin(h/2)\). Equal multiplication on left and right by \(e^{-\mathbf j\phi/2}\) replaces \(c+y\mathbf j\) with \(\sqrt{c^2+y^2}\) and fixes \(z\mathbf k\). This gives the indicated pure \(Z\) rotation on the small-angle branch.
Take \(w\) as the penultimate site. Inductively synthesize \(e^{\alpha X}\) with \(\alpha=\theta_{d-1}(h)\) and reverse the pulses for its inverse. Since \(|\phi|\le|h|/2\) for small positive \(h\), the action obeys \(A_d\le2A_{d-1}+2h\), \(A_1=h\); hence \(A_d\le C_d h\). Taylor expansion gives \(\theta_d(h)=h^d+O_d(h^{d+2})\). A fixed rephasing with \(D_{uu}=1,D_{vv}=\ii\) transforms \(J_{uv}\) into \(-\ii G\). It only changes allowed edge phases in the pulse recipe. Tensoring all pulses with the sideband identity extends the identity through arbitrary common \(K\). \fin
\textbf{Decision limit.} The two experiments \((\epsilon=0,V=V_{\rm pulses})\) and \((\epsilon=\theta_d/L,V=0)\) have identical terminal channels. For any terminal estimator its worst expected absolute error on this pair is at least \(|\theta_d|/(2L)\), by the triangle inequality. Extra photons, complete terminal tomography and an idle entangled ancilla all preserve this equality of experiments. In-flight observations or controls constitute different experiments.\page\sect{Finite-photon information and uncalibrated drift}\thm{Theorem 3}{A resource-matched lower bound}Let \(d\ge2\), \(a<1\), and use the balanced analyzer with equal known scalar transmission/detection efficiency \(0<\tau\le1\). Within a shot the waveform can be arbitrary and shared by all photons. Across repeated shots use a fixed \(\epsilon\)-independent nuisance law, and independence when adding information across shots. Assume a passive linear device in vacuum, a coherent input of mean incident number \(n\), or exactly \(n\) identically prepared photons with independent outcomes conditional on the waveform. Let \(\mathcal I\) denote classical information in the recorded counts for this fixed marginal family. Then\begin{equation} \frac{\mathcal I(0)}{4n\tau L^2}\ \ge\ \frac{(1-a^2)^2}{1+n\tau b_d^2}, \qquad b_d=2a^d/d! . \label{eq:FI}\end{equation}The reference \(4n\tau L^2\) is attained by the same clean readout at the same exposure and transmission.
\prooftext For \(Y=(N_+-N_-)/(n\tau)\), the conditional mean is \(D_V\) and the conditional variance is at most \(1/(n\tau)\). This follows from Poisson splitting or the multinomial variance, including the zero outcome. At the null the law of total variance gives \(\Var Y\le (n\tau)^{-1}+b_d^2\); one shared waveform accounts for the entire second term. Differentiation of the mean gives at least \(2L(1-a^2)\) by Theorem 1 and the uniform derivative bound. The score identity and Cauchy--Schwarz give \(\mathcal I\ge[(\E Y)']^2/\Var Y\). Smooth optical probabilities and finite photon moments justify differentiation, or one may use the directly recorded two Poisson counts with positive endpoint probabilities near the working point. \fin
\textbf{Unknown deterministic drift.} Information in a specified likelihood addresses precision after calibration. For a uniformly valid sign decision with exactly \(n\) photons and \(\tau=1\), put\[ m(\epsilon)=\sin(2L|\epsilon|)-2La^2|\epsilon|-b_d.\]For either sign, throughout the first monotone lobe where \(m>0\), the probability that the sign of \(N_+-N_-\) is wrong (including ties) is at most \(\exp[-n\,m(\epsilon)^2/2]\). Integrate \eqref{eq:slope} from zero and apply Hoeffding to the conditional independent values in \([-1,1]\). The resulting bound holds uniformly over waveforms, even if their distributions differ across the two hypotheses. Unknown drift can still hide a sufficiently small signal by Theorem 2. A positive local Fisher information under a fixed nuisance law cannot resolve that ambiguity.
\begin{center}\begin{tabular}{rrrr}\toprule Distance \(d\) & Null bound \(b_d\) & Guaranteed fraction of clean FI & Path vertices\\\midrule2 & \(4.00\,10^{-2}\) & 0.000576 & 3\\3 & \(2.67\,10^{-3}\) & 0.11362 & 4\\4 & \(1.33\,10^{-4}\) & 0.90550 & 5\\5 & \(5.33\,10^{-6}\) & 0.92157 & 6\\\bottomrule\end{tabular}\end{center}At \(a=0.20,\ n\tau=10^6\), the limit as distance increases in this bound is \(0.9216\). Increasing rank alone cannot certify a better slope. No dark counts, detector imbalance, unknown differential loss, gain or direct nuisance link were included in this numerical illustration.
\input{resolution}\input{visibility}\input{transfer}\input{extensions}\input{evidence}123456789101112131415161718192021\page\sect{The positive moment problem for the same ladder}The complex quotient spectrum answers a different question from positivity of a moment measure on the real line. There is a complete classification for the latter. Define \(m_j=e_0^*T^je_0\) algebraically on the core, including when no positive measure exists. A positive Hamburger representation is a positive Borel measure on \(\mathbb R\) with all these moments.
\thm{Proposition 12}{Positive measures and determinacy}A positive Hamburger measure with moments \(\{m_j\}\) exists exactly for real \(q\ge-1\). It is unique when \(-1\le q\le1\) and indeterminate for real \(q>1\). This is the usual positive \(q\)-Hermite moment problem in the present scaling, including the well-studied indeterminate regime \cite{ismail}. Complex bilinear resolvents can still be meaningful outside this classification.
\prooftext The first moments give \(m_0=1,m_2=1,m_4=2+q\). Nonreal \(q\) gives a nonreal fourth moment. For real \(q<-1\), the integral of \((x^2-1)^2\) would equal \(1+q<0\). At \(q=-1\) the two-site quotient gives equal masses at \(\pm1\); the same integral vanishes so any positive representation is supported there, and \(m_1=0\) fixes its weights.
For \(q>-1\), all \(a_n=\sqrt{[n]_q}\), \(n\ge1\), are positive. Take the real symmetric Jacobi matrix with off-diagonal \(a_n\). Its vacuum moments coincide with the unsymmetrized ladder: on every closed walk the paired upward and downward traversals of each edge give the same total factor. For \(-1<q<1\) the Jacobi matrix is bounded and self-adjoint, giving a positive measure by the spectral theorem. Any positive measure with its moments is supported on \([-\norm J,\norm J]\), as follows by applying the even-moment bounds at arbitrarily large degrees. Density of polynomials on that interval gives uniqueness. At \(q=1\), the weights \(\sqrt n\) are those of the normalized probabilists' Hermite recurrence. The standard Gaussian gives the moments; its even moments \((2n-1)!!\le(2n)^n\) imply Carleman divergence and hence uniqueness.
For \(q>1\) take the minimal symmetric Jacobi operator on the finitely supported core. At a fixed nonreal \(z\), the recurrence \(a_{n+1}u_{n+1}+a_nu_{n-1}=zu_n\) propagates \((u_n,u_{n-1})\) by\[ T_n(z)=\begin{pmatrix}z/a_{n+1}&-a_n/a_{n+1}\\1&0\end{pmatrix}, \qquad T_{n+1}(z)T_n(z)\longrightarrow -q^{-1/2}I .\]Its two-step norm is eventually bounded by some \(r<1\), so every solution at infinity is square summable. At the left endpoint \(a_1u_1=zu_0\) leaves exactly one free component. Testing against finite sequences identifies this solution as an element of \(\ker(J^*-z)\). Thus both deficiency indices are one; the self-adjoint extension theorem supplies distinct extensions. Each gives the same moments since every finite power on \(e_0\) stays on the core. If two extension measures at \(e_0\) agreed, all matrix elements of their resolvents would agree: each \(e_j\) is a fixed polynomial in the extension applied to \(e_0\), so each element is an integral of two such polynomials against \((z-x)^{-1}\) times that measure. Equality of resolvents would force equality of the extensions. Their vacuum measures therefore differ. \fin
\smhead{Why a disk in the complex plane cannot be the answer}At \(q=\ii\) the finite quotient has four perfectly well-defined distinct complex poles, but the vacuum fourth moment \(2+\ii\) is impossible for a positive real measure. At \(q=2\), the sequence has many positive real representing measures. Once an extension is specified, its own resolvent is a single-valued analytic operator on its resolvent set. These two examples isolate the role of the question being asked.
1234numpy==2.3.5scipy==1.17.0sympy==1.14.0matplotlib==3.10.81234567891011121314151617181920212223242526\page\sect{Sharp resolution when the error waveform is unknown}Fix \(0<\alpha<1/2\), a fixed graph with \(d\ge2\), a local signal window \(0<|\theta|\le\theta_*<\pi/4\), and \(\theta=\epsilon L\). Use exactly \(n\) photons launched individually in the same input state, or a number state in that input mode, with unit collection efficiency. The null permits \(\theta=0\) and any admissible waveform of action at most \(a\). The alternative permits \(r\le|\theta|\le\theta_*\) and its own admissible waveform. Define \(r_*(a,n)\) as the infimum separation \(r\) for which a terminal test can keep both worst-case errors at most \(\alpha\). Common sideband evolution may also be unknown.
\thm{Theorem 4}{Local minimax separation}In the joint regime \(a\to0,\ n\to\infty\),\begin{equation} r_*(a,n)=\Theta_{d,\alpha,\theta_*}\!\left(a^d+n^{-1/2}\right). \label{eq:minimax}\end{equation}The corresponding coupling resolution is \(r_*/L\). This result is uniform over admissible waveforms with no stochastic calibration; it concerns a single terminal exposure and a specified product probe. The dark offset and photon fluctuations impose independently necessary scales.
\prooftext Let \(t_n=\sqrt{2\log(2/\alpha)/n}\). Reject the null if \(|(N_+-N_-)/n|> b_d+t_n\). At the null Hoeffding gives a false-positive probability at most \(\alpha\). On the alternative, the absolute conditional mean is at least \(\sin(2|\theta|)-2a^2|\theta|-b_d\). Since this sine is bounded below by \(2|\theta|\cos(2\theta_*)\), a sufficient condition for the false-negative probability to be at most \(\alpha\) is\[ |\theta|\ \ge\ \frac{b_d+t_n}{\cos(2\theta_*)-a^2}, \qquad a^2<\cos(2\theta_*).\]The same bound follows after arbitrary mixing of the admissible waveforms. For necessity, Theorem 2 gives an exact overlap of the two composite hypotheses for every separation through \(\theta_d(a/C_d)\). Independently, take \(V=K=0\) in both hypotheses. The two pure \(n\)-photon states have overlap \(\cos^n\theta\); diagonalizing their difference on its two-dimensional span gives trace distance \(\sqrt{1-\cos^{2n}\theta}\le\sqrt n\,|\theta|\). Every test with both errors at most \(\alpha\) needs outcome total variation at least \(1-2\alpha\). These two lower bounds give \eqref{eq:minimax} since the sum and maximum agree within a factor two. \fin
\thm{Corollary 5}{Unequal edge tolerances}Suppose edge \(e\) has its own action bound \(c_e\rho^{w_e}\) with \(c_e,w_e>0\), \(0<\rho<1\), and independently controllable signed phases. The small-\(\rho\) ambiguity exponent is the \emph{weighted} shortest-path distance \(D=\min_{\pi:u\to v}\sum_{e\in\pi} w_e\). In the same testing experiment, \(r_*=\Theta(\rho^D+n^{-1/2})\) for fixed graph and budgets.
\prooftext Divide each edge operator by \(\rho^{w_e}\). Any nonzero endpoint word carries a factor at most \(\rho^D\). Bounding the remaining Dyson series by \(\exp(\sum_e c_e)\) gives a uniform null-amplitude bound \(O(\rho^D)\). On a minimizing path use \eqref{eq:pulse} recursively with each newly introduced edge angle \(h_e=c'_e\rho^{w_e}\). Each edge is used a finite number of times depending only on the path, with compensation angles at most \(|h_e|/2\). Choose fixed \(c'_e>0\) small enough to stay within each budget. The synthesized angle is asymptotic to \(\prod_{e\in\pi} h_e\). The response bound in Theorem 1 applies when there is no direct edge. If a direct edge is present, Duhamel with one insertion instead gives \(|D'_V-D'_0|\le4La\), with \(a\le\sum c_e\rho^{w_e}\); the slope is still bounded away from zero locally. Use the same testing proof. \fin
A four-edge path with all \(w_e=1\) has exponent four. A parasitic direct endpoint link of order \(\rho^2\) changes the exponent to two, even when its absolute coupling is much smaller than any adjacent coupling. This makes a bound on the shortcut a meaningful fabrication specification.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528{ "runtime": { "python": "3.12.14", "numpy": "2.3.5", "scipy": "1.17.0", "sympy": "1.14.0" }, "ambiguity": [ { "distance": 1, "h": 0.14, "angle": 0.14, "pulses": 1, "action": 0.14, "full_matrix_error": 0.0, "log_slope": 0.9999999999999996 }, { "distance": 2, "h": 0.14, "angle": 0.019520395451215727, "pulses": 5, "action": 0.558634644499409, "full_matrix_error": 1.1345288840549934e-16, "log_slope": 1.9994973115576906 }, { "distance": 3, "h": 0.14, "angle": 0.002730451514026963, "pulses": 13, "action": 1.397242703656675, "full_matrix_error": 2.281976416924326e-16, "log_slope": 2.999395000864879 }, { "distance": 4, "h": 0.14, "angle": 0.0003819506345406309, "pulses": 29, "action": 3.074484887141206, "full_matrix_error": 4.567604434825498e-16, "log_slope": 3.9992943794409204 }, { "distance": 5, "h": 0.14, "angle": 5.342942855154994e-05, "pulses": 61, "action": 6.428969764103692, "full_matrix_error": 9.155273264908984e-16, "log_slope": 4.999193765308379 }, { "distance": 6, "h": 0.14, "angle": 7.474012725486724e-06, "pulses": 125, "action": 13.13793952800821, "full_matrix_error": 1.8011951074269553e-15, "log_slope": 5.999093151208798 } ], "passive_graph": [ { "k": 3, "distance": 2, "trials": 20, "action": 0.35, "null_bound": 0.06124999999999999, "largest_dark_norm": 0.007372410229329537, "min_slope": 1.9711663904587573, "guaranteed_slope": 1.7550000000000001, "fixed_chain_exponent": 1.9977489522996548, "strengths": [ 0.012, 0.014412266030243226, 0.017309451010541908, 0.020789034400116032, 0.024968091190529174, 0.02998723104210656, 0.03601532927410062, 0.04325520888876208, 0.051950464808215045, 0.062393659934231974, 0.0749361687977233, 0.09 ], "offsets": [ 0.0001439861765308307, 0.00020768465047860696, 0.0002995572521323306, 0.00043205944366086064, 0.0006231465310899941, 0.0008986950736036232, 0.0012959826781977987, 0.0018686804667777377, 0.0026939984234382137, 0.003882875812104671, 0.005594438816716298, 0.00805635436915367 ] }, { "k": 4, "distance": 3, "trials": 20, "action": 0.35, "null_bound": 0.007145833333333331, "largest_dark_norm": 0.00036630913977223935, "min_slope": 1.9779289721576938, "guaranteed_slope": 1.7550000000000001, "fixed_chain_exponent": 2.9978052269519826, "strengths": [ 0.012, 0.014412266030243226, 0.017309451010541908, 0.020789034400116032, 0.024968091190529174, 0.02998723104210656, 0.03601532927410062, 0.04325520888876208, 0.051950464808215045, 0.062393659934231974, 0.0749361687977233, 0.09 ], "offsets": [ 5.759460884048326e-07, 9.977389318004975e-07, 1.7283991579861505e-06, 2.9940544459349754e-06, 5.186313692558268e-06, 8.983260243693801e-06, 1.5558750675401284e-05, 2.694422828152152e-05, 4.6653588923562046e-05, 8.076085209766172e-05, 0.00013975502089528095, 0.00024172327801662963 ] }, { "k": 5, "distance": 4, "trials": 20, "action": 0.35, "null_bound": 0.0006252604166666665, "largest_dark_norm": 4.833691676803571e-06, "min_slope": 1.9840274669684725, "guaranteed_slope": 1.7550000000000001, "fixed_chain_exponent": 3.9978614913044757, "strengths": [ 0.012, 0.014412266030243226, 0.017309451010541908, 0.020789034400116032, 0.024968091190529174, 0.02998723104210656, 0.03601532927410062, 0.04325520888876208, 0.051950464808215045, 0.062393659934231974, 0.0749361687977233, 0.09 ], "offsets": [ 1.727842412051927e-09, 3.5949321737880456e-09, 7.479447487754265e-09, 1.5560987306175724e-08, 3.237342467300505e-08, 6.734678447552799e-08, 1.4009141082196417e-07, 2.913786423321269e-07, 6.059461652858054e-07, 1.2598230346429517e-06, 2.6184215544372353e-06, 5.439508244805861e-06 ] }, { "k": 6, "distance": 5, "trials": 20, "action": 0.35, "null_bound": 4.376822916666665e-05, "largest_dark_norm": 1.238454150389606e-07, "min_slope": 1.9820252371032554, "guaranteed_slope": 1.7550000000000001, "fixed_chain_exponent": 4.997909714680187, "strengths": [ 0.012, 0.014412266030243226, 0.017309451010541908, 0.020789034400116032, 0.024968091190529174, 0.02998723104210656, 0.03601532927410062, 0.04325520888876208, 0.051950464808215045, 0.062393659934231974, 0.0749361687977233, 0.09 ], "offsets": [ 4.1468303195681196e-12, 1.0362254518247518e-11, 2.5893136804560362e-11, 6.469997954586568e-11, 1.6166196362063784e-10, 4.0391390604132555e-10, 1.0091063570599848e-09, 2.5207961878804378e-09, 6.296079743762656e-09, 1.5721868412175236e-08, 3.924604455559735e-08, 9.792248101495423e-08 ] } ], "common_factor": { "joint_error": 4.491533461984411e-16, "pooled_density_error": 2.300253864002891e-16, "carrier_throughput": 0.648249981255772, "pooled_throughput": 0.9999999999999998, "mismatch_detunings": [ 0.8, 6.283185307179586 ], "mismatch_signed_slopes": [ 1.7933902272488067, -9.72087226516257e-17 ] }, "ordered_words": { "reachable_layers": [ [ 0 ], [ 0, 1 ], [ 0, 1, 2 ] ], "witnessed_degree": 2, "ordered_wedge": 0.016900000000000002, "reversed_wedge": 0.0 }, "jordan": { "ranks": [ { "k": 2, "similarity_error": 2.4699629801356753e-16, "condition": 1.0 }, { "k": 3, "similarity_error": 4.756714052204144e-16, "condition": 2.0000000000000013 }, { "k": 4, "similarity_error": 9.737573304261128e-16, "condition": 5.999999999999999 }, { "k": 5, "similarity_error": 3.2351696115553455e-15, "condition": 24.000000000000007 }, { "k": 6, "similarity_error": 3.1430572041093017e-14, "condition": 120.00000000000004 }, { "k": 7, "similarity_error": 1.4238904335677807e-13, "condition": 719.9999999999989 } ], "trace_examples": [ [ -5.551115123125783e-17, 0.0 ], [ -1.0000000000000002, -2.0 ], [ 0.6666666666666666, 0.0 ] ] }, "ordered_lattice": { "configurations": [ { "case": "one-sided", "carrier_error": 5.699815296680785e-15, "step_48_to_96": 1.33262845972517e-14, "step_96_to_192": 4.9654518905624975e-14, "cutoff_4_to_5": 0.0 }, { "case": "leaky-detuned", "carrier_error": 0.006507726107108455, "step_48_to_96": 6.02228174967169e-06, "step_96_to_192": 1.5046918407422446e-06, "cutoff_4_to_5": 5.199894439903834e-16 }, { "case": "leaky-resonant", "carrier_error": 0.005430458071894652, "step_48_to_96": 5.541205410818178e-06, "step_96_to_192": 1.3844023174177256e-06, "cutoff_4_to_5": 1.5841659926318542e-14 }, { "case": "two-sided", "carrier_error": 0.03674285386253829, "step_48_to_96": 3.712319349198726e-05, "step_96_to_192": 9.274680701691775e-06, "cutoff_4_to_5": 2.1232793654580117e-10 } ], "periodic_wrap_error": 0.0856977922337907 }, "root_spectrum": { "primitive_cases": 101, "max_matched_eigenvalue_error": 1.3270396939688307e-12, "max_port_formula_error": 3.337167946540778e-16, "real_q2_two_step_error": 6.431098838543193e-13 }, "ou": { "paths": 24000, "midpoints": 360, "ell": 0.4, "sigma": 0.7, "L": 3.0, "quadratures": [ { "detuning": 0.0, "mean": 1.019286723629239, "continuous_variance": 2.0778908499336577, "grid_variance": 2.0780873830545192, "sample_variance": 2.042636575358339, "mc_se": 0.04778657431984088 }, { "detuning": 2.0, "mean": 0.6961112240052096, "continuous_variance": 0.5002314379922485, "grid_variance": 0.5002991336996796, "sample_variance": 0.4963563335231984, "mc_se": 0.009825268780712878 }, { "detuning": 8.0, "mean": 0.11609556235404618, "continuous_variance": 0.013575349175694123, "grid_variance": 0.013586674929199714, "sample_variance": 0.013798362539379012, "mc_se": 0.00025004003631832713 } ] }, "sewing": { "beta": 0.22, "jet": 4, "finite_frequencies": 13, "grid_sums": [ { "horizontal": 8, "vertical": 11, "max_mesh": 0.17664928721960407, "absolute_error": 0.025898467521411023 }, { "horizontal": 16, "vertical": 19, "max_mesh": 0.09655576385544073, "absolute_error": 0.030728010249765472 }, { "horizontal": 32, "vertical": 35, "max_mesh": 0.045270578754572355, "absolute_error": 0.0065677497211495935 }, { "horizontal": 64, "vertical": 67, "max_mesh": 0.024027608118576183, "absolute_error": 0.007973067269360081 }, { "horizontal": 128, "vertical": 131, "max_mesh": 0.01251745308386909, "absolute_error": 0.0054813223914468865 }, { "horizontal": 256, "vertical": 259, "max_mesh": 0.0063065211708243085, "absolute_error": 0.0047140640698758104 }, { "horizontal": 512, "vertical": 515, "max_mesh": 0.0031212808910270895, "absolute_error": 0.0034677706588339533 }, { "horizontal": 1024, "vertical": 1027, "max_mesh": 0.0015849866959838366, "absolute_error": 0.0034733624735128984 }, { "horizontal": 2048, "vertical": 2051, "max_mesh": 0.0007871553133464992, "absolute_error": 0.0012884245897845114 }, { "horizontal": 4096, "vertical": 4099, "max_mesh": 0.00039791950309864266, "absolute_error": 0.00013159763447882287 }, { "horizontal": 8192, "vertical": 8195, "max_mesh": 0.00020007988395809306, "absolute_error": 8.056655423759657e-06 }, { "horizontal": 16384, "vertical": 16387, "max_mesh": 9.976754019636047e-05, "absolute_error": 5.342472895643801e-07 } ], "unit_germ_sum_on_16_by_16": 256 }, "information": { "design_action": 0.2, "detected_budget": 1000000.0, "guarantees": [ { "distance": 2, "offset_bound": 0.04000000000000001, "fraction": 0.0005756402248594625 }, { "distance": 3, "offset_bound": 0.0026666666666666674, "fraction": 0.11362191780821913 }, { "distance": 4, "offset_bound": 0.00013333333333333337, "fraction": 0.9055021834061134 }, { "distance": 5, "offset_bound": 5.3333333333333345e-06, "fraction": 0.9215737863456328 }, { "distance": 6, "offset_bound": 1.7777777777777784e-07, "fraction": 0.9215999708728898 } ], "old_model_ratio": 0.15638147706889707, "exact_mixture_CFI": 27.445826772325756, "mixture_lower_bound": 23.77279355211308, "mixture_clean_CFI": 28, "mixture_n": 7 }, "projective_certificate": { "one_way_order": null, "one_way_dimensions": [ 3, 5 ], "return_order": 2, "return_dimensions": [ 3, 5, 6 ] }, "weighted_distance": { "weights": [ 1.0, 1.5, 2.0 ], "path_exponent": 4.499131279004328, "shortcut_exponent": 2.0 }, "elementary_geometry": { "max_characteristic_residual": 0.0, "lift_displacement": -0.4745, "white_limit": 0.73, "white_cutoffs": [ 0.1, 0.01, 0.001 ], "white_contractions": [ 0.6300675538775193, 0.72, 0.729 ] }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091\page\sect{One-sided propagation and common-mode return}Let \(\mathcal H=\ell^2(\mathbb Z)\otimes\mathbb C^k\), let \(S\ket m=\ket{m+1}\), and define the tails \(F_j=\overline{\mathrm{span}}\{\ket m:m\ge j\}\otimes\mathbb C^k\). In this section the \emph{generator} convention is \(U'=HU\), so lossless diagonal detuning is \(+\ii b m^2\). A physical Hamiltonian is multiplied by \(-\ii\) once when converting to this convention.
\thm{Proposition 6}{Exact carrier compression}Suppose the free evolution \(D(t,s)=\bigoplus_m D_m(t,s)\) exists with a common exponential bound, and \(V_+(t)=\sum_{r\ge1}S^r\otimes W_r(t)\) has \(\int\sum_r\norm{W_r}<\infty\). Then\[ (\bra0\otimes\Id)\,U(L,0)\,(\ket0\otimes\Id)=D_0(L,0).\]Indeed, every Duhamel word with a scattering factor starts in \(F_0\), enters \(F_1\), and remains there. Equivalently, the dynamics acts as \(D_0\) on \(F_0/F_1\). Noncommutativity, a time-dependent internal signal, the probability law, and internal matrix dimension do not enter the argument. A deterministic carrier measurement \emph{before} squaring therefore has zero variance with respect to this technical drive. Shot noise and vacuum enter separately. If every cutoff preserves the filtration, its compressed block is already constant. This gives a well-defined compression for arbitrarily irregular regularizations, even when the full field has no cutoff limit. An open finite-mode truncation preserves the result. On a cyclic ladder \(S^M=I\) and a positive word can return. Population initially below the selected carrier can also enter. Nonlinear mixing produces forbidden returns at arbitrarily small nonzero strength; any practical onset is a tolerance, not a universal threshold.
\textbf{The converse for one linear output.} For \(\Delta_m=0\) with scalar nearest-neighbor drives on both \(S,S^{-1}\), let \(c_\pm=\int_0^L w_\pm\). The shifts commute on the bilateral ladder. Thus the exact carrier multiplier is\[ h=\sum_{p\ge0}\frac{(\delta c_+c_-)^p}{(p!)^2}.\]The internal free transfer is multiplied by \(h\). Universally erasing the first return in a fixed linear functional erases the corresponding clean amplitude. The order is \(\delta\) in amplitude and typically \(\delta^2\) in variance. This reasoning also applies to a dark port's signal slope if a fluctuating common factor multiplies that slope.
\thm{Proposition 7}{Multiport cancellation to all orders}For \(H(t)=K(t)\otimes I+I\otimes M_\epsilon(t)\) with well-defined evolutions, \(U=U_K\otimes U_{M_\epsilon}\), by direct differentiation. An input \(\xi\otimes x\) gives an internal vector \(s(\epsilon)=U_{M_\epsilon}x\) multiplied by \(h_m=\langle m,U_K\xi\rangle\) in each output sideband. All nonzero copies have the same projective direction \([s]\). For a collected set \(J\), photon counts after an internal analyzer have a common intensity scale \(\sum_{m\in J}|h_m|^2\). Conditioning on the total count eliminates this scale. For lossless \(U_K\) and all modes collected, the scale is identically one. Zero throughput gives no information. A raw subtraction of two identical rings cancels a common additive background at the null, but their differential signal still carries a common multiplicative return. This also explains the advantage of a shared internal reference and sideband pooling without a high-gain element.
For a differentiable \(s\ne0\), set \(u_s=s/\norm s\) and \(v=(I-u_su_s^\dagger)\dot u_s\). The locally chosen analyzer \((u_s\pm v/\norm v)/\sqrt2\) gives \(1/2,1/2\) and derivatives \(\pm\norm v\) at the reference point. Thus each detected photon gives \(4\norm v^2=4(\norm{\dot s}^2/\norm{s}^2-|s^\dagger\dot s|^2/\norm{s}^4)\) conditional information, interpreted as zero if \(v=0\). This is also the single-photon pure-state information for the normalized direction. The photon count, internal throughput, and calibration cost still matter when comparing per incident photon.\page\sect{A finite test for output protection in a calibrated network}Factorization of the entire device is a strong sufficient condition. A particular set of ports can preserve a signal even when unobserved states mix nonseparably. Here is an exact test on a finite alphabet of time-independent generator matrices with independently variable piecewise-constant controls. It uses standard reachable-space/word algebra \cite{petreczky}.
Consider actual and reference states \(x\in\mathbb C^n,\ y\in\mathbb C^m\), initialized at \(x_0,y_0\) and observed through \(C,D\) into the same \(\mathbb C^p\). Their common control labels have matrix pairs \((A_j,B_j)\); the drift is another pair with coefficient one. The defect letters have independent controls scaled by a common scalar \(\delta\). A signal waveform can be included as a common zero-cost label if a result for all such waveforms is desired. Set\[ z_0=x_0\otimes y_0,\quad H_j=A_j\otimes I+I\otimes B_j,\quad \mathcal W(x\otimes y)=Cx\wedge Dy.\]Here \(u\wedge v\) lists \(u_i v_j-u_j v_i\) for \(i<j\), without complex conjugation. This definition makes \(\mathcal W\) linear on the tensor product. If both outputs are nonzero, vanishing means equality of projective directions. Erasure and throughput require a separate check.
\thm{Theorem 8}{Exact first observable defect order}Let \(\mathcal B\) be the zero-cost lifted matrices, including the drift, and \(\mathcal E\) the lifted defects. For any subspace \(R\) write \(\operatorname{cl}_{\mathcal B}R\) for its closure under repeated multiplication by the letters in \(\mathcal B\), taking linear spans. Form\begin{align*} R_0&=\operatorname{cl}_{\mathcal B}\operatorname{span}\{z_0\},\\ R_{j+1}&=\operatorname{cl}_{\mathcal B}\left(R_j+\sum_{E\in\mathcal E} E R_j\right).\end{align*}The first \(d\) with \(\mathcal W R_d\ne0\) is the smallest defect order detectable in the wedge for some piecewise-constant controls and some duration. If the chain stabilizes inside the kernel, the wedge is zero for all controls, durations and \(\delta\). There are at most \(nm-\dim R_0\) strict extensions. This is an all-durations certificate; fixed clock durations, bandwidth restrictions and tied controls may remove witnesses.
\prooftext The product \(x\otimes y\) obeys the lifted ODE. Induction identifies \(R_j\) as the span of every matrix word applied to \(z_0\) with at most \(j\) defect letters. Its image under \(\mathcal W\) tests the corresponding Duhamel coefficients. Conversely, on successive independently chosen control intervals, differentiate the product of exponentials once in each duration at zero. The result is the ordered product of the interval generators. Taking coefficients in the independently varied interval amplitudes selects each desired letter; the constant coefficient selects the drift. Hence a nonzero word with \(d\) defects witnesses a nonzero order-\(d\) coefficient for some controls and positive durations. If a span fails to grow, it is invariant under both sets of letters. Finite dimension gives the termination bound. \fin
For \(d\ge1\), if the cost-free propagator is bounded by \(\exp(\int_s^t b)\), put \(B=\int_0^L b\), \(a=|\delta|\int_0^L\norm{E(t)}\dd t\), with \(E\) the actual lifted defect combination. The Dyson tail gives \(\norm{\mathcal W z(L)}\le\norm{\mathcal W}\norm{z_0}e^{B+a}a^d/d!\). Dividing by \(\norm{Cx(L)}\norm{Dy(L)}\) bounds the sine of the angle between the output lines. For fixed \(D\), the vanishing constraints are linear in the unknown readout \(C\), so the same test can search for a decoder, subject to nonzero throughput. In the supplied exact-rational example a hidden channel increases the reachable dimensions from \(3\) to \(5\) while staying invisible. Adding a return edge gives dimensions \(3,5,6\) and first observed cost two.\page\sect{Full-wave and geometric claims in their valid regimes}\textbf{Exact plane-stratified Maxwell system.} Work at normal incidence with no transverse derivatives or longitudinal fields, one fixed propagation axis, and instantaneous real coefficients. Put \(J=\hat z\times\), \(J^2=-I\), \(c_0^{-1}=\sqrt{\varepsilon_0\mu_0}\), \(\eta_0=\sqrt{\mu_0/\varepsilon_0}\), and\[ D=\varepsilon_0 n E+\kappa J H,\qquad B=\mu_0 n H-\kappa J E,\quad X=\eta_0 JH .\]Here \(n\) is dimensionless, \(\kappa\) has units of inverse speed, and \(n>0,\ |\kappa|<n/c_0\) makes the real instantaneous constitutive energy form positive. Let the coefficients be smooth enough for these derivatives. Curl Maxwell gives\[ \partial_z E=\partial_t[(n/c_0)X+\kappa E],\qquad \partial_z X=\partial_t[(n/c_0)E+\kappa X].\]For \(s=\pm1\), \(\Psi_s=E-sX\) therefore obeys the exact equation\[ \partial_z\Psi_s=\partial_t[(\kappa-s n/c_0)\Psi_s].\]The common sign of \(\kappa\) in the two branches matters. This derivation retains temporal derivatives of the constitutive coefficients. It specifies a geometry where decoupling can actually be checked, consistent with the directional-field literature \cite{kinsler}. More generally the \emph{complete} transverse evolution, longitudinal elimination, boundary maps and material memory operators must preserve the directional subspaces. Impedance matching of two scalar functions alone is insufficient. For a forward TE plane wave oblique by angle \(\alpha\) in an isotropic matched medium, \(X=-\cos\alpha\,E\), so both of these axis-defined spinors are present. No universal propagation-constant, bandwidth or asymmetry norm bound follows from the two scalar modulations in an unspecified ring.
\textbf{Three curvatures with different definitions.} A polarization connection with commuting coefficient matrices can have \(\mathcal A_z=tJ,\mathcal A_t=0\). Its curvature is \(J\,dt\wedge dz\). A pure gauge or explicit differential closure is required for flat polarization transport. Independently, on the trivial circle bundle take \(\vartheta=d\phi+A_tdt+A_zdz\). In the coframe \(dt,dz,\vartheta\) with zero spin connection the spin curvature vanishes and the coframe torsion is\[ T^\phi=dA=(\partial_t A_z-\partial_z A_t)\,dt\wedge dz.\]Horizontal transport shifts \(\phi\) by \(-\oint A\bmod 2\pi\). Phase defects contribute distributional circulation only when their winding and scaling are specified. For a single smooth RF phase with \(A=d\Phi\), this curvature vanishes. Independently calibrated links around a loop can instead encode a nonzero plaquette phase. In the dual comb, a shift multiplies mode \(m\) by \(e^{\pm\ii m\Delta\phi}\), depending on Fourier convention. An optical spectrum analyzer recording powers alone cannot see it. A coherent beat with at least two sidebands or an interferometric loop reference can.
\textbf{Causal response and energy.} For real nondispersive symmetric constitutive matrix \(C(t)\) and field \(f=(E,H)\), Poynting's identity gives \(\partial_t(f^TCf/2)+\nabla\cdot(E\times H)=-E\cdot J_{\rm free}- f^T\dot C f/2\). The modulation source exchanges energy with the fields. In a stationary causal dispersive medium the response is a convolution; a time-varying medium needs a two-time response. A complex constant multiplying real time-domain fields does not close either energy or fluctuation accounting. Passive scattering must include loss ports, and active gain must include added channels. Operation below threshold must be checked on the loaded dynamics. The model in Theorems 1--3 avoids gain. It is an effective linear network and does not require a particular full-wave reduction.\page\sect{What the Jordan flag and its readout establish}For \(k\ge2\), \(N=\sum_{j=1}^{k-1}E_{j,j+1}\), and \(E=E_{k1}\). Then \((N+\epsilon E)^k=\epsilon I\) and the characteristic polynomial is \(z^k-\epsilon\). In the generator convention \(U'=HU\),\begin{align*} \bra k e^{L(N+\epsilon E)}\ket1&=\epsilon L+ \epsilon^2 L^{k+1}/(k+1)!+O(\epsilon^3),\\ \bra1 e^{L(N+\epsilon E)}\ket1&=1+\epsilon L^k/k!+O(\epsilon^2).\end{align*}This follows by counting powers in the exponential series. The dark-channel slope is \(L\), and the bright-channel slope is \(L^k/k!\), before physical normalization. The eigenvalue splitting can be nonanalytic while both transfers are entire in \(\epsilon\).
\textbf{Spin realization and normalization.} In the spin-\((k-1)/2\) representation let \(T_+\) have superdiagonal \(t_j=\sqrt{j(k-j)}\), \(T_1=(T_++T_+^\dagger)/2\), \(T_3=\mathrm{diag}((k+1)/2-j)\). For \(U=e^{\ii\pi T_1/2}\), \(U T_3 U^\dagger=T_2\) follows by the two rotation differential equations, so \(U(T_1+\ii T_3)U^\dagger=T_+\). Define \(d_1=1,\ d_{j+1}=d_jt_j,\ S=U^\dagger\mathrm{diag}(1/d_j)\). Then \(S^{-1}(T_1+\ii T_3)S=N\) and \(\mathrm{cond}_2(S)=d_k=(k-1)!\). Normalized physical launch and analysis vectors are proportional to \(Se_1\) and \(S^{-\dagger}e_k\). Their matrix element equals the Jordan-coordinate element divided by \(\norm{Se_1}\norm{S^{-\dagger}e_k}=(k-1)!\). Normalize the physical signal generator and the loss budget as well. In the Hamiltonian convention \(g(T_1+\ii T_3)-\ii g(k-1)I/2\), \(g>0\), all gain rates have been shifted to passive loss. That shift reduces throughput. A physical diagonal fabrication error need not be triangular in the Jordan basis.
\textbf{Linear cyclic dual.} The identity \(\Tr[N^r(N^\dagger)^s]=\delta_{rs}(k-r)\) gives the unique dual in \(\mathbb C[N^\dagger]\),\[ \Omega(\eta)=\sum_{r=0}^{k-1}\frac{\eta^r}{k-r}(N^\dagger)^r,\qquad \Psi(A)=\Tr(A\Omega).\]On the full matrix space one can add any \(B\) such that \(\Tr(N^r B)=0\) for all \(0\le r<k\). For \(k=3,\eta=1,\zeta=-1+\ii\), one obtains \(\Psi(e^{\zeta N})=0\), \(\Psi(e^{2\zeta N})=-1-2\ii\), and \(\Psi(NN^\dagger)=2/3\). Complex coherent transfer tomography determines the linear combination; a single input and output realizes only a rank-one functional. An SVD-based sum of such settings is possible, with uncertainty depending on weights and the photon allocation. There is no universal \((\log k)^2\) probe-power law. Duhamel and trace duality give\[ |\Psi(e^{z(N+D)}-e^{zN})|\le |z|\norm{\Omega}_1 \norm D\,e^{|z|(1+\norm D)} .\]
\textbf{Flag restriction.} Upper triangular generators preserve \(V_j=\mathrm{span}(e_1,\ldots,e_j)\). If each defect can increase the flag index by at most one, the first nonzero \(k,1\) entry at zero signal needs \(k-1\) defects. With an integrable upper-triangular base of norm budget \(B\) and total defect norm \(a\), its size is at most \(e^{B+a}a^{k-1}/(k-1)!\) by the Dyson tail. A direct \(E_{k1}\) nuisance gives a first-order background. At nonzero signal, triangular disorder can still alter the signal slope. A known fixed offset is a bias, and becomes variance only under a stated law of fluctuation.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462"""Numerical and exact checks for Chiral–Nilpotent Invariant Architectures II.
Run python verify.py --output results.json. Every experiment uses dimensionlesslength L unless a different length is explicit. NumPy and SciPy are required."""import argparseimport jsonimport mathimport platformfrom pathlib import Path
import numpy as npimport scipyimport sympyfrom certificate import example as exact_certificatefrom scipy.linalg import expm, expm_frechetfrom scipy.optimize import linear_sum_assignment
def unit(k, j): return np.eye(k, dtype=complex)[:, j]
def edge(k, i, j): return np.outer(unit(k, i), unit(k, j).conj())
def norm(a): return float(np.linalg.norm(a, 2))
def hermitian(rng, n): a = rng.normal(size=(n, n)) + 1j * rng.normal(size=(n, n)) a = a + a.conj().T return a / norm(a)
def rotate(k, i, j, angle): r = np.eye(k) r[i, i] = r[j, j] = np.cos(angle) r[i, j], r[j, i] = np.sin(angle), -np.sin(angle) return r
def synthesize_path(angles): """Return the exact endpoint angle and pulses, written in matrix-product order.""" distance = len(angles) h = angles[-1] if distance == 1: return h, [(0, 1, h)] alpha, sub = synthesize_path(angles[:-1]) w, v = distance - 1, distance phi = np.arctan2(np.cos(alpha) * np.sin(h / 2), np.cos(h / 2)) theta = 2 * np.arcsin(np.sin(alpha) * np.sin(h / 2)) inv = [(i, j, -t) for i, j, t in reversed(sub)] return theta, [(w, v, -phi)] + sub + [(w, v, h)] + inv + [(w, v, -phi)]
def synthesize(distance, h): return synthesize_path([h]*distance)
def ambiguity_check(): records = [] for d in range(1, 7): h = 0.14 theta, pulses = synthesize(d, h) u = np.eye(d + 1) for i, j, t in pulses: u = u @ rotate(d + 1, i, j, t) error = norm(u - rotate(d + 1, 0, d, theta)) action = sum(abs(t) for _, _, t in pulses) hs = np.geomspace(0.012, 0.07, 9) ts = [synthesize(d, x)[0] for x in hs] slope = float(np.polyfit(np.log(hs), np.log(ts), 1)[0]) assert error < 3e-13 and abs(slope - d) < 0.012 assert action <= (3 * 2 ** (d - 1) - 2) * h + 1e-12 records.append(dict(distance=d, h=h, angle=theta, pulses=len(pulses), action=action, full_matrix_error=error, log_slope=slope)) return records
def weighted_check(): weights = np.array([1., 1.5, 2.]) rhos = np.geomspace(.018,.1,9) path_angles, direct_angles = [], [] for rho in rhos: theta, seq = synthesize_path(rho**weights) u = np.eye(4) for i,j,t in seq: u = u @ rotate(4,i,j,t) assert norm(u-rotate(4,0,3,theta)) < 2e-14 path_angles.append(theta) direct_angles.append(rho**2) slope = float(np.polyfit(np.log(rhos),np.log(path_angles),1)[0]) shortcut = float(np.polyfit(np.log(rhos),np.log(direct_angles),1)[0]) assert abs(slope-weights.sum()) < .01 and abs(shortcut-2)<1e-12 return dict(weights=weights.tolist(),path_exponent=slope,shortcut_exponent=shortcut)
def geometry_check(): # Maxwell's 1D constitutive transport matrix in (E, eta_0 JH) coordinates. kappa, n_over_c = .13,.87 A = np.array([[kappa,n_over_c],[n_over_c,kappa]]) errs = [] for s in (-1,1): row=np.array([1.,-s]) errs.append(np.linalg.norm(row@A-(kappa-s*n_over_c)*row)) # A_z=t, A_t=0 on a rectangle: the horizontal loop shift is minus the area. T,L=.65,.73 line_integral=T*L assert max(errs)<1e-15 and abs(line_integral-.4745)<1e-15 mollifiers=[.1,.01,.001] white_contractions=[L-h*(-np.expm1(-L/h)) for h in mollifiers] assert abs(white_contractions[-1]-L)<.0011 return dict(max_characteristic_residual=float(max(errs)),lift_displacement=-line_integral, white_limit=L,white_cutoffs=mollifiers,white_contractions=white_contractions)
def graph_trial(rng, k, modes, segments, a, eps): """Arbitrary complex, time-varying, sideband-dependent local Hermitian defects.""" dim = k * modes endpoint_signal = edge(k, 0, k - 1) + edge(k, k - 1, 0) signal = np.kron(np.eye(modes), endpoint_signal) obs = np.kron(np.eye(modes), 1j * (edge(k, 0, k - 1) - edge(k, k - 1, 0))) x = np.kron(unit(modes, 0), unit(k, 0)) dx = np.zeros_like(x) for _ in range(segments): common = np.kron(4 * hermitian(rng, modes), np.eye(k)) v = np.zeros((dim, dim), dtype=complex) for j in range(k - 1): link = rng.normal(size=(modes, modes)) + 1j * rng.normal(size=(modes, modes)) v += np.kron(link, edge(k, j + 1, j)) v = v + v.conj().T g = (-1j / segments) * (common + eps * signal + a * v / norm(v)) u, du = expm_frechet(g, (-1j / segments) * signal) dx, x = du @ x + u @ dx, u @ x D = np.vdot(x, obs @ x).real slope = 2 * np.vdot(dx, obs @ x).real dark = np.linalg.norm(x.reshape(modes, k)[:, -1]) assert abs(np.linalg.norm(x) - 1) < 2e-13 return float(D), float(slope), float(dark)
def graph_check(): rng = np.random.default_rng(724291) rows = [] for k in (3, 4, 5, 6): a = 0.35 values = np.array([graph_trial(rng, k, 3, 5, a, 0) for _ in range(20)]) d = k - 1 bound = a ** d / math.factorial(d) assert np.max(values[:, 2]) <= bound and np.min(values[:, 1]) >= 2 * (1 - a*a) # An allowed constant chain aligns the shortest-path amplitude with the detector. e = np.diag(np.ones(d), -1).astype(complex) e[-1, -2] = np.exp(1j * (d - 1) * np.pi/2) adjacency = e + e.conj().T strengths = np.geomspace(0.012, 0.09, 12) offsets = [] for g in strengths: x = expm(-1j * g * adjacency)[:, 0] offsets.append(float(-2 * np.imag(np.conj(x[0]) * x[-1]))) fitted = float(np.polyfit(np.log(strengths), np.log(offsets), 1)[0]) assert abs(fitted - d) < 0.015 rows.append(dict(k=k, distance=d, trials=len(values), action=a, null_bound=bound, largest_dark_norm=float(values[:, 2].max()), min_slope=float(values[:, 1].min()), guaranteed_slope=2*(1-a*a), fixed_chain_exponent=fitted, strengths=strengths.tolist(), offsets=offsets)) # Input-equal nuisance and signal defeat any null-distance guarantee. G = edge(3, 0, 2) + edge(3, 2, 0) shortcut = norm(expm(-0.04j * G) - expm(-1j * (0.04 * G))) assert shortcut < 1e-14 return rows
def factor_check(): rng = np.random.default_rng(2401) m, k = 5, 3 x = np.kron(unit(m, 0), unit(k, 0)) w, s = unit(m, 0), unit(k, 0) for _ in range(5): K, B = -1.3j * hermitian(rng, m), -0.26j * hermitian(rng, k) x = expm(np.kron(K, np.eye(k)) + np.kron(np.eye(m), B)) @ x w, s = expm(K) @ w, expm(B) @ s blocks = x.reshape(m, k) density = blocks.T @ blocks.conj() err = norm(density - np.outer(s, s.conj())) factor_err = np.linalg.norm(x - np.kron(w, s)) assert max(err, factor_err) < 2e-13 slopes = [] for detuning in (.8, 2*np.pi): H = np.diag([0.,0.,detuning]) G = edge(3,0,2)+edge(3,2,0) O = 1j*(edge(3,0,2)-edge(3,2,0)) U,dU = expm_frechet(-1j*H,-1j*G) slope = 2*np.vdot(dU[:,0],O@U[:,0]).real visibility = np.exp(-.5j*detuning)*np.sinc(detuning/(2*np.pi)) assert abs(slope-2*visibility.real)<1e-13 slopes.append(float(slope)) return dict(joint_error=float(factor_err), pooled_density_error=err, carrier_throughput=float(abs(w[0])**2), pooled_throughput=float(np.vdot(w,w).real), mismatch_detunings=[.8,2*np.pi],mismatch_signed_slopes=slopes)
def word_check(): # Exact integer arithmetic for basis reachability. Matrices in this example # map each coordinate basis vector to another basis vector or zero. one, hidden, target = 0, 1, 2 pairs = [(hidden, one), (target, hidden)] reachable = {one} layers = [sorted(reachable)] while target not in reachable: reachable |= {out for out, inp in pairs if inp in reachable} layers.append(sorted(reachable)) assert len(layers) - 1 == 2 # The reference output stays (1,0). Its exterior-product test reads the last component. b1, b2 = edge(3, hidden, one), edge(3, target, hidden) g = .13 y = (expm(g*b2) @ expm(g*b1))[:, 0] reverse = (expm(g*b1) @ expm(g*b2))[:, 0] assert abs(y[-1] - g*g) < 1e-15 and reverse[-1] == 0 return dict(reachable_layers=layers, witnessed_degree=2, ordered_wedge=float(y[-1].real), reversed_wedge=float(reverse[-1].real))
def nilpotent_check(): rows = [] for k in range(2, 8): n = np.diag(np.ones(k-1), 1) weights = np.sqrt(np.arange(1,k)*np.arange(k-1,0,-1)) plus = np.diag(weights, 1) t1 = (plus + plus.T)/2 t3 = np.diag((k-1)/2 - np.arange(k)) U = expm(1j*np.pi/2*t1) d = np.r_[1., np.cumprod(weights)] S = U.conj().T @ np.diag(1/d) err = norm(np.linalg.solve(S, (t1+1j*t3) @ S) - n) assert err < 2e-10 kappa = np.linalg.cond(S) assert np.isclose(kappa, math.factorial(k-1)) B = edge(k, k-1, 0) free, du = expm_frechet(n, B) assert abs(du[-1,0]-1)<1e-13 and abs(du[0,0]-1/math.factorial(k))<1e-13 rows.append(dict(k=k, similarity_error=err, condition=float(kappa))) n = np.diag(np.ones(2), 1) om = sum(np.linalg.matrix_power(n.T,r)/(3-r) for r in range(3)) u = expm((-1+1j)*n) vals = [np.trace(u@om), np.trace(u@u@om), np.trace(n@n.T@om)] assert np.allclose(vals, [0,-1-2j,2/3]) return dict(ranks=rows, trace_examples=[[x.real,x.imag] for x in vals])
def ordered_model(cutoff, steps, reverse, detuning, seed=116): k = 3 m = np.arange(-cutoff, cutoff+1) shift = np.diag(np.ones(len(m)-1), -1) N = np.diag(np.ones(k-1), 1) m0 = N + .06 * edge(k,k-1,0) static = np.kron(np.diag(1j*detuning*m*m), np.eye(k)) + np.kron(np.eye(len(m)), m0) rng = np.random.default_rng(seed) mats = [hermitian(rng,k) for _ in range(4)] # Two independent matrix profiles; the backward channel need not be the forward adjoint. x = np.zeros((len(m)*k, k), dtype=complex) window = slice(cutoff*k, (cutoff+1)*k) x[window] = np.eye(k) for j in range(steps): t = (j+.5)/steps plus = .48*(mats[0]*np.cos(3*t)+mats[1]*np.sin(7*t)) minus = .61*(mats[2]*np.cos(5*t)+mats[3]*np.sin(2*t)) H = static + np.kron(shift,plus) + reverse*np.kron(shift.T,minus) x = expm(H/steps) @ x return x[window], expm(m0)
def lattice_check(): out = [] for name, rev, b in [('one-sided',0,2.), ('leaky-detuned',.15,2.), ('leaky-resonant',.15,0.), ('two-sided',1.,0.)]: y, clean = ordered_model(4,48,rev,b) fine, _ = ordered_model(4,96,rev,b) wider, _ = ordered_model(5,96,rev,b) fine2, _ = ordered_model(4,192,rev,b) out.append(dict(case=name,carrier_error=norm(fine-clean),step_48_to_96=norm(y-fine), step_96_to_192=norm(fine-fine2),cutoff_4_to_5=norm(fine-wider))) assert out[0]['carrier_error']<1e-12 assert all(row['step_96_to_192']<.32*row['step_48_to_96'] for row in out[1:]) assert all(row['cutoff_4_to_5']<1e-7 for row in out) cyclic = np.roll(np.eye(3),1,axis=0) assert abs((expm(.8*cyclic))[0,0]-1)>.08 return dict(configurations=out, periodic_wrap_error=float(expm(.8*cyclic)[0,0]-1))
def spectrum_check(): worst, resolvent_err, count = 0., 0., 0 for m in range(2, 19): for p in range(1,m): if math.gcd(m,p)!=1: continue count += 1 q = np.exp(2j*np.pi*p/m) nums = (1-q**np.arange(1,m))/(1-q) T = np.diag(np.ones(m-1), -1) + np.diag(nums, 1) lam = np.linalg.eigvals(T) exact = 2*np.cos((2*np.arange(m)+1)*np.pi/(2*m))/np.sqrt(1-q) cost = abs(lam[:,None]-exact[None,:]) ii,jj = linear_sum_assignment(cost) worst = max(worst, float(cost[ii,jj].max())) assert abs(np.mean(lam**2)-2/(1-q))<1e-10 z, gamma = 4.6+.8j, .17 mat = z*np.eye(m)-T P, Q = np.linalg.det(mat[1:,1:]), np.linalg.det(mat) r = 1-1j*gamma*np.linalg.inv(mat + .5j*gamma*edge(m,0,0))[0,0] rp = (Q-.5j*gamma*P)/(Q+.5j*gamma*P) resolvent_err = max(resolvent_err,float(abs(r-rp))) assert worst<3e-8 and resolvent_err<1e-11 # The first incompatible real moment and the two-step Jacobi contraction. for q in (-1.3, -.2, 1., 2., 1j): nums = np.array([sum(q**r for r in range(j)) for j in range(1,4)]) T = np.diag(np.ones(3),-1)+np.diag(nums,1) assert abs(np.linalg.matrix_power(T,4)[0,0]-(2+q))<1e-13 def transfer(n): an,anext=np.sqrt(2.**n-1),np.sqrt(2.**(n+1)-1) return np.array([[1j/anext,-an/anext],[1,0]]) contraction_err=norm(transfer(81)@transfer(80)+np.eye(2)/np.sqrt(2.)) assert contraction_err<1e-11 return dict(primitive_cases=count,max_matched_eigenvalue_error=worst, max_port_formula_error=resolvent_err,real_q2_two_step_error=contraction_err)
def ou_moments(L, ell, sigma, b): h = 1/ell-1j*b def J(z): return L if z == 0 else np.expm1(z*L)/z V = 2*sigma**2 * (L/h + np.expm1(-h*L)/(h*h)).real P = 2*sigma**2/h.conjugate()*(J(2j*b)-J(-h)) return V, V**2+abs(P)**2
def ou_check(): rng = np.random.default_rng(98514) L, ell, sigma, n, paths = 3., .4, .7, 360, 24000 dt = L/n rho = np.exp(-dt/ell) t = (np.arange(n)+.5)*dt freqs = np.array([0.,2.,8.]) exponentials = np.exp(1j*np.outer(t,freqs)) w = rng.normal(size=paths)*sigma F = np.zeros((paths,len(freqs)),dtype=complex) for ph in exponentials: F += dt*w[:,None]*ph w = rho*w + sigma*np.sqrt(1-rho*rho)*rng.normal(size=paths) R = abs(F)**2 rows = [] C = sigma*sigma * np.exp(-abs(t[:,None]-t[None,:])/ell) for j,b in enumerate(freqs): V, v = ou_moments(L,ell,sigma,b) ph = exponentials[:,j]*dt vg = np.vdot(ph,C@ph).real**2 + abs(ph.T@C@ph)**2 Z = R[:,j] mc = np.var(Z,ddof=1) se = np.std((Z-Z.mean())**2,ddof=1)/np.sqrt(paths) assert abs(vg-v)/v<.003 and abs(mc-vg)<6*se rows.append(dict(detuning=float(b),mean=V,continuous_variance=v, grid_variance=float(vg),sample_variance=float(mc),mc_se=float(se))) return dict(paths=paths,midpoints=n,ell=ell,sigma=sigma,L=L,quadratures=rows)
def sewing_check(): rng = np.random.default_rng(788) beta, terms, jet = .22, 13, 4 def driver(t, kind): k = np.arange(terms)[:,None] vals = (np.sin if kind=='x' else np.cos)(2**k*t) return np.sum(.38*2**(-beta*k)*vals, axis=0) def mesh(n): t = np.linspace(0,1,n+1) t[1:-1] += rng.uniform(-.32,.32,n-1)/n return t def inc(points,kind): x = driver(points,kind) dx = 1j*np.diff(x) poly = sum(dx**r/math.factorial(r) for r in range(1,jet+1)) return np.exp(1j*x[:-1])*poly target = np.prod([np.diff(np.exp(1j*driver(np.array([0.,1.]),kind)))[0] for kind in ('x','y')]) rows = [] for n in (8,16,32,64,128,256,512,1024,2048,4096,8192,16384): t,z = mesh(n),mesh(n+3) # The contraction below is the exact grid sum of the product of local germs. sewn = inc(t,'x').sum()*inc(z,'y').sum() rows.append(dict(horizontal=n,vertical=n+3,max_mesh=max(np.diff(t).max(),np.diff(z).max()), absolute_error=float(abs(sewn-target)))) assert rows[-1]['absolute_error']<rows[0]['absolute_error']/30 return dict(beta=beta,jet=jet,finite_frequencies=terms,grid_sums=rows, unit_germ_sum_on_16_by_16=256)
def fisher_check(): a, n = .2, 1e6 guarantees = [] for d in range(2,7): b=2*a**d/math.factorial(d) guarantees.append(dict(distance=d,offset_bound=b,fraction=(1-a*a)**2/(1+n*b*b))) Vff=4*.05**4*.1**3 Vret=Vff*.03**2/65 Vdark=.02**4 ratio=(.25+1e10*Vff)/(.25+1e10*(Vret+Vdark)) assert .1563<ratio<.1565 and .905<guarantees[2]['fraction']<.906 # Direct finite-outcome marginal FI for one common two-point waveform per shot. # Count n=7 photons at the two analyzers, plus a third uncollected-port outcome. from scipy.special import gammaln small_n, k, strength = 7, 4, .28 S = edge(k,0,k-1)+edge(k,k-1,0) O = 1j*(edge(k,0,k-1)-edge(k,k-1,0)) P = edge(k,0,0)+edge(k,k-1,k-1) effects = [(P+O)/2,(P-O)/2,np.eye(k)-P] ps, dps = [], [] for phase in (.3,1.4): a_mat=np.diag(np.ones(k-1),-1).astype(complex) a_mat[-1,-2]=np.exp(1j*phase) H=a_mat+a_mat.conj().T U,dU=expm_frechet(-1j*strength*H/norm(H),-1j*S) x,dx=U[:,0],dU[:,0] ps.append([np.vdot(x,E@x).real for E in effects]) dps.append([2*np.vdot(dx,E@x).real for E in effects]) ps,dps=np.array(ps),np.array(dps) info=mass=0. for i in range(small_n+1): for j in range(small_n-i+1): c=np.array([i,j,small_n-i-j]) terms=np.exp(gammaln(small_n+1)-gammaln(c+1).sum()+(c*np.log(ps)).sum(axis=1)) marginal=terms.mean() derivative=np.mean(terms*(c*dps/ps).sum(axis=1)) mass+=marginal info+=derivative*derivative/marginal b=2*strength**(k-1)/math.factorial(k-1) lower=4*small_n*(1-strength**2)**2/(1+small_n*b*b) assert abs(mass-1)<1e-12 and lower <= info <= 4*small_n+1e-10 return dict(design_action=a,detected_budget=n,guarantees=guarantees, old_model_ratio=ratio,exact_mixture_CFI=float(info),mixture_lower_bound=lower, mixture_clean_CFI=4*small_n,mixture_n=small_n)
def main(): parser=argparse.ArgumentParser(description=__doc__) parser.add_argument('--output',type=Path,default=Path('results.json')) args=parser.parse_args() checks=dict(ambiguity=ambiguity_check,passive_graph=graph_check,common_factor=factor_check, ordered_words=word_check,jordan=nilpotent_check,ordered_lattice=lattice_check, root_spectrum=spectrum_check,ou=ou_check,sewing=sewing_check,information=fisher_check) checks.update(projective_certificate=exact_certificate,weighted_distance=weighted_check, elementary_geometry=geometry_check) data={'runtime':dict(python=platform.python_version(),numpy=np.__version__, scipy=scipy.__version__,sympy=sympy.__version__)} for name,check in checks.items(): data[name]=check() print(f'PASS {name}',flush=True) args.output.write_text(json.dumps(data,indent=2,allow_nan=False)+'\n',encoding='utf-8')
if __name__=='__main__': main()1234567891011121314151617181920212223242526\page\sect{Independent phase drift and imperfect mode matching}\label{sec:visibility}The common-mixing assumption admits a measurable relaxation. Replace \(K(t)\otimes I\) in \eqref{eq:model} with \(\sum_j K_j(t)\otimes E_{jj}\), where each \(K_j(t)\) is Hermitian and can be large. This permits independent propagation phases and arbitrary sideband mixing within each internal vertex. Denote the propagator on vertex \(j\) by \(W_j(t,s)\). Use the same off-diagonal graph and budget \(a\). At zero signal the signed dark offset still obeys \eqref{eq:null}: diagonal internal motion never changes the vertex visited by a word.
\thm{Corollary}{The information bound with calibrated visibility}For an input sideband state \(\xi\), define the dimensionless complex visibility\[ c(\xi)=\frac1L\int_0^L \left\langle W_u(L,0)\xi,\,W_v(L,t)W_u(t,0)\xi\right\rangle\dd t.\]Choose an analyzer phase \(\varphi\) and suppose \(\operatorname{Re}(e^{\ii\varphi}c)\ge\nu>a^2\) uniformly over the allowed backgrounds. Then Theorem 3 holds with numerator \((\nu-a^2)^2\) in place of \((1-a^2)^2\), at the same incident photon number and efficiency. The clean reference in this ratio remains the perfectly matched \(4n\tau L^2\).
\prooftext In the absence of edge defects, at zero signal the endpoint components are \(x_u=W_u(L,0)\xi\) and \(x_v=0\). Differentiation in the direct signal gives \(x'_v=-\ii\int_0^L W_v(L,t)W_u(t,0)\xi\dd t\). For \(O_\varphi=\ii e^{\ii\varphi}E_{uv}-\ii e^{-\ii\varphi}E_{vu}\), the signed slope is exactly \(2L\operatorname{Re}(e^{\ii\varphi}c)\). Even at nonzero signal the defect-free propagator preserves the endpoint plane and its orthogonal complement. The two-insertion argument in Theorem 1 therefore bounds the change in slope by \(2La^2\). The proof of Theorem 3 then applies without change. \fin
Define the remaining mismatch by \(r(t)=\int_t^L\norm{K_v(s)-K_u(s)}\dd s\). The exact one-insertion Duhamel identity gives \(\norm{W_v(L,t)-W_u(L,t)}\le r(t)\) when the difference is bounded and integrable. The two vectors in the integrand of \(c\) are unit vectors, and \(1-\operatorname{Re}\langle x,y\rangle=\norm{x-y}^2/2\). Consequently\[ \operatorname{Re} c\ \ge\ 1-\frac{1}{2L}\int_0^L r(t)^2\dd t .\]Strongly differing \(K_j\) on intermediate vertices do not enter this clean visibility. They can modify coefficients of leakage words, subject to the same graph-distance bound.
\smhead{An exact failure test}If \(K_u=0\), \(K_v=\Delta I\) are constant, then \(c=e^{-\ii\Delta L/2}\operatorname{sinc}(\Delta L/2)\), where \(\operatorname{sinc}x=\sin(x)/x\). At \(\Delta L=2\pi\) the signed slope vanishes for every analyzer phase despite perfect absence of a dark background. A port can therefore be dark, satisfy the predicted leakage exponent, and still be useless for linear sensing. Measuring the calibrated signal slope as well as the dark floor distinguishes these cases.
\smhead{Physical meaning of the direct link}For example, a weak external optical perturbation could couple two modes through an overlap integral while internal coupler fluctuations predominantly connect adjacent auxiliary modes. The same external perturbation may also shift a propagation constant or couple both endpoints through a bypass. Transfer tomography under independently varied signal and nuisance controls can distinguish these generators. The theorems become predictions for that transducer after its measured generators and visibility meet the stated hypotheses.
.gitattributes+1
AGENTS.mdAdded+6
README.mdAdded+88
SHA256SUMSAdded+22
data/claims.jsonlAdded+12
data/transfer_sweep.jsonlAdded+48
data/verification_groups.jsonlAdded+13
research/CNISA_II_Graph_Distance_Manuscript.pdfAdded+3
research/README.mdAdded+67
research/SHA256SUMS.txtAdded+16
research/certificate.pyAdded+65
research/claims.texAdded+20
research/evidence.texAdded+65
research/extensions.texAdded+83
research/figures/distance.pdfAdded
research/make_figure.pyAdded+49
research/manuscript.texAdded+168
research/moments.texAdded+21
research/requirements.txtAdded+4
research/resolution.texAdded+26
research/results.jsonAdded+528
research/transfer.texAdded+91
research/verify.pyAdded+462
research/visibility.texAdded+26