betaFeedback

WorksPhysics and Astronomy

Trainable Quantum-Native Language Models: Dissipative Memory, Capacity Limits, and Hardware Validation

Abstract

We study byte-level autoregressive language models whose hidden state is a small quantum register, whose transitions are learned token-conditioned quantum channels, and whose next-byte probabilities come directly from Born-rule measurements without a learned classical vocabulary projection or softmax. In the fixed-width recurrent setting, unitary dynamics cannot contract or reset stored distinctions; experimentally, unitary recurrence loses to its retrained one-token control in every tested variant. Introducing learned dissipation, then token-conditioned dissipative gating, yields useful memory beyond one token. The gated model improves test negative log-likelihood by 0.20 +/- 0.03 nats/byte over retrained parameter-matched one-token controls at context length 12, and by 0.29-0.33 at longer contexts, but never beats retrained two-token controls. A key-value recall benchmark shows a width-dependent threshold: one stored pair meets the pre-registered accuracy bar at 4-5 memory qubits, two pairs at 6-7, and three pairs remain unsolved. This is consistent with, but does not establish, a capacity explanation for the short effective memory horizon. As a secondary result, one-qubit models reach lower stationary memory entropy than a heuristically optimized classical predictive frontier at matched error in 9/9 seeds. On IBM Heron hardware, computational-basis memory-register distributions show signal against a uniform null in 12/12 circuits across prefixes of up to 12 tokens, next-bit probabilities pass pre-registered accuracy bars at four-token prefixes, and bytes are generated autoregressively by sampling physically measured bit probabilities. The tested models are classically simulable and substantially worse than classical n-gram baselines. We claim no computational quantum advantage.

Introduction

Can a quantum system serve as the native substrate of a language model - state, dynamics, and sampling all quantum, with classical computation confined to optimization and control? The question is usually approached theoretically. We approach it experimentally, within a single architecture family, under a pre-registered, falsification-first protocol: every hypothesis was registered with quantitative bars before its runs, every claim was adjudicated against retrained parameter-matched controls and recomputed baselines, and every negative result is reported.

Scope and the central statement. The paper’s main line is a sequence: closed (unitary) quantum memory →\to its inability to learn useful forgetting →\to learned dissipation →\to token-conditioned dissipative gating →\to measured capacity limits →\to compilation and validation on real hardware. The statement it supports is this: trainable quantum-native recurrent language models of this kind require controlled non-unitary memory dynamics; those dynamics produce useful recurrent memory but remain strongly capacity-limited at small qubit counts; and the resulting model can nevertheless be compiled and run end-to-end on present quantum hardware, with its measured statistics validated against simulation. A memory-entropy result on a synthetic process is reported as a secondary contribution with a strictly stated scope.

What ”quantum-native” means here. We call a model quantum-native when (i) its recurrent hidden state is a quantum state (a density matrix ρt\rho_t on nn memory qubits), (ii) each state transition is a quantum channel (a completely positive trace-preserving map), (iii) the output distribution over tokens is obtained directly from measurement probabilities, p(y)=Tr⁡(Myρt)p(y) = \operatorname{Tr}(M_y\rho_t) for a POVM {My}\{M_y\}, (iv) sampled outputs are fed back autoregressively as inputs to the quantum transition, and (v) there is no learned classical vocabulary projection producing logits. Classical optimization of the parameters, classical control flow, circuit compilation, shot counting, and sampling orchestration do not affect this definition; they are present in every quantum algorithm. The definition separates this work from hybrid designs in which a quantum circuit acts as a feature extractor whose measured expectation values feed a classical output layer (§ 2).

No computational advantage. We state up front, and repeat in the limitations, that no computational quantum advantage is claimed. Classically, the models are input-switched Kraus-map state-space models with a quadratic readout; at 4–8 qubits they are exactly simulable, and all training in this paper was done in simulation. None of the models approaches the quality of a classical 4-gram model on the same corpus.

Contributions.

  • A. Architecture. We give a precise statement of why closed unitary recurrence cannot implement the many-to-one contraction that learned forgetting requires (§ 4), show experimentally that unitary memory loses to retrained one-token controls in five variants at two widths, and show that a learned dissipation channel (UMW-D) and then a token-conditioned dissipative channel (UMW-G) restore and then more than double the beyond-one-token value of memory, with controls that are parameter-count-matched by construction (§ 5).

  • B. Capacity. On a key–value recall ladder over 4–7 qubits, the largest solvable task shifts from one stored pair to two as width grows, while three pairs (10 bits of value content, 19 bits of configuration entropy) remain unsolved at every width; we define the quantities involved and relate the models’ persistent two-token horizon on text to accessible-information bounds, using the language of consistency rather than causation (§ 6).

  • C. Hardware. Compiled to line-entangler circuits, the model’s computational-basis memory-register statistics, next-bit probabilities, and autoregressive generation were validated on an IBM Heron processor in three clearly separated levels, with local unitary-equivalence and simulator checks before every submission and every failure recorded (§ 8).

  • Secondary. A stationary memory-entropy separation from attacked classical predictors at matched error on a process whose classical statistical complexity is known exactly (§ 7); a purification-factor training representation, exact at full rank, that enables controlled low-rank training at 7–8 qubits, together with scaling observations on compiled circuits (§ 9, Appendix § 13).

Related work

Quantum simulation of stochastic processes and quantum statistical complexity. Gu et al. [15] showed that a quantum simulator of a classical stochastic process can require less memory entropy than the statistical complexity CμC_\mu, which lower-bounds every exact classical predictor; subsequent work characterized the quantum statistical complexity and its optima [27, 6, 25, 11]. These constructions are analytic. Our § 7 asks whether gradient-trained models land in that regime, using the perturbed coin whose Cμ=ln⁡2C_\mu= \ln2 is exact and whose quantum optimum CqC_q is known in closed form.

Quantum recurrent neural networks. Recurrent quantum models have been proposed in several forms: parameterized circuits with a reset-and-reload cell [3], quantum long short-term memory cells in which variational circuits replace the gates of a classical LSTM [7], and quantum recurrent networks for sequential learning [23]. To our reading, these designs carry a classical recurrent state between steps - measured expectation values that are re-encoded into the next circuit - and produce outputs through a classical layer. Closest to us in spirit is the fully quantum-native recurrent network of Huang and Yi [17], which preserves a quantum memory state across a sequence under coherent unitary recurrence and reports NISQ hardware experiments on time-series forecasting; it produces scalar forecast outputs rather than a distribution over a token vocabulary, and its recurrence is unitary - the very regime our § 4 finds unable to learn forgetting for language modeling. Persistent quantum recurrent state on hardware is therefore not itself new. Ours keeps the quantum state as the persistent hidden state, never measured between tokens, evolves it by learned dissipative, token-conditioned channels, and obtains the token distribution directly from a POVM on that state. Quantum reservoir computing [12, 28] is a closer dynamical cousin: it exploits dissipative quantum dynamics precisely because fading memory is needed for sequential processing, but its readout is a trained classical linear map on measured observables and its dynamics are not trained.

Quantum natural language processing. The compositional (DisCoCat) program maps grammatical structure to tensor contractions and then to circuits [9], with hardware experiments on sentence classification and question answering [30, 26, 20]. These are classification or similarity tasks over fixed-length inputs rather than autoregressive sequence modeling.

Quantum generative modeling and language generation. Quantum circuit Born machines sample from a measured output distribution [5, 24, 10], and hardware demonstrations of quantum generative models exist (Zoufal et al., 2019; Rudolph et al., 2022). Born machines share with our readout the principle that probabilities are measurement probabilities, but they model a single fixed-length distribution rather than a recurrent autoregressive process with a persistent hidden state. Quantum natural language generation on near-term devices has been demonstrated by sampling sentences from circuits that encode grammatical and semantic constraints [19]; that approach does not train a recurrent model on a corpus and does not carry a quantum hidden state across generated tokens. Balauca et al. [2] report practical hybrid quantum language models - QRNN- and QCNN-style circuits run on real IBM hardware - with generative language modeling; their output path is hybrid: quantum recurrent processing → measured observables → a classical vocabulary projection producing logits. Quantum transformer proposals [21] target the attention computation and likewise retain a classical output head. The architectural distinction we draw throughout is between a quantum feature extractor feeding classical logits and direct quantum-state-to-token-probability generation with a quantum hidden state fed back autoregressively; the novelty claim in §8.4 rests on that combination - with Huang and Yi [17] and Balauca et al. [2] as the two nearest neighbours - and is stated narrowly.

Figure 1. The three memory dynamics compared. UMW: unitary conjugation (norm-preserving, cannot contract stored distinctions). UMW-D: unitary write followed by a fixed learned dissipation channel (a work qubit coupled, reset, and discarded). UMW-G: one learned CPTP map per token, writing and forgetting jointly. All rows read out with the same 256-outcome Born-rule POVM, with no softmax; the sampled byte is the next input.

Dissipative and open quantum neural networks. Dissipation as a computational resource has been proposed for state preparation and computation [22] (Verstraete et al. 2009) and for layered quantum neural networks whose layers are completely positive maps [4]. Our use is specific: a learned, outcome-unconditioned channel inside a recurrent loop, whose role is to make forgetting learnable.

Classical analogues. Unitary recurrent networks [1, 18] (Wisdom et al. 2016) were introduced to stabilize gradients; the difficulty of forgetting in norm-preserving recurrences is known in that literature. Gated recurrences [8] and input-dependent (selective) state-space models [14, 13, 32] are the classical counterparts of our token-conditioned channel. Classically, UMW-G is an input-switched Kraus-map state-space model with a quadratic readout; we use this correspondence to state the model’s classical simulability plainly.

Information bounds. Holevo’s theorem [16] bounds the accessible information about a classical variable encoded in nn qubits by nn bits; Nayak’s bound [31] tightens this for random-access decoding, which is the structure of our recall benchmark (§6).

Models, controls, and protocol

The architecture (Figure 1)

A memory register of nn qubits holds ρt\rho_t. Each input byte xt∈{0,…,255}x_t \in\{0,\ldots,255\} selects a channel Ext\mathcal{E}_{x_t}; the next byte is emitted by a 256-outcome POVM. Teacher-forced scoring, free-running generation, and the hardware protocol are the same computation:

ρ0=∣0…0⟩⟨0…0∣\rho_0 = |0\ldots0\rangle\langle0\ldots0|
p(yt∣x<t)=Tr⁡(Mytρt)p(y_t \mid x_{<t}) = \operatorname{Tr}(M_{y_t}\rho_t)

(Born-rule readout, no softmax)

ρt+1=Ext(ρt)\rho_{t+1} = \mathcal{E}_{x_t}(\rho_t)

(one channel per token)

Three members of the family are compared.

  • UMW (unitary memory). Ex(ρ)=WxρWx†\mathcal{E}_x(\rho) = W_x\rho W_x^\dagger with WxW_x unitary. The memory is never measured; a separately measured work register carries the output in the recall experiments.

  • UMW-D (unitary write + fixed dissipation). Ex(ρ)=D(WxρWx†)\mathcal{E}_x(\rho) = \mathcal{D}(W_x\rho W_x^\dagger), where D(σ)=Tr⁡W[V(σ⊗∣0⟩⟨0∣W)V†]\mathcal{D}(\sigma) = \operatorname{Tr}_{W}[V(\sigma\otimes|0\rangle\langle0|_{W})V^\dagger] couples the memory to a fresh work qubit through a learned unitary VV and discards it. D\mathcal{D} is token-independent, outcome-unconditioned, and CPTP by construction.

  • UMW-G (gated channel). Ex(ρ)=∑kKk(x)ρKk(x)†\mathcal{E}_x(\rho) = \sum_k K_k^{(x)}\rho K_k^{(x)\dagger}, one learned CPTP map per token, realized as Tr⁡W[Vx(ρ⊗∣0⟩⟨0∣W)Vx†]\operatorname{Tr}_{W}[V_x(\rho\otimes|0\rangle\langle0|_{W})V_x^\dagger]: writing and forgetting are learned jointly and conditioned on the input. We describe this as an input-conditioned dissipative channel playing a role analogous to a classical recurrent gate; we do not claim an exact correspondence with the GRU update equations.

The POVM is parameterized as My=SGySM_y = SG_yS with Gy=Ry†RyG_y = R_y^\dagger R_y positive semidefinite and S=(∑yGy)−1/2S = (\sum_y G_y)^{-1/2}, so that ∑yMy=I\sum_y M_y = I exactly. All parameters are trained by gradient descent on the negative log-likelihood of the next byte, in exact density-matrix simulation.

Control baselines

The two controls are the backbone of every architectural claim, so we specify them exactly. Each control is the same model class and parameterization evaluated under a different state-update rule, and each is retrained from scratch under that rule (so parameter values are not shared with the recurrent model; architecture and parameter count are) - never obtained by truncating a trained recurrent model at inference.

  • h1 (one-token control): ρt+1=Ext(ρ0)\rho_{t+1} = \mathcal{E}_{x_t}(\rho_0). The memory is rebuilt from the previous token alone at every step; the model can represent at most a bigram-class predictor.

  • h2 (two-token control): ρt+1=Ext(Ext−1(ρ0))\rho_{t+1} = \mathcal{E}_{x_t}(\mathcal{E}_{x_{t-1}}(\rho_0)). The memory is rebuilt from the previous two tokens.

  • memoryless: ρt+1=ρ0\rho_{t+1} = \rho_0 (sanity control; it must recover the unigram).

Parameter counts are therefore exactly matched: at n = 4, UMW-G and each of its controls have 655,360 trainable parameters (UMW-D has 2.5× fewer, and its controls match it). All arms share the corpus, split, context length, optimizer (Adam, learning rate 0.01, batch 32), and step budget (4,000–6,000 steps); seeds are reported per arm, and all evaluation uses the full held-out test set. For UMW-D we additionally trained a channel-matched h1 (the same dissipation channel present, reset dynamics) so that the comparison isolates recurrence rather than the presence of the channel.

Corpus, scoring, and classical baselines

The corpus is the body of Alice’s Adventures in Wonderland as raw bytes (data/alice_body.bin), split 80/10/10; training uses windows of CTX=12\mathrm{CTX}=12 bytes (24 and 48 in § 5.3); the full test set is 15,097 windows (181,164 scored predictions). Classical baselines were recomputed in-run on the same split: add-one unigram 3.2433 nats/byte; tuned interpolated bigram 2.3406. Stronger historical baselines on the same corpus from earlier milestones are a backoff bigram at 1.8614, a trigram at 1.5887, and a 4-gram at 1.5125 nats/byte. All quantum models in this paper are well above the trigram and 4-gram.

Pre-registration as methodology

Each milestone’s hypotheses, metrics, and pass/fail bars were committed to docs/m*_hypotheses.md (one file per milestone) before the corresponding runs (first commits 2026-08-29 for M18–M21, 2026-08-30 for M23–M25, 2026-08-31 for M26 and M28, 2026-09-01 for M31). Amendments were appended after a result and before the next run, dated, and are visible in the files; where a bar was changed the original is retained. Appendix § 14 lists every registered bar in this paper with its outcome. We do not treat pre-registration as evidence in itself; its role here is to make the reported negatives and the few positives equally visible.

Why closed unitary recurrence cannot learn to forget

The precise statement

Let ρ\rho and σ\sigma be two memory states that encode different contexts. Under a common unitary WW, the trace distance is invariant, 12∥WρW†−WσW†∥1=12∥ρ−σ∥1\frac{1}{2}\lVert W\rho W^\dagger-W\sigma W^\dagger\rVert_1=\frac{1}{2}\lVert\rho-\sigma\rVert_1, as are the spectra and hence the von Neumann entropies of both states; the map ρ↦WρW†\rho\mapsto W\rho W^\dagger is injective on states. Consequently a closed unitary recurrence can transform stored distinctions - a token-conditioned WxW_x rotates the code subspace differently for different inputs - but it cannot contract any pair of distinct stored states toward each other, cannot reset the memory to a fixed state independent of its contents, and cannot implement any many-to-one map. A general CPTP channel can. Three properties should be kept apart: every CPTP map is non-expansive in trace distance; a non-unitary channel can strictly contract the distance between distinct states; and some channels have attracting fixed points, up to the extreme case of a unique fixed point to which every input converges (a complete reset). All three behaviours are available within the class Tr⁡W[V(ρ⊗∣0⟩⟨0∣W)V†]\operatorname{Tr}_{W}[V(\rho\otimes|0\rangle\langle0|_{W})V^\dagger] used here, and none is available to unitary conjugation. Whether a trained channel has an attracting fixed point is an empirical question; § 5.1 reports the measured spectrum of the learned channel (one conserved mode, finite half-lives for the rest).

This is the whole of the ”cannot forget” argument, and its qualification: the obstruction is to the channel that forgetting requires, not to any particular readout. It implies nothing about unitary models with unbounded auxiliary registers or about architectures outside the fixed-width recurrent setting studied here, and we do not claim a general impossibility theorem for unitary quantum language models.

Consequences observed in training

Two experiments isolate the consequence. First, on a marked selective-recall task (store a marked symbol, recall it after kk distractors), a trained UMW keeps its symbol-conditioned memory states at pairwise fidelity ≤0.009\leq0.009 indefinitely - the designed never-forgets property - yet its accuracy is delay-tuned: perfect at the trained delay and falling toward chance at other delays, because distractor unitaries rotate the code subspace and the POVM points where the frame sits at the trained readout time. A delay-invariant readout of width O(1)O(1) does not exist in this setting: it would require every stored state to be fixed by every distractor unitary while the “armed” state maps onto it under the same unitary, which is impossible for a unitary acting on orthogonal states; a position counter of width O(log⁡k)O(\log k) removes the conflict (docs/m18_delay_invariance_obstruction.md). Training a UMW initially failed outright (0% of the chance-to-perfect gap at every delay); diagnostics showed healthy gradient norms with low batch signal-to-noise rather than a barren plateau [29], and either a delay curriculum or an annealed auxiliary recall loss passed the pre-registered bar at delays up to 8 in 3/3 seeds.

Second, as a byte language model, unitary memory loses to its own retrained one-token control (Figure 2, first group): full recurrence 2.5167 vs h1 2.3705 nats/byte at n=4n = 4, and 2.5503 vs 2.3652 at n=6n = 6. Width, a staged context curriculum (2.5040 at n=4n = 4; 2.5599 at n=6n = 6), replay-mixed contexts (2.7445), and per-position POVMs with 7× the readout parameters (2.5221) all fail to close the gap. The reading is the one § 4.1 predicts: the control’s strategy is a reset, which the unitary model cannot represent, so it pays for every stale token it is forced to carry. Within this architecture and task, closed unitary recurrence exhibits a structural inability to implement the adaptive forgetting that byte-level language modeling rewards.

Figure 2. Full recurrence against retrained one-token (h1) and two-token (h2) controls of the same parameterization and parameter count; dots are individual seeds, bars their means. Dotted and dashed lines: the tuned bigram (2.3406) and the classical 4-gram (1.5125) on the same test set.

Learned dissipation and token-conditioned gating

UMW-D: forgetting as a learned physical resource

With one work qubit and a learned, outcome-unconditioned dissipation channel, the model passes the test that unitary memory failed. At n=4n = 4, three seeds reach 2.2752 / 2.2820 / 2.3050 nats/byte against channel-matched retrained h1 controls at 2.3805 / 2.3875 / 2.3958: a margin of +0.101 ± 0.008 nats (mean ± s.d., n=3n = 3 seeds; range 0.091–0.106; pre-registered bar 0.05), or +0.083 ± 0.016 against the unitary model’s h1 (2.3705). Two work qubits give 2.2985; n=6n = 6 gives 2.2686. A spectral analysis of the learned channel shows a forgetting schedule: one conserved mode, a few slow modes (6 of 256 with half-lives above four steps), and a fast-damped remainder, with mean trace-distance contraction 0.927 per step - between the two failed extremes of collapsing the memory at every token and never forgetting.

The horizon is short, and we measured it: the retrained two-token control beats UMW-D (2.1606 / 2.1618 / 2.1817 vs 2.2752–2.3050), and warm-starting full training from the h2 solution degrades back to ≈ 2.28. Beyond one token: yes. Beyond two: not at this stage.

UMW-G: token-conditioned dissipation

Making the channel token-conditioned (one learned CPTP map per byte) improves on UMW-D by +0.113 ± 0.025 nats (3/3 seeds; bar 0.05) and more than doubles the beyond-one-token margin: UMW-G reaches 2.1549 / 2.1647 / 2.2024 (mean 2.1740 ± 0.025) against a retrained, parameter-count-matched h1 at 2.3701, a margin of +0.196 ± 0.025 nats (range 0.168–0.215). The best canonical-clock result in the paper is 2.1500 nats/byte, obtained with the annealed entropy regularizer of §7 (3 seeds: 2.1500 / 2.1552 / 2.1609 vs 2.1549 / 2.1647 / 2.2024 without it); the regularizer improves NLL as a side effect of the entropy objective.

The two-token control is not beaten: at CTX = 12 the retrained h2 reaches 2.1151 / 2.1159, and the recurrent model sits 0.058 ± 0.025 nats above it (best seed 0.039). Two attempts to add position structure failed: per-position POVMs (§4.2) and phase-clocked channel banks (P = 2: 2.2215 / 2.2305; P = 3: 2.2965, all worse than the single bank).

Context length: recurrence catches the two-token window and stops

Controls were retrained per context length (Figure 2, right groups). At CTX = 24, full recurrence reaches 2.0697 / 2.0780 / 2.0958 against h1 2.3747 (+0.294 ± 0.013) and h2 2.0623 / 2.0719 (gap −0.014 ± 0.013); at CTX = 48, 2.0139 / 2.0233 against h1 2.3517 (+0.333 ± 0.007) and h2 2.0131 (gap −0.005 ± 0.007). Wider registers at CTX = 24 (n = 5: 2.0205 vs its h2 2.0079; n = 6: 2.0052 vs 2.0058) show the same parity. Two caveats are stated: cross-context numbers are confounded by throughput (a longer window delivers more tokens per step under a fixed step budget), so only within-context comparisons are controlled; and the number of seeds is small (2–3). Within those limits, every context length tested gives the same verdict - beyond one token, decisively; beyond two, parity - which motivates the capacity measurements of §6.

Capacity: what a small quantum memory can retrieve

Definitions

We separate four quantities that the informal phrase ”two-token wall” conflates.

  • The encoded classical variable. On the recall benchmark a document is k1=v1k_1=v_1; . . . kK=vKk_K=v_K; followed by KK queries k?vk?v; (one per stored key, in random order). The generator draws the KK keys without replacement from 16 letters and the KK values independently and uniformly from 10 digits. Because the queries address keys, not positions, the variable the memory must represent is the key → value map XX (an unordered set of KK pairs), with entropy H(X)=log⁡2(16K)+Klog⁡210≈7.3,13.6,19.1H(X)=\log_2\binom{16}{K}+K\log_2 10\approx7.3, 13.6, 19.1 bits for K=1,2,3K=1, 2, 3. The value content that a query must return is Klog⁡210≈3.3,6.6,10.0K\log_2 10\approx3.3, 6.6, 10.0 bits; the key set (log⁡2(16K)≈4.0,6.9,9.1(\log_2\binom{16}{K}\approx4.0, 6.9, 9.1 bits) must also be represented in some form, since the memory has to respond correctly to whichever stored key arrives.

  • The quantum memory state. After the write phase the register holds ρX\rho_X on nn qubits.

  • Accessible information. For any single measurement, Holevo’s bound gives I(X;outcome)≤S(ρˉ)≤nI(X;\text{outcome}) \le S(\bar{\rho}) \le n bits. Because the query names which value to decode, the task contains a random-access code: restricted to any fixed key set it is a quantum random-access encoding of the KK values, so Nayak’s bound is a necessary condition - recovering any one of mm encoded bits with per-bit success probability pp requires n≥(1−H2(p))mn \ge(1-H_2(p))m qubits. With m=Klog⁡210m = K\log_2 10 this excludes near-perfect recall of three values at n≤9n \le9 and of two values at n≤6n \le6, but it is uninformative at the 0.5 accuracy bar, where 1−H2(p)1-H_2(p) is small.

  • Task success. We score answer-byte accuracy (and NLL) at the query positions only; the value marginal fixes the floor at accuracy 0.10 (NLL ln⁡10=2.303\ln10 = 2.303), and an n-gram model or the h2 control sits exactly there because the key–value binding is outside their window. The pre-registered ”solved” bar is accuracy ≥0.5\ge0.5.

We report the largest K∗K^* whose accuracy exceeds the bar at each width; it is a coarse, benchmark-specific quantity (accuracy above 0.5 does not imply full retrieval, and KK moves in steps of one stored pair).

The ladder

Table 1 and Figure 3 give the answer accuracies (exp 295; single seed, 6,000 steps, dense channels, evaluated on 1,500 held-out documents).

Figure 3. Key–value recall ladder (exp 295, single seed). Left: answer accuracy against width for K=1,2,3K = 1, 2, 3 stored pairs, with the 0.5 bar and the value-marginal floor. Right: value content and full configuration entropy of the largest KK solved at each width, with the single-copy accessible-information ceiling of nn bits drawn as an information-scale reference only, not as a task-solvability threshold.

K (value bits / configuration bits)n = 4n = 5n = 6n = 7
1 (3.3 / 7.3)0.6371.0001.0001.000
2 (6.6 / 13.6)0.2450.3450.5730.621
3 (10.0 / 19.1)0.2020.1670.3120.309

Table 1. Key–value recall ladder (exp 295; answer accuracy, single seed, 6,000 steps, dense channels). Bold: above the pre-registered 0.5 bar.

Accuracy generally increases with width, though at K=3K = 3 there are small decreases from n=4n = 4 to 5 (0.202 to 0.167) and from n=6n = 6 to 7 (0.312 to 0.309). By the pre-registered accuracy ≥0.5\ge0.5 bar, one pair is solved already at n=4n = 4 (0.637), two pairs from n=6n = 6 (with partial retrieval, 0.57–0.62), and three pairs are not solved through n=7n = 7. Thus K∗K^* is 1, 1, 2, 2 across n=4n = 4–7. Over four widths with one seed per cell and that hard threshold, these data support an empirical, nondecreasing threshold shift in usable recall capacity over n=4n = 4–7 on this benchmark; they do not support a numerical rate of bits per qubit, and we make no such estimate (an earlier summary of these data as ”≈ 1–1.5 retrievable bits per qubit” is withdrawn). The bounds of § 6.1 are consistent with the ladder - they forbid perfect three-pair recall at n = 7 - but they do not by themselves predict the accuracies observed at the bar. The measurement is specific to this architecture, training regime, and task family. A design error is recorded: an earlier six-pair task had configuration entropy (≈ 33 bits) far above the single-copy accessible-information ceiling at the tested widths (4–5 qubits) and empirically remained at the floor in every arm. Since the random-access task does not require recovering the whole configuration at once, this is not an impossibility proof for the 0.5 bar; it motivated adding a capacity sanity check to later registrations.

Relation to the two-token horizon on text

The empirical unigram entropy of the corpus is 3.24 nats = 4.7 bits per byte, so a two-byte context carries up to ≈ 9 bits, and the 4-gram’s 1.51 nats/byte shows that substantially more than two bytes of structure is present. With 4–8 memory qubits, the accessible information per readout is at most 4–8 bits by Holevo, and the ladder shows that two sharp bindings (6.6 bits of value content; 13.6 bits of configuration) are retrieved only partially at n = 6–7. The persistent parity with the retrained two-token window across architectures and contexts is therefore consistent with an information-capacity bottleneck of the scale suggested by the Holevo bound. We do not claim to have established the bound as the cause: the capacity measurement is on a synthetic task, the text horizon is measured against a window control, and optimization effects on text cannot be excluded by these experiments alone. The evidence supports the interpretation; it does not prove it. The phrase ”two-token wall” is used below only as shorthand for the measured parity.

A stationary memory-entropy separation (secondary result)

Setup. The perturbed coin is a two-state process whose output flips with probability p; its statistical complexity is Cμ=ln⁡2C_\mu= \ln2 exactly (every exact classical predictor needs one bit of memory), and the minimal quantum memory entropy Cq(p)C_q(p) is known in closed form (0.173, 0.057, 0.018 nats at p = 0.3, 0.4, 0.45). One- and two-qubit UMW-G models were trained on raw streams. A floor gate requires each model to predict at the process’s entropy rate (excess NLL ≤ 0.002 nats): 18/18 runs passed without the regularizer and 27/27 with it.

Classical attack. The comparison class is classical predictors at matched prediction error, found by a Lagrangian optimization (multi-restart Nelder–Mead) over 2- and 3-state classical transducers with exact pair-chain evaluation of both their prediction error ε and their stationary memory entropy. The resulting entropy–error frontier is flat at CμC_\mu for small ε (0.6931 at ε ≤ 0.002 for p = 0.3; ≥ 0.6918 at every trained model’s measured ε) and collapses toward zero only at ε ≳ 0.005–0.02, where a memoryless predictor suffices. All trained models sit at ε ≤ 0.002, in the flat regime.

Results (Figure 4). Without any entropy objective, all nine one-qubit seeds land below the attacked frontier at their own ε\varepsilon: margins 0.008–0.225 nats (mean 0.066 ±\pm 0.067, median 0.041; four of nine exceed 0.05). With an annealed penalty λtS(ρˉ)\lambda_t S(\bar{\rho}) that is driven to zero before training ends (so the final objective is pure prediction), the margins become 0.438–0.658 nats (mean 0.521 ±\pm 0.083, 9/9 seeds), with the best run at S=0.0335S = 0.0335 nats against Cq=0.0175C_q = 0.0175 at p=0.45p = 0.45. Three pre-registered bars failed and are reported: seed-reliable emergent margins above 0.05 (4/9); reaching Cq+0.1C_q + 0.1 in 3/3 seeds in at least two settings (3/3, 2/3, 1/3 across pp); and compression of a two-qubit register below CμC_\mu (entropy spreads above CμC_\mu when spare width is available).

Figure 4. Perturbed coin, one memory qubit: stationary memory entropy S(ρˉ)S(\bar{\rho}) against excess prediction error, for trained models without (dark) and with (teal) the annealed entropy penalty; markers denote p=0.3p = 0.3 (circle), 0.40.4 (square), 0.450.45 (triangle). Grey curves: the attacked classical frontier per pp; dashed: Cμ=ln⁡2C_\mu= \ln2; dotted: the quantum optima Cq(p)C_q(p).

Scope. This is a stationary quantum-memory entropy separation from the tested classical predictive models at matched prediction error, anchored at zero error by the exact theorem Cμ=ln⁡2C_\mu= \ln2. It is not a speed, sample-complexity, parameter, or accuracy advantage; the thermodynamic reading is only that S(ρˉ)S(\bar{\rho}) is the quantity that bounds the minimal work of erasure for the simulator’s memory, and no energy or work measurement was performed; and the classical search is heuristic beyond three-state transducers. The result is included because it shows that gradient training reaches the regime the analytic constructions predicted; it is not the main claim of the paper.

Hardware validation (IBM Heron, ibm_marrakesh)

Compilation and local validation

The dense channels were compiled to hardware-shaped circuits by task-aware distillation (§ 9): each byte’s channel became a depth-12 circuit of single-qubit Ry/Rz rotations and a line of CZ gates on 4 memory + 1 work qubits (120 parameters per channel against 2,048 for the dense map). Before any submission, every per-token unitary built in Qiskit was checked against the simulator’s construction to a maximum deviation of 5×10−105 \times10^{-10}, and Aer sampling of every circuit was checked against the simulator’s predicted distribution (total variation distance 0.013 ±\pm 0.003 at 8,192 shots, consistent with sampling error). This gate caught one bit-ordering bug before quantum time was spent. All runs used 4,096 shots per circuit; the total charge across Jobs A–C was ≈\approx 150 s. Job identifiers: A daardrmrrl7c7385vf10, A′ daash9j4clkc73fi44ag, B daatbjbvpcac73dd029g, B2 daatg51l216s739oo84g, B3 daatl9pl216s739oohh0.

Figure 5. Hardware validation on ibm_marrakesh. (a) Total variation distance between the measured computational-basis memory-register distribution and the simulator’s predicted diagonal, for line (Job A′) and ring (Job A) circuits, against the distance between the prediction and the uniform null (hollow markers). (b) Per-bit ∣phw(bit=1)−psim∣|p_{\mathrm{hw}}(\mathrm{bit}=1)-p_{\mathrm{sim}}| for Jobs B (L=8), B2 (L=8 with dynamical decoupling and twirling) and B3 (L=4); red bars are medians, dashed line the 0.10 bar. (c) Transpiled two-qubit gate counts for the two entanglers.

Three levels of validation are distinguished (Figure 5). At every level, what ran on the processor was the full quantum state evolution (channel plus work-qubit reset per token) and the measurement; what remained classical was circuit construction, shot counting, and - for generation - the selection of the next circuit and the sampling of a bit from a measured probability.

Level 1: memory-register distribution validation (Jobs A, A′)

Each circuit replays a prefix of LL tokens (channel, then reset of the work qubit, per token) and measures the memory register. The test statistic is the total variation distance between the measured 16-bin distribution and the simulator’s predicted memory diagonal, compared with the distance between the prediction and the uniform distribution (the noise null); a circuit ”shows signal” when the former is smaller.

The first attempt (Job A) used ring-entangler circuits; on the heavy-hex topology these transpiled to 354–1,452 two-qubit gates (≈\approx 3× the design count) and showed signal in only 4 of 9 circuits, passing the pre-registered bar at L=2L=2 only - a failure recorded and diagnosed. Re-distilling with a line entangler (identical simulated quality, 2.2746 vs 2.2735 nats/byte; 3.7× fewer transpiled gates, 96–576) gave signal in 12/12 circuits across three prefixes and L∈{2,4,8,12}L \in\{2, 4, 8, 12\}: TVD to the prediction 0.156 ±\pm 0.041 (range 0.073–0.223; by length 0.136, 0.154, 0.161, 0.175 at L=2,4,8,12L=2, 4, 8, 12) against prediction-to-uniform distances of 0.20–0.58. The measured memory-register distribution tracks the simulator’s prediction through the full 12-token context, and the computational-basis statistics remain distinguishable from the uniform null at every length. No tomography was performed: nothing is claimed about off-diagonal elements or the coherence of the hardware state.

Level 2: next-bit prediction validation (Jobs B, B2, B3)

Next-byte probabilities were measured through a distilled binary-tree readout: eight stages, each a 5-qubit circuit (memory + one ancilla) selected by the bits already fixed, so that p(y)=∏sp(bitss∣bits<s)p(y) = \prod_s p(\mathrm{bits}_s \mid\mathrm{bits}_{<s}). This tree is a distilled hardware approximation to the model’s 256-outcome vocabulary POVM, implemented as a product of eight physically measured conditional bit probabilities: the mathematical model is defined with the 256-outcome POVM, the hardware implements the distilled binary tree, each conditional bit probability is physically measured, their product defines the hardware token probability, and no learned classical vocabulary projection or softmax is used. The processor never performs a single monolithic 256-outcome measurement, and the distillation has a measurable approximation error (simulated NLL 2.3604 for the tree vs 2.2735 for the dense POVM on the same channels). The tree was trained in simulation against the compiled channels (25,500 angles at depth 10; simulated NLL 2.3604 vs the student’s 2.2735). Because each stage runs on a fresh copy of the prefix replay, the protocol is back-action-free by construction. Jointly fine-tuning channels and tree readout in simulation lowers the tree model from 2.3604 to 2.2018 nats/byte (exp 308; registered bar +0.10 against the staged tree, passed); the hardware jobs reported in this section used the staged (pre-fine-tuning) parameters. The test compares the measured p(bit=1)p(\mathrm{bit}=1) with the simulator’s for 24 bit decisions (3 teacher-forced cases ×\times 8 stages); the registered bars were a median ∣Δp∣≤0.10|\Delta p| \le0.10 and ≥20/24\ge20/24 agreeing decisions.

At 8-token prefixes (Job B): median ∣Δp∣=0.1028|\Delta p| = 0.1028 (bar missed by 0.003; fail) with 21/24 decisions agreeing (pass). Adding dynamical decoupling and Pauli twirling (Job B2) made the per-bit error worse (median 0.1374, 21/24) - a recorded negative. At 4-token prefixes (Job B3): median ∣Δp∣=0.0749|\Delta p| = 0.0749 and 22/24 decisions - both bars pass, with the per-bit error decreasing (median 0.103 →\to 0.075) as the two-qubit gate count halves.

Level 3: autoregressive generation (Job C)

Generation ran hardware-in-the-loop with the simulator’s own generation semantics (Figure 6): for each of the eight bits of a byte, a fresh circuit (prefix replay plus the current tree-stage readout) was executed, the bit was sampled classically from the measured probability, and the sampled bit selected the next stage’s circuit; after eight bits the byte was appended to the prompt and fed back as the next input. Every state transition and every bit probability was physically executed; the classical parts were shot counting, bit sampling, circuit selection, and the prompt buffer. From the prompt tt the processor generated r 0x14, 1 (24 circuits; archived with per-stage probabilities in hardware_candidate_m30/job_c_generation.json). A replication script, hardware_candidate_m30/job_c2.py, performs the same generation with full per-stage archiving (job identifiers, raw counts, measured and simulated probabilities, sampled bits, circuit metadata).

Figure 6. Hardware-in-the-loop generation. The model is defined with a single 256-outcome vocabulary POVM; the hardware implements a distilled binary-tree approximation in which each of eight conditional bit probabilities is physically measured and their product defines the token probability. Shaded boxes are physical quantum computation (every state transition and every bit probability); unshaded boxes are classical orchestration (shot counting, bit sampling, circuit selection, the prompt buffer). No learned classical vocabulary projection or softmax is used.

The generated string is letter-shaped and weak, which is what the model’s NLL class plus device noise predicts; it is not evidence of language quality. The point of Level 3 is end-to-end physical execution semantics. The novelty claim is correspondingly narrow. Persistent quantum recurrent state on NISQ hardware exists in prior work ([17 unitary recurrence, forecasting outputs]), and generative quantum language modeling has been run on IBM hardware with a classical vocabulary projection ([2]). To our knowledge, no prior work combines, on physical hardware, a trained recurrent model for language whose persistent hidden state is quantum and whose token-conditioned dynamics are learned dissipative channels, with token probabilities constructed entirely from physically measured Born-rule probabilities Model: p(y∣context)=Tr⁡(Myρ)p(y \mid\mathrm{context}) = \operatorname{Tr}(M_y\rho) — one 256-outcome vocabulary POVM.

Hardware: distilled binary tree, p(y)=∏s=18p(bits∣bits<s)p(y) = \prod_{s=1}^{8} p(\mathrm{bit}_s \mid\mathrm{bits}_{<s}), every factor physically measured.

prompt bytes (classical buffer)

QPU circuit [quantum] prefix replay (token channel + work-qubit reset per token), then the stage-ss tree circuit

4096 shots [quantum] measured p(bits=1∣bits<s)p(\mathrm{bit}_s = 1 \mid\mathrm{bits}_{<s})

sample bit ss (classical RNG)

bit ss selects the stage-(s+1)(s+1) circuit (8 stages per byte, fresh circuit each)

after 8 bits: the sampled byte is appended to the prompt and becomes the next input (autoregressive)

Shaded = physical quantum computation (every state transition and every bit probability). Unshaded = classical orchestration (shot counting, bit sampling, circuit selection, prompt buffer).

through the distilled quantum readout - no learned classical vocabulary projection or softmax - and the sampled token fed back autoregressively. The claim is to that combination, not to any of its components.

Noise margin and hardware-native training

A noise-gate simulation of the compiled model (two-qubit depolarizing error ee and readout error rr) gives byte NLL 2.29 at (e,r)=(0.005,0.01)(e,r)=(0.005,0.01), 2.34 at (0.02,0.03)(0.02,0.03), 2.38–2.46 at e=0.05e=0.05, and 2.47–2.55 at e=0.1e=0.1, against the unigram 3.24 - roughly 0.7–0.9 nats of margin at present device error rates. Separately, simultaneous-perturbation stochastic approximation over shot-sampled objectives (no gradients) trains the 80-parameter one-qubit model to its floor (3/3 seeds, 0.6741–0.6743 vs 0.6730; ≈0.7×109\approx0.7 \times10^{9} shots) but leaves the 655k-parameter dense model at random (5.51 ≈ln⁡256\approx\ln256 after 2.1×1092.1 \times10^{9} shots) - the standard variational-training reality, measured for this architecture - while holding the compiled 30,720-angle model within +0.003 nats over 1.66×1061.66 \times10^{6} circuit executions (2/2 seeds; bar +0.02). The hardware pipeline that follows is: pretrain in simulation →\to task-aware compilation →\to hardware fine-tuning. No task-level speedup is claimed.

Figure S1. Supplementary. (a) K=2K = 2 recall accuracy at n=7n = 7 against circuit depth per token for line-circuit channels (exp 310; dots are seeds) and the dense-channel reference (exp 295); the depth-30 point is from the follow-up campaign and is discussed in the footnote to § 9. Points are not interpolated. (b) Byte NLL of the dense teacher, an operator-level distilled student, and task-aware students at depths 12 and 20, with parameters per channel.

Training beyond exact density-matrix simulation, and what width and depth buy

Tracking the purification factor AA (ρ=AA†\rho= AA^{\dagger}, rank ≤2n\leq2^n) instead of ρ\rho, and applying gates to AA directly, is exact at full rank (equivalence to ρ\rho-based training at 10−1010^{-10}; the registered correctness gate at n=4n = 4 passed at 2.3114 nats/byte) and enables controlled low-rank training at 7–8 qubits under a rank cap, with discarded weight below 10−610^{-6} in the reported runs. Appendix § 13 describes the representation and the numerical measures it required. Here we report what it enabled, all negatives.

  • Byte NLL does not improve with width under feasible budgets. At CTX = 12, n=7n = 7 reaches 2.2520 and n=8n = 8 2.2985 nats/byte with circuit-native channels, against 2.1549–2.1500 at n=4n = 4; the registered CTX = 24 test at n=7n = 7 gave 2.2726, worse than the same model at CTX = 12. Together with § 5.3, this is the third scaling negative: width, context, and (below) depth do not buy performance on byte-level English at these scales, consistent with the corpus’s two-byte dominance and the capacity picture of § 6.

  • Compilation costs ≈\approx 0.12–0.15 nats. Operator-level distillation of the dense channels into shallow circuits fails (fidelities 0.25–0.44 at depths 4–12; NLL 3.26–3.37, unigram-class), while task-aware distillation succeeds at 10–17×\times compression (depth-12 students 2.2735 ring / 2.2746 line; depth-20 KL students 2.2929 / 2.2940; one depth-12 KL student missed the bar by 0.001). The model needs its channels’ action on visited states, not the full operators.

  • Recall capacity depends on circuit depth where text does not. K=2K = 2 recall at n=7n = 7 with line circuits rises from 0.260 at depth 10 to 0.489 ±\pm 0.099 at depth 20 (two seeds: 0.558, 0.419), still below the dense channels’ 0.621, while byte NLL is nearly depth-insensitive. We summarize this as statistical structure is depth-cheap; sharp memory is depth-hungry - and on hardware depth is coherence.1 The circuit-native channels used

throughout §8 are therefore the cheapest adequate representation for text and the binding constraint for memory.

Limitations

  • Corpus and task. All language-modeling claims rest on one English corpus at byte level; the capacity ladder uses one synthetic key–value family with a single seed per cell and a coarse task-size resolution (one stored pair per step); the entropy result uses one two-state process.

  • Width. 1–8 qubits. Measured scalings over so narrow a range extrapolate poorly, and our architecture-specific capacity numbers should not be read as properties of quantum memory in general.

  • Controls and seeds. Controls are retrained from scratch with the same parameterization and parameter count, but seeds are few (2–3 per arm; 1 on the ladder); headline margins are reported as mean ± s.d. where more than one seed exists.

  • Classical attack. Beyond three-state transducers the entropy frontier is heuristic; the anchor is exact only at zero error.

  • Hardware. One device family (IBM Heron, one processor for the main jobs), 4,096 shots per circuit, ≈ 150 s of total charge, and compilation-specific effects (the ring-to-line change alone decided Level 1). The 4-token prediction pass and the 8-token near-miss are at the edge of the device’s coherent depth for these circuits.

  • No computational speedup; classical simulability. All models are exactly simulable at these widths, all training was simulated, and the hardware runs validate the stack rather than any advantage.

  • Language quality. No model here approaches the classical 4-gram (1.51 nats/byte); the generated hardware text is weak.

  • Causality of the horizon. The capacity interpretation of the two-token parity is consistent with the evidence, not established by it.

Conclusion

Within a fixed-width recurrent architecture with Born-rule readout, a purely unitary quantum memory cannot contract or reset what it stores and, in our experiments, cannot even match a retrained one-token control; learned dissipation restores forgetting as a trainable resource and token-conditioned dissipation more than doubles the value of memory beyond one token, against architecture- and parameter-count-matched controls. That memory is sharply capacity-limited: a retrained two-token window is never beaten at 4–8 qubits, the largest solvable recall task shifts from one stored pair to two as width grows while three pairs remain out of reach at 7 qubits, and these facts are consistent with - though not proven to be caused by - accessible-information bounds. The same model, compiled to line circuits, reproduces its predicted computational-basis memory distribution on a 156-qubit processor through a 12-token context (within the pre-registered signal criterion), reproduces its next-bit probabilities within pre-registered bars at 4-token prefixes, and generates bytes with every bit drawn from a measured probability.

These models do not beat strong classical language models and are not close to doing so; the contribution is architectural, physical, and methodological. The measured threshold shift suggests that substantially larger logical quantum memories - and, by the depth–coherence trade of § 9, error-corrected ones - would be required before this architecture could represent language contexts competitive with classical baselines; we do not derive a qubit count from the present data. What the work establishes is which dynamics a trainable quantum-native recurrent model requires, how to measure what its memory can hold, and that the whole stack already runs on hardware.

Reproducibility

The supporting code, experiment records, and research materials are maintained in a private repository (tag paper-submission-package), which is not publicly accessible at the time of this preprint. The repository contains milestone reports M18–M31 (MILESTONE_*_REPORT*.md), pre-registrations with dated amendments (docs/m*_hypotheses.md), every experiment as a standalone script (experiments/<id>_<name>/run.py), raw result JSON and saved parameter files (results/milestone*/raw/), hardware manifests, submission records with job identifiers, per-circuit results, and the local validation scripts (hardware_candidate_m30/), the research log, and the regression suite (tests/, 77 passing with pytest; tests/test_core.py is the mathematical consistency gate). The environment used is pinned in requirements.txt (Python 3.13.9, numpy 2.5.1, torch 2.13.0, qiskit 2.5.1, qiskit-aer 0.17.2, qiskit-ibm-runtime 0.48.0). Seeds are the integer seeds in each result filename. The main tables and figures are reproduced by: Figure 2 from experiments/290_umwlm_byte, 292_umwg_byte, 293_umwg_position; Table 1 and Figure 3 from experiments/295_umwgk_width; Figure 4 from experiments/296_entropy_advantage, 297_entropy_classical_attack, 298_entropy_regularized; Figure 5 from hardware_candidate_m30/job_a*.py and hardware_candidate_m30/job_b.py; Figure 6 from hardware_candidate_m30/job_c.py (replication script hardware_candidate_m30/job_c2.py); Figure S1 from experiments/301_channel_distillation, 302_task_distillation, 306_line_distillation, 310_factor_kv; and all figures by pythonpaper/make_figures.py. Backend calibration was not snapshotted for Jobs A–C; the transpiled two-qubit gate counts and depths per circuit are stored in each job’s metadata file.

The purification-factor representation and its numerical measures

Writing ρ=AA†\rho= AA^\dagger with AA of shape (d,r)(d,r), r≤d=2nr \le d = 2^n, each gate of a token circuit is applied to the rows of AA in O(dr)O(dr) without forming a d×dd \times d operator; the dissipative step lifts AA with the work qubit in ∣0⟩\lvert0\rangle, applies the circuit, splits the rows by work-qubit outcome into two Kraus branches [K0A,K1A][K_0A, K_1A], and compresses the result back to rank ≤d\le d. At full rank the compression is an exact QR factorization (the column space has rank ≤d\le d), equivalent to ρ\rho-based training to 10−1010^{-10}. With a rank cap rmax⁡<dr_{\max} < d (used at n≥7n \ge7 for cost), compression keeps the top rmax⁡r_{\max} singular directions; the discarded weight is logged at every step and stayed below 10−610^{-6} in the reported runs (validity bound 10−310^{-3}). The 7–8-qubit runs of §9 used the rank cap and are therefore controlled low-rank approximations of density-matrix training, not exact density-matrix training.

Five numerical failure modes were encountered and resolved before the reported runs: single-precision complex SVD collapse (resolved by double-precision decompositions); LAPACK nonconvergence on exactly degenerate memory states, which converged models produce; an SVD hang on a pathological input (replaced by an eigendecomposition of the Gram matrix); the phase ambiguity of complex eigenvector gradients in autograd; and a jitter that broke the exactness test at full rank (resolved by separating the exact-QR and capped paths). The final scheme is a straight-through truncation: the compression basis is computed without gradients, gradients flow only through the factor, and the forward pass is exact up to the logged discard. No decomposition appears in the autograd graph. Readout probabilities are computed as Tr⁡(Myρ)\operatorname{Tr}(M_y\rho) with ρ=AA†\rho= AA^\dagger formed explicitly, and each token step is wrapped in activation checkpointing; both changes are numerically identical to the original implementation and are recorded with their measured costs in the research log.

Pre-registered bars and outcomes

Milestone / hypothesisBarOutcome
M18 H: UMW trainable with signal shapingpass recall bar at delays ≤8\le8, 3/3 seedspass (curriculum and auxiliary loss)
Milestone / hypothesisBarOutcome
M19 H1: pipeline gatememoryless controls recover unigrampass
M19 H2–H7: unitary memory beats h1 (5 variants, 2 widths)NLL < h1fail, all variants
M19 H8: UMW-D beats channel-matched h1≥+0.05\ge+0.05 natspass 4/4 arms (+0.091...+0.106)
M19 H9: UMW-D beats h2NLL < h2fail (h2 wins)
M20 H1: UMW-G beats UMW-D≥+0.05\ge+0.05, 3/3 seedspass (+0.085...+0.132)
M20 H2: UMW-G beats own h2NLL < h2fail (gap 0.039–0.087)
M21 H1: phase-clocked channelsNLL < single bankfail
M21 H2/H2x: recurrence beats h2 at CTX 24/48NLL < h2fail (parity)
M23 H: K = 1 recall beats h2 by ≥0.5\ge0.5 nats, acc ≥0.5\ge0.5as statedpass (+1.0...+1.4 nats); K = 6 design error recorded
M24 H1: Kronecker channels within fidelity gate≤0.05\le0.05 nats costfail (0.12 nats)
M24 H2: ladder monotone in width, thresholds scaleas statedpass for threshold (K∗=1,1,2,2K^* = 1, 1, 2, 2; per-K accuracy not strictly monotone)
M24 H3: byte gains from width (Kron)NLL < h2 at n = 7fail (attributed to H1)
M25 H1: emergent S < Cμ−0.05C_\mu- 0.05, 3/3 per settingas statedfail (4/9)
M25 H2: emergent S within 0.1 of CqC_qas statedfail
M26 floor gateexcess NLL ≤0.002\le0.002 after annealingpass 27/27
M26 H1: designed S ≤Cq+0.1\le C_q + 0.1, 3/3 seeds in ≥2\ge2 settingsas statedfail (3/3, 2/3, 1/3)
M26 H2: n = 2 register below CμC_\muas statedfail
M28 H1: SPSA trains the 1-qubit model to floorexcess ≤0.01\le0.01, 3/3pass
M28 H2: SPSA trains the dense byte modelNLL < unigramfail
M29 gate: operator-level distillationfidelity ≥0.99\ge0.99fail (0.25–0.44)
M29 H: task-aware compilation≤\le dense + 0.15 natspass 3/5 arms (one miss by 0.001)
M29 addendum: SPSA holds the compiled model≤+0.02\le+0.02 natspass 2/2
M30 Job A (ring): memory signal at L = 2, 4signal in bothfail at L = 4
M30 Job A′ (line): memory signalsignal at every Lpass 12/12
M30 Job B (L = 8): median ∣Δp∣≤0.10|\Delta p| \le0.10; ≥20/24\ge20/24 decisionsas statedfail (0.1028) / pass (21/24)
M30 Job B2 (L = 8, DD + twirling)as Bfail (0.1374) / pass (21/24); worse than B
M30 Job B3 (L = 4)as Bpass / pass (0.0749; 22/24)
M30 tree readout distillation≤\le student + 0.10 natspass (depth 10)
M31 H1: factor training exact at full rank; feasible at 7–8 qubits under a rank capequivalence 10−1010^{-10}; gate at n = 4; discard < 10−310^{-3}pass
M31 H2: byte NLL improves at width (CTX = 24)NLL < n = 4 recordfail (2.2726)
M31 H3: K = 2 recall ≥0.9\ge0.9 at n = 7 with circuitsas statedfail (0.26 → 0.49 ± 0.10 with depth)

Table 2.

Evidence level of the main claims

ClaimEvidence levelWhere
Unitary channels preserve trace distance and cannot implement many-to-one mapsmathematical (elementary)§ 4.1
No O(1)O(1)-width delay-invariant unitary recall solution in the marked-recall settingmathematical (short argument)§ 4.2, docs/m18_delay_invariance_obstruction.md
Unitary memory loses to retrained h1 in this architectureexperimental (5 variants, 2 widths, single seeds)§ 4.2
UMW-D and UMW-G beat parameter-count-matched h1experimental (3 seeds each; mean ±\pm s.d.)§ 5
Recurrence never beats retrained h2 at 4–8 qubitsexperimental (2–3 seeds per context)§ 5.3
Solvable recall task shifts from one to two pairs with width; three pairs unsolved at n=7n = 7experimental (single seed per cell)§ 6.2
Two-token horizon is a capacity effectempirically suggested (consistency with bounds)§ 6.3
Memory-entropy separation at matched errorexperimental vs heuristic attack; exact anchor at ε=0\varepsilon= 0§ 7
Hardware memory-register distribution (computational basis) tracks prediction through 12 tokensexperimental (12/12 circuits, pre-registered statistic; no tomography)§8.2
Hardware next-bit probabilities within bars at L=4L = 4experimental (24 decisions)§ 8.3
Autoregressive hardware generation with measured probabilitiesexperimental (execution semantics; one archived run; replication script provided)§ 8.4
Novelty of the hardware-generation combinationliterature-based, stated narrowly against Huang and Yi [17] and Balauca et al. [2]§ 8.4, § 2
Larger logical memories needed for competitive LMspeculative / extrapolated§ 11

Table 1 (PDF p. 22).

References

  1. [1]Martin Arjovsky, Amar Shah, and Yoshua Bengio. Unitary evolution recurrent neural networks. In Proceedings of the 33rd International Conference on Machine Learning (ICML), volume 48 of Proceedings of Machine Learning Research, pages 1120–1128, 2016.arxiv.org/abs/1511.06464
  2. [2]Stefan Balauca, Ada-Astrid Balauca, and Adrian Iftene. Practical hybrid quantum language models with observable readout on real hardware. arXiv preprint arXiv:2512.12710, 2025. Submitted 14 December 2025.arxiv.org/abs/2512.12710
  3. [3]Johannes Bausch. Recurrent quantum neural networks. In Advances in Neural Information Processing Systems 33 (NeurIPS 2020), 2020.arxiv.org/abs/2006.14619
  4. [4]Kerstin Beer, Dmytro Bondarenko, Terry Farrelly, Tobias J. Osborne, Robert Salzmann, Daniel Scheiermann, and Ramona Wolf. Training deep quantum neural networks. Nature Communications, 11:808, 2020. doi: 10.1038/s41467-020-14454-2.DOI
  5. [5]Marcello Benedetti, Delfina Garcia-Pintos, Oscar Perdomo, Vicente Leyton-Ortega, Yunseong Nam, and Alejandro Perdomo-Ortiz. A generative modeling approach for benchmarking and training shallow quantum circuits. npj Quantum Information, 5:45, 2019. doi: 10.1038/s41534-019-0157-8.DOI
  6. [6]Felix C. Binder, Jayne Thompson, and Mile Gu. Practical unitary simulator for non-Markovian complex processes. Physical Review Letters, 120(24):240502, 2018. doi: 10.1103/PhysRevLett.120.240502.DOI
  7. [7]Samuel Yen-Chi Chen, Shinjae Yoo, and Yao-Lung L. Fang. Quantum long short-term memory. In ICASSP 2022 – IEEE International Conference on Acoustics, Speech and Signal Processing, pages 8622–8626, 2022. doi: 10.1109/ICASSP43922.2022.9747369.DOI
  8. [8]Kyunghyun Cho, Bart van Merriënboer, Çağlar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1724–1734, 2014. doi: 10.3115/v1/D14-1179.DOI
  9. [9]Bob Coecke, Mehrnoosh Sadrzadeh, and Stephen Clark. Mathematical foundations for a compositional distributional model of meaning. Linguistic Analysis, 36(1–4):345–384, 2010.arxiv.org/abs/1003.4394
  10. [10]Brian Coyle, Daniel Mills, Vincent Danos, and Elham Kashefi. The Born supremacy: quantum advantage and training of an Ising Born machine. npj Quantum Information, 6:60, 2020. doi: 10.1038/s41534-020-00288-9.DOI
  11. [11]Thomas J. Elliott, Chengran Yang, Felix C. Binder, Andrew J. P. Garner, Jayne Thompson, and Mile Gu. Extreme dimensionality reduction with quantum modeling. Physical Review Letters, 125(26):260501, 2020. doi: 10.1103/PhysRevLett.125.260501.DOI
  12. [12]Keisuke Fujii and Kohei Nakajima. Harnessing disordered-ensemble quantum dynamics for machine learning. Physical Review Applied, 8(2):024030, 2017. doi: 10.1103/PhysRevApplied.8.024030.DOI
  13. [13]Albert Gu and Tri Dao. Mamba: Linear-time sequence modeling with selective state spaces. arXiv preprint arXiv:2312.00752, 2023.arxiv.org/abs/2312.00752
  14. [14]Albert Gu, Karan Goel, and Christopher Ré. Efficiently modeling long sequences with structured state spaces. In International Conference on Learning Representations (ICLR), 2022.arxiv.org/abs/2111.00396
  15. [15]Mile Gu, Karoline Wiesner, Elisabeth Rieper, and Vlatko Vedral. Quantum mechanics can reduce the complexity of classical models. Nature Communications, 3:762, 2012. doi: 10.1038/ncomms1761.DOI
  16. [16]Alexander S. Holevo. Bounds for the quantity of information transmitted by a quantum communication channel. Problems of Information Transmission, 9(3):177–183, 1973. Translated from Problemy Peredachi Informatsii 9(3), 3–11.
  17. [17]Rui Huang and Haibo Yi. A fully quantum-native recurrent neural network for end-to-end sequential learning on NISQ hardware. Machine Learning: Science and Technology, 7(3):035002, 2026. doi: 10.1088/2632-2153/ae601d.DOI
  18. [18]Li Jing, Yichen Shen, Tena Dubček, John Peurifoy, Scott Skirlo, Yann LeCun, Max Tegmark, and Marin Soljačić. Tunable efficient unitary neural networks (EUNN) and their application to RNNs. In Proceedings of the 34th International Conference on Machine Learning (ICML), volume 70 of Proceedings of Machine Learning Research, pages 1733–1741, 2017.arxiv.org/abs/1612.05231
  19. [19]Amin Karamlou, James Wootton, and Marcel Pfaffhauser. Quantum natural language generation on near-term devices. In Proceedings of the 15th International Conference on Natural Language Generation (INLG), pages 267–277, 2022. doi: 10.18653/v1/2022.inlg-main.22.DOI
  20. [20]Dimitri Kartsaklis, Ian Fan, Richie Yeung, Anna Pearson, Robin Lorenz, Alexis Toumi, Giovanni de Felice, Konstantinos Meichanetzidis, Stephen Clark, and Bob Coecke. lambeq: An efficient high-level Python library for quantum NLP. arXiv preprint arXiv:2110.04236, 2021.arxiv.org/abs/2110.04236
  21. [21]Nikhil Khatri, Gabriel Matos, Luuk Coopmans, and Stephen Clark. Quixer: A quantum transformer model. arXiv preprint arXiv:2406.04305, 2024.arxiv.org/abs/2406.04305
  22. [22]Barbara Kraus, Hans Peter Büchler, Sebastian Diehl, Adrian Kantian, Andrea Micheli, and Peter Zoller. Preparation of entangled states by quantum Markov processes. Physical Review A, 78(4):042307, 2008. doi: 10.1103/PhysRevA.78.042307.DOI
  23. [23]Yanan Li, Zhimin Wang, Rongbing Han, Shangshang Shi, Jiaxin Li, Ruimin Shang, Haiyong Zheng, Guoqiang Zhong, and Yongjian Gu. Quantum recurrent neural networks for sequential learning. Neural Networks, 166:148–161, 2023. doi: 10.1016/j.neunet.2023.07.003.DOI
  24. [24]Jin-Guo Liu and Lei Wang. Differentiable learning of quantum circuit Born machines. Physical Review A, 98(6):062324, 2018. doi: 10.1103/PhysRevA.98.062324.DOI
  25. [25]Samuel P. Loomis and James P. Crutchfield. Strong and weak optimizations in classical and quantum models of stochastic processes. Journal of Statistical Physics, 176(6):1317–1342, 2019. doi: 10.1007/s10955-019-02344-x.DOI
  26. [26]Robin Lorenz, Anna Pearson, Konstantinos Meichanetzidis, Dimitri Kartsaklis, and Bob Coecke. QNLP in practice: Running compositional models of meaning on a quantum computer. Journal of Artificial Intelligence Research, 76:1305–1342, 2023. doi: 10.1613/jair.1.14329.DOI
  27. [27]John R. Mahoney, Cina Aghamohammadi, and James P. Crutchfield. Occam’s quantum strop: Synchronizing and compressing classical cryptic processes via a quantum channel. Scientific Reports, 6:20495, 2016. doi: 10.1038/srep20495.DOI
  28. [28]Rodrigo Martínez-Peña, Gian Luca Giorgi, Johannes Nokkala, Miguel C. Soriano, and Roberta Zambrini. Dynamical phase transitions in quantum reservoir computing. Physical Review Letters, 127(10):100502, 2021. doi: 10.1103/PhysRevLett.127.100502.
  29. [29]Jarrod R. McClean, Sergio Boixo, Vadim N. Smelyanskyi, Ryan Babbush, and Hartmut Neven. Barren plateaus in quantum neural network training landscapes. Nature Communications, 9:4812, 2018. doi: 10.1038/s41467-018-07090-4.DOI
  30. [30]Konstantinos Meichanetzidis, Alexis Toumi, Giovanni de Felice, and Bob Coecke. Grammar-aware sentence classification on quantum computers. Quantum Machine Intelligence, 5(1):10, 2023. doi: 10.1007/s42484-023-00097-1.DOI
  31. [31]Ashwin Nayak. Optimal lower bounds for quantum automata and random access codes. In 40th Annual Symposium on Foundations of Computer Science (FOCS), pages 369–376, 1999. doi: 10.1109/SFFCS.1999.814608.
  32. [32]Antonio Orvieto, Samuel L. Smith, Albert Gu, Anushan Fernando, Caglar Gulcehre, Razvan Pascanu, and Soham De. Resurrecting recurrent neural networks for long sequences. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 26670–26698, 2023.arxiv.org/abs/2303.06349

Paper details

vlnc:W_xx76jvgk
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents