arXiv:2609.10141quant-phSep 2026

Manuscript Offprint

arXiv:2609.10141

The Sample Complexity of Quantum Entanglement Allocation

Nathan Roll

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

ABSTRACT

How many past requests are needed to decide which qubits should share entanglement? We show that the answer depends on the allocation choices created by the queries: a larger memory can require no more data. The memory stores a classical bit and answers requests through a fixed detector that preserves coherence within each measured sector. For independent commuting XX- and ZZ-type Pauli queries, we characterize the full attainable prediction-contrast region and construct encodings that preserve the bit at every nonzero vertex. With sharp reports, a dd-qubit path and groups of at most kk qubits have minimax excess error after mm requests proportional to k−1min⁡{1,dlog⁡(k+1)/m}k^{-1} \min\{1, \sqrt{d \log(k+1)/m}\}, uniformly for 2≤k<d2 \le k < d. Connected biclique regions can grow without increasing sample demand when depth, region count and connections per region stay bounded. Preparation noise introduces a separate calibration requirement. We derive an exact tradeoff with extra fresh detector calls and transfer the learning law to structured transaction co-location. Population-risk experiments test the statistical predictions. We also compare encodings on a native 15-qubit device and learned partitions on public purchase baskets. The full chain wins on the device; frequency grouping outperforms basket search in the largest-capacity retail setting.

1 INTRODUCTION

A quantum memory is prepared before the request it must answer is known. When different requests favor different groups of entangled qubits, the encoder has to choose where to spend its entanglement budget. We ask how many past requests it needs to make that choice. This design question complements mechanistic work on how trained quantum language models retain context (Roll, 2026).

The choice matters even when the memory stores just one classical bit. Consider a three-qubit memory queried through ZZIZZI, XXXXXX and IZZIZZ, with probabilities 1/41/4, 1/21/2 and 1/41/4. A product code supports both ZZ parities perfectly, but its XX parity is uninformative. With groups capped at two qubits, entangling the first pair supports ZZIZZI and XXXXXX, reducing optimal prediction error from 25% to 12.5%. Both memories retain the bit without loss. What changes is which requests they can answer. The request frequencies determine which pair is better (Figure 1). The encoder learns how to arrange information it already has.

The detector determines which arrangements are useful. We consider a supplied parity detector that preserves arbitrary coherence within each parity sector, as required of an ideal native parity measurement (Ristè et al., 2013). Measuring individual qubits and combining their outcomes can reveal the parity, but destroys this coherence. We hold the detector fixed and vary the entanglement in the stored state.

Our answer depends on the choices created by the query geometry. For independent commuting XX- and ZZ-type Pauli queries, we characterize the attainable prediction contrasts under arbitrary allowed partition mixtures (Theorem 1). This reduces learning over all allowed encoders, including mixed states, to learning which query sets to support. Paths add choices as they grow; boundedly connected biclique regions can grow without adding to the sample requirement (Theorem 2).

Imperfect preparation also makes calibration necessary. We study the request and calibration budgets, price the extra detector calls that can replace entangled preparation, and transfer the learning law to classical transaction co-location.

a

Figure

Filled: the query recovers the bit

b

C

Figure 1: (a) Three-qubit encodings at request probabilities (1/4, 1/2, 1/4). Groups share entanglement; filled squares recover the bit, empty squares are uninformative. All four codes preserve the stored bit. (b) Ideal prediction error when π(XXX)=1/2\pi(XXX) = 1/2, π(ZZI)=pL\pi(ZZI) = p_L and π(IZZ)=1/2−pL\pi(IZZ) = 1/2 - p_L; black selects the better pair. (c) Native 15-qubit commissioning on ibm_marrakesh favors the full chain. Even/odd are fixed product allocations. Each mean uses 1,920 shots over all 15 queries and both bits; bars are simultaneous 95% Hoeffding bounds for four means, conditional on independent shots in this one job. The allocations in (c) are fixed before acquisition.

References (100)

Couldn't load all references. Reload the page to try again.