Paper commentary
Classical training of conditional instantaneous quantum polynomial-time Born machines
Input conditioning lets one IQP circuit generate conditional distributions
- Problem Existing conditional IQP Born machines vary the diagonal layer per condition, so no parameters are learned jointly across conditions. Training such models on hardware is also costly.
- Method Conditional IQP Born machines encode the condition in the input state and share one IQP unitary across all conditions. The training estimator needs only samples and amplitude ratios of that input state.
- Results Input conditioning reached a mixed-condition total variation distance of 0.0216 on the Hamming-weight family, versus 0.069 for diagonal conditioning.
Why conditional IQP training stalls
Quantum circuit Born machines learn a distribution from the measurement statistics of a parameterized circuit. Conditional versions add the condition through the input state, a conditional register, or postselection. Training them on hardware is costly, because parameter-shift gradients need circuit evaluations that grow linearly with the number of parameters.
IQP circuits offer a way around part of this cost, since sampling from some families is conjectured to be classically hard. Their Pauli-Z expectation values can also be estimated classically to additive accuracy, so objectives such as the MMD can be optimized without a quantum device.
Existing conditional IQP models keep the input fixed at the all-zero state and let the condition act only on the diagonal layer. In the Recio-Armengol framework, the IQP unitary acts on a fixed input state, typically |0⟩ to the n, and represents a single distribution.
Moving the condition into the input state
The authors keep one IQP unitary for all conditions and let an encoder choose the input state for each condition.
Because of this, the encoder may contain non-diagonal operations while the trainable block remains an IQP unitary. Matrix product states and permutation-symmetric states support both operations efficiently, so they can serve as encoded inputs.
Input conditioning also changes which families the model can represent, because an IQP unitary cannot change the output distribution in the X basis. That X-basis distribution is therefore fixed by the input state, so the input sets a constraint that diagonal conditioning on a fixed input can't remove.
The authors test this design at sixteen qubits on a Hamming-weight family and on the Curie–Weiss model, with diagonal conditioning as the main baseline. On the Curie–Weiss model, adding a one-axis-twisting step lowers the TVD to one sixth of diagonal conditioning.
How the objective is estimated without a quantum device
The estimator reads the reference state through just two operations: exact samples from the computational-basis distribution and amplitude ratios. Van den Nest's sparse-observable method and Havlíček's result show that these two operations suffice to estimate Pauli-Z moments of an IQP output. For the standard reference state, the samples are uniform bitstrings and every ratio equals one, which yields the cosine estimator.
Product states, matrix product states of polynomial bond dimension, and permutation-symmetric states all qualify, since their amplitudes depend only on the Hamming weight.
The diagonal layer multiplies each basis state z by a phase fθ(z), a sum of the trained phases times the generator characters. Each Pauli-Z moment is then an expectation over the reference distribution, with the ratio Rc(z,a) weighted by a phase difference Δa fθ(z). Taking the real part gives a single-sample unbiased estimate of each moment, and the derivative factor dg,a(z) gives the gradient with respect to each phase.
The trained parameters are the phases of the diagonal layer, while the encoder is fixed and none of its parameters are updated by the optimizer. Each update minimizes the squared MMD averaged over the training conditions, using these sampled estimates in place of exact expectation values. The estimator needs one reference state per condition, so the training conditions are c1, c2 and c3 in Fig.
1. The authors train the conditional models at β values of 0.1, 0.7, 1.3 and 1.95 and evaluate them at 0.4, 1 and 2.
Hamming-weight family: input conditioning versus diagonal conditioning
The target family is a Hamming-weight distribution whose mean moves with u and whose width moves with v. The mean sits at 8 + 3u, and the width parameter is 2(1 + 0.2v), so the two coordinates control location and spread separately. Both coordinates enter as phases on the uniform superposition, one for the mean and one for the width. Each bitstring receives equal probability within its Hamming weight class, so the full target follows from the profile ρu,v(k).
These nine training conditions span the diamond |u| + |v| ≤ 1, and the model is evaluated at sixteen mixed combinations of both coordinates. Four of the mixed conditions lie inside the training convex hull and twelve lie outside it, and neither set enters training or selection.

FIG. 4 . Joint conditional generation of the Hamming-weight family, (a) with input conditioning and (b) with diagonal condi- tioning of the same lattice circuit acting on|0⟩⊗16. Colors show the mean full-distribution TVD across ten seeds on a41×41 grid of conditions, on a shared logarithmic scale. Diamonds mark the nine training conditions, which lie on the two axes, and the dashed line marks their convex hull. At the origin, the target and the input-conditioned model are uniform by construction.
Original paper · CC BY 4.0This baseline has 120 parameters in total, three times the 40 of input conditioning. Because the gap shows up on training conditions, it isn't a purely extrapolation effect.
Adding a quadratic condition map or an all-to-all diagonal layer did not close the gap under the same protocol. So the extra parameters of the diagonal variants, up to 680 in total, did not give the condition dependence that input conditioning captured. These results come from one family at sixteen qubits, averaged over ten seeds.
Curie–Weiss model across temperatures
The Curie–Weiss target is a Gibbs distribution over bitstrings at inverse temperature β, and it crosses from disordered to ordered near β = 1. The mean absolute magnetization and the per-spin energy-fluctuation statistic serve as the two observables that mark this crossover. Because the target depends on x only through the Hamming weight, its observables follow from sums over n + 1 weights at any size.
Both encoders treat one root qubit, qubit 16, differently from the fifteen leaves, which are treated identically.

FIG. 3 . Encoder circuits, drawn for four qubits with the angles of the sixteen-qubit models, whereRZ (φ) =e −iφZ/2 and connected dots denoteRZZ (φ) =e −iφZ⊗Z/2 with the angle shown above each group. (a) Hamming-weight encoder of Eq. (25). (b) Twisted parity encoder of Eq. (27); without the dashed block, which contains the twist and the rotation, it reduces to the parity encoder of Eq. (26) with angletβ.
Original paper · CC BY 4.0 · Oriol Balló-Gimbernat, Emiliano Tolotti, Laia Domingo, Fernando Vilariño, Adan Garriga · Classical training of conditional instantaneous quantum polynomial-time Born machines · Original paper figure · Extracted the figure area from page 8 of the original PDF.The twist narrows the leaf Hamming-weight distribution below binomial, so the input probabilities come to depend on temperature. The twist strength µβ vanishes at β = 0 and as β grows without bound, so the encoder twists mainly around the crossover. The model is trained at β in {0.1, 0.7, 1.3, 1.95} and evaluated at β in {0.4, 1, 2}, where β = 2 lies slightly beyond the largest training temperature.
The authors report that input conditioning with the twisted parity encoder reached a mean TVD six times lower than diagonal conditioning on the Curie–Weiss model.
Scaling classically and running on hardware
The large-scale runs keep the parity encoder but replace the fixed angle with a saturating schedule. The reference angle rises with a logistic profile, saturates at t_max, and stops growing beyond the training temperatures. Checkpoints are selected on a development grid of temperatures from 0.3 to 1.7 that shares no temperature with training or the MMD test temperatures.
The all-to-all test at 64 qubits asks whether the lattice restriction limits accuracy. Its test MMD² is 0.00097, against 0.00143 for the 8×8 lattice, which has 176 trainable parameters versus 2080.
Limits of the evidence
The encoder must match the target in a specific sense, because the X-basis distribution of the output equals the reference distribution of the encoder.
The model selection rests on exact TVD at sixteen qubits, so the reported accuracies describe the tested configurations, not a sample-based selection procedure. At large sizes, the authors validate models only through the low-order observable ⟨m²⟩, which does not certify the full distribution.
Both target families are permutation invariant, so exact observables stay tractable at any size but the targets are also easy to sample classically. The experiments therefore test representation and generalization, and they don't test a quantum advantage. Targets without this symmetry are the natural next step, and the paper doesn't test them.
So the large-scale and hardware runs use the parity encoder, which needs at most 2(n−1) CNOT gates, and the most accurate models rely on a different encoder.
Efficient estimation of the objective doesn't guarantee successful optimization, because anticoncentrating output distributions suffer from loss concentration.
Paper info
- Authors
- Oriol Balló-Gimbernat, Emiliano Tolotti, Laia Domingo, Fernando Vilariño, Adan Garriga
- Venue
- arXiv · Preprint
- First published
- 2026-11-3
- Added
- 2026-11-6
- Updated
- 2026-11-3
- Version
- v1
- arXiv
- 2611.05483
- Category
- quant-ph · cs.LG
- Original paper terms
- CC BY 4.0
- What we show
- Paper info, commentary and permitted figures from the original paper
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Abstract
Instantaneous quantum polynomial-time (IQP) Born machines are attractive quantum generative models, as certain IQP circuit families are conjectured to be hard to sample, yet they can be trained classically. Previously proposed conditional IQP Born machines make the parameters of the diagonal layer condition dependent. We introduce conditional IQP Born machines, in which the condition is encoded in the input state and a single IQP unitary is shared across conditions. Efficient sampling and amplitude-ratio evaluation for the reference state entering the diagonal layer suffice to obtain unbiased classical estimates of a conditional maximum mean discrepancy objective and its gradients. We show that input conditioning can represent conditional families that no diagonally conditioned IQP model with the same number of qubits can reproduce. For the sixteen-qubit Curie-Weiss spin model, a single conditional model captures the magnetization transition at held-out temperatures. Its mean total variation distance is six times lower than that of diagonal conditioning under the same protocol and comparable to that of classical generative models with up to seven times as many parameters. We also train conditional models classically with up to 2048 qubits, which reproduce the mean squared magnetization of the target away from the crossover. These results extend classically trained IQP Born machines to conditional generation.
Quote from the paper
Oriol Balló-Gimbernat, Emiliano Tolotti, Laia Domingo, Fernando Vilariño, Adan Garriga (2026). Classical training of conditional instantaneous quantum polynomial-time Born machines. arXiv:2611.05483v1. https://arxiv.org/abs/2611.05483v1
BibTeX
@misc{ballgimbernat2026classical,
title = {{Classical training of conditional instantaneous quantum polynomial-time Born machines}},
author = {Oriol Balló-Gimbernat and Emiliano Tolotti and Laia Domingo and Fernando Vilariño and Adan Garriga},
year = {2026},
eprint = {2611.05483},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.05483v1}
}