arXiv:2610.06076quant-phOct 2026

Manuscript Offprint

arXiv:2610.06076

Quantum data loading from the learned shared structure of real signals

Pablo Herrero Gómez, Antonio Jimeno Morenilla, David Muñoz-Hernández, Higinio Mora Mora

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

Abstract

Preparing quantum states from classical data can cost more than the computation they serve; most loaders tailor a circuit to each input. Here we show that the signals of a real dataset share structure that can be learned once and reused. Our quantum-native loader learns a low-dimensional description of a dataset and prepares every signal with one fixed circuit set by a few numbers. Across seven views of five public datasets it meets the targets of the strongest structured loader at equal gate cost with several times fewer numbers per signal. These numbers can be inferred from a random subset: in a preregistered blind replication the subset needed to come within ten per cent of full-signal accuracy stayed constant within a prespecified margin as signals grew sixteenfold, whereas the structured loader needed ever more. It declines what it cannot represent, covering fewer cases than that baseline and no electrocardiogram.

1 Introduction

Quantum algorithms that act on classical data must first represent that data in a quantum register. This input step is easy to hide in an oracle assumption, but its cost can remove a downstream speed-up when the state must be prepared explicitly 1;2^{1;2}. Quantum random-access memory provides one access model 3^{3}, but is not available as a general primitive on present devices. In gate-based implementations, state preparation therefore contributes directly to circuit depth, two-qubit gate count and accumulated error 4^{4}. That bound is a property of the encoding, not of the hardware 5^{5}, so surviving advantage turns on data access 6^{6}.

The worst-case cost is unavoidable. Preparing an arbitrary state of nn qubits requires a number of two-qubit gates that grows linearly with the number of amplitudes and hence exponentially with n7−10n^{7-10}. Ancillas can trade gate count for depth but do not remove the dependence on an arbitrary target description11−13^{11-13}. The same issue occurs for the phase encoding studied here: a window of D=2nD = 2^n real values specifies a diagonal unitary, and an arbitrary exact diagonal requires resources that grow with D14;15D^{14;15}.

Such a state is what a diagonal potential, phase oracle or signal-processing transform consumes 16−19^{16-19}.

Practical data are not arbitrary, and structured state preparation exploits this fact. Truncated Walsh and Fourier representations retain a small number of coefficients 20;21^{20;21}; smooth, polynomial and multivariate functions admit specialized constructions 22−25^{22-25}; quantum signal-processing constructions prepare classes of continuous or piecewise-defined functions 26−28^{26-28}; and tensor-network factorizations expose low-entanglement structure in images, financial data and physical fields 29−32^{29-32}. Approximation-aware compilation and entanglement-reduction frameworks automate the choice of a resource-efficient construction for a supplied target 33;34^{33;34}. In these target-specific approaches, some combination of retained support, factorization, approximation or circuit structure is determined from the complete input instance.

Shared structure across targets has also begun to be used explicitly. Daimon and Matsushita train a transformer decoder to generate gate sequences for previously unseen amplitude vectors 35^{35}. Aoun et al. instead map each complete input image to the continuous parameters of a fixed circuit topology 36^{36}. The adaptive interpolating quantum transform learns a shared, circuit-realizable basis across a dataset, followed at deployment by a full classical transform and target-specific top-k coefficient selection 37^{37}, and dataset distillation amortizes whole datasets into shallow circuits 38^{38}. These works establish that circuit generation, parameter prediction or basis design can be amortized across inputs. Offline learning and reuse are therefore not by themselves the distinguishing question.

Even when circuit design is amortized, a separate input question remains: how much information from each new instance must be acquired and processed to instantiate its quantum state? A model that consumes the complete vector can avoid per-input circuit optimization while retaining a classical interface of dimension D. Conversely, a lower-dimensional interface could reduce the number of per-instance unknowns and might allow those unknowns to be inferred when some positions are unobserved. Such a claim must be distributional: it can hold for new members of a learned family, not for an arbitrary vector, and it requires complete examples during learning.

We investigate the hypothesis that a source of real signals occupies a low-dimensional family that is simultaneously statistical and physical. In QNL, the physical coordinates are coefficients on a shared Walsh support S. Offline, on complete FIT windows, the support is searched and pruned with measured transpiled CX cost and an affine decoder c(z)=b+Azc(z) = b + Az is fitted; VALIDATION selects models under a statistical deployment contract, and the selected model and circuit topology are frozen. The nonlinear families used to initialize FIT coordinates and propose supports are not the deployed loader and never see TEST windows.

Online, a new window is not assigned a newly optimized circuit: its coordinates are obtained by linear least-squares projection onto the frozen family, and c=b+Az^c = b + A\hat{z} supplies the coefficients of the fixed Walsh-gadget circuit. If only some positions are available, the same projection uses the corresponding rows, and no complete classical reconstruction is needed to obtain the circuit parameters. We test this on seven views of five public datasets, keeping circuit CX, per-instance interface dimension, observed positions, offline learning and online inference as distinct resources. The central result concerns how many positions must be observed. In a preregistered blind replication with random observations, the number of positions QNL needs to approach its full-window accuracy (an error within 10% of that with the whole window) was constant within a prespecified margin from 128 to 2048 samples, with a slope on logarithmic axes of 0.08 (90% interval [0.05, 0.12]), whereas the strongest shared Walsh baseline's grew with slope 0.51; it is not the number needed to meet the fidelity budget, and with a contiguous gap there is no advantage. Each window supplies 5.25 times fewer numbers to QNL than to that baseline, although both circuits receive one coefficient per support term, and the two circuits reach paired CX parity. QNL abstains when its validation contract is not met, and its lower coverage, particularly on PTB-XL, delineates the empirical scope of the affine family.

References (48)