Manuscript Offprint
arXiv:2608.31117"Train classical, deploy quantum" requires rethinking generalization
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Snehal Raj, Natansh Mathur, and Alejandro Perdomo-Ortiz
QC Ware Corp., Palo Alto, USA and Paris, France
LIP6, CNRS, Sorbonne Université, Paris, France
Generative models have become central across science and industry, from image and text synthesis to the design of molecules and materials. Quantum generative models are considered one of the most promising applications for quantum computers, since a quantum circuit naturally produces samples from the distribution it encodes, and for suitable circuits that distribution is believed to be hard for any classical computer to reproduce. A leading strategy trains these models on a classical computer and reserves the quantum device for generating samples at deployment. This is possible when the training loss can be evaluated on a classical computer. A prime example is the maximum mean discrepancy (MMD ), a moment-matching loss that compares the model and the data through their Pauli-Z correlations. Research so far has asked whether such models can be trained and whether their sampling is hard; whether minimizing such an objective yields a model that generalizes, rather than one that merely reproduces the training statistics, remains poorly understood. We benchmark a broad set of quantum and classical generative models by direct sampling and show that models trained with a moment-matching loss generally show worse generalization than the likelihood-trained models. We show this on two application-inspired datasets: first a cardinality-constrained dataset at up to 30 qubits and second a dataset of genomic single-nucleotide variants, whose valid set is the observed data. These results indicate that a converged moment-matching loss is not a reliable measure of generalization, and that train-classical, deploy-quantum workflows will need approaches that target generalization directly, leaving open whether better training objectives suffice or whether the model architectures themselves must change.
I. INTRODUCTION
Generative models are used across science and industry, from image synthesis [1, 2] and text generation [3] to the design of new molecules [4]. Generative models are usually evaluated on whether the samples that they produce are novel, valid, and faithful to the target distribution, rather than reproduce their training examples [5, 6]. Quantum circuits provide a natural way to build such models. A quantum circuit Born machine (QCBM) prepares a parametrized quantum state and generates samples by measuring it in the computational basis [7–9]. Quantum correlations can increase the expressive power of generative models [10, 11]. For certain circuit families, sampling from the output distribution is believed to be classically intractable under standard complexity assumptions [12, 13]. This possible sampling advantage has made QCBMs a candidate application for near-term quantum computers [7, 9]. QCBMs have been explored on tasks ranging from finance to image synthesis, and parametrized quantum circuits are applied across machine learning more broadly [14–17]. For a review of quantum generative models beyond QCBMs and their applications, see [18].
Training a QCBM directly on quantum hardware is however expensive, even with improved training schemes [19, 20]. Each gradient estimate requires many circuit evaluations, and barren plateaus can make typical gradients exponentially small in the number of qubits [21]. One route around this cost pretrains the circuit classically as a matrix-product-state approximation and then fine-tunes it on hardware [22]; the pretraining is classically efficient, though surpassing classical models still requires the added cost of hardware training. These costs have motivated a train classical, deploy quantum (TCDQ) strategy. The loss is evaluated and optimized on a classical computer, and the quantum device is used only after training to draw samples [23, 24]. This separation is possible because evaluating the quantities used by the loss can be classically tractable even when sampling from the full output distribution is believed to be classically hard. Indeed, many models that provably avoid barren plateaus also allow their losses to be evaluated efficiently on a classical computer [25]. Work on this strategy has mainly asked whether the classical loss can be optimized [22, 26] and whether the deployed model can be reproduced by a classical surrogate [27]. Existing work has paid much less attention to ensuring that the trained circuit is a useful generator. Sampling may be classically hard even if the model fails to produce unseen, valid data. We therefore ask a third question: once the loss has converged, does the model generalize?
Gili et al. [28] established a way to measure generalization in this setting. They distinguish an efficient learner, which only reproduces the training distribution, from an efficient generator, which produces new and valid samples. The two are separated by sampling the trained model, through four metrics: exploration, fidelity, rate, and coverage. Scoring a generative model by the novel, valid samples it produces is also longstanding practice in molecular design [6]. In this work we take up the generalization question through both an
: likelihood

FIG. 1. Training losses versus deployment generalization. An optimizer fits a generative model (a tensor network, a neural network, or a quantum circuit) using quantities that can be evaluated without sampling the deployed model. The benchmark tests whether small empirical values of the negative log-likelihood ( ), the fixed-order correlator ( ), and the full-kernel MMD ( ) objectives correspond to better generalization (low forward KL; green).
empirical study and a theoretical analysis. Empirically, we benchmark thirteen classical and quantum generative models at up to 30 qubits, on two application-inspired datasets, a cardinality-constrained family and a set of genomic single-nucleotide variants. We score each model by free sampling, and we compare its training loss against its coverage and its forward Kullback-Leibler divergence to the target distribution. Across the benchmark, the moment-matching loss correlates poorly with both measures of generalization, whereas coverage and the forward KL agree much better with each other. Also, we find that moment-trained models generally generalize worse than likelihood-trained ones (Fig. 1). Theoretically, we prove that a loss fixed by a prescribed set of low-order correlators cannot certify generalization on its own. Two distributions can drive such a loss to zero and still cover very different fractions of the valid set.
The paper is organized as follows. Section II reviews quantum circuit Born machines and the TCDQ paradigm. Section III defines the deployed training losses as moment losses, generalization through the forward KL, and its sample-based metrics, coverage and fidelity. Section IV proves that a moment loss of bounded capacity admits exact global minimizers of exponentially small coverage, and locates the failure of the full MMD in its empirical minimizer, the memorizer. Section V reports the benchmark, ranking the models by loss, coverage, and forward KL on the cardinality-constrained family (to 30 qubits by state-vector simulation) and the genomic variants, and testing robustness across circuit gate count, kernel bandwidth, and a classical baseline.
b. Quantum circuit Born machines. A Born machine encodes a probability distribution as the measurement distribution of a quantum state, . Trained variationally, they are a standard model for quantum generative learning [7–9], and have been trained on trapped-ion hardware on tasks up to high-resolution imagery [35–37]. For such models, sampling is native to quantum hardware, and for circuit families such as instantaneous quantum polynomial-time (IQP) circuits the output distribution is classically hard to sample under standard complexity assumptions [12]. Whether such distributions are efficiently learnable at all is an important research direction: Clifford outputs are learnable, yet a single non-Clifford gate can make distribution learning hard [38–40].
c. Train classical, deploy quantum. Training Born machines on hardware is challenging, owing to barren plateaus [21] and the cost of estimating gradients from samples. A way around this is to keep training entirely classical and use the quantum device only for inference. Recio-Armengol et al. train IQP Born machines on the moment-matching loss (MMD ) at up to a thousand qubits by writing the loss as a classical mixture of Pauli-Z word expectations [23, 41], each computable in polynomial time via den Nest's estimator [42]. Bakó et al. propose fermionic Born machines (FBMs): magic (non-Gaussian) input states evolved by matchgate (free-fermion) circuits, trained by matching constant-locality Pauli-Z string correlators [24], building on the Fermion Sampling advantage scheme [13]. Rudolph et al. pretrain a parametrized circuit from a classically optimized tensor network [22]; related classical-training protocols appear in Refs. [43, 44]. The training loss uses only classically cheap observables, while sampling from the trained model can remain classically hard for suitable circuit families.
d. Trainability and simulability. Most analysis of this paradigm studies whether the moment-matching loss is optimizable or whether the model is classically surrogatable. Lerch et al. characterize when the MMD loss of an IQP Born machine has barren plateaus and when data-dependent initialization restores trainability [26]. Herrero-González et al. identify the Born-rule probability as a Fourier series of Pauli-Z correlators, give conditions under which a correlator-described model can be classically surrogated, quantify the discrepancy between classically trained and quantumly deployed parameters, and note that an MMD loss whose kernel omits the relevant correlators resolves only the selected correlator subset [27]; the expressivity of such quantum Fourier models is itself constrained [45]. Tüysüz et al. show that a fixed MMD kernel weights the Walsh–Hadamard spectrum toward low Hamming weight, so an MMD -trained model matches only low-order correlations and departs from correlated, multimodal targets past a low-weight cutoff, and a multi-kernel MMD does not remove this; they instead train a Fourier-encoded circuit by a classically tractable marginal likelihood that scales to a thousand qubits [46].
e. Evaluating generalization. Scores computed against the empirical training distribution (its KL, total variation, or moment-matching loss to the training data) measure agreement with the training set and cannot by themselves separate memorization from generalization. This is distinct from the forward KL divergence to the known target, which we use later as the gold standard for generalization precisely because the target distribution, , is known by design. Gili et al. introduce a sample-based framework (EFRC) on cardinality-constrained datasets, where validity is cheap to verify, and define the metrics we use, including the coverage of the unseen valid set [28, 47, 48]. We adopt coverage and the forward KL as our generalization measures throughout. Two of the classical models we evaluate are the tensor-network Born machine (TNBM) of Han et al. [49], which trains by likelihood, and the generative moment-matching network (GMMN) [50, 51], trained on the same moment-matching loss (MMD ); the GMMN lets us separate the effect of the loss from that of the quantum platform. We measure coverage on both the cardinality-constrained datasets and a real-world dataset of genomic single-nucleotide variants, where the valid set is the set of observed sequences. For the genomic data we also report standard population-genetics diagnostics, per-locus allele-frequency correlation and pairwise linkage disequilibrium, alongside coverage [52].
III. FRAMEWORK
a. Generative modeling. A generative task is specified by a distribution on . Its support is the set of valid strings. The learner observes a finite training set drawn from and its empirical distribution
It returns a model distribution . In a train-classical, deploy-quantum (TCDQ) workflow, quantities used during optimization are evaluated classically, whereas the trained model is sampled from the quantum circuit at deployment. The samples it produces beyond T determine its usefulness.
b. Quantum circuit models. A quantum circuit Born machine (QCBM) prepares and generates
Sampling is native to the hardware, but evaluating requires estimating an exponentially small projector overlap, so the model's probabilities are not efficiently accessible [41]. For the IQP and fermionic circuit families considered here, selected Pauli-Z correlators can be evaluated classically even when sampling from the full output distribution is believed to be classically difficult [23, 24].
c. Losses. When we train a quantum generative model, we optimize a loss that measures disagreement between the model and a reference distribution. Three versions of any such loss must be distinguished:
finite-budget estimator of .
(3)
Here counts the queries the estimator spends per evaluation, correlator draws and model samples together. A small can mean that the estimator is accurate and that the empirical loss has been optimized. It does not by itself imply that is close to . For the circuit families the paradigm uses, the Pauli-Z correlators are classically computable [23, 42], while log-probabilities are not available to the precision a likelihood needs [53].
The deployed losses share one structural property, which Section IV uses in its general form:
Definition 1 (Moment loss of capacity ). A loss is a moment loss of capacity if it depends on the model only through the expectations of bounded observables , and attains its minimum exactly when all match the reference.
The widely used TCDQ losses are all moment losses, and their observables are the Pauli-Z strings . For write for the parity of , and for the correlator of the model. Every deployed loss is a weighted square difference of correlators,
with the reference set to , or a batch, per Eq. (3). The index set specifies which correlators the loss compares, the weight sets the penalty on each mismatch, and the capacity of Definition 1 is . The three deployed losses are three choices of , with counting the correlators of order at most :
FBM correlator [24]:
truncated MMD:
full MMD [23]:
The first is evaluated exactly through Pfaffians [24]. The third is never evaluated exactly: the sampled-spectrum estimator of Ref. [23] estimates it without bias by redrawing at every update, an instance of the estimator of Eq. (3). These losses are training surrogates: they stand in for the inaccessible likelihood during optimization, and they are the objectives under which the paradigm trains [8, 23, 24].
The weight comes from a kernel. The MMD compares two distributions through their mean embeddings , and the loss is , written with the kernel alone as
(6)
On N-bit strings the kernel is the Gaussian–Hamming kernel , with the Hamming distance and the bandwidth. In the Fourier basis of the cube [54],
(7)
so the full MMD compares every correlator, with weights that peak at order , which is 0.197N at , and fall exponentially above it [23, 41, 46]. Since for every A, the kernel is characteristic: the population MMD vanishes only at [55, 56].
Each deployed loss is the square of an integral probability metric [57–59] with discriminator class F in the sense of Arora et al. [29] and capacity d.
d. Generalization and its sample-based evaluation. Generalization is the population goal of a generative model: closeness to the target on the whole valid set, including the strings the training data never showed it [28, 29]. We state it with the forward KL divergence.
Definition 2 (Generalization). A model generalizes at level if
The forward KL is finite only if the model assigns probability to every valid string, and small only if it weights them as the target does. That the forward KL blows up under support mismatch is the property Arjovsky and Bottou use to motivate weaker distances for GAN training [60]; here it is what makes coverage the natural sample-based metric. In deployment the divergence cannot be evaluated: is not efficiently accessible, and is unknown outside designed benchmarks; Section V computes the divergence offline for its benchmark targets. What is available at deployment is a quantity computed from the samples the model produces, under a stated budget.
Definition 3 (Sample-based generalization metric). Let be a quantity determined by the trained model and the training set. A statistic , computed from the first Q terms of a sequence of independent samples of , is a sample-based generalization metric for if as , with probability one.
Write for the unseen valid strings, assumed nonempty. We use two such metrics: the coverage, for diversity over , and the fidelity , the fraction of generated samples that are valid; the fidelity converges to the valid mass . The support coverage
We follow the convention of Ref. [23], in which is a standard deviation.

FIG. 2. A truncated moment loss admits exact minimizers with different support coverage. The distributions and match every correlator through order L (Corollary 1), yet their support coverages are 1 and 0.07. Statements in Section IV, proofs in Appendix A.

FIG. 3. The low-coverage minimizer of Corollary 1 is explicit. For N = 8 to 16 at L = 2, a linear program constructs a distribution matching every order- correlator of the uniform target. Realized coverage of the constructed minimizer (red) and the bound of Corollary 1 (gray) versus N, on a logarithmic scale; the truncated loss is numerically zero at every point.
is the fraction of the unseen valid strings with positive probability under the model. The measured coverage at budget Q is the statistic , with expectation
Every sampled string lies in the support, so at every , and with probability one. The shortfall is small once is large compared with the reciprocal of the smallest positive model probability on . Whether measured coverage ranks models as the forward KL does is an empirical question, and Section V reports the observed rank correlations. The classical and the quantum literature track the generalization of generative models with coverage in one form or another [28, 31, 32]. Coverage alone suffices when the architecture confines the support to , and we report coverage and fidelity together otherwise.
IV. MOMENT LOSSES DO NOT CERTIFY GENERALIZATION
In this section we show that exact minimizers of the deployed losses can have exponentially small coverage. Our results are statements about the population loss of Eq. (3), the best case for the loss. The two finite objects are weaker: for a characteristic kernel the exact minimizer of the empirical loss is the memorizer , and a small estimate implies only that the estimator is accurate. The population values are estimable from polynomially many samples [29]. We show results on the cardinality task of Section V: with , uniform on , and .
Theorem 1 (Moment losses of bounded capacity admit exact sparse minimizers). Let have full support on a finite valid set , and let be a moment loss of capacity with . Then there is an exact global minimizer of , supported inside on at most strings, with
The target is also an exact minimizer, and the loss takes the same value on both, so the loss value cannot select between them. By Eq. (11), does not generalize at any level (Definition 2). The value of a training surrogate therefore carries no guarantee of coverage at deployment, and evaluation must come from samples. Model structure or optimizer bias may still select a good minimizer among the exact minimizers. The statement constrains distributions; whether a given circuit family realizes the sparse minimizer, and whether training reaches one, are separate questions, and Section V addresses them empirically.
For the deployed losses on the cardinality task the bound is explicit.
Corollary 1 (Fixed-order correlators on the cardinality task). The order- losses have , and the constant function lies in the span of their observables, so on the uniform cardinality target they admit an exact global minimizer supported on at most strings, with
(12)
The proofs are in Appendix A; the support count is in general and improves to d when the constant function lies in the span of the observables, as it does for the deployed losses. The theorem is the Boolean-cube form of the GAN analysis of Arora et al. [29], in which a discriminator class of bounded capacity is driven to its optimum by generators supported on roughly capacity-many points, an effect later confirmed by support measurements on trained GANs [30]. Our result does not exclude a TCDQ loss that depends on more than a bounded list of expectations. In particular, Tuysuz et al. train a Fourier-structured model on a classically estimated likelihood, which is a moment loss of no finite capacity, and pay with a restricted circuit family whose visible marginals factorize [46].
We construct the minimizer of Corollary 1 explicitly with a linear program (Fig. 3). At it finds a distribution that matches every correlator of through order on a support of 66 strings. Its truncated loss is , its coverage is 0.07 against the target's 1.00, and its forward KL is infinite (Table III). Figure 2 visualizes the two distributions.
Theorem 1 does not apply to the full MMD: the kernel is characteristic (Section III), so is the unique exact minimizer of the population loss [8], and the full MMD remains a principled training surrogate. Training, however, minimizes the empirical and stochastic objects of Eq. (3). The memorizer attains with . An empirical MMD value therefore cannot substitute for sample-based evaluation, and Section V evaluates every trained model from its samples.
V. BENCHMARKING GENERALIZATION
We train thirteen models on two datasets and report how well each generalizes. For every model we compare its training loss, the eval MMD , against two direct measures of generalization, coverage and the forward KL, and ask whether a low loss tracks them. Because the target is known by design, for the small systems (N=16 and N=20) we rank the models by each score and compare the rankings; the cardinality task is pushed to N = 30 by full state-vector simulation, confirming Section IV in practice: models with nearly the same MMD loss differ widely in coverage. Table I reports MMD and coverage on both datasets. Throughout this section, C denotes the measured coverage of Section III at the stated budget Q.
A. Datasets, models, and protocol
Definition 4 (Cardinality-constrained dataset). For even N, the valid set is the set of bitstrings of Hamming weight N/2,
and the target is the uniform distribution on . We use , for which , 184,756, and .
The fixed-weight rule couples all N bits, so a model must capture their joint structure. The valid set is known in full, so coverage can be measured exactly.
Definition 5 (Genomic variant dataset). From observed single-nucleotide-variant sequences [61], taken from the PennyLane quantum dataset library [62], we keep the first loci of each sequence and deduplicate; the distinct observed sequences form the valid set
with at and 3,980 at . We define the target as the empirical distribution of , and a sequence is valid if it lies in .
The genomic valid set has no fixed Hamming weight: for example, at N=20 the modal weight is 12 and the data span weights from 4 to 18. The target is non-uniform, with per-locus allele frequencies and linkage between loci.
a. Models. We evaluate thirteen models. The likelihood-trained group consists of the TNBM [49], three transformers, three GRU RNNs, and an RBM. The MMD-trained group consists of the IQP Born machine [23], the magic FBM [24], and the classical GMMN [50, 51]. The active and passive FBMs use fixed-locality correlator losses; the passive FBM also restricts its support to the fixed-Hamming-weight sector, so it is confined to the cardinality valid set by construction . Appendix C gives the architectures and optimization settings.
b. Training protocol. From a dataset we draw a training set at fraction : for the cardinality task, valid strings drawn uniformly without replacement from ( ); for the genomic task, sequences drawn from (
TABLE I. A benchmark of quantum and classical generative models, each scored by both its training loss and its ability to generate new, valid data. We present results on two datasets together: the cardinality task at (, corresponding to training strings; ; three seeds) by full state-vector simulation, and genomic single-nucleotide variants at (, corresponding to ; ; five seeds). Values are medians over seeds. Rows group models into likelihood-trained and moment-trained families. We report eval MMD (Gaussian–Hamming kernel, ) for both; fidelity and normalized coverage for the cardinality columns (the raw coverage is query-budget-limited at ); and coverage for the genomic. Colors encode within-column rank, from green for better values to red for worse values. Per-size cardinality and per- results, including the median-bandwidth IQP variant, are in Appendix D.
| Model | loss | Cardinality () | Genomic () | |||
|---|---|---|---|---|---|---|
| Likelihood-trained | ||||||
| Transformer (L) | cross-ent | 1.00e-3 | 1.00 | 1.00 | 1.58e-3 | 0.130 |
| Transformer (M) | cross-ent | 9.99e-4 | 1.00 | 1.00 | 1.49e-3 | 0.140 |
| RNN (S) | cross-ent | 1.02e-3 | 1.00 | 1.00 | 3.05e-3 | 0.084 |
| TNBM | NLL | 1.01e-3 | 0.96 | 0.96 | 8.17e-4 | 0.140 |
| RNN (M) | cross-ent | 1.01e-3 | 0.91 | 0.91 | 1.08e-3 | 0.141 |
| RNN (L) | cross-ent | 1.01e-3 | 0.88 | 0.88 | 1.21e-3 | 0.132 |
| Transformer (S) | cross-ent | 9.97e-4 | 0.70 | 0.70 | 2.93e-3 | 0.087 |
| RBM | CD | 1.04e-3 | 0.15 | 0.15 | 5.62e-3 | 0.025 |
| Moment-trained | ||||||
| FBM (passive) | Z-corr | 1.03e-3 | 1.00 | 1.00 | 6.43e-3 | 0.029 |
| magic FBM | 1.09e-3 | 0.16 | 0.16 | 2.47e-2 | 0.001 | |
| GMMN (classical MMD) | 1.73e-3 | 0.24 | 0.24 | 2.07e-3 | 0.129 | |
| IQP | 1.43e-3 | 0.14 | 0.14 | 1.08e-2 | 0.014 | |
| FBM (active) | Z-corr | 1.39e-3 | 0.09 | 0.09 | 2.07e-2 | 0.000 |
{0.01, 0.05, 0.10, 0.20}). A seed fixes the training subset: at each (, seed) every model trains on the same , and is resampled across seeds, so the spread reported across seeds reflects the choice of training subset. We use three seeds for the cardinality task and five for the genomic task. Training fixes the parameters by minimizing a loss that compares to (Section III),
with an iterative optimizer: gradient descent for the autoregressive, IQP, FBM, and GMMN models, two-site DMRG for the TNBM, and contrastive divergence for the RBM. Autoregressive models run 200 epochs with early stopping; the FBM models run 1,500 to 2,000 gradient steps, and the IQP model 500. Full hyperparameters are in Appendix C.
c. Sampling protocol. We evaluate every model by free sampling: from the trained model we draw samples and keep all of them ( at ; at and ; for the genomic task equals the dataset size, 5,008 at and 2,716 at ). Coverage is the fraction of the unseen valid set that appears among the distinct valid samples, and the fidelity the fraction of new samples that are valid [28]. A model that samples uniform random bits over all strings reaches expected coverage ; this no-learning floor is our baseline. When the raw coverage is capped by the budget, so we also report the normalized coverage , where
TABLE II. Effect of model capacity at , (three seeds). Each family has its own size axis (in parentheses); parameters and coverage run from the smallest to the largest setting. Enlarging IQP by in gate count does not raise its coverage above , while the TNBM rises then over-fits, as illustrated in Fig. 5c. The free-fermion FBMs have no capacity parameter.
| family (size axis) | params (small→large) | |
|---|---|---|
| Transformer (w/depth) | 3.4k/25.6k/150k | 0.48/0.52/0.52 |
| RNN (hidden dim) | 1.7k/25.3k/199k | 0.52/0.52/0.51 |
| TNBM (bond ) | 120/1088/15016 | 0.27/0.52/0.22 |
| IQP (gate weight) | 136/696/2516 | 0.14/0.13/0.13 |
| FBM (passive) | 120 | 0.40 |
| FBM (active) | 496 | 0.11 |
| magic FBM | 784 | 0.14 |
is the coverage an ideal uniform sampler over reaches in draws. Because is known by design, we also compute the forward KL of the trained model.
B. Cardinality-constrained data
After training, we measure both the MMD and the coverage of every model. On this task the two decouple. The deploy-quantum moment-trained models (the IQP Born machine and the active and magic FBMs) converge

FIG. 4. Rank correlations among MMD , coverage, and forward KL. Each panel ranks the same thirteen models by two scores, best in the top-right corner, for the cardinality data (top) and the genomic data (bottom), both at N = 16; each score is a median over seeds, and r is Spearman's rank correlation between the two scores. The left column pairs the two generalization measures (coverage and the forward KL); the middle and right columns pair each against the moment-matching loss MMD . In the labels, TF is the transformer and S/M/L are the small, medium, and large variants.
the MMD to a low value, yet do not generate valid bit-strings efficiently: a low loss does not make them generators. The likelihood-trained models reach a comparably low MMD and also cover most of the valid set (Table I). One moment-trained model is the exception. The passive number-conserving fermionic Born machine reaches high coverage because its matchgate circuit produces only Hamming-weight-preserving strings, so it is confined to the valid set by construction rather than by its loss. No other model was biased this way; when the valid set has known structure, encoding it into the model raises coverage where lowering the loss does not.
At N = 16, where each model's exact probabilities are available, we rank the models by coverage, by the forward KL divergence, and by the eval MMD , and compare the rankings pairwise (Fig. 4, top row). Coverage and the forward KL agree closely, while the MMD correlates poorly with both: the IQP and tensor-network Born machines reach the same MMD within 40%, yet cover 0.09 and 0.41 of the unseen valid set, a 4.6× gap. The pattern holds for all evaluated models and across sizes to N = 30 (Appendix D).
Figure 5 shows the decoupling directly. During training the IQP Born machine drives its MMD down by an order of magnitude while its coverage stays near (a), whereas a likelihood-trained transformer lowers its loss and raises its coverage together, toward the ideal finite-sample ceiling (b). Capacity does not close the gap: enlarging the IQP circuit in gate count leaves its coverage flat, while the tensor-network and classical models improve with size (c; Table II). The gap widens with qubit count, out to (d). The decoupling is not an artifact of the kernel bandwidth: sweeping from sharp to broad leaves IQP near (Appendix E).
(a)

(b)

(c)

(d)

FIG. 5. Loss and coverage decouple during training and across model size. (a) IQP at , : the loss (MMD, gray) falls by an order of magnitude while coverage (red) stays near . (b) a likelihood-trained transformer: the loss (NLL, gray) falls and coverage (blue) rises to the finite-sample maximum . (c) coverage versus parameter count at : the classical transformer and RNN and the TNBM rise with size, while IQP and the magic FBM stay near . (d) normalized coverage versus system size up to 30 (raw is not comparable across because grows exponentially and the query budget changes with ): the likelihood-trained and structural models increase toward while IQP holds near . Throughout, loss is gray and coverage takes each model's group colour.
C. Genomic variant data
On the genomic data the deploy-quantum models are again the weakest generators. The transformer and RNN reach the highest coverage, with the tensor-network Born machine just behind (all near ; Table I). These models also fail to reach a low MMD here: with no fixed Hamming weight to exploit, they match neither the data's low-order statistics nor its support. Loss and coverage correlate slightly better than on the cardinality data (Fig. 4, bottom row), so whether the MMD tracks generalization depends on the dataset, and generalization has to be measured directly. The passive fermionic Born machine, which covered the cardinality valid set well, generalizes poorly here, like the other moment-trained models: its Hamming-weight bias fits the cardinality set but not the genomic one. Genomics-specific diagnostics (per-locus allele frequencies, pairwise linkage disequilibrium, and a PCA of the generated samples) are reported in Appendix F.
VI. CONCLUSION
In this work we measure the ability of quantum generative models to produce new and valid samples directly, by sampling thirteen classical and quantum generative models and scoring the samples they produce. On two application-inspired datasets, at up to 30 qubits, the models trained with a moment-matching loss generalized worse than the likelihood-trained ones. The moment-matching loss still converged to small values, but these values did not track coverage or the forward KL divergence to the target. A low training loss was therefore not a reliable sign that a model had become a useful generator. The one exception was a fermionic Born machine whose circuit emits only fixed-weight strings, which confined it to the valid set by construction rather than through its loss.
We also analysed this behavior theoretically. For any loss fixed by a prescribed set of low-order correlators, we prove that exact matching is consistent with almost any coverage. Two distributions can drive the loss to zero while one covers the whole valid set and the other an exponentially small fraction of it. The difference lies in the high-order correlators that the loss never constrains. These results point to a change in practice. The TCDQ paradigm has so far been justified by trainability and by the hardness of sampling. Generalization, however, is the most important requirement, and it should be checked directly by sampling the trained model, not by its training loss.
Our study has limitations that point to future work. We benchmarked specific families of models and losses, on datasets whose valid set is known and cheap to check. In a real deployment the valid set may itself be uncertain, and measuring coverage would then require a reliable validity oracle. The most direct next step is to replace moment matching with a loss that targets generalization, such as maximum likelihood or an objective with a coverage-aware term. Another is to build the constraint into the model rather than into the loss. The passive fermionic Born machine did this for fixed Hamming weight, and reached high coverage as a result. Although there has been progress on structure-preserving models, in particular tensor networks that embed cardinality and other discrete linear constraints [63, 64] and Hamming-weight-preserving quantum circuits [65], finding structure-preserving circuits for other application domains, such as molecular validity or graph properties, remains an open problem. We see generalization as a property to be measured, not assumed from a low loss, and building the losses and models that deliver it as the main task ahead.
[1] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, in Advances in Neural Information Processing Systems, Vol. 27 (2014).
[2] J. Ho, A. Jain, and P. Abbeel, in Advances in Neural Information Processing Systems, Vol. 33 (2020) pp. 6840–6851.
[3] T. B. Brown, B. Mann, N. Ryder, M. Subbiah, J. Kaplan, P. Dhariwal, et al., in Advances in Neural Information Processing Systems, Vol. 33 (2020) pp. 1877–1901.
[4] R. Gómez-Bombarelli, J. N. Wei, D. Duvenaud, J. M. Hernández-Lobato, B. Sánchez-Lengeling, D. Sheberla, J. Aguilera-Iparraguirre, T. D. Hirzel, R. P. Adams, and A. Aspuru-Guzik, ACS Central Science 4, 268 (2018).
[5] N. Carlini, J. Hayes, M. Nasr, M. Jagielski, V. Sehwag, F. Tramèr, B. Balle, D. Ippolito, and E. Wallace, in 32nd USENIX Security Symposium (USENIX Security 23) (2023).
[6] N. Brown, M. Fiscato, M. H. S. Segler, and A. C. Vaucher, J. Chem. Inf. Model. 59, 1096 (2019).
[7] M. Benedetti, D. Garcia-Pintos, O. Perdomo, V. Leyton-Ortega, Y. Nam, and A. Perdomo-Ortiz, npj Quantum Information 5, 45 (2019).
[8] J.-G. Liu and L. Wang, Phys. Rev. A 98, 062324 (2018).
[9] B. Coyle, D. Mills, V. Danos, and E. Kashefi, npj Quantum Information 6, 60 (2020).
[10] S. Cheng, J. Chen, and L. Wang, Entropy 20, 583 (2018), arXiv:1712.04144.
[11] X. Gao, E. R. Anschuetz, S.-T. Wang, J. I. Cirac, and M. D. Lukin, Physical Review X 12, 021037 (2022), arXiv:2101.08354.
[12] M. J. Bremner, R. Jozsa, and D. J. Shepherd, Proc. R. Soc. A 467, 459 (2011).
[13] M. Oszmaniec, N. Dangniam, M. E. S. Morales, and Z. Zimborás, PRX Quantum 3, 020328 (2022).
[14] E. A. Cherrat, S. Raj, I. Kerenidis, A. Shekhar, B. Wood, J. Dee, S. Chakrabarti, R. Chen, D. Herman, S. Hu, P. Minssen, R. Shaydulin, Y. Sun, R. Yalovetzky, and M. Pistoia, Quantum 7, 1191 (2023), arXiv:2303.16585.
[15] N. Mathur, B. Coyle, N. Jain, S. Raj, A. Tandon, J. S. Krauser, and R. Stoessel, in 2025 IEEE International Conference on Quantum Computing and Engineering (QCE) (2025) arXiv:2504.18103.
[16] S. Raj, B. Coyle, L. Monbroussou, A. J. Ferreira-Martins, R. Farias, and E. Kashefi, arXiv preprint arXiv:2606.26873 (2026).
[17] S. Raj and B. Coyle, arXiv preprint arXiv:2502.06916 (2025).
[18] J. Tian, X. Sun, Y. Du, S. Zhao, Q. Liu, K. Zhang, W. Yi, W. Huang, C. Wang, X. Wu, M.-H. Hsieh, T. Liu, W. Yang, and D. Tao, IEEE Transactions on Pattern Analysis and Machine Intelligence 45, 12321 (2023), arXiv:2206.03066.
[19] B. Coyle, S. Raj, N. Mathur, E. A. Cherrat, N. Jain, S. Kazdaghli, and I. Kerenidis, npj Quantum Information 11, 172 (2025), arXiv:2405.20237.
[20] B. Coyle, S. Raj, V. Umathe, E. A. Cherrat, and E. Kashefi, arXiv preprint arXiv:2606.09734 (2026).
[21] J. R. McClean, S. Boixo, V. N. Smelyanskiy, R. Babbush, and H. Neven, Nature Communications 9, 4812 (2018).
[22] M. S. Rudolph, J. Miller, D. Motlagh, J. Chen, A. Acharya, and A. Perdomo-Ortiz, Nature Communications 14, 8367 (2023).
[23] E. Recio-Armengol, S. Ahmed, and J. Bowles, arXiv preprint arXiv:2503.02934 (2025).
[24] B. Bakó, Z. Kolarovszki, and Z. Zimborás, arXiv preprint arXiv:2511.13844 (2025).
[25] M. Cerezo, M. Larocca, D. García-Martín, N. L. Diaz, P. Braccia, E. Fontana, M. S. Rudolph, et al., arXiv preprint arXiv:2312.09121 (2023).
[26] S. Lerch, J. Bowles, R. Puig, E. Armengol, Z. Holmes, and S. Thanasilp, arXiv preprint arXiv:2603.14576 (2026).
[27] M. Herrero-González, B. Coyle, K. McDowall, R. Grassie, S. Beentjes, A. Khamseh, and E. Kashefi, arXiv preprint arXiv:2511.01845 (2025).
[28] K. Gili, M. Mauri, and A. Perdomo-Ortiz, Phys. Rev. Applied 21, 044032 (2024), arXiv:2201.08770.
[29] S. Arora, R. Ge, Y. Liang, T. Ma, and Y. Zhang, in Proceedings of the 34th International Conference on Machine Learning (ICML), Proceedings of Machine Learning Research, Vol. 70 (2017) pp. 224–232.
[30] S. Arora, A. Risteski, and Y. Zhang, in International Conference on Learning Representations (ICLR) (2018).
[31] M. S. M. Sajjadi, O. Bachem, M. Lucic, O. Bousquet, and S. Gelly, in Advances in Neural Information Processing
Systems (NeurIPS) (2018) arXiv:1806.00035.
[32] M. F. Naeem, S. J. Oh, Y. Uh, Y. Choi, and J. Yoo, in Proceedings of the 37th International Conference on Machine Learning (ICML) (2020) arXiv:2002.09797.
[33] J. Bowles, S. Ahmed, and M. Schuld, arXiv preprint arXiv:2403.07059 (2024).
[34] M. Schuld and N. Killoran, PRX Quantum 3, 030101 (2022), arXiv:2203.01340.
[35] D. Zhu, N. M. Linke, M. Benedetti, K. A. Landsman, N. H. Nguyen, C. H. Alderete, A. Perdomo-Ortiz, N. Korda, A. Garfoot, C. Brecque, L. Egan, O. Perdomo, and C. Monroe, Science Advances 5, eaaw9918 (2019), arXiv:1812.08862.
[36] M. S. Rudolph, N. B. Toussaint, A. Katabarwa, S. Johri, B. Peropadre, and A. Perdomo-Ortiz, Physical Review X 12, 031010 (2022), arXiv:2012.03924.
[37] V. Leyton-Ortega, A. Perdomo-Ortiz, and O. Perdomo, Quantum Machine Intelligence 3, 17 (2021), arXiv:1901.08047.
[38] R. Sweke, J.-P. Seifert, D. Hangleiter, and J. Eisert, Quantum 5, 417 (2021), arXiv:2007.14451.
[39] M. Hinsche, M. Ioannou, A. Nietner, J. Haferkamp, Y. Quek, D. Hangleiter, J.-P. Seifert, J. Eisert, and R. Sweke, arXiv preprint arXiv:2110.05517 (2021).
[40] M. Hinsche, M. Ioannou, A. Nietner, J. Haferkamp, Y. Quek, D. Hangleiter, J.-P. Seifert, J. Eisert, and R. Sweke, Physical Review Letters 130, 240602 (2023), arXiv:2207.03140.
[41] M. S. Rudolph, S. Lerch, S. Thanasilp, O. Kiss, S. Vallecorsa, M. Grossi, and Z. Holmes, npj Quantum Information 10, 116 (2024).
[42] M. van den Nest, Quantum Inf. Comput. 10, 258 (2010).
[43] S. Kasture, O. Kyriienko, and V. E. Elfving, Phys. Rev. A 108, 042406 (2023), arXiv:2210.13442.
[44] O. Kyriienko, A. E. Paine, and V. E. Elfving, Phys. Rev. Research 6, 033291 (2024), arXiv:2202.08253.
[45] H. Mhiri, L. Monbroussou, M. Herrero-Gonzalez, S. Thabet, E. Kashefi, and J. Landman, Quantum 9, 1847 (2025), arXiv:2403.09417.
[46] C. Tüysüz, O. Kyriienko, and M. Grossi, Quantum fourier generative models trainable at large scale, arXiv:2606.28483 (2026).
[47] M. Hibat-Allah, M. Mauri, J. Carrasquilla, and A. Perdomo-Ortiz, Communications Physics 7, 68 (2024).
[48] K. Gili, M. Hibat-Allah, M. Mauri, C. Ballance, and A. Perdomo-Ortiz, Quantum Science and Technology 8, 035021 (2023), arXiv:2207.13645.
[49] Z.-Y. Han, J. Wang, H. Fan, L. Wang, and P. Zhang, Phys. Rev. X 8, 031012 (2018).
[50] Y. Li, K. Swersky, and R. Zemel, in Proc. 32nd International Conference on Machine Learning (ICML) (2015) pp. 1718–1727.
[51] G. K. Dziugaite, D. M. Roy, and Z. Ghahramani, in Proc. 31st Conference on Uncertainty in Artificial Intelligence (UAI) (2015) pp. 258–267.
[52] J. Walonoski, M. Kramer, J. Nichols, A. Quina, C. Moesel, D. Hall, C. Duffett, K. Dube, T. Gallagher, and S. McLachlan, Journal of the American Medical Informatics Association 25, 230 (2018).
[53] X. Ni and M. Van den Nest, Quantum Information and Computation 13, 54 (2013), arXiv:1204.4570.
[54] R. O'Donnell, Analysis of Boolean Functions (Cambridge University Press, 2014).
[55] K. Fukumizu, A. Gretton, X. Sun, and B. Schölkopf, in
Conference on Learning Theory (COLT) (2008).
[56] B. K. Sriperumbudur, A. Gretton, K. Fukumizu, B. Schölkopf, and G. R. G. Lanckriet, J. Mach. Learn. Res. 11, 1517 (2010).
[57] A. Müller, Adv. Appl. Probab. 29, 429 (1997).
[58] A. Gretton, K. M. Borgwardt, M. J. Rasch, B. Schölkopf, and A. Smola, J. Mach. Learn. Res. 13, 723 (2012).
[59] B. K. Sriperumbudur, K. Fukumizu, A. Gretton, B. Schölkopf, and G. R. G. Lanckriet, arXiv:0901.2698 (2009).
[60] M. Arjovsky and L. Bottou, arXiv:1701.04862 (2017).
[61] B. Yelmen, A. Decelle, L. Ongaro, D. Marnetto, C. Tallec, F. Montinaro, C. Furtlehner, L. Pagani, and F. Jay, PLoS Genetics 17, e1009303 (2021).
[62] V. Bergholm et al., Pennylane: Automatic differentiation of hybrid quantum-classical computations, arXiv:1811.04968 (2018).
[63] J. Lopez-Piqueres, J. Chen, and A. Perdomo-Ortiz, Machine Learning: Science and Technology 4, 035009 (2023), arXiv:2211.09121.
[64] J. Lopez-Piqueres and J. Chen, SciPost Physics 18, 192 (2025), arXiv:2405.09005.
[65] L. Monbroussou, E. Z. Mamon, J. Landman, A. B. Grilo, R. Kukla, and E. Kashefi, Quantum 9, 1745 (2025), arXiv:2309.15547.
[66] C. Carathéodory, Rendiconti del Circolo Matematico di Palermo 32, 193 (1911).
[67] V. Tchakaloff, Bulletin des Sciences Mathématiques 81, 123 (1957).
[68] C. Bayer and J. Teichmann, Proceedings of the American Mathematical Society 134, 3035 (2006), arXiv:math/0502473.
[69] H. Richter, Blätter der Deutschen Gesellschaft für Versicherungsmathematik 3, 147 (1957).
Appendix Table of Contents
Appendix A Proof of Theorem 1.....12
Appendix B EFRC metrics and coverage normalization.....13
Appendix C Models and training details.....13
Appendix D Additional cardinality-task results.....14
Appendix E Kernel-bandwidth robustness.....16
Appendix F Genomic-task diagnostics.....16
Appendix A: Proof of Theorem 1
Theorem 1 (formal version). Let be a valid set, let be a target with , and let be any bounded observables with . Let be a loss that depends on the model only through the expectations and is minimized exactly when all of them match . Then:
(i) Sparse exact minimizers: There is a distribution with and that matches on every ; when the constant function lies in the span of the , the count improves to , and every bound below holds with in place of . The distribution is therefore a global minimizer of , its support coverage obeys , and , while the target is also a global minimizer with . Hence a converged loss coexists with at every .
(ii) Full-support exact minimizers: For let with the minimizer of . Then has full support on , so , it matches on every and remains a global minimizer, and yet
Choosing makes the forward KL exceed any prescribed finite . An exactly converged loss is therefore consistent with every value of the forward KL, finite or infinite.
Proof. (i) We work in the coordinates for only, so that every candidate is supported on the valid set by construction. We start at , which matches all expectations, and we shrink its support one string at a time. Suppose the current has support with . The maps and the mass map together define a linear map , and since its kernel contains some ; every such satisfies by the last coordinate. We replace by . All expectations are unchanged and the total mass stays 1, so still matches on every . Because the coordinates of sum to zero, has a coordinate of each sign, and on , so we can grow in the direction that decreases some coordinate until the first coordinate of reaches zero, which happens at a finite . The support has strictly shrunk, and we repeat the step. The process terminates, and it can stop only once the support holds at most strings. When the constant function lies in the span of the , the mass map is a linear combination of the maps, the joint system has rank at most , and the same loop runs until the support holds at most strings. The resulting is supported on at most strings of and matches on every , so it attains the minimum of . Its support coverage obeys , and every distinct sampled string lies in , so at every . The target has full support on , so it too is a global minimizer, with ; the pair takes the same loss value, which is the statement of the informal theorem.
(ii) Mixtures are linear in expectations, so for every : remains a global minimizer, and it has full support on because does. For the KL bound, we write and . Then , and the data-processing inequality applied to the binary partition gives
using and on . Finally, because is a set of at most points, and the choice rearranges to .
☐
| model | (full) | coverage | |||
|---|---|---|---|---|---|
| target (uniform on ) | 0 | 0 | 0 | 0 | 1.00 |
| sparse, (support 66) | 0.93 | 0.07 | |||
| sparse, (support 220) | 0.78 | 0.24 |
TABLE III. The uniform target and two sparse exact minimizers of the truncated loss at . The truncated loss is numerically zero for every row, while coverage and the KL separate the rows. The full MMD is nonzero at the low-coverage rows, consistent with its characteristic kernel.
The proof of (i) is a support-reduction loop and produces the minimizer inside directly; the linear program of Fig. 3 constructs the same kind of point. The support count is the classical one: a distribution constrained on functionals is matched by one on at most points (Carathéodory [66]; Tchakaloff [67, 68]; Richter [69]). The main text takes , so the unseen set is itself. For a nonempty training set the unseen set has strings, with the number of distinct training strings; each bound becomes , and the change has relative size .
We work one example in full, taking and . Then and , so the bound of Corollary 1 is . The construction of Table III reaches support 66 and coverage 0.07. For , gives the bound 0.32 and the construction reaches 0.24.
Appendix B: EFRC metrics and coverage normalization
This appendix collects the sample-based metrics of Gili et al. [28] in the notation of the main text. As in Section III, is the valid set, the training set, and the set of unseen valid strings; the training fraction is , so . From the trained model we draw samples . Among these, let denote the samples that lie outside , counted with multiplicity; let denote the samples that lie in , that is, are both new and valid, again with multiplicity; and let denote the set of distinct strings in . The four EFRC metrics are
The exploration is the fraction of samples that leave the training set; the fidelity is the fraction of those new samples that are valid; the rate is the fraction of all samples that are new and valid; and the coverage is the fraction of the unseen valid set that the samples reach, which is the measured coverage of Section III.
Two of the metrics are reported in normalized form. The normalized rate is , which compares to the value that an exact sampler of the uniform target attains in expectation. The normalized coverage is , where is the expected coverage that an ideal uniform sampler over attains after draws. Under i.i.d. sampling from a distribution supported on , the uniform distribution maximizes expected coverage, so its expected normalized coverage is 1; observed can fluctuate above 1.
Appendix C: Models and training details
All models train on the same training set at each pair and are evaluated by the free-sampling protocol of Section VA, with three seeds for the cardinality task and five for the genomic task. The circuit families are implemented in JAX, the neural models in PyTorch, and the RBM wraps scikit-learn; every model trains on CPU, and the gradient-based models use the Adam optimizer.
a. Likelihood-trained models. The TNBM is the matrix-product-state Born machine of Han et al. [49], trained by two-site DMRG on the negative log-likelihood with an adaptive bond dimension: each local update takes 10 gradient substeps of size 0.01, singular values below are truncated, the bond dimension is capped at , and training runs for up to 100 sweeps. The transformers are decoder-only autoregressive models over the bits at three sizes, with , attention heads, layers, and dropout 0.1, giving parameters. The RNNs are autoregressive GRUs with hidden dimension 16/64/128 and layers (1.7K/25K/199K parameters). All autoregressive models minimize the cross-entropy (negative log-likelihood) at learning rate with batch size 64/128/256 (small/medium/large) for up to 200 epochs, with early stopping at patience 20. The RBM has 24 hidden units and trains by persistent contrastive divergence (learning rate 0.01, batch size 64, 200 iterations); its samples are drawn by 1,000 steps of block Gibbs sampling from random initial states.
b. Moment-trained models. The IQP Born machine follows Ref. [23]: a three-layer parametrized IQP circuit (initialization scale 0.1) trained on the MMD with the Gaussian–Hamming kernel at , estimated by the sampled-spectrum den Nest estimator with 100 Pauli-Z words and 256 samples per step, for 500 steps at learning rate 0.01. The passive (number-conserving) FBM parametrizes with parameters (120 at , 190 at ); its correlation matrix is a rank-k projector, so the Born distribution lives entirely in the HW=k sector and holds by construction. It trains on the mean-square error of all Pauli-Z string correlators of order at most 3 against their training-set values, at learning rate 0.05 for 1,500 steps. The active FBM is the compound-matchgate model of Ref. [24] (496 parameters at ), trained on the same correlator loss with order at most 5, at learning rate for 2,000 steps. The magic FBM augments the matchgate circuit with one non-Gaussian input layer and one ancilla mode (784 parameters at ) and trains on a stochastic estimate of the MMD with 200 model samples per step, at learning rate for 2,000 steps. The GMMN [50, 51] is a multilayer perceptron that maps a 16-dimensional Gaussian latent vector through two hidden layers of 256 units to N logits, made differentiable by the binary-concrete (Gumbel–sigmoid) relaxation at temperature ; it trains on the Gaussian–Hamming MMD between batches of 256 generated and 256 training samples, at learning rate for 5,000 steps.
Appendix D: Additional cardinality-task results
Table I reports the cardinality task at N = 30 and the genomic variants at N = 20; the full per- results below, at N = 16 and N = 20, list exploration E and rate R in addition to F and C, and report both the and median-heuristic MMD kernels.
other classical
TNBM
Train-classical, deploy-quantum
N = 16
N = 20
N = 30

( ), ( ); bubble size parameters; lower and to the right is better
FIG. 6. Training loss does not track coverage across the model zoo. The same data as Table I, shown as a scatter. Left: the cardinality task at N = 16 and N = 20 ( , twin MMD axes); right: N = 30 with normalized coverage . Each bubble is a model, colored by deployment group as in Fig. 4 (red: train-classical, deploy-quantum; green: TNBM; blue: other classical), with lighter-to-darker shade marking N = 16/20/30 and size proportional to parameter count; lower and to the right is better. The deploy-quantum moment-trained models reach only low coverage, the exception being the structurally-constrained passive FBM on the cardinality task, yet their MMD spans the same range as the likelihood models that generalize.
Figure 7 shows the all-models training dynamics at both N = 16 and N = 20: every model's MMD converges to the same numerical range while coverage separates.
TABLE IV. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1132 | 3.26e-3 | 4.38e-4 | 0.960 | 0.258 | 0.247 | 0.116 |
| FBM (passive) | Z-string correlator MSE | 120 | 3.04e-3 | 5.38e-4 | 0.975 | 1.000 | 0.975 | 0.377 |
| FBM (active) | Z-string correlator MSE | 496 | 9.02e-3 | 3.06e-3 | 0.998 | 0.142 | 0.142 | 0.105 |
| magic FBM | (stochastic) | 784 | 3.15e-3 | 2.51e-4 | 0.998 | 0.210 | 0.210 | 0.143 |
| IQP | (den-Nest) | 136 | 2.11e-3 | 1.51e-4 | 0.998 | 0.212 | 0.211 | 0.143 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.54e-3 | 2.80e-4 | 0.992 | 0.650 | 0.644 | 0.380 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 2.11e-3 | 4.62e-4 | 0.989 | 0.893 | 0.883 | 0.461 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 2.02e-3 | 4.13e-4 | 0.988 | 0.969 | 0.957 | 0.498 |
| RNN (S) | cross-entropy (NLL) | 1714 | 1.33e-3 | 1.76e-4 | 0.991 | 0.727 | 0.721 | 0.416 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.51e-3 | 2.33e-4 | 0.989 | 0.913 | 0.903 | 0.479 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.83e-3 | 2.94e-4 | 0.982 | 0.971 | 0.953 | 0.453 |
| RBM | contrastive divergence | 424 | 2.68e-3 | 4.46e-4 | 0.998 | 0.193 | 0.193 | 0.139 |
TABLE V. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1132 | 1.35e-3 | 1.79e-4 | 0.937 | 0.901 | 0.844 | 0.470 |
| FBM (passive) | Z-string correlator MSE | 120 | 2.17e-3 | 2.20e-4 | 0.932 | 1.000 | 0.932 | 0.388 |
| FBM (active) | Z-string correlator MSE | 496 | 8.51e-3 | 2.87e-3 | 0.993 | 0.137 | 0.136 | 0.105 |
| magic FBM | (stochastic) | 784 | 3.08e-3 | 1.81e-4 | 0.990 | 0.205 | 0.202 | 0.143 |
| IQP | (den-Nest) | 136 | 2.06e-3 | 1.19e-4 | 0.990 | 0.201 | 0.199 | 0.141 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.12e-3 | 1.50e-4 | 0.962 | 0.750 | 0.721 | 0.440 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 1.92e-3 | 4.86e-4 | 0.959 | 0.815 | 0.781 | 0.455 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 1.35e-3 | 2.34e-4 | 0.949 | 0.989 | 0.939 | 0.524 |
| RNN (S) | cross-entropy (NLL) | 1714 | 1.03e-3 | 9.06e-5 | 0.953 | 0.918 | 0.875 | 0.505 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.65e-3 | 3.37e-4 | 0.949 | 0.931 | 0.884 | 0.490 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.29e-3 | 1.93e-4 | 0.947 | 0.983 | 0.931 | 0.515 |
| RBM | contrastive divergence | 424 | 1.36e-1 | 2.56e-2 | 1.000 | 0.003 | 0.003 | 0.002 |
TABLE VI. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1088 | 1.12e-3 | 1.17e-4 | 0.890 | 0.971 | 0.864 | 0.515 |
| FBM (passive) | Z-string correlator MSE | 120 | 1.86e-3 | 1.22e-4 | 0.876 | 1.000 | 0.876 | 0.395 |
| FBM (active) | Z-string correlator MSE | 496 | 8.69e-3 | 2.95e-3 | 0.986 | 0.131 | 0.130 | 0.105 |
| magic FBM | (stochastic) | 784 | 3.01e-3 | 1.51e-4 | 0.980 | 0.199 | 0.195 | 0.145 |
| IQP | (den-Nest) | 136 | 1.96e-3 | 9.41e-5 | 0.979 | 0.190 | 0.186 | 0.139 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.00e-3 | 7.41e-5 | 0.911 | 0.829 | 0.755 | 0.477 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 1.31e-3 | 2.37e-4 | 0.903 | 0.971 | 0.877 | 0.523 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 1.54e-3 | 3.41e-4 | 0.902 | 0.978 | 0.882 | 0.522 |
| RNN (S) | cross-entropy (NLL) | 1714 | 9.85e-4 | 7.39e-5 | 0.900 | 0.965 | 0.868 | 0.524 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.05e-3 | 9.52e-5 | 0.897 | 0.978 | 0.877 | 0.524 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.17e-3 | 1.69e-4 | 0.903 | 0.946 | 0.854 | 0.511 |
| RBM | contrastive divergence | 424 | 1.63e-2 | 4.94e-3 | 0.989 | 0.097 | 0.096 | 0.080 |
TABLE VII. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1422 | 1.04e-3 | 8.97e-5 | 0.990 | 0.986 | 0.976 | 0.408 |
| FBM (passive) | Z-string correlator MSE | 190 | 1.27e-3 | 7.74e-5 | 0.988 | 1.000 | 0.988 | 0.305 |
| FBM (active) | Z-string correlator MSE | 780 | 4.24e-3 | 1.93e-3 | 0.999 | 0.122 | 0.122 | 0.064 |
| magic FBM | (stochastic) | 1230 | 2.47e-3 | 1.21e-4 | 0.998 | 0.214 | 0.213 | 0.096 |
| IQP | (den-Nest) | 210 | 1.45e-3 | 8.22e-5 | 0.998 | 0.192 | 0.192 | 0.095 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.03e-3 | 7.00e-5 | 0.992 | 0.789 | 0.783 | 0.346 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 1.10e-3 | 1.36e-4 | 0.990 | 0.989 | 0.979 | 0.411 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 1.09e-3 | 1.27e-4 | 0.990 | 0.994 | 0.983 | 0.411 |
| RNN (S) | cross-entropy (NLL) | 1714 | 1.09e-3 | 1.30e-4 | 0.990 | 0.976 | 0.966 | 0.405 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.08e-3 | 1.02e-4 | 0.990 | 0.989 | 0.979 | 0.410 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.36e-3 | 2.38e-4 | 0.990 | 0.967 | 0.957 | 0.389 |
| RBM | contrastive divergence | 524 | 1.43e-3 | 8.19e-5 | 0.998 | 0.175 | 0.175 | 0.091 |
TABLE VIII. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1244 | 9.90e-4 | 5.71e-5 | 0.949 | 0.993 | 0.943 | 0.414 |
| FBM (passive) | Z-string correlator MSE | 190 | 1.31e-3 | 6.09e-5 | 0.947 | 1.000 | 0.947 | 0.308 |
| FBM (active) | Z-string correlator MSE | 780 | 4.33e-3 | 1.98e-3 | 0.994 | 0.118 | 0.118 | 0.064 |
| magic FBM | (stochastic) | 1230 | 2.41e-3 | 1.03e-4 | 0.989 | 0.206 | 0.204 | 0.097 |
| IQP | (den-Nest) | 210 | 1.43e-3 | 7.15e-5 | 0.991 | 0.175 | 0.173 | 0.090 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.01e-3 | 5.54e-5 | 0.960 | 0.803 | 0.770 | 0.354 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 1.02e-3 | 6.93e-5 | 0.949 | 0.997 | 0.947 | 0.416 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 1.16e-3 | 1.72e-4 | 0.950 | 0.998 | 0.948 | 0.413 |
| RNN (S) | cross-entropy (NLL) | 1714 | 1.06e-3 | 9.39e-5 | 0.949 | 0.998 | 0.948 | 0.416 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.09e-3 | 1.26e-4 | 0.953 | 0.952 | 0.907 | 0.400 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.11e-3 | 1.01e-4 | 0.953 | 0.929 | 0.885 | 0.389 |
| RBM | contrastive divergence | 524 | 1.44e-3 | 8.79e-5 | 0.991 | 0.168 | 0.167 | 0.090 |
TABLE IX. Cardinality benchmark at , , . , raw sampling, mean over seeds. is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model).
| Model | training loss | params | ||||||
|---|---|---|---|---|---|---|---|---|
| TNBM | NLL (DMRG, cumulant) | 1232 | 1.01e-3 | 5.35e-5 | 0.899 | 0.992 | 0.893 | 0.414 |
| FBM (passive) | Z-string correlator MSE | 190 | 1.34e-3 | 4.63e-5 | 0.895 | 1.000 | 0.895 | 0.308 |
| FBM (active) | Z-string correlator MSE | 780 | 4.35e-3 | 1.97e-3 | 0.988 | 0.113 | 0.111 | 0.064 |
| magic FBM | (stochastic) | 1230 | 2.46e-3 | 8.46e-5 | 0.978 | 0.198 | 0.194 | 0.096 |
| IQP | (den-Nest) | 210 | 1.44e-3 | 7.77e-5 | 0.982 | 0.165 | 0.162 | 0.089 |
| Transformer (S) | cross-entropy (NLL) | 3394 | 1.03e-3 | 6.13e-5 | 0.915 | 0.829 | 0.759 | 0.365 |
| Transformer (M) | cross-entropy (NLL) | 25634 | 1.02e-3 | 5.79e-5 | 0.900 | 0.999 | 0.899 | 0.416 |
| Transformer (L) | cross-entropy (NLL) | 150402 | 9.82e-4 | 4.25e-5 | 0.900 | 0.999 | 0.900 | 0.416 |
| RNN (S) | cross-entropy (NLL) | 1714 | 1.00e-3 | 5.59e-5 | 0.901 | 0.995 | 0.896 | 0.416 |
| RNN (M) | cross-entropy (NLL) | 25282 | 1.07e-3 | 1.10e-4 | 0.905 | 0.945 | 0.855 | 0.398 |
| RNN (L) | cross-entropy (NLL) | 198786 | 1.12e-3 | 1.41e-4 | 0.908 | 0.911 | 0.827 | 0.387 |
| RBM | contrastive divergence | 524 | 1.41e-3 | 7.52e-5 | 0.982 | 0.163 | 0.160 | 0.092 |
The decoupling at the largest size is shown directly in Fig. 8: every model's MMD converges to the same numerical range while the normalized coverage separates. In normalized coverage the distance between the best model and IQP grows from 0.28 at small to 0.86 at (main-text Fig. 5d). Fig. 9 shows that at the sampled IQP MMD does not descend during training, whereas the transformer NLL converges with coverage near the finite-sample maximum.
Appendix E: Kernel-bandwidth robustness
IQP's coverage near is not an artifact of the kernel bandwidth. At , HW=8, sweeping from the median heuristic of [23] to sharper and flatter values leaves IQP coverage between 0.13 and 0.16, near the uniform Born weight on the HW=8 sector.
| kernel bandwidth | F | C | Born mass on HW=k |
|---|---|---|---|
| median (Hamming, = 8) | 0.21 | 0.15 | 0.22 |
| median (Euclidean, = 2.83) | 0.18 | 0.13 | 0.20 |
| (main tables) | 0.19 | 0.14 | 0.20 |
| 0.22 | 0.16 | 0.24 |
No bandwidth raises IQP's coverage above ; the main tables use , which gives .
Appendix F: Genomic-task diagnostics
Beyond coverage, we check the generated genomic samples against standard population-genetics statistics at . Figure 13 compares per-locus allele frequencies of generated versus reference data; Fig. 14 shows the pairwise linkage-disequilibrium (LD, ) matrices; Fig. 15 the Hamming-weight distributions; and Fig. 16 a PCA of the generated samples against the reference. The likelihood-trained generators (transformer, RNN) and the TNBM reproduce the allele frequencies, the LD structure, and the sample cloud closely, whereas the deploy-quantum moment-trained models depart from all three, consistent with their low coverage.
TNBM FBM (passive) Transformer (M) RNN (M) IQP
(a) N = 16

(b) N = 16
(c) N = 20
(d) N = 20

normalized training progress
normalized training progress
FIG. 7. Loss converges while coverage separates. Training trajectories at and for five models (; top, bottom). Left: the MMD converges to the same numerical range for every model. Right: coverage separates them, the TNBM, transformer, and RNN increasing while IQP and the active and magic FBM stay near .
(a) MMD during training

(b) during training
TNBM FBM (passive) Transformer (M) RNN (M) IQP
FIG. 8. The decoupling persists at . Training trajectories at , (, ). (a) every model's MMD converges to the same range. (b) normalized coverage separates them: passive FBM, transformer, and RNN approach 1, the TNBM reaches 0.96, and IQP stays near .
Transformer (M) — N=30

IQP (sampled) — N=30

FIG. 9. Loss-level view at . Left: the transformer NLL falls and sits near the finite-sample maximum. Right: the sampled IQP MMD stays flat at with near , and never drops below the transformer's final MMD (dashed): the NLL-trained model reaches a lower MMD than the MMD-trained one.

Q (number of generated samples)

Q (number of generated samples)
…… Ideal (uniform) MPS (Gili, ) RNN L Transformer L
FBM (active) FBM (passive) RNN M Transformer M
MPS (D = 20) RBM RNN S Transformer S
FIG. 10. Low coverage is not a finite-sampling artifact. Coverage versus query budget Q at N = 16 and N = 20. The likelihood-trained and structural models increase toward as Q grows; the moment-trained models stay near across the budgets we study. In the legend, “MPS (Gili, )” is the TNBM, and “MPS (D=20)” is a fixed-bond ( ) MPS baseline.
Target
(uniform, HW=8)

FBM (number-conserving)
120 params
Transformer M
25.6K params

Transformer S
3.4K params
Transformer L
150.4K params

RNN S
1.7K params



FIG. 11. Where the models place their probability mass. The full bitstring space at , HW = 8, rendered as a grid; gray cells are off the HW = 8 slice, colored cells are HW = 8 with intensity proportional to sample probability. The number-conserving FBM places all its mass on the valid slice by construction; the moment-trained models assign substantial probability outside the valid sector.
(a) IQP coverage during training

(b) final C vs
[median heuristic]
[median-Hamming]
uniform-random C=0.14
FIG. 12. No kernel bandwidth rescues IQP coverage. IQP coverage as the kernel bandwidth is swept from sharp (0.1) to broad (16) at , including the median heuristic (Euclidean, ) and the median Hamming value ( ). (a) coverage during training for each ; (b) final coverage versus . IQP stays at 0.13 to 0.16, near the random-bit baseline (dashed), for every ; the likelihood-trained baselines of Table II reach on the same task.
Transformer (M) (r=0.985)

GMMN (r=0.992)
RNN (M) (r=0.991)
IQP (r=0.791)
TNBM (r=0.995)
FBM (passive) (r=0.891)
RBM (r=0.995)
FBM (active) (r=0.150)
data allele freq.
data allele freq.
data allele freq.
data allele freq.
FIG. 13. Allele frequencies. Per-locus allele frequencies of generated samples against the reference data ( , ), for eight of the benchmarked models; r is the Pearson correlation with the reference frequencies.

TNBM ( )
RBM ( )
GMMN ( )
IQP ( )
FBM (passive) ( )
FBM (active) ( )
locus
locus
locus
FIG. 14. Linkage disequilibrium. Pairwise linkage-disequilibrium ( ) matrices for the reference data and eight of the benchmarked models at , N=20; each panel reports the Frobenius distance to the reference matrix.

GMMN
IQP
FBM (passive)
FBM (active)
Hamming weight
Hamming weight
Hamming weight
Hamming weight
FIG. 15. Hamming-weight distributions. Hamming-weight distributions of generated samples (red) against the reference data (gray) at , N=20.
Transformer (M)

RNN (M)
GMMN
IQP
TNBM
FBM (passive)
RBM
FBM (active)
PC2

PC1
PC1
PC1
PC1
FIG. 16. PCA projections. Projections of generated samples (red) and reference data (gray) onto the first two principal components of the reference data, at , N=20.