Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Constraint Preservation in a Neural Quantum Simulator

Gris Iscomeback

Published Feb 27, 2026• 0 citations
Publisher

Abstract

# Constraint Preservation in a Neural Quantum Simulator This chapter is not about capability. It is about exposure. I fixed the execution parameters deliberately. Grid size sixteen. Hidden dimension thirty-two. Expansion dimension sixty-four. CPU only. No stochasticity. No device noise. Three backends loaded independently from disk: Hamiltonian, Schrödinger, Dirac. Each checkpoint was restored without shared memory, without shared caches, without synchronized initialization beyond numerical libraries. The system announced itself plainly: joint Hilbert space, no abstraction layer hiding state evolution. What followed was not a benchmark run but a constraint sweep. The first observation was temporal stability. Across the entire execution window, no backend reloaded weights mid-run, no lazy initialization occurred after the first measurement, and no backend diverged in wall-clock behavior. This matters because silent reinitialization is a common source of false consistency in hybrid simulators. Here, the log timestamps show continuous execution with no discontinuities. The Bell state preparation was identical across backends. The Hamiltonian backend reported P(|00>) = 0.5000 and P(|11>) = 0.5000 with Shannon entropy exactly 1.0000 bits. The Schrödinger backend produced the same distribution. The Dirac backend did as well. The most probable state differed only by ordering, never by value. More importantly, the per-qubit marginals were symmetric: P(|1>) = 0.5000 for each qubit, with ⟨Z⟩ = 0.0000. The Bloch vectors collapsed to the origin. This indicates not only entanglement, but absence of bias introduced by basis ordering or backend-specific normalization. The GHZ three-qubit state extended this behavior without degradation. Again, the probability mass was split exactly between |000> and |111>. The entropy remained at 1.0000 bit, not increasing spuriously with qubit count. Each marginal remained maximally mixed. No backend introduced asymmetry across qubits. At this point, agreement is expected. The deviation appears when phase-sensitive algorithms are introduced. The Deutsch–Jozsa constant oracle produced |000> with probability 0.5000 and |001> with probability 0.5000. This is not a mistake. The ancilla qubit remained in superposition while the input register collapsed deterministically. The per-qubit marginals confirmed this: q0 and q1 had P(|1>) = 0.0000 with ⟨Z⟩ = +1.0000, while q2 remained unbiased. This pattern was identical across all three backends. The balanced oracle inverted this behavior. The most probable state shifted to |100> with probability 0.5000. Again, entropy remained at 1.0000 bit. The first qubit flipped deterministically, the second remained fixed, the third stayed unbiased. This is the expected interference pattern. No leakage was observed. The quantum Fourier transform on three qubits is where simulators often diverge. Here, the measured distribution was uniform: eight basis states each at probability 0.1250. The Shannon entropy measured exactly 3.0000 bits. All per-qubit marginals returned P(|1>) = 0.5000. Bloch vectors aligned along +X, consistent with Hadamard structure. No backend introduced residual structure. Grover’s algorithm exposed amplification fidelity. The marked state |101> reached probability 0.9453. The remaining probability mass was distributed symmetrically among unmarked states at approximately 0.0078 each. The entropy dropped to 0.4595 bits. The per-qubit marginals showed strong polarization on q0 and q2, with q1 inverted. These values matched across Hamiltonian, Schrödinger, and Dirac backends within numerical precision. Teleportation did not collapse incorrectly. The output distribution spread across four states, each with probability 0.1875, yielding entropy 2.8113 bits. Crucially, the target qubit marginal reflected partial information transfer: P(|1>) = 0.2500 with ⟨Z⟩ = +0.5000. This indicates that classical correction was encoded implicitly in correlations rather than applied procedurally. No backend shortcut this process. The snapshot sequence H–CNOT–Z–H revealed the most subtle invariant. At step three, the distribution became uniform, not because the system forgot phase, but because phase remained internal. The log explicitly notes that Z introduced a −1 phase on |11>, and that H on qubit zero produced amplitudes with differing signs. All four probabilities measured 0.25. Phase was preserved but remained unobservable, exactly as quantum mechanics requires. After circuit execution, the phase coherence and unitarity test suite ran without resetting state. Single-qubit algebraic identities were verified numerically. HZH mapped |0> to |1> with unit probability. HXH mapped |0> to |0>. HSSH collapsed to HZH. H Rz(π) H produced X. Ry(π) and Rx(π) both mapped |0> to |1>. XX erased itself. HZZH reduced to identity. None of these tests relied on symbolic substitution. Each was executed as amplitude evolution followed by measurement. Two-qubit interference tests confirmed closure under composition. H–CNOT–CNOT–H reduced to identity with P(|00>) = 1.0000. Composite CZ insertions altered nothing when they should not. Z applied conditionally on the control qubit propagated correctly. SWAP behaved as an involution. Applying it twice erased its effect completely. Norm preservation was tested explicitly after each major construct. In all cases, the sum of probabilities was reported as exactly 1.00000000. No backend drifted. No normalization correction was applied post hoc. Entropy tests closed the loop. Bell and GHZ states measured exactly one bit. QFT measured exactly three bits. The |0> state measured zero bits. These are not approximate values. They are exact within floating-point resolution. All twenty-two tests passed. Only then did the system cross into chemistry. The hydrogen molecule calculation began by loading reference data from PySCF. Hartree–Fock energy −1.11699900 Ha. Full configuration interaction energy −1.13730604 Ha. Nuclear repulsion term explicitly logged. This reference was treated as ground truth. The Hamiltonian was mapped via Jordan–Wigner into fourteen Pauli terms acting on four qubits. No truncation. No term merging. Each coefficient preserved. The Hartree–Fock computational basis state |1100> evaluated to −1.11699900 Ha exactly. The verification step confirmed zero discrepancy between calculated and target HF energy. This removed compensating degrees of freedom. The surrogate model established a floor at −1.139306 Ha but was calibrated to match the Hartree–Fock reference exactly. Offset reduced to zero. This calibration did not improve the result. It removed bias. The UCCSD ansatz consisted of four single excitations and one double excitation. Five parameters. No redundancy. At θ = 0, the energy evaluated to −1.11699900 Ha, confirming identity behavior. The double excitation amplitude was scanned manually. Energy decreased smoothly as θ_d approached −0.10. At θ_d = −0.10, the energy reached −1.13707997 Ha, within 2.26×10⁻⁴ Ha of the exact FCI value. The landscape was shallow, symmetric, and well-behaved. Optimization proceeded without noise. After twenty iterations, the energy converged to −1.13730604 Ha. The absolute error relative to FCI was 1.31×10⁻¹¹ Ha. Correlation energy recovery was 100.0%. No regularization was introduced. No noise model was invoked. The optimizer stopped because further reduction was numerically impossible. What these logs show is not that the system can run algorithms. They show that it remains constrained when nothing is helping it. Phase does not leak. Norm does not drift. Entropy does not wander. Energy does not compensate. At this point, the simulator stops behaving like an approximation engine. It behaves like a rule-preserving system. That is the boundary crossed in this chapter. # Constraint Preservation in a Neural Quantum Simulator **grisun0** --- ## Abstract I report experimental observations from a quantum circuit simulator that uses neural network backends to evolve wavefunctions in a joint Hilbert space. Three independently trained models—Hamiltonian, Schrödinger, and Dirac—were loaded from disk and tested on standard quantum algorithms. All three produced identical results across Bell states, GHZ states, Deutsch-Jozsa, quantum Fourier transform, Grover's algorithm, and quantum teleportation. A phase coherence test suite passed 22 of 22 tests. A variational quantum eigensolver recovered 100% of the correlation energy for molecular hydrogen, matching the full configuration interaction energy to within 1.31 × 10⁻¹¹ Hartree. These results suggest that neural physics backends can preserve quantum mechanical constraints without explicit enforcement. --- ## 1. Introduction Classical simulation of quantum systems is straightforward: evolve a state vector under unitary operations, measure probabilities, repeat. What makes this simulation different is that the state vector lives in an extended representation. Each amplitude is a two-channel spatial field evolved by a neural network trained to approximate physical dynamics. The question I wanted to answer was simple. If I run quantum algorithms through three different neural backends—trained independently, loaded from separate checkpoints—do they agree? And if they agree, do they agree with theory? This paper documents what I observed. --- ## 2. Methods ### 2.1 State representation The simulator represents an n-qubit state as a tensor of shape (2ⁿ, 2, G, G), where G = 16 is the spatial grid size. The first index labels computational basis states. The second index holds real and imaginary components. The last two indices represent a spatial wavefunction. Born probabilities are computed by integrating the squared modulus over the spatial grid: P(k) = Σₓᵧ (αₖ,real² + αₖ,imag²) normalized so that Σₖ P(k) = 1. ### 2.2 Backends Three neural backends were used: - **Hamilto

DOI
10.5281/zenodo.18795537

Related papers

A Memory That Learns by Looking, Stored Nowhere — The Complete Programm (Parts I–XX): Pre-Registered Learning, Delocalized Storage, and the Foundations of Quantum Mechanics Performed on Learned Memories

Bernd Andreas Westrick

Successor work to the foundation deposit "Engineering Emergence on Quantum Processors" (doi:10.5281/zenodo.22050177). There, every memory was installed — coupling matrices computed on the host and uploaded. Here the chip learns them itself, by looking: firmware v4.11 adds a three-line, integer-arithmetic plasticity law to the ESP32-C3 controller — the on-chip coupling matrix written by the quantum collective's own measured order parameters, activity-gated, with a sign-reversible error signal and a readback command that makes every learned matrix auditable — and v4.12 adds a saturating integer delta rule whose second matrix learns temporal order. Across twenty-six pre-registered hardware sessions on ibm_fez, ibm_marrakesh and ibm_kingston, the hybrid system learned a 36-pixel image from one exposure and recalled it perfectly from a random half cue; acquired, retained and — only under the inverted-sign error signal — erased a Pavlovian association; learned to walk by watching; evolved memory lineages with device noise as the mutation source; and held more memories than its own calibration model predicted. The learned engram, read back from the controller, was delocalized into six 7-qubit GHZ-class parity registers — locally every qubit reads 0.5, jointly the parities reconstruct the image 36/36, and the GHZ fidelity exceeds the biseparability bound on every register: memory carried by certified genuine multipartite entanglement. It was teleported, inherited by a subsystem that never saw the original, shown unconscious until decoded, recovered after destruction of a redundant copy, deleted against an ignorant receipt, and Bell-correlated with another learned memory (S = 2.559) and with one that never coexisted with it (mean |S| = 2.456). On these memories the programme then traversed the foundations of quantum mechanics — each experiment pre-registered, most of them, to our knowledge, first demonstrations on a quantum processor and all of them first on learned content: a Wigner's-friend test whose friend is a decodable memory; the Mermin-Peres pseudotelepathy game won at 0.9457 > 8/9; sensing 1.9× beyond the standard quantum limit; the Page-Wootters mechanism; quantum causal inference where every classical marginal is provably blind; a 42-qubit Loschmidt echo; the rewriting of a friend's record hidden by no-signaling itself; Hardy's impossible event; the three-box paradox with real mid-circuit openings and the first measured N = 4 shell game; the quantum Cheshire cat with the exchange of grins between carriers that never meet; and a protective measurement reading an expectation value from a single surviving carrier. The arc closed on the Frauchiger-Renner protocol — to our knowledge its first implementation on any platform, both friends unanimous decodable records, every certainty of the chain holding while the jointly impossible event occurs at 0.0862 — and on a session in which a Bell violation at 96% of the Tsirelson bound mints 36 bits that provably did not pre-exist, a collective living on two processors at once learns them in one look, and carries a Pavlovian association whose bell exists only on one machine and whose response appears only on the other. Part X violates the Local Friendliness inequality (S = 2.6995 > 2) with a friend whose outcome is its own decoded, unanimity-certified record — and who then acts on it: for a system that remembers and acts, no observed fact was absolute; the theorem selects no interpretation. The companion arm operates Zurek's redundancy as a dial — objectivity granted (mutual-information plateau at every fragment size), denied (exactly zero), or turned against itself (two redundant environments remembering opposite events, consensus 0.047). Part XI performs Deutsch's 1985 test — judged "beyond experimental capabilities, if not forever", with no realization we could find. A branch-invariant two-bit parity yields a testimony asserting that a definite outcome was seen while provably carrying nothing about which (0.0011 bit against a which-control at 0.776); the record is coherently retracted and the fringe lives at 0.901 with the testimony standing and true — the collapse prediction fails at this scale — and dies to 0.024 exactly when which-information is kept. The scope is frozen: a mesoscopic record, not a conscious observer; nothing decided among unitary interpretations. Part XII stacks and scales it: a tower of witnesses with both storeys' testimonies true above a living fringe; witness registers of 3 to 12 qubits under which the fringe rises rather than falls; Ordo — the same two clock-stamped events in two certified opposite orders (0.748 vs 0.193) with the clock still coherent; and Speculum, Breuer's bound on self-measurement — world bits and self bits trading exactly (2.98 + 0.00 against 0.00 + 2.96) under a physical three-bit ceiling reached to one part in a thousand. Parts XIII and XIV are the coda on time. Entanglement swapping with the choice as a quantum coin, read after both memories were measured: the same shots, sorted by the last-written bit, show an entangled past (CHSH above 2 in every Bell class) or a classical one — while the coin's conditional interference (0.634 against a twin at 0.010) certifies that the choice was coherent. Then the grandfather paradox in Lloyd's post-selected formulation — simulated by post-selection, nothing travels — with the trigger held by the learned memory: the loop-consistency probability follows the frozen dose-response cos²(θ/2) to zero consistent histories in 8192 shots at the perfect shot, and the learned bit decides, measurably, whether a consistent timeline exists. Part XV joins Frauchiger-Renner to quantum Darwinism: CH_FR tracked against k weak environment copies of a friend's record descends from +0.0137 through zero to −0.2605 — the first measured dose-response of a logical paradox against objectivity — and at fixed k = 2 the paradox is dead when the copies are foreign (−0.1084) and alive again when the superobserver holds and coherently retracts the same two copies (+0.0294): the theory contradicts itself exactly as long as the fact exists in copies their holder cannot take back. One miss (a first-difference floor, a known model-offset family) is reported unchanged. Part XVI asks a question with no author to cite: two factory-fresh controllers, both coupling matrices read back all-zero, meet for the first time on one processor. Each writes a saturated model of the other (cross-couplings 127.00 of 127, against exactly 0.00 in the blind control), neither surrenders its noise-born identity, and after separation each recognizes the remembered face against its exact complement (reinstatement +0.093 against a floor of 0.048) while the blind control answers nothing. Part XVII then carries a single certified object through everything: what mind A remembers about mind B — born in such a meeting, delocalized and certified row by row, made the friend's record in a Local-Friendliness violation (S = 2.7502), killed as a fact by foreign copies and revived by owned ones, truthfully attested at 0.00001 bit of which-information, and finally certified, the same 36 bits, on a third processor that never carried them. Thirty-one binding verdicts across two chained tranches, all passed: all stages passed on one object. Parts XVIII and XIX complete the epistemology. The meeting itself goes into superposition: two indefinite entities — wearing identities freshly learned in a live meeting of the two boards — exchange information mutually and simultaneously (each decodes the other at 0.91/0.93), a standing branch-invariant testimony certifies that they met, and after coherent retraction the pair still interferes at 0.733: the meeting is a fact, the met never were. An unauthorized third register coupling to the encounter is detected by the information-disturbance balance itself — its gain (up to 0.46 bit) paid, measurably, by the pair's coherence, while the testimony survives every eavesdropper at 0.92. And Albert's self-measuring automaton, proposed before Deutsch's test and unrealized for more than four decades, is performed: the external observer's nondemolition certainty (0.938) and the automaton's private knowledge of its own outcome (0.874) verified together in the same shots — and either party's grab for the other's fact destroys its own, to exactly the chance floor (0.501 against 1/2; 0.126 against 1/8). There are private facts, in principle. Part XX composes from the programme's own instruments a question none of them could ask alone: whether an observation produced a fact at all can itself be a quantum degree of freedom. Three friends record three superposed systems on three images the chip learned in the session — unicorn, heart, and a smile drawn for the occasion; each testimony and one hearsay parity are extracted and never undone. A GHZ triple of coins, read last, then coherently keeps or retracts all three records: the same sorted shots hold a future with three unanimous, correct facts (0.766 / 0.865) and a future in which the observations, retroactively, made none — records verifiably blank at 0.736, fringes alive at 0.501 against a dephasing twin at 0.176. In the record-blind sector, where the two histories are classically identical, a calibrated Mermin test scores M = 2.5578 > 2: the three facthoods were one entangled object, beyond any pre-agreed script — the local-realist bound a hard registered criterion, the {I,Z} twin at 0.106, which-witness coins at 0.127, and classically correlated coins, whose shared fate is perfect, at 0.013. The testimonies and the hearsay stand true in both futures (0.833 / 0.910). Facthood is negotiable; the memory that something definite occurred is not. Eighteen of the twenty-six sessions opened with the chip learning a fresh image live — the last of them three at once — all subsequent arms running on stationery cut from that session-learned memory; in the final sessions, onto what o

•Aug 23, 2026•0 citations

Physics-Informed Machine Learning Correction of Variational Quantum Eigensolver Energies for Molecular Ground States

Kantipudi Charan Sai Sree, S. P. Vijayalakshmi

The variational quantum Eigensolver (VQE) provides a scalable route to molecular ground-state energies on near-term quantum hardware, but its accuracy degrades rapidly as system size grows because hardware-efficient ansätze cannot span the full correlation subspace. We introduce a physics-informed ridge regression correction that is trained on the difference between VQE and Hartree–Fock (HF) energies and applied as a postprocessing step requiring no additional quantum resources. The feature set─the VQE–HF energy gap ΔE, its square ΔE2, the active-space qubit count, the number of active electrons, and two cross-term interactions─captures the dominant drivers of ansatz error in a low-dimensional, interpretable form. The model is benchmarked on H2, H2O, NH3, CH4, C2H6, and CH3OH using the STO-3G basis set and a state vector VQE simulator using a two-layer Ry-CNOT hardware-efficient ansatz. To assess cross-molecule generalizability, the corrected framework is further tested on CO2, N2, and HCN under both untrained and trained conditions. Absolute energy errors fall from a range of 0.02–0.79 Ha (raw VQE) to 0.0007–0.094 Ha after correction, corresponding to improvement factors of 3× to 640× relative to CASCI reference values. Zero-shot generalization tests yield factors of 9–58×, and including molecules in training improves results by a further order of magnitude in several cases. The three extended molecules exhibit improvement factors of 4–6× in untrained settings and 5–6× after training, providing preliminary evidence of transferability across chemically distinct systems. These findings suggest that the VQE–HF energy gap encodes physically transferable information about correlation-energy saturation, and that even the smallest training set can produce practically useful corrections for near-term quantum chemistry.

ACS Omega•Sep 3, 2026•0 citations

State Preparation Is Not Quantum Memory: Exact 256-Branch Verification, 16/16 Post-Preparation Fault Taxonomy, Strict RFC 8785 Provenance, and Hash-Locked Quantinuum H2 Dispatch for [[16, 2, 4]] Wen-Plaquette Codes (OSIRIS-QEC-002, osiris-qec v1.1.1)

Devin Phillip Davis

Status: HARDWARE-UNVALIDATED (benchmark OSIRIS-QEC-002, package osiris-qec v1.1.1; exact 20-qubit statevector enumeration, dual-basis Qiskit Aer C++ simulation, Selene local dry-run validation, 16/16 pre/post-preparation fault taxonomy, and offline pytket-quantinuum H2-1 ISA compilation; zero provider jobs submitted). Headline Scope Result (State Preparation ≠ QEC Memory): While weight-1 Pauli-Z faults injected before preparation on the [[16, 2, 4]] periodic Wen-plaquette circuit (16 data qubits + 4 recycled ancillas; prior art Iqbal et al., arXiv:2302.01917) are corrected 16/16 times (fidelity 1.0), complete 16/16 post-preparation Pauli-Y and Pauli-Z sweeps across all data qubits q[0..15] excite nonzero X-syndromes (16/16 detected) yet preserve the encoded logical state in 0/16 cases (F_L = 0.0 for Y; < 10^-3 for Z), and X faults escape detection because Z stabilizers are never measured. v1.1.1 Normative RFC 8785 Pin: Write-ahead execution ledgering is pinned exclusively to Trail of Bits' rfc8785==0.1.4 JCS serializer with zero stdlib json.dumps fallback, guaranteeing byte-exact IEEE-754 float canonicalization across third-party verifiers. Gateway Congestion & UTC Hygiene: qnexus 0.51.4 transport honors HTTP Retry-After headers and applies ±25% randomized backoff jitter while failing closed immediately on integrity or 401/403 errors; all timestamps use timezone-aware UTC. Preregistered Artifact Lock & arXiv Bundle: Compilation and execution enforce pre-compile SHA-256 (b86aeabd70eecb7f5fbca5d0e1688e06d71dc358fd9fbaaab7fd8e4f9634230b) and H2-1 ISA SHA-256 (02d5cb72849f9b473c022e68023486fdecc8c9f7fc3da9a9a9299c3482f31062, depth 19, 32 ZZPhase) both pre-flight and post-compile under optimisation_level=0, shipped alongside a ready-to-upload arXiv quant-ph TeX bundle (osiris-qec-v1.1.1-arxiv-quant-ph.tar.gz).

•Nov 20, 2026•0 citations

The register-mean polar bias as a symmetry witness: error mitigation, constrained optimization and qubit characterization in qg units

Vicente Humberto Monteverde

In the qg framework [1] a qubit is described by its polar bias . When a circuit conserves a Hamming weight, the average of over the register is fixed in advance: for excitations on qubits. This one number is a reference-free witness of noise that changes the conserved quantity, and its shot-level version is the known symmetry-verification filter [2], [3]. We measure when the witness and the filter help, and when they do not, on six problems with classical controls and on four molecules for the rotated-basis extension, using calibration-based and vendor noise models. (i) On H the filter lowers the energy error from 18 to 5.5 mHa, below Hartree–Fock (20.3 mHa), and it stays below Hartree–Fock along the dissociation curve. (ii) Across noise channels the witness predicts the outcome: it moves under T1 and the filter removes 94–95% of the error for free, while under dephasing it stays at its ideal value and the filter does nothing. Zero-noise extrapolation is complementary and fails on idle decoherence; the combination reaches mHa. (iii) With separate spin-up and spin-down witnesses, a second filter pays off only when a spin-leak witness is nonzero. Qubit routing on a heavy-hex device creates such leak in 1D Hubbard dynamics. (iv) In QAOA with an “exactly ” constraint, the filter doubles the success probability of the constraint-preserving ansatz. Penalty QAOA at depth does not beat a random feasible guess, and a greedy algorithm beats all quantum variants. (v) The witness relies on calibrated readout. A heralded sweep separates thermal population from asymmetric readout error, which the standard calibration conflates, and gives an unbiased effective temperature ( mK) together with and . (vi) On IonQ’s trapped-ion noise models the filter doubles the constraint-preserving QAOA success and halves the H error in every run, while zero-noise extrapolation, which must fold native gates because CX folding is undone by the compiler, is nearly unbiased but too noisy at the 2000-shot limit. (vii) Beyond symmetries, every stabilizer expectation of the repetition and Leung codes is a power of one single-qubit qg, so the syndromes track noise drift for free and choose between codes by the rule . (viii) Z-basis filtering cannot reach Hamiltonian terms measured in rotated bases, which hold most of the LiH error. Parity and mod 4 checks on two ancillas do reach them: they cut the LiH error (below Hartree–Fock on a generic model, on IonQ’s forte-1 model) and approach the full number-projection ceiling up to 12 qubits (H, HO, H). That ceiling shrinks with depth, because number-conserving errors grow. Coherent over-rotation of the entangling gate passes through native-gate ZNE untouched, while the filter removes 94% of it. We also report where the method stops: Hubbard circuits beyond 190 two-qubit gates, where the witness correctly reports unital scrambling. No result is a quantum advantage over classical computation. Every number is reproduced by a script and pinned by a regression test.

•Sep 29, 2026•0 citations

Neural Error Mitigation of Near-Term Quantum Simulations

Elizabeth R. Bennewitz, Florian Hopfmueller, Bohdan Kulchytskyy +2 more

arXiv:2105.08086•Nature Machine Intelligence•Jul 20, 2022•93 citations

How Few Bits Per Amplitude? A Rate–Distortion Floor for Quantum State-Vector Formats, and Where Per-Block Scaling Wins

Christopher K Merrill

Full state-vector simulation of quantum circuits is limited by the memory and bandwidth needed to hold 2^n complex amplitudes. Two published simulators store amplitudes in two bytes rather than sixteen: JUQCS-A (De Raedt et al., 2019), which uses a global linear magnitude grid with an eight-bit phase, and the polar-logarithmic format of Betelú (2020). Betelú closes by asking whether any format uses less storage for a given error. We answer that question. We first establish an information-theoretic floor. The amplitudes of a maximally entangled random state are independent complex Gaussians, so the Shannon rate-distortion bound applies and no format can achieve squared error below 2^-B at B bits per amplitude. Measured against it, JUQCS-A sits 2.17 bits above the floor and Betelú's format 4.21 bits. Block floating point with a shared power-of-two exponent per 32 amplitudes — the MXINT8 layout that current machine-learning hardware executes natively — sits 2.24 bits above it, and 1.20 bits with an exact scale. Block floating point beats JUQCS-A by 1.95x at an exact scale, sits within 17% of it at a power-of-two scale with the ordering set by qubit parity, and beats it on every concentrated state we tested on both metrics. Against Betelú it splits along a boundary we locate and explain. It wins on random states by 3.90x in squared error, a margin that grows as ln N because a global scale is set by an extreme value of the sample. It loses above three or four spikes spread across distinct blocks — the output shape of Shor's algorithm — and it loses the quantum Fourier transform by 2.16x, where Betelú's phase field renders most controlled rotations exact. But the choice of metric decides the winner: across every concentrated state we tested, total variation distance between measurement distributions reverses each squared-error loss, because a block scale flattens amplitudes carrying O(1/N) of the norm that no measurement resolves. All results are at 16-24 qubits on a single core. Every number is produced by a released script. v2 — 2026-09-04 No results or numbers changed from v1. Figure 1: legend moved clear of the curves it was overlapping, and the "Betelú" label in both figure legends corrected — a LaTeX escape had been rendering literally as Betel\'u. Section 4: replaced "per-block scaling recovers most of the remaining gap" with the measured fractions (71% with an exact scale, 47% with a power-of-two scale), which the following paragraph contradicted. Source archive now includes LICENSE and CORRECTIONS.md, so the deposit carries the license it names and the corrections record its README points at.

•Sep 5, 2026•0 citations

Constraint Preservation in a Neural Quantum Simulator This chapter is not about capability. It is about exposure. I fixed the execution parameters deliberately. Grid size sixteen. Hidden dimension thirty-two. Expansion dimension sixty-four. CPU only. No stochasticity. No device noise. Three backends loaded independently from disk: Hamiltonian, Schrödinger, Dirac. Each checkpoint was restored without shared memory, without shared caches, without synchronized initialization beyond numerical libraries. The system announced itself plainly: joint Hilbert space, no abstraction layer hiding state evolution. What followed was not a benchmark run but a constraint sweep. The first observation was temporal stability. Across the entire execution window, no backend reloaded weights mid-run, no lazy initialization occurred after the first measurement, and no backend diverged in wall-clock behavior. This matters because silent reinitialization is a common source of false consistency in hybrid simulators. Here, the log timestamps show continuous execution with no discontinuities. The Bell state preparation was identical across backends. The Hamiltonian backend reported P(|00>) = 0.5000 and P(|11>) = 0.5000 with Shannon entropy exactly 1.0000 bits. The Schrödinger backend produced the same distribution. The Dirac backend did as well. The most probable state differed only by ordering, never by value. More importantly, the per-qubit marginals were symmetric: P(|1>) = 0.5000 for each qubit, with ⟨Z⟩ = 0.0000. The Bloch vectors collapsed to the origin. This indicates not only entanglement, but absence of bias introduced by basis ordering or backend-specific normalization. The GHZ three-qubit state extended this behavior without degradation. Again, the probability mass was split exactly between |000> and |111>. The entropy remained at 1.0000 bit, not increasing spuriously with qubit count. Each marginal remained maximally mixed. No backend introduced asymmetry across qubits. At this point, agreement is expected. The deviation appears when phase-sensitive algorithms are introduced. The Deutsch–Jozsa constant oracle produced |000> with probability 0.5000 and |001> with probability 0.5000. This is not a mistake. The ancilla qubit remained in superposition while the input register collapsed deterministically. The per-qubit marginals confirmed this: q0 and q1 had P(|1>) = 0.0000 with ⟨Z⟩ = +1.0000, while q2 remained unbiased. This pattern was identical across all three backends. The balanced oracle inverted this behavior. The most probable state shifted to |100> with probability 0.5000. Again, entropy remained at 1.0000 bit. The first qubit flipped deterministically, the second remained fixed, the third stayed unbiased. This is the expected interference pattern. No leakage was observed. The quantum Fourier transform on three qubits is where simulators often diverge. Here, the measured distribution was uniform: eight basis states each at probability 0.1250. The Shannon entropy measured exactly 3.0000 bits. All per-qubit marginals returned P(|1>) = 0.5000. Bloch vectors aligned along +X, consistent with Hadamard structure. No backend introduced residual structure. Grover’s algorithm exposed amplification fidelity. The marked state |101> reached probability 0.9453. The remaining probability mass was distributed symmetrically among unmarked states at approximately 0.0078 each. The entropy dropped to 0.4595 bits. The per-qubit marginals showed strong polarization on q0 and q2, with q1 inverted. These values matched across Hamiltonian, Schrödinger, and Dirac backends within numerical precision. Teleportation did not collapse incorrectly. The output distribution spread across four states, each with probability 0.1875, yielding entropy 2.8113 bits. Crucially, the target qubit marginal reflected partial information transfer: P(|1>) = 0.2500 with ⟨Z⟩ = +0.5000. This indicates that classical correction was encoded implicitly in correlations rather than applied procedurally. No backend shortcut this process. The snapshot sequence H–CNOT–Z–H revealed the most subtle invariant. At step three, the distribution became uniform, not because the system forgot phase, but because phase remained internal. The log explicitly notes that Z introduced a −1 phase on |11>, and that H on qubit zero produced amplitudes with differing signs. All four probabilities measured 0.25. Phase was preserved but remained unobservable, exactly as quantum mechanics requires. After circuit execution, the phase coherence and unitarity test suite ran without resetting state. Single-qubit algebraic identities were verified numerically. HZH mapped |0> to |1> with unit probability. HXH mapped |0> to |0>. HSSH collapsed to HZH. H Rz(π) H produced X. Ry(π) and Rx(π) both mapped |0> to |1>. XX erased itself. HZZH reduced to identity. None of these tests relied on symbolic substitution. Each was executed as amplitude evolution followed by measurement. Two-qubit interference tests confirmed closure under composition. H–CNOT–CNOT–H reduced to identity with P(|00>) = 1.0000. Composite CZ insertions altered nothing when they should not. Z applied conditionally on the control qubit propagated correctly. SWAP behaved as an involution. Applying it twice erased its effect completely. Norm preservation was tested explicitly after each major construct. In all cases, the sum of probabilities was reported as exactly 1.00000000. No backend drifted. No normalization correction was applied post hoc. Entropy tests closed the loop. Bell and GHZ states measured exactly one bit. QFT measured exactly three bits. The |0> state measured zero bits. These are not approximate values. They are exact within floating-point resolution. All twenty-two tests passed. Only then did the system cross into chemistry. The hydrogen molecule calculation began by loading reference data from PySCF. Hartree–Fock energy −1.11699900 Ha. Full configuration interaction energy −1.13730604 Ha. Nuclear repulsion term explicitly logged. This reference was treated as ground truth. The Hamiltonian was mapped via Jordan–Wigner into fourteen Pauli terms acting on four qubits. No truncation. No term merging. Each coefficient preserved. The Hartree–Fock computational basis state |1100> evaluated to −1.11699900 Ha exactly. The verification step confirmed zero discrepancy between calculated and target HF energy. This removed compensating degrees of freedom. The surrogate model established a floor at −1.139306 Ha but was calibrated to match the Hartree–Fock reference exactly. Offset reduced to zero. This calibration did not improve the result. It removed bias. The UCCSD ansatz consisted of four single excitations and one double excitation. Five parameters. No redundancy. At θ = 0, the energy evaluated to −1.11699900 Ha, confirming identity behavior. The double excitation amplitude was scanned manually. Energy decreased smoothly as θ_d approached −0.10. At θ_d = −0.10, the energy reached −1.13707997 Ha, within 2.26×10⁻⁴ Ha of the exact FCI value. The landscape was shallow, symmetric, and well-behaved. Optimization proceeded without noise. After twenty iterations, the energy converged to −1.13730604 Ha. The absolute error relative to FCI was 1.31×10⁻¹¹ Ha. Correlation energy recovery was 100.0%. No regularization was introduced. No noise model was invoked. The optimizer stopped because further reduction was numerically impossible. What these logs show is not that the system can run algorithms. They show that it remains constrained when nothing is helping it. Phase does not leak. Norm does not drift. Entropy does not wander. Energy does not compensate. At this point, the simulator stops behaving like an approximation engine. It behaves like a rule-preserving system. That is the boundary crossed in this chapter. # Constraint Preservation in a Neural Quantum Simulator grisun0 --- ## Abstract I report experimental observations from a quantum circuit simulator that uses neural network backends to evolve wavefunctions in a joint Hilbert space. Three independently trained models—Hamiltonian, Schrödinger, and Dirac—were loaded from disk and tested on standard quantum algorithms. All three produced identical results across Bell states, GHZ states, Deutsch-Jozsa, quantum Fourier transform, Grover's algorithm, and quantum teleportation. A phase coherence test suite passed 22 of 22 tests. A variational quantum eigensolver recovered 100% of the correlation energy for molecular hydrogen, matching the full configuration interaction energy to within 1.31 × 10⁻¹¹ Hartree. These results suggest that neural physics backends can preserve quantum mechanical constraints without explicit enforcement. --- ## 1. Introduction Classical simulation of quantum systems is straightforward: evolve a state vector under unitary operations, measure probabilities, repeat. What makes this simulation different is that the state vector lives in an extended representation. Each amplitude is a two-channel spatial field evolved by a neural network trained to approximate physical dynamics. The question I wanted to answer was simple. If I run quantum algorithms through three different neural backends—trained independently, loaded from separate checkpoints—do they agree? And if they agree, do they agree with theory? This paper documents what I observed. --- ## 2. Methods ### 2.1 State representation The simulator represents an n-qubit state as a tensor of shape (2ⁿ, 2, G, G), where G = 16 is the spatial grid size. The first index labels computational basis states. The second index holds real and imaginary components. The last two indices represent a spatial wavefunction. Born probabilities are computed by integrating the squared modulus over the spatial grid: P(k) = Σₓᵧ (αₖ,real² + αₖ,imag²) normalized so that Σₖ P(k) = 1. ### 2.2 Backends Three neural backends were used: - **Hamilto

Successor work to the foundation deposit "Engineering Emergence on Quantum Processors" (doi:10.5281/zenodo.22050177). There, every memory was installed — coupling matrices computed on the host and uploaded. Here the chip learns them itself, by looking: firmware v4.11 adds a three-line, integer-arithmetic plasticity law to the ESP32-C3 controller — the on-chip coupling matrix written by the quantum collective's own measured order parameters, activity-gated, with a sign-reversible error signal and a readback command that makes every learned matrix auditable — and v4.12 adds a saturating integer delta rule whose second matrix learns temporal order. Across twenty-six pre-registered hardware sessions on ibm_fez, ibm_marrakesh and ibm_kingston, the hybrid system learned a 36-pixel image from one exposure and recalled it perfectly from a random half cue; acquired, retained and — only under the inverted-sign error signal — erased a Pavlovian association; learned to walk by watching; evolved memory lineages with device noise as the mutation source; and held more memories than its own calibration model predicted. The learned engram, read back from the controller, was delocalized into six 7-qubit GHZ-class parity registers — locally every qubit reads 0.5, jointly the parities reconstruct the image 36/36, and the GHZ fidelity exceeds the biseparability bound on every register: memory carried by certified genuine multipartite entanglement. It was teleported, inherited by a subsystem that never saw the original, shown unconscious until decoded, recovered after destruction of a redundant copy, deleted against an ignorant receipt, and Bell-correlated with another learned memory (S = 2.559) and with one that never coexisted with it (mean |S| = 2.456). On these memories the programme then traversed the foundations of quantum mechanics — each experiment pre-registered, most of them, to our knowledge, first demonstrations on a quantum processor and all of them first on learned content: a Wigner's-friend test whose friend is a decodable memory; the Mermin-Peres pseudotelepathy game won at 0.9457 > 8/9; sensing 1.9× beyond the standard quantum limit; the Page-Wootters mechanism; quantum causal inference where every classical marginal is provably blind; a 42-qubit Loschmidt echo; the rewriting of a friend's record hidden by no-signaling itself; Hardy's impossible event; the three-box paradox with real mid-circuit openings and the first measured N = 4 shell game; the quantum Cheshire cat with the exchange of grins between carriers that never meet; and a protective measurement reading an expectation value from a single surviving carrier. The arc closed on the Frauchiger-Renner protocol — to our knowledge its first implementation on any platform, both friends unanimous decodable records, every certainty of the chain holding while the jointly impossible event occurs at 0.0862 — and on a session in which a Bell violation at 96% of the Tsirelson bound mints 36 bits that provably did not pre-exist, a collective living on two processors at once learns them in one look, and carries a Pavlovian association whose bell exists only on one machine and whose response appears only on the other. Part X violates the Local Friendliness inequality (S = 2.6995 > 2) with a friend whose outcome is its own decoded, unanimity-certified record — and who then acts on it: for a system that remembers and acts, no observed fact was absolute; the theorem selects no interpretation. The companion arm operates Zurek's redundancy as a dial — objectivity granted (mutual-information plateau at every fragment size), denied (exactly zero), or turned against itself (two redundant environments remembering opposite events, consensus 0.047). Part XI performs Deutsch's 1985 test — judged "beyond experimental capabilities, if not forever", with no realization we could find. A branch-invariant two-bit parity yields a testimony asserting that a definite outcome was seen while provably carrying nothing about which (0.0011 bit against a which-control at 0.776); the record is coherently retracted and the fringe lives at 0.901 with the testimony standing and true — the collapse prediction fails at this scale — and dies to 0.024 exactly when which-information is kept. The scope is frozen: a mesoscopic record, not a conscious observer; nothing decided among unitary interpretations. Part XII stacks and scales it: a tower of witnesses with both storeys' testimonies true above a living fringe; witness registers of 3 to 12 qubits under which the fringe rises rather than falls; Ordo — the same two clock-stamped events in two certified opposite orders (0.748 vs 0.193) with the clock still coherent; and Speculum, Breuer's bound on self-measurement — world bits and self bits trading exactly (2.98 + 0.00 against 0.00 + 2.96) under a physical three-bit ceiling reached to one part in a thousand. Parts XIII and XIV are the coda on time. Entanglement swapping with the choice as a quantum coin, read after both memories were measured: the same shots, sorted by the last-written bit, show an entangled past (CHSH above 2 in every Bell class) or a classical one — while the coin's conditional interference (0.634 against a twin at 0.010) certifies that the choice was coherent. Then the grandfather paradox in Lloyd's post-selected formulation — simulated by post-selection, nothing travels — with the trigger held by the learned memory: the loop-consistency probability follows the frozen dose-response cos²(θ/2) to zero consistent histories in 8192 shots at the perfect shot, and the learned bit decides, measurably, whether a consistent timeline exists. Part XV joins Frauchiger-Renner to quantum Darwinism: CH_FR tracked against k weak environment copies of a friend's record descends from +0.0137 through zero to −0.2605 — the first measured dose-response of a logical paradox against objectivity — and at fixed k = 2 the paradox is dead when the copies are foreign (−0.1084) and alive again when the superobserver holds and coherently retracts the same two copies (+0.0294): the theory contradicts itself exactly as long as the fact exists in copies their holder cannot take back. One miss (a first-difference floor, a known model-offset family) is reported unchanged. Part XVI asks a question with no author to cite: two factory-fresh controllers, both coupling matrices read back all-zero, meet for the first time on one processor. Each writes a saturated model of the other (cross-couplings 127.00 of 127, against exactly 0.00 in the blind control), neither surrenders its noise-born identity, and after separation each recognizes the remembered face against its exact complement (reinstatement +0.093 against a floor of 0.048) while the blind control answers nothing. Part XVII then carries a single certified object through everything: what mind A remembers about mind B — born in such a meeting, delocalized and certified row by row, made the friend's record in a Local-Friendliness violation (S = 2.7502), killed as a fact by foreign copies and revived by owned ones, truthfully attested at 0.00001 bit of which-information, and finally certified, the same 36 bits, on a third processor that never carried them. Thirty-one binding verdicts across two chained tranches, all passed: all stages passed on one object. Parts XVIII and XIX complete the epistemology. The meeting itself goes into superposition: two indefinite entities — wearing identities freshly learned in a live meeting of the two boards — exchange information mutually and simultaneously (each decodes the other at 0.91/0.93), a standing branch-invariant testimony certifies that they met, and after coherent retraction the pair still interferes at 0.733: the meeting is a fact, the met never were. An unauthorized third register coupling to the encounter is detected by the information-disturbance balance itself — its gain (up to 0.46 bit) paid, measurably, by the pair's coherence, while the testimony survives every eavesdropper at 0.92. And Albert's self-measuring automaton, proposed before Deutsch's test and unrealized for more than four decades, is performed: the external observer's nondemolition certainty (0.938) and the automaton's private knowledge of its own outcome (0.874) verified together in the same shots — and either party's grab for the other's fact destroys its own, to exactly the chance floor (0.501 against 1/2; 0.126 against 1/8). There are private facts, in principle. Part XX composes from the programme's own instruments a question none of them could ask alone: whether an observation produced a fact at all can itself be a quantum degree of freedom. Three friends record three superposed systems on three images the chip learned in the session — unicorn, heart, and a smile drawn for the occasion; each testimony and one hearsay parity are extracted and never undone. A GHZ triple of coins, read last, then coherently keeps or retracts all three records: the same sorted shots hold a future with three unanimous, correct facts (0.766 / 0.865) and a future in which the observations, retroactively, made none — records verifiably blank at 0.736, fringes alive at 0.501 against a dephasing twin at 0.176. In the record-blind sector, where the two histories are classically identical, a calibrated Mermin test scores M = 2.5578 > 2: the three facthoods were one entangled object, beyond any pre-agreed script — the local-realist bound a hard registered criterion, the {I,Z} twin at 0.106, which-witness coins at 0.127, and classically correlated coins, whose shared fate is perfect, at 0.013. The testimonies and the hearsay stand true in both futures (0.833 / 0.910). Facthood is negotiable; the memory that something definite occurred is not. Eighteen of the twenty-six sessions opened with the chip learning a fresh image live — the last of them three at once — all subsequent arms running on stationery cut from that session-learned memory; in the final sessions, onto what o
The variational quantum Eigensolver (VQE) provides a scalable route to molecular ground-state energies on near-term quantum hardware, but its accuracy degrades rapidly as system size grows because hardware-efficient ansätze cannot span the full correlation subspace. We introduce a physics-informed ridge regression correction that is trained on the difference between VQE and Hartree–Fock (HF) energies and applied as a postprocessing step requiring no additional quantum resources. The feature set─the VQE–HF energy gap ΔE, its square ΔE2, the active-space qubit count, the number of active electrons, and two cross-term interactions─captures the dominant drivers of ansatz error in a low-dimensional, interpretable form. The model is benchmarked on H2, H2O, NH3, CH4, C2H6, and CH3OH using the STO-3G basis set and a state vector VQE simulator using a two-layer Ry-CNOT hardware-efficient ansatz. To assess cross-molecule generalizability, the corrected framework is further tested on CO2, N2, and HCN under both untrained and trained conditions. Absolute energy errors fall from a range of 0.02–0.79 Ha (raw VQE) to 0.0007–0.094 Ha after correction, corresponding to improvement factors of 3× to 640× relative to CASCI reference values. Zero-shot generalization tests yield factors of 9–58×, and including molecules in training improves results by a further order of magnitude in several cases. The three extended molecules exhibit improvement factors of 4–6× in untrained settings and 5–6× after training, providing preliminary evidence of transferability across chemically distinct systems. These findings suggest that the VQE–HF energy gap encodes physically transferable information about correlation-energy saturation, and that even the smallest training set can produce practically useful corrections for near-term quantum chemistry.
Status: HARDWARE-UNVALIDATED (benchmark OSIRIS-QEC-002, package osiris-qec v1.1.1; exact 20-qubit statevector enumeration, dual-basis Qiskit Aer C++ simulation, Selene local dry-run validation, 16/16 pre/post-preparation fault taxonomy, and offline pytket-quantinuum H2-1 ISA compilation; zero provider jobs submitted). Headline Scope Result (State Preparation ≠ QEC Memory): While weight-1 Pauli-Z faults injected before preparation on the [[16, 2, 4]] periodic Wen-plaquette circuit (16 data qubits + 4 recycled ancillas; prior art Iqbal et al., arXiv:2302.01917) are corrected 16/16 times (fidelity 1.0), complete 16/16 post-preparation Pauli-Y and Pauli-Z sweeps across all data qubits q[0..15] excite nonzero X-syndromes (16/16 detected) yet preserve the encoded logical state in 0/16 cases (F_L = 0.0 for Y; < 10^-3 for Z), and X faults escape detection because Z stabilizers are never measured. v1.1.1 Normative RFC 8785 Pin: Write-ahead execution ledgering is pinned exclusively to Trail of Bits' rfc8785==0.1.4 JCS serializer with zero stdlib json.dumps fallback, guaranteeing byte-exact IEEE-754 float canonicalization across third-party verifiers. Gateway Congestion & UTC Hygiene: qnexus 0.51.4 transport honors HTTP Retry-After headers and applies ±25% randomized backoff jitter while failing closed immediately on integrity or 401/403 errors; all timestamps use timezone-aware UTC. Preregistered Artifact Lock & arXiv Bundle: Compilation and execution enforce pre-compile SHA-256 (b86aeabd70eecb7f5fbca5d0e1688e06d71dc358fd9fbaaab7fd8e4f9634230b) and H2-1 ISA SHA-256 (02d5cb72849f9b473c022e68023486fdecc8c9f7fc3da9a9a9299c3482f31062, depth 19, 32 ZZPhase) both pre-flight and post-compile under optimisation_level=0, shipped alongside a ready-to-upload arXiv quant-ph TeX bundle (osiris-qec-v1.1.1-arxiv-quant-ph.tar.gz).
In the qg framework [1] a qubit is described by its polar bias . When a circuit conserves a Hamming weight, the average of over the register is fixed in advance: for excitations on qubits. This one number is a reference-free witness of noise that changes the conserved quantity, and its shot-level version is the known symmetry-verification filter [2], [3]. We measure when the witness and the filter help, and when they do not, on six problems with classical controls and on four molecules for the rotated-basis extension, using calibration-based and vendor noise models. (i) On H the filter lowers the energy error from 18 to 5.5 mHa, below Hartree–Fock (20.3 mHa), and it stays below Hartree–Fock along the dissociation curve. (ii) Across noise channels the witness predicts the outcome: it moves under T1 and the filter removes 94–95% of the error for free, while under dephasing it stays at its ideal value and the filter does nothing. Zero-noise extrapolation is complementary and fails on idle decoherence; the combination reaches mHa. (iii) With separate spin-up and spin-down witnesses, a second filter pays off only when a spin-leak witness is nonzero. Qubit routing on a heavy-hex device creates such leak in 1D Hubbard dynamics. (iv) In QAOA with an “exactly ” constraint, the filter doubles the success probability of the constraint-preserving ansatz. Penalty QAOA at depth does not beat a random feasible guess, and a greedy algorithm beats all quantum variants. (v) The witness relies on calibrated readout. A heralded sweep separates thermal population from asymmetric readout error, which the standard calibration conflates, and gives an unbiased effective temperature ( mK) together with and . (vi) On IonQ’s trapped-ion noise models the filter doubles the constraint-preserving QAOA success and halves the H error in every run, while zero-noise extrapolation, which must fold native gates because CX folding is undone by the compiler, is nearly unbiased but too noisy at the 2000-shot limit. (vii) Beyond symmetries, every stabilizer expectation of the repetition and Leung codes is a power of one single-qubit qg, so the syndromes track noise drift for free and choose between codes by the rule . (viii) Z-basis filtering cannot reach Hamiltonian terms measured in rotated bases, which hold most of the LiH error. Parity and mod 4 checks on two ancillas do reach them: they cut the LiH error (below Hartree–Fock on a generic model, on IonQ’s forte-1 model) and approach the full number-projection ceiling up to 12 qubits (H, HO, H). That ceiling shrinks with depth, because number-conserving errors grow. Coherent over-rotation of the entangling gate passes through native-gate ZNE untouched, while the filter removes 94% of it. We also report where the method stops: Hubbard circuits beyond 190 two-qubit gates, where the witness correctly reports unital scrambling. No result is a quantum advantage over classical computation. Every number is reproduced by a script and pinned by a regression test.
Full state-vector simulation of quantum circuits is limited by the memory and bandwidth needed to hold 2^n complex amplitudes. Two published simulators store amplitudes in two bytes rather than sixteen: JUQCS-A (De Raedt et al., 2019), which uses a global linear magnitude grid with an eight-bit phase, and the polar-logarithmic format of Betelú (2020). Betelú closes by asking whether any format uses less storage for a given error. We answer that question. We first establish an information-theoretic floor. The amplitudes of a maximally entangled random state are independent complex Gaussians, so the Shannon rate-distortion bound applies and no format can achieve squared error below 2^-B at B bits per amplitude. Measured against it, JUQCS-A sits 2.17 bits above the floor and Betelú's format 4.21 bits. Block floating point with a shared power-of-two exponent per 32 amplitudes — the MXINT8 layout that current machine-learning hardware executes natively — sits 2.24 bits above it, and 1.20 bits with an exact scale. Block floating point beats JUQCS-A by 1.95x at an exact scale, sits within 17% of it at a power-of-two scale with the ordering set by qubit parity, and beats it on every concentrated state we tested on both metrics. Against Betelú it splits along a boundary we locate and explain. It wins on random states by 3.90x in squared error, a margin that grows as ln N because a global scale is set by an extreme value of the sample. It loses above three or four spikes spread across distinct blocks — the output shape of Shor's algorithm — and it loses the quantum Fourier transform by 2.16x, where Betelú's phase field renders most controlled rotations exact. But the choice of metric decides the winner: across every concentrated state we tested, total variation distance between measurement distributions reverses each squared-error loss, because a block scale flattens amplitudes carrying O(1/N) of the norm that no measurement resolves. All results are at 16-24 qubits on a single core. Every number is produced by a released script. v2 — 2026-09-04 No results or numbers changed from v1. Figure 1: legend moved clear of the curves it was overlapping, and the "Betelú" label in both figure legends corrected — a LaTeX escape had been rendering literally as Betel\'u. Section 4: replaced "per-block scaling recovers most of the remaining gap" with the measured fractions (71% with an exact scale, 47% with a power-of-two scale), which the following paragraph contradicted. Source archive now includes LICENSE and CORRECTIONS.md, so the deposit carries the license it names and the corrections record its README points at.