The Signal
Transformer-designed quantum circuits outperform baseline in simulations
A preprint reports lower distribution-matching errors for transformer-designed circuits in 20-qubit simulations. The conventional variational approach matched or beat the new method on five of six structured discrete targets.

A transformer trained to design quantum circuits produced substantially lower distribution-matching errors than a conventional variational method in 20-qubit simulations, according to a research preprint. The researchers report the result in a paper submitted to arXiv on December 1, while also finding that the conventional method performed better on several structured tasks.
The team tested the method on Gaussian, bimodal, exponential and log-normal target distributions, each with about one million entries at 20 qubits. The circuits were evaluated on a CUDA-Q full-state-vector simulator, not on a quantum processor.
Learning the circuit
A quantum circuit Born machine is trained so that its measurement outcomes reproduce a target probability distribution. Conventional variational versions fix the circuit structure in advance and use gradient descent to tune rotation angles.
Called G-QCBM, the approach adapts a generative quantum eigensolver, in which a transformer writes a circuit as a sequence of tokens. Each token selects a Pauli operator and a rotation angle from a discrete set, allowing the generator to choose the circuit structure as well as its angles.
The training procedure keeps the best circuits found so far in a replay buffer and teaches the transformer to reproduce them. Circuits receive weights based on how closely their output distributions match the target, with an adaptive temperature controlling how strongly training favors the best candidates.
Results across targets
The team also compared the approaches at 10 and 15 qubits. Each model was trained using either Kullback–Leibler divergence, or KL, or maximum mean discrepancy, known as MMD; the researchers then scored all of them using KL divergence, for which lower is better.
Across the continuous targets and qubit counts, G-QCBM trained on KL had the lowest KL score in 10 of 12 comparisons, the paper reports. At 10 qubits, the variational model trained on MMD achieved the best scores on the bimodal and log-normal targets.
At 20 qubits, the transformer-designed circuits trained on KL achieved KL divergence 14–300 times lower than the variational model trained on either objective, according to the authors. Compared with the variational model trained on KL, those circuits used 64–92 CX gates against 200, or 2.2–3.1 times fewer.
The reported G-QCBM results are the lowest-scoring circuits found during training or in a final batch, rather than averages over circuits sampled from the trained model. The paper says the gate counts use a common decomposition for the two approaches.
Discrete targets and hardware
The advantage did not carry over to the tested structured discrete distributions, which included GHZ, Bars-and-Stripes and Dicke-state targets. The variational approach matched or beat G-QCBM on five of six such targets, the authors report.
For four of those targets, the researchers gave G-QCBM information about the target's symmetry as an inductive bias; the variational model received no target-specific bias. The paper also cautions that some MMD results under the default temperature setting are not conclusive about that training objective.
The paper identifies training from measurement samples as a step toward hardware experiments. It says a hardware training scheme would need to cope with shot noise, and proposes possible remedies for the discrete-target limitation, including changes to the token vocabulary and small continuous corrections to selected angles.
Sources
- Original source · Preprint Learning Quantum Circuit Structure for Born Machines with a Generative Transformer arXiv:2612.01136
Related stories
- Park, Kwak and Kim’s Transformer Posts an 18.1% Code-Capacity Threshold
- Perimeter Team Finds Multiple Peaks in Noisy Quantum Circuits
- Google Opens $150,000 Contest to Shrink Quantum Circuits
- Paper claims learning advantage for shallow quantum circuits
- Preprint finds three-layer circuits can generate volume-law entanglement