arXiv:2610.12806quant-phOct 2026

Manuscript Offprint

arXiv:2610.12806

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

Deniz Yunus Göğüş

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study byte-level autoregressive language models whose hidden state is a quantum state on a small register, whose state transition is a learned, token-conditioned quantum channel, and whose next-byte distribution is read out directly as Born-rule measurement probabilities, with no classical vocabulary projection or softmax. Within this fixed-width recurrent architecture, a purely unitary memory cannot contract or reset stored distinctions, and in our experiments it loses to its own retrained one-token control in every variant tested; interposing a learned dissipation channel, and then making the dissipation token-conditioned (an input-conditioned CPTP map playing the role of a recurrent gate), yields models whose memory demonstrably carries information useful beyond one token (+0.20 ± 0.03 nats over one-token controls of the same parameterization and parameter count, retrained from scratch, at context 12; +0.29 to +0.33 at longer contexts), while never surpassing a retrained two-token window. On a key-value recall benchmark the largest solvable task shifts upward with register width over 4–7 qubits (one stored pair at 4–5 qubits, two at 6–7, three unsolved), and the persistent two-token horizon on text is consistent with an information-capacity bottleneck of the scale set by the Holevo bound; we present this as an empirical threshold shift over the tested range, not as a capacity law. As a secondary result, one-qubit models trained on a perturbed-coin process carry less stationary memory entropy than any classical predictor found by a Lagrangian attack at matched prediction error (emergently in 9/9 seeds, median margin 0.04 nats; 0.44–0.66 nats with an annealed entropy penalty), a memory-entropy separation claimed strictly within that scope. Compiled to hardware-shaped circuits, the model's computational-basis memory-register distribution was validated on a 156-qubit IBM Heron processor at every prefix length up to its full 12-token context (12/12 circuits closer to the simulator's predicted distribution than that prediction is to uniform), its next-bit probabilities passed pre-registered accuracy bars at 4-token prefixes, and bytes were generated autoregressively with every bit sampled from physically measured probabilities. No computational quantum advantage is claimed: all models studied are classically simulable at these widths, and none approaches classical n-gram quality. What the work establishes is architectural and physical - which memory dynamics a trainable quantum-native recurrent model requires, how sharply small quantum memories are capacity-limited, and that the resulting model runs end-to-end on present hardware.

1 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 → its inability to learn useful forgetting → learned dissipation → token-conditioned dissipative gating → measured capacity limits → 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 n 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) = \text{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\S2).

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 Krausmap 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§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§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§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§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§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§9, Appendix A).

References (34)