Conceptio › Archive › arXiv CS
arXiv CS open access

"Train classical, deploy quantum" requires rethinking generalization

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
deep-learningmachine-learningneural-networks
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

“Train classical, deploy quantum” requires rethinking generalization Snehal Raj,1, 2 Natansh Mathur,1 and Alejandro Perdomo-Ortiz1, ∗

arXiv:2608.31117v1 [quant-ph] 31 Aug 2026

1

QC Ware Corp., Palo Alto, USA and Paris, France 2 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 (MMD2 ), 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

∗ alejandro.perdomoortiz@qcware.com

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

2 L1 : likelihood

tensor network

L3 : MMD2

neural network

x ∼ qθ quantum circuit |0⟩ |0⟩ |0⟩

p∗

×

generalizes low forward KL

minimize Lk

U (θ)

Generative model qθ L2 : correlator

FIG. 1. Training losses versus deployment generalization. An optimizer fits a generative model qθ (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 (L1 ), the fixed-order correlator (L2 ), and the full-kernel MMD2 (L3 ) 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.

II.

BACKGROUND AND RELATED WORK

a. Generative modeling. A generative model learns a distribution from a finite set of samples and produces new data from it. Generative adversarial networks train a generator against a discriminator [1]; autoregressive and diffusion models maximize the likelihood of the data; the trained models generate text [3], images [2], and molecules [4]. How well such a model generalizes is judged on data beyond its training set. Arora et al. showed that the adversarial objective can be driven to its optimum by a generator supported on roughly as many points as the discriminator has parameters, so a small training objective does not imply that the learned distribution is close to the target [29], and support-size measurements on trained GANs confirmed the effect [30]. Evaluation therefore moved to the samples. Precision and recall separate the quality of generated data from the fraction of the target the model covers [31, 32], and memorization tests check that generated data are new [5]. Our study asks the corresponding questions for quantum generative models, in the spirit of careful benchmarking of quantum learning models [33, 34], building primarily from the work of Gili et al. [28], and formalizing our generalization derivations and results in the context of Arora et al [29]. b. Quantum circuit Born machines. A Born machine encodes a probability distribution as the measurement distribution of a quantum state, pθ (x) = |⟨x|ψθ ⟩|2 . 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

3 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 (MMD2 ) 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 (freefermion) 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 MMD2 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 MMD2 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 MMD2 kernel weights the Walsh–Hadamard spectrum toward low Hamming weight, so an MMD2 -trained model matches only low-order correlations and departs from correlated, multimodal targets past a low-weight cutoff, and a multi-kernel MMD2 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 KL(p∗ ∥ qθ ) to the known target, which we use later as the gold standard for generalization precisely because

the target distribution, p∗ , 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 (MMD2 ); 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 p∗ on {0, 1}N . Its support S = supp(p∗ ) is the set of valid strings. The learner observes a finite training set T = (X1 , . . . , Xn ) drawn from p∗ and its empirical distribution n

p̃T =

1X δX . n i=1 i

(1)

It returns a model distribution qθ . 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 U (θ)|0⟩ and generates qθ (x) = |⟨x|U (θ)|0⟩|2 .

(2)

Sampling is native to the hardware, but evaluating qθ (x) 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 L that measures disagreement between the model and a reference distribution. Three versions of any such loss must be distinguished: L∗ (q) := L(p∗ , q), population discrepancy, LT (q) := L(p̃T , q), empirical training loss, LbT,B (q)

finite-budget estimator of LT (q). (3)

4 Here B counts the queries the estimator spends per evaluation, correlator draws and model samples together. A small LbT,B can mean that the estimator is accurate and that the empirical loss has been optimized. It does not by itself imply that qθ is close to p∗ . 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 d). A loss is a moment loss of capacity d if it depends on the model only through the expectations ⟨O1 ⟩q , . . . , ⟨Od ⟩q of bounded observables Oj : {0, 1}N → [−1, 1], and attains its minimum exactly when all d match the reference. The widely used TCDQ losses are all moment losses, and their observables are thePPauli-Z strings ZA . For A ⊆ [N ] write P χA (x) = (−1) i∈A xi for the parity of A, and ⟨ZA ⟩q = x q(x)χA (x) for the correlator of the model. Every deployed loss is a weighted square difference of correlators, Lw,F (p, q) =

X

2 w(A) ⟨ZA ⟩p − ⟨ZA ⟩q ,

(4)

distance and σ the bandwidth.1 In the Fourier basis of the cube [54], MMD2σ (p, q) = Lwσ , 2[N ] (p, q), wσ (A) = pσ|A| (1 − pσ )N −|A| , 2 pσ = 21 1 − e−1/2σ ,

so the full MMD compares every correlator, with weights that peak at order pσ N , which is 0.197N at σ = 1, and fall exponentially above it [23, 41, 46]. Since wσ (A) > 0 for every A, the kernel is characteristic: the population MMD vanishes only at q = p∗ [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 qθ generalizes at level ε if X p∗ (x) ≤ ε. (8) KL(p∗ ∥ qθ ) = p∗ (x) log qθ (x) x∈S

A∈F

with the reference p set to p∗ , p̃T or a batch, per Eq. (3). The index set F specifies which correlators the loss compares, the weight w sets the penalty on each mismatch, and the capacity of Definition 1 is d = dim span F . The three deployed losses are three choices of (w, F ), with  P DL := ℓ≤L Nℓ = O(N L ) counting the correlators of order at most L: FBM correlator [24]:

L1,{|A|≤L} ,

d = DL ,

truncated MMD:

Lwσ ,{|A|≤L} ,

d = DL ,

full MMD [23]:

Lwσ ,2[N ] ,

(5)

N

d=2 .

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 A ∼ wσ at every update, an instance of the estimator LbT,B 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 wσ comes from a kernel. The MMD compares two distributions through their mean embeddings µq = Eq [ϕ(x)], and the loss is ∥µp − µq ∥2 , written with the kernel alone as MMD2k (p, q) = Ex,x′ ∼p k(x, x′ ) + Ey,y′ ∼q k(y, y ′ ) − 2 Ex∼p, y∼q k(x, y).

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: qθ (x) is not efficiently accessible, and p∗ 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 G(qθ ; T ) be a quantity determined by the trained model b Q , computed from and the training set. A statistic G the first Q terms of a sequence Y1 , Y2 , . . . of independent samples of qθ , is a sample-based generalization metric for b Q → G(qθ ; T ) as Q → ∞, with probability one. G if G Write U = S \ T for the unseen valid strings, assumed nonempty. We use two such metrics: the coverage, for diversity over U , and the fidelity F , the fraction of generated samples that are valid; the fidelity converges to the valid mass qθ (S). The support coverage C∞ (qθ ) =

(6)

On N -bit strings the kernel is the Gaussian–Hamming 2 kernel kσ (x, y) = e−dH (x,y)/2σ , with dH the Hamming

(7)

|supp(qθ ) ∩ U | |U |

(9)

1 We follow the convention of Ref. [23], in which σ is a standard

deviation.

5

0.01 0.00

0

1.0

0.03

0.8

0.02 0.01 0.00

500

valid string

MMD2 vs number of samples

0.6 0.4 0.2

0

500

valid string

1.0

pgood pbad

coverage vs number of samples

0.8

coverage

0.02

0.04

MMD2

0.03

pbad (matched moments)

probability

probability

0.04

pgood (uniform on S)

0.6

pgood pbad

0.4 0.2

0.0 100

103

number of samples

0.0 100

103

number of samples

FIG. 2. A truncated moment loss admits exact minimizers with different support coverage. The distributions pgood and pbad 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.

coverage

bound DL/|S| constructed minimizer

10 1

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 S, and we report coverage and fidelity together otherwise.

IV.

10 2 8

10

12

14

number of qubits N

16

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-≤ L correlator of the uniform target. Realized coverage of the constructed minimizer (red) and the bound DL /|S| 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 bQ (qθ ) = |{Y1 , . . . , YQ }∩U |/|U |, budget Q is the statistic C with expectation

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 L∗ 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 LT is the memorizer p̃T , and a small estimate LbT,B 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: S = {x : |x| = N/2} with √ N |S| = N/2 = Θ(2N / N ), p∗ uniform on S, and T = ∅. Theorem 1 (Moment losses of bounded capacity admit exact sparse minimizers). Let p∗ have full support on a finite valid set S, and let L be a moment loss of capacity d with d + 1 < |S|. Then there is an exact global minimizer qsparse of L∗ , supported inside S on at most d + 1 strings, with

(10)

KL(p∗ ∥ qsparse ) = ∞, bQ (qsparse ) ≤ C∞ (qsparse ) ≤ d + 1 for every Q. C |S| (11)

bQ ≤ C∞ Every sampled string lies in the support, so C b at every Q, and CQ → C∞ with probability one. The Q bQ = |U |−1 P shortfall C∞ − E C x∈supp(qθ )∩U (1 − qθ (x)) is small once Q is large compared with the reciprocal of the smallest positive model probability on U . 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

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), qsparse 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

bQ (qθ ) = EC

 1 X 1 − (1 − qθ (x))Q . |U | x∈U

L∗ (qsparse ) = L∗ (p∗ ),

6 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  P task). The order-≤ L losses have d = DL = ℓ≤L Nℓ = O(N L ), and the constant function lies in the span of their observables, so on the uniform cardinality target they admit an exact global minimizer qL supported on at most DL strings, with bQ (qL ) ≤ C∞ (qL ) ≤ C

 N L+1/2   = O N 2N N/2 DL

(12)

for every Q. The proofs are in Appendix A; the support count is d + 1 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 capacitymany 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 qL of Corollary 1 explicitly with a linear program (Fig. 3). At N = 12 it finds a distribution that matches every correlator of p∗ through order L = 2 on a support of 66 strings. Its truncated loss is ∼ 10−28 , 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 p∗ is the unique exact minimizer of the population loss L∗ [8], and the full MMD remains a principled training surrogate. Training, however, minimizes the empirical and stochastic objects of Eq. (3). The memorizer p̃T attains LT (p̃T ) = 0 with C∞ (p̃T ) = 0. 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 MMD2 , against two direct measures of generalization, coverage and the forward KL, and ask whether a low loss tracks them. Because the target

p∗ 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 MMD2 loss differ widely in coverage. Table I reports MMD2 and coverage on both datasets. Throughout this section, C denotes bQ of Section III at the stated the measured coverage C 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,   N N S = {x ∈ {0, 1} : |x| = N/2}, |S| = , (13) N/2 and the target p∗ is the uniform distribution on S. We use N ∈ {16, 20, 30}, for which |S| = 12,870, 184,756, and 1.55 × 108 . 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 M = 5,008 observed single-nucleotide-variant sequences [61], taken from the PennyLane quantum dataset library [62], we keep the first N loci of each sequence and deduplicate; the distinct observed sequences x ∈ {0, 1}N form the valid set S = {x : x ∈ D},

(14)

with |S| = 2,716 at N =16 and 3,980 at N =20. We define the target p∗ as the empirical distribution of D, and a sequence is valid if it lies in S. 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 p∗ 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 (SO(2N )) 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 (F = 1). Appendix C gives the architectures and optimization settings. b. Training protocol. From a dataset we draw a training set T at fraction ε: for the cardinality task, |T | = ⌊ε|S|⌋ valid strings drawn uniformly without replacement from S (ε ∈ {0.01, 0.05, 0.10}); for the genomic task, |T | = ⌊εM ⌋ sequences drawn from D (ε ∈

7 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 N = 30 (ε ≈ 3 × 10−4 , corresponding to |T | = 50K training strings; Q = 105 ; three seeds) by full state-vector simulation, and genomic single-nucleotide variants at N = 20 (ε = 0.20, corresponding to |T | = 796; Q = 5,008; five seeds). Values are medians over seeds. Rows group models into likelihood-trained and moment-trained families. We report eval MMD2 (Gaussian–Hamming kernel, σ=1) for both; fidelity F and normalized coverage C̃ = C/C ∗ for the cardinality columns (the raw coverage is querybudget-limited at N = 30); and coverage C 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.

Cardinality (N =30)

Genomic (N =20)

C̃

MMD2

C

Model

loss

MMD2

Likelihood-trained Transformer (L) Transformer (M) RNN (S) TNBM RNN (M) RNN (L) Transformer (S) RBM

cross-ent cross-ent cross-ent NLL cross-ent cross-ent cross-ent CD

1.00e-3 1.00 9.99e-4 1.00 1.02e-3 1.00 1.01e-3 0.96 1.01e-3 0.91 1.01e-3 0.88 9.97e-4 0.70 1.04e-3 0.15

1.00 1.00 1.00 0.96 0.91 0.88 0.70 0.15

1.58e-3 1.49e-3 3.05e-3 8.17e-4 1.08e-3 1.21e-3 2.93e-3 5.62e-3

0.130 0.140 0.084 0.140 0.141 0.132 0.087 0.025

1.03e-3 1.00 1.09e-3 0.16 1.73e-3 0.24 1.43e-3 0.14 1.39e-3 0.09

1.00 0.16 0.24 0.14 0.09

6.43e-3 2.47e-2 2.07e-3 1.08e-2 2.07e-2

0.029 0.001 0.129 0.014 0.000

Moment-trained FBM (passive) Z-corr magic FBM MMD2 GMMN (classical MMD) MMD2 IQP MMD2 FBM (active) Z-corr

{0.01, 0.05, 0.10, 0.20}). A seed fixes the training subset: at each (ε, seed) every model trains on the same T , and T 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 L that compares qθ to T (Section III), θ⋆ = arg min L(qθ , T ), θ

(15)

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 Q samples and keep all of them (Q = 104 at N = 16; Q = 105 at N = 20 and N = 30; for the genomic task Q equals the dataset size, 5,008 at N =20 and 2,716 at N =16). Coverage is the fraction of the unseen valid set S \ T that appears among the distinct valid samples, and the fidelity F the fraction of new samples that are valid [28]. A model that samples uniform random bits over all 2N strings reaches expected coverage Crand = 1−(1−2−N )Q ; this no-learning floor is our baseline. When |S| ≫ Q the raw coverage is capped by the budget, so we also report the normalized coverage C̃ = C/C ∗ , where C ∗ = 1 −

F

TABLE II. Effect of model capacity at N = 16, ε = 0.10 (three seeds). Each family has its own size axis (in parentheses); parameters and coverage C run from the smallest to the largest setting. Enlarging IQP by 18× in gate count does not raise its coverage above Crand , while the TNBM rises then over-fits, as illustrated in Fig. 5c. The free-fermion FBMs have no capacity parameter. family (size axis) Transformer (w/depth) RNN (hidden dim) TNBM (bond χ) IQP (gate weight) FBM (passive) FBM (active) magic FBM

params (small→large)

C

3.4k/25.6k/150k 1.7k/25.3k/199k 120/1088/15016 136/696/2516 120 496 784

0.48/0.52/0.52 0.52/0.52/0.51 0.27/0.52/0.22 0.14/0.13/0.13 0.40 0.11 0.14

(1 − 1/|S \ T |)Q is the coverage an ideal uniform sampler over S \ T reaches in Q draws. Because p∗ is known by design, we also compute the forward KL KL(p∗ ∥ qθ ) of the trained model.

B.

Cardinality-constrained data

After training, we measure both the MMD2 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

8

KL vs MMD2

Genomic

TF-L RNN-M TF-M TF-S RNN-L RNN-S GMMN TNBM

worst best

worst best

FBM-p

rank by KL other classical

r = 0.78

best

RBM FBM-p IQP FBM-a FBM-m

worst

IQP

worst

TNBM RNN-M RNN-L TF-M RNN-S TF-S TF-L GMMN

TF-S

RNN-S RNN-M TNBM RNN-L TF-M TF-L

FBM-p FBM-m GMMN FBM-a RBM

worst best

worst best

r = 0.79

2

best

FBM-a RBM

worst

RBM IQP FBM-p FBM-m FBM-a

worst

FBM-m GMMN

best

r = 0.86

TF-S RNN-S RNN-M TNBM RNN-L TF-M TF-L

best

r = 0.73 TNBM RNN-M

2

rank by coverage worst

IQP

2

worst

r = 0.74

2

FBM-a RBM

worst

best

best

rank by MMD

GMMN FBM-m IQP

RNN-S TF-M RNN-M TF-L TNBM RNN-L TF-S FBM-p

rank by MMD

r = 0.84

rank by MMD

Cardinality

rank by coverage

best

coverage vs MMD2

rank by MMD

KL vs coverage

RBM FBM-p IQP FBM-a FBM-m

worst

RNN-L TF-M RNN-S TF-S TF-L GMMN

rank by KL rank by coverage TNBM Train-classical, deploy-quantum

best

FIG. 4. Rank correlations among MMD2 , 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 MMD2 . In the labels, TF is the transformer and S/M/L are the small, medium, and large variants.

the MMD2 to a low value, yet do not generate valid bitstrings efficiently: a low loss does not make them generators. The likelihood-trained models reach a comparably low MMD2 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 MMD2 , and compare the rankings pairwise (Fig. 4, top row). Coverage and the forward KL agree closely, while the MMD2 correlates poorly with both: the IQP and tensor-network Born machines reach the same MMD2 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 MMD2 down by an order of magnitude while its coverage stays near Crand (a), whereas a likelihood-trained transformer lowers its loss and raises its coverage together, toward the ideal finite-sample ceiling C ∗ (b). Capacity does not close the gap: enlarging the IQP circuit 18× 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 N = 30 (d). The decoupling is not an artifact of the kernel bandwidth: sweeping σ from sharp to broad leaves IQP near Crand (Appendix E).

9

0.00 0.25 0.50 0.75 1.00

0.60

0.75

Transformer RNN IQP

0.50

TNBM magic FBM

0.25 0.00

102

103

104

105

number of parameters

0.4 0.2

0.00 0.25 0.50 0.75 1.00

0.0

training progress

normalized coverage C

coverage C

(c)

ceiling C * = 0.58

0.65

training progress

1.00

0.6

0.70

coverage C

10 2

(b) NLL (loss)

1.0 0.8 0.6 0.4 0.2 0.0

coverage C

MMD2 (loss)

(a)

(d) 1.00 0.75 0.50

TNBM ( =7) FBM (passive) Transformer (M) RNN (M) IQP

0.25 0.00

6 10 14

20

system size N

30

FIG. 5. Loss and coverage decouple during training and across model size. (a) IQP at N = 16, ε=0.10: the loss (MMD2 , gray) falls by an order of magnitude while coverage (red) stays near Crand . (b) a likelihood-trained transformer: the loss (NLL, gray) falls and coverage (blue) rises to the finite-sample maximum C ∗ . (c) coverage versus parameter count at N = 16: the classical transformer and RNN and the TNBM rise with size, while IQP and the magic FBM stay near Crand . (d) normalized coverage C̃ = C/C ∗ versus system size N up to 30 (raw C is not comparable across N because |S| grows exponentially and the query budget changes with N ): the likelihood-trained and structural models increase toward C̃ = 1 while IQP holds near Crand . 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 C = 0.14; Table I). These models also fail to reach a low MMD2 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 MMD2 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 momentmatching 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

10

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 gen-

eralization, 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. LeytonOrtega, 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. FerreiraMartins, 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

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.

11 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).

12

Appendix Table of Contents Appendix A Appendix B Appendix C Appendix D Appendix E Appendix F

Proof of Theorem 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 EFRC metrics and coverage normalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Models and training details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Additional cardinality-task results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Kernel-bandwidth robustness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Genomic-task diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

Appendix A: Proof of Theorem 1

Theorem 1 (formal version). Let S ⊆ {0, 1}N be a valid set, let p∗ be a target with supp(p∗ ) = S, and let O1 , . . . , Od : {0, 1}N → [−1, 1] be any bounded observables with d + 1 < |S|. Let L be a loss that depends on the model only through the expectations ⟨O1 ⟩q , . . . , ⟨Od ⟩q and is minimized exactly when all of them match p∗ . Then: (i) Sparse exact minimizers: There is a distribution q with supp(q) ⊆ S and |supp(q)| ≤ d + 1 that matches p∗ on every ⟨Oj ⟩; when the constant function lies in the span of the Oj , the count improves to d, and every bound below holds with d in place of d + 1. The distribution q is therefore a global minimizer of L, its support coverage obeys C∞ (q) ≤ (d + 1)/|S|, and KL(p∗ ∥ q) = ∞, while the target p∗ is also a global minimizer with C∞ (p∗ ) = 1. bQ ≤ (d + 1)/|S| at every Q. Hence a converged loss coexists with C (ii) Full-support exact minimizers: For 0 < η < 1 let qη = (1 − η) q + η p∗ with q the minimizer of (i). Then qη has full support on S, so C∞ (qη ) = 1, it matches p∗ on every ⟨Oj ⟩ and remains a global minimizer, and yet KL(p∗ ∥ qη ) ≥ α log

1 1 − , η e

 α = p∗ S \ supp(q) ≥ 1 − max p∗ (V ) . |V |≤d+1

(A1)

Choosing η ≤ exp[−(R + 1/e)/α] makes the forward KL exceed any prescribed finite R. An exactly converged loss is therefore consistent with every value of the forward KL, finite or infinite. Proof. (i) We work in the coordinates q(x) for x ∈ S only, so that every candidate is supported on the valid set by construction. We start at q = p∗ , which matches all d expectations, and wePshrink its support one string at a time. Suppose the current q has support R with |R| > d + 1. The d maps v 7→ x∈R v(x)Oj (x) and the mass map P |R| v 7→ x∈R v(x) together → Rd+1 , and since |R| > d + 1 its kernel contains some v ̸= 0; P define a linear map R every such v satisfies x v(x) = 0 by the last coordinate. We replace q by q + tv. All d expectations are unchanged and the total mass stays 1, so q + tv still matches p∗ on every Oj . Because the coordinates of v sum to zero, v has a coordinate of each sign, and q > 0 on R, so we can grow |t| in the direction that decreases some coordinate until the first coordinate of q + tv reaches zero, which happens at a finite t. The support has strictly shrunk, and we repeat the step. The process terminates, and it can stop only once the support holds at most d + 1 strings. When the constant function lies in the span of the Oj , the mass map is a linear combination of the d maps, the joint system has rank at most d, and the same loop runs until the support holds at most d strings. The resulting q is supported on at most d + 1 strings of S and matches p∗ on every ⟨Oj ⟩, so it attains the minimum of L. Its support coverage obeys bQ (q) ≤ C∞ (q) ≤ (d+1)/|S| C∞ (q) ≤ |supp(q)|/|S| ≤ (d+1)/|S|, and every distinct sampled string lies in supp(q), so C at every Q. The target has full support on S, so it too is a global minimizer, with C∞ (p∗ ) = 1; the pair (p∗ , q) takes the same loss value, which is the statement of the informal theorem. (ii) Mixtures are linear in expectations, so ⟨Oj ⟩qη = (1 − η)⟨Oj ⟩q + η⟨Oj ⟩p∗ = ⟨Oj ⟩p∗ for every j: qη remains a global minimizer, and it has full support on S because p∗ does. For the KL bound, we write G = S \ supp(q) and α = p∗ (G). Then qη (G) = η p∗ (G) = ηα, and the data-processing inequality applied to the binary partition {G, Gc } gives KL(p∗ ∥ qη ) ≥ α log

α 1−α 1 1 1 + (1 − α) log ≥ α log + (1 − α) log(1 − α) ≥ α log − , ηα 1 − ηα η η e

using log(1 − ηα) < 0 and t log t ≥ −1/e on (0, 1]. Finally, α ≥ 1 − max|V |≤d+1 p∗ (V ) because supp(q) is a set of at most d + 1 points, and the choice η ≤ exp[−(R + 1/e)/α] rearranges to α log(1/η) − 1/e ≥ R.

13 MMD2σ,≤L MMD2 (full) TV(p∗ , q) KL(p∗ ∥ q) coverage

model

target (uniform on S) 0 sparse, L = 2 (support 66) 1 × 10−28 sparse, L = 3 (support 220) 5 × 10−25

0 9.6 × 10−3 1.5 × 10−3

0 0.93 0.78

0 ∞ ∞

1.00 0.07 0.24

TABLE III. The uniform target and two sparse exact minimizers of the truncated loss at N = 12. 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 S directly; the linear program of Fig. 3 constructs the same kind of point. The support count is the classical one: a distribution constrained on d functionals is matched by one on at most d + 1 points (Carathéodory [66]; Tchakaloff [67, 68]; Richter [69]). The main text takes T = ∅, so the unseen set is S itself. For a nonempty training set the unseen set has |S| − |T | strings, with |T | the number of distinct training strings; each bound becomes (d + 1)/(|S| − |T |), and the change has relative size O(|T |/|S|).  We work one example in full, taking N = 12 and L = 2. Then DL = 1 + 12 + 66 = 79 and |S| = 12 6 = 924, so the bound of Corollary 1 is 79/924 ≈ 0.09. The construction of Table III reaches support 66 and coverage 0.07. For L = 3, DL = 299 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, S ⊆ {0, 1}N is the valid set, T the training set, and U = S \ T the set of unseen valid strings; the training fraction is ε = |T ∩ S|/|S|, so |U | = |S|(1 − ε). From the trained model we draw Q samples Y1 , . . . , YQ . Among these, let Gnew denote the samples that lie outside T , counted with multiplicity; let Gsol denote the samples that lie in U , that is, are both new and valid, again with multiplicity; and let gsol denote the set of distinct strings in Gsol . The four EFRC metrics are E=

|Gnew | , Q

F =

|Gsol | , |Gnew |

R=

|Gsol | = E F, Q

C=

|gsol | . |U |

(B1)

The exploration E is the fraction of samples that leave the training set; the fidelity F is the fraction of those new samples that are valid; the rate R is the fraction of all samples that are new and valid; and the coverage C is the bQ of Section III. fraction of the unseen valid set that the Q samples reach, which is the measured coverage C Two of the metrics are reported in normalized form. The normalized rate is R̃ = R/(1 − ε), which compares R to the value 1 − ε that an exact sampler of the uniform target attains in expectation. The normalized coverage is C̃ = C/C ∗ , where C ∗ = 1 − (1 − 1/|U |)Q is the expected coverage that an ideal uniform sampler over U attains after Q draws. Under i.i.d. sampling from a distribution supported on U , the uniform distribution maximizes expected coverage, so its expected normalized coverage is 1; observed C̃ can fluctuate above 1. Appendix C: Models and training details

All models train on the same training set T at each (ε, seed) pair and are evaluated by the free-sampling protocol of Section V A, 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 10−2 are truncated, the bond dimension is capped at α = 7, and training runs for up to 100 sweeps. The transformers are decoder-only autoregressive models over the N bits at three sizes, with dmodel = 16/32/64, 2/4/4 attention heads, 1/2/3 layers, and dropout 0.1, giving 3.4K/25.6K/150K parameters. The RNNs are autoregressive GRUs with hidden dimension 16/64/128 and 1/1/2 layers (1.7K/25K/199K parameters). All autoregressive models minimize the cross-entropy (negative log-likelihood) at learning rate 10−3 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.

14 b. Moment-trained models. The IQP Born machine follows Ref. [23]: a three-layer parametrized IQP circuit (initialization scale 0.1) trained on the MMD2 with the Gaussian–Hamming kernel at σ = 1, 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 O = eW ∈ SO(N ) with N (N −1)/2 parameters (120 ⊤ at N = 16, 190 at N = 20); its correlation matrix C = O[:,:k] O[:,:k] is a rank-k projector, so the Born distribution lives entirely in the HW=k sector and F = 1 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 N = 16), trained on the same correlator loss with order at most 5, at learning rate 10−3 for 2,000 steps. The magic FBM augments the matchgate circuit with one non-Gaussian input layer and one ancilla mode (784 parameters at N = 16) and trains on a stochastic estimate of the σ = 1 MMD2 with 200 model samples per step, at learning rate 10−3 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 τ = 0.5; it trains on the σ = 1 Gaussian–Hamming MMD2 between batches of 256 generated and 256 training samples, at learning rate 10−3 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 σ=1 and median-heuristic MMD2 kernels.

other classical

TNBM

Train-classical, deploy-quantum

N = 16, 20

N = 16

N = 20

N = 30

N = 30

3 × 10 3

1.5 × 10 3

MMD2 (N = 30)

1.7 × 10 3 1.6 × 10 3

MMD2 (N = 20)

MMD2 (N = 16)

10 2

4 × 10 3

1.4 × 10 3 1.3 × 10 3

2 × 10 3

1.2 × 10 3

1.1 × 10 3 10 3

10 3 0.1

0.2

0.3

coverage C

0.4

0.5

= 0.1 (N = 16, 20), 3 × 10 4 (N = 30); bubble size

10 3 0.0

0.2

0.4

0.6

0.8

1.0

normalized coverage C = C/C *

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 (ε = 0.10, twin MMD2 axes); right: N = 30 with normalized coverage C̃ = C/C ∗ . 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 MMD2 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 MMD2 converges to the same numerical range while coverage separates.

15 TABLE IV. Cardinality benchmark at N = 16, HW= 8, ϵ = 0.01. Q = 10, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1132 FBM (passive) Z-string correlator MSE 120 FBM (active) Z-string correlator MSE 496 2 magic FBM MMD (stochastic) 784 IQP MMD2 (den-Nest) 136 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 424

3.26e-3 3.04e-3 9.02e-3 3.15e-3 2.11e-3 1.54e-3 2.11e-3 2.02e-3 1.33e-3 1.51e-3 1.83e-3 2.68e-3

E

F

R

C

4.38e-4 0.960 0.258 0.247 0.116 5.38e-4 0.975 1.000 0.975 0.377 3.06e-3 0.998 0.142 0.142 0.105 2.51e-4 0.998 0.210 0.210 0.143 1.51e-4 0.998 0.212 0.211 0.143 2.80e-4 0.992 0.650 0.644 0.380 4.62e-4 0.989 0.893 0.883 0.461 4.13e-4 0.988 0.969 0.957 0.498 1.76e-4 0.991 0.727 0.721 0.416 2.33e-4 0.989 0.913 0.903 0.479 2.94e-4 0.982 0.971 0.953 0.453 4.46e-4 0.998 0.193 0.193 0.139

TABLE V. Cardinality benchmark at N = 16, HW= 8, ϵ = 0.05. Q = 10, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1132 FBM (passive) Z-string correlator MSE 120 FBM (active) Z-string correlator MSE 496 magic FBM MMD2 (stochastic) 784 IQP MMD2 (den-Nest) 136 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 424

1.35e-3 2.17e-3 8.51e-3 3.08e-3 2.06e-3 1.12e-3 1.92e-3 1.35e-3 1.03e-3 1.65e-3 1.29e-3 1.36e-1

E

F

R

C

1.79e-4 0.937 0.901 0.844 0.470 2.20e-4 0.932 1.000 0.932 0.388 2.87e-3 0.993 0.137 0.136 0.105 1.81e-4 0.990 0.205 0.202 0.143 1.19e-4 0.990 0.201 0.199 0.141 1.50e-4 0.962 0.750 0.721 0.440 4.86e-4 0.959 0.815 0.781 0.455 2.34e-4 0.949 0.989 0.939 0.524 9.06e-5 0.953 0.918 0.875 0.505 3.37e-4 0.949 0.931 0.884 0.490 1.93e-4 0.947 0.983 0.931 0.515 2.56e-2 1.000 0.003 0.003 0.002

TABLE VI. Cardinality benchmark at N = 16, HW= 8, ϵ = 0.10. Q = 10, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1088 FBM (passive) Z-string correlator MSE 120 FBM (active) Z-string correlator MSE 496 2 magic FBM MMD (stochastic) 784 IQP MMD2 (den-Nest) 136 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 424

1.12e-3 1.86e-3 8.69e-3 3.01e-3 1.96e-3 1.00e-3 1.31e-3 1.54e-3 9.85e-4 1.05e-3 1.17e-3 1.63e-2

E

F

R

C

1.17e-4 0.890 0.971 0.864 0.515 1.22e-4 0.876 1.000 0.876 0.395 2.95e-3 0.986 0.131 0.130 0.105 1.51e-4 0.980 0.199 0.195 0.145 9.41e-5 0.979 0.190 0.186 0.139 7.41e-5 0.911 0.829 0.755 0.477 2.37e-4 0.903 0.971 0.877 0.523 3.41e-4 0.902 0.978 0.882 0.522 7.39e-5 0.900 0.965 0.868 0.524 9.52e-5 0.897 0.978 0.877 0.524 1.69e-4 0.903 0.946 0.854 0.511 4.94e-3 0.989 0.097 0.096 0.080

TABLE VII. Cardinality benchmark at N = 20, HW= 10, ϵ = 0.01. Q = 100, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1422 FBM (passive) Z-string correlator MSE 190 FBM (active) Z-string correlator MSE 780 2 magic FBM MMD (stochastic) 1230 IQP MMD2 (den-Nest) 210 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 524

1.04e-3 1.27e-3 4.24e-3 2.47e-3 1.45e-3 1.03e-3 1.10e-3 1.09e-3 1.09e-3 1.08e-3 1.36e-3 1.43e-3

E

F

R

C

8.97e-5 0.990 0.986 0.976 0.408 7.74e-5 0.988 1.000 0.988 0.305 1.93e-3 0.999 0.122 0.122 0.064 1.21e-4 0.998 0.214 0.213 0.096 8.22e-5 0.998 0.192 0.192 0.095 7.00e-5 0.992 0.789 0.783 0.346 1.36e-4 0.990 0.989 0.979 0.411 1.27e-4 0.990 0.994 0.983 0.411 1.30e-4 0.990 0.976 0.966 0.405 1.02e-4 0.990 0.989 0.979 0.410 2.38e-4 0.990 0.967 0.957 0.389 8.19e-5 0.998 0.175 0.175 0.091

16 TABLE VIII. Cardinality benchmark at N = 20, HW= 10, ϵ = 0.05. Q = 100, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1244 FBM (passive) Z-string correlator MSE 190 FBM (active) Z-string correlator MSE 780 magic FBM MMD2 (stochastic) 1230 IQP MMD2 (den-Nest) 210 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 524

9.90e-4 1.31e-3 4.33e-3 2.41e-3 1.43e-3 1.01e-3 1.02e-3 1.16e-3 1.06e-3 1.09e-3 1.11e-3 1.44e-3

E

F

R

C

5.71e-5 0.949 0.993 0.943 0.414 6.09e-5 0.947 1.000 0.947 0.308 1.98e-3 0.994 0.118 0.118 0.064 1.03e-4 0.989 0.206 0.204 0.097 7.15e-5 0.991 0.175 0.173 0.090 5.54e-5 0.960 0.803 0.770 0.354 6.93e-5 0.949 0.997 0.947 0.416 1.72e-4 0.950 0.998 0.948 0.413 9.39e-5 0.949 0.998 0.948 0.416 1.26e-4 0.953 0.952 0.907 0.400 1.01e-4 0.953 0.929 0.885 0.389 8.79e-5 0.991 0.168 0.167 0.090

TABLE IX. Cardinality benchmark at N = 20, HW= 10, ϵ = 0.10. Q = 100, 000, raw sampling, mean over seeds. MMD2 is the eval Gaussian–Hamming discrepancy to held-out test (computed post-training for every model). Model

training loss

params MMD2σ=1 MMD2med

TNBM NLL (DMRG, cumulant) 1232 FBM (passive) Z-string correlator MSE 190 FBM (active) Z-string correlator MSE 780 magic FBM MMD2 (stochastic) 1230 IQP MMD2 (den-Nest) 210 Transformer (S) cross-entropy (NLL) 3394 Transformer (M) cross-entropy (NLL) 25634 Transformer (L) cross-entropy (NLL) 150402 RNN (S) cross-entropy (NLL) 1714 RNN (M) cross-entropy (NLL) 25282 RNN (L) cross-entropy (NLL) 198786 RBM contrastive divergence 524

1.01e-3 1.34e-3 4.35e-3 2.46e-3 1.44e-3 1.03e-3 1.02e-3 9.82e-4 1.00e-3 1.07e-3 1.12e-3 1.41e-3

E

F

R

C

5.35e-5 0.899 0.992 0.893 0.414 4.63e-5 0.895 1.000 0.895 0.308 1.97e-3 0.988 0.113 0.111 0.064 8.46e-5 0.978 0.198 0.194 0.096 7.77e-5 0.982 0.165 0.162 0.089 6.13e-5 0.915 0.829 0.759 0.365 5.79e-5 0.900 0.999 0.899 0.416 4.25e-5 0.900 0.999 0.900 0.416 5.59e-5 0.901 0.995 0.896 0.416 1.10e-4 0.905 0.945 0.855 0.398 1.41e-4 0.908 0.911 0.827 0.387 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 MMD2 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 N to 0.86 at N = 30 (main-text Fig. 5d). Fig. 9 shows that at N = 30 the sampled IQP MMD2 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 Crand is not an artifact of the kernel bandwidth. At N = 16, 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

median (Hamming, = 8) 0.21 0.15 median (Euclidean, = 2.83) 0.18 0.13 σ = 1 (main tables) 0.19 0.14 σ = 0.5 0.22 0.16

Born mass on HW= k 0.22 0.20 0.20 0.24

No bandwidth raises IQP’s coverage above Crand ; the main tables use σ = 1, which gives C = 0.14. Appendix F: Genomic-task diagnostics

Beyond coverage, we check the generated genomic samples against standard population-genetics statistics at ε=20%. Figure 13 compares per-locus allele frequencies of generated versus reference data; Fig. 14 shows the pairwise linkagedisequilibrium (LD, r2 ) 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.

17

TNBM

FBM (passive)

Transformer (M)

(a) N = 16

RNN (M)

IQP

(b) N = 16 coverage C

MMD2 ( = 1)

0.6 10 2

10 3

(c) N = 20

(d) N = 20 0.6

coverage C 10 3

0.2 0.0

MMD2 ( = 1)

10 2

0.4

0.0

0.2

0.4

0.6

0.8

normalized training progress

1.0

0.4 0.2 0.0

0.0

0.2

0.4

0.6

0.8

normalized training progress

1.0

FIG. 7. Loss converges while coverage separates. Training trajectories at N = 16 and N = 20 for five models (ε=0.10; N = 16 top, N = 20 bottom). Left: the MMD2 converges to the same numerical range for every model. Right: coverage C separates them, the TNBM, transformer, and RNN increasing while IQP and the active and magic FBM stay near Crand .

18

1.4 × 10 3 1.3 × 10 3

normalized coverage C

MMD2 ( = 1)

(a) MMD2 during training

1.2 × 10 3 1.1 × 10 3 10 3

0.00 0.25 0.50 0.75 1.00 normalized training progress TNBM

FBM (passive)

1.0 0.8 0.6 0.4 0.2 0.0

(b) C during training

0.00 0.25 0.50 0.75 1.00 normalized training progress

Transformer (M)

RNN (M)

IQP

NLL loss

0.66

0.75

0.65

0.50

0.64 0.63

0.25 0.0

0.5

1.0

0.00

normalized training progress NLL loss

C

IQP (sampled) N=30 1.5

1.00 0.75

1.0

0.50

0.5 0.0

normalized coverage C

1.00

MMD2 ( = 1, ×10 3)

Transformer (M) N=30

normalized coverage C

FIG. 8. The decoupling persists at N = 30. Training trajectories at N = 30, HW= 15 (|S| ≈ 1.55 × 108 , ε ≈ 3.2 × 10−4 ). (a) every model’s MMD2 converges to the same ∼ 10−3 range. (b) normalized coverage C̃ separates them: passive FBM, transformer, and RNN approach 1, the TNBM reaches 0.96, and IQP stays near Crand .

0.25 0.0

0.5

1.0

0.00

normalized training progress IQP MMD2 Transformer MMD2 (final)

C

FIG. 9. Loss-level view at N = 30. Left: the transformer NLL falls and C̃ sits near the finite-sample maximum. Right: the sampled IQP MMD2 stays flat at ≈ 1.4 × 10−3 with C̃ near Crand , and never drops below the transformer’s final MMD2 (dashed): the NLL-trained model reaches a lower MMD2 than the MMD-trained one.

19

1.0

N = 16, HW = 8, = 0.1

N = 20, HW = 10, = 0.1 0.4 Coverage C

Coverage C

0.8 0.6 0.4 0.2 0.0

103

104

105

0.3 0.2 0.1 0.0

103

Q (number of generated samples) Ideal (uniform) FBM (active) MPS (D = 20)

MPS (Gili, = 7) FBM (passive) RBM

104

105

Q (number of generated samples) RNN L RNN M RNN S

Transformer L Transformer M 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 C ∗ as Q grows; the moment-trained models stay near Crand across the budgets we study. In the legend, “MPS (Gili, α=7)” is the TNBM, and “MPS (D=20)” is a fixed-bond (χ = 20) MPS baseline.

Target (uniform, HW=8)

FBM (number-conserving) 120 params

Transformer S 3.4K params

Transformer M 25.6K params

Transformer L 150.4K params

RNN S 1.7K params

FIG. 11. Where the models place their probability mass. The full 216 bitstring space at N = 16, HW= 8, rendered as a 256×256 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.

20 (b) final C vs σ

(a) IQP coverage during training 0.6

0.6

0.5

0.5

final coverage C

coverage C

uniform-random C=0.14

0.4 0.3 0.2 0.1

median heuristic

0.4 0.3 0.2 0.1

0.0

0.0 101

10−1

102

bandwidth σ

training step σ=0.1 σ=0.25 σ=0.5

101

100

σ=0.75 σ=1.0 σ=1.5

σ=2.0

σ=8.0 [median-Hamming]

σ=2.83 [median heuristic] σ=4.0

σ=16.0 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 N = 16, including the median heuristic (Euclidean, σ = 2.83) and the median Hamming value (σ = 8). (a) coverage during training for each σ; (b) final coverage versus σ. IQP stays at 0.13 to 0.16, near the random-bit baseline Crand (dashed), for every σ; the likelihood-trained baselines of Table II reach ∼ 0.5 on the same task.

Transformer (M) (r=0.985)

RNN (M) (r=0.991)

TNBM (r=0.995)

RBM (r=0.995)

GMMN (r=0.992)

IQP (r=0.791)

FBM (passive) (r=0.891)

FBM (active) (r=0.150)

generated

1.0

0.5

0.0

generated

1.0

0.5

0.0 0.0

0.5

data allele freq.

1.0

0.0

0.5

data allele freq.

1.0

0.0

0.5

data allele freq.

1.0

0.0

0.5

1.0

data allele freq.

FIG. 13. Allele frequencies. Per-locus allele frequencies of generated samples against the reference data (ε=20%, N =20), for eight of the benchmarked models; r is the Pearson correlation with the reference frequencies.

21 Transformer (M) (‖ΔLD‖F=0.3)

locus

Data

RNN (M) (‖ΔLD‖F=0.2)

0

0

0

10

10

10

19

19

19

0

10

19

0

TNBM (‖ΔLD‖F=0.3)

10

19

1.0 0

RBM (‖ΔLD‖F=1.3)

0

10

19

GMMN (‖ΔLD‖F=0.4)

0

0.8

0

10

10

r2

locus

0.6 10 0.4

19

19 0

10

19

IQP (‖ΔLD‖F=1.3)

locus

19 0

10

19

0

FBM (passive) (‖ΔLD‖F=1.3) 0

0

10

10

10

19 0

10

locus

19

19

0.2

FBM (active) (‖ΔLD‖F=1.0)

0

19

10

0.0

19 0

10

locus

19

0

10

19

locus

FIG. 14. Linkage disequilibrium. Pairwise linkage-disequilibrium (r2 ) matrices for the reference data and eight of the benchmarked models at ε=20%, N =20; each panel reports the Frobenius distance to the reference matrix.

22 Transformer (M)

RNN (M)

TNBM

0.15

0.15

0.10

0.10

0.10

0.05

0.05

0.05

0.00

0.00

0.00

0.15

data

RBM 0.15

density

generated

0.10

GMMN

0.00

IQP

FBM (passive)

0.15

FBM (active)

1.0 0.15

density

0.05

0.25

0.8

0.20

0.10

0.6

0.10

0.15

0.4

0.05

0.05

0.00

0.00 0

10

20

Hamming weight

0.10

0.2

0.05

0.0 0

10

20

Hamming weight

0.00 0

10

20

Hamming weight

0

10

20

Hamming weight

FIG. 15. Hamming-weight distributions. Hamming-weight distributions of generated samples (red) against the reference data (gray) at ε=20%, N =20.

Transformer (M)

RNN (M)

TNBM

RBM

IQP

FBM (passive)

FBM (active)

data

PC2

1

generated

0

−1

GMMN

PC2

1

0

−1

−1

0

PC1

1

−1

0

PC1

1

−1

0

PC1

1

−1

0

1

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 ε=20%, N =20.

Related documents

Record · ID 622507 · SHA-256 1773ebec755ef491
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive