AI Designed Shorter Quantum Circuits, but Only for Some Patterns
A transformer found circuits using 64 to 92 two-qubit gates instead of 200 in four simulations. A fixed design still held up better on most tests with rigid patterns.
Reading tools for text size, copying, printing and your reading list

A team spanning the University of Toronto and several Japanese research groups let an AI model choose the steps in a quantum circuit instead of fixing them in advance. In a December 2 arXiv preprint, the researchers report that the resulting circuits more closely matched four smooth probability patterns, including a bell curve. At 20 simulated they also used fewer two-qubit gates. That improvement did not carry over to most of the tests with highly structured patterns.[1]
Why let AI choose the steps?
The circuits are meant to produce samples: run the same circuit repeatedly and its outcomes should occur in the proportions you asked for. The conventional design in the study started with a fixed layout and tuned the strength of its operations. The transformer could choose the operations themselves as well as their settings. It proposed circuits, scored them against the target distribution and learned from the highest-scoring designs.[1]
For the four smooth 20-qubit targets, the best transformer designs used 64 to 92 two-qubit gates, compared with 200 under the same counting rule for the stronger fixed-layout baseline. Their scores on a measure of distribution mismatch were 14 to 300 times lower. But the fixed-layout approach matched or beat the transformer in five of six comparisons on structured targets, where probability was concentrated on specific allowed outcomes. The better result depended on the pattern the circuit had to produce.[1]
Fewer gates don’t settle the cost
Two-qubit gates are worth counting because they can add errors on a real machine. But these comparisons used classical simulations, and the best-performing search scored circuits using exact probabilities that the simulator could read directly. A physical processor yields samples instead. The open question is whether a search using those samples can still find smaller circuits at a competitive total cost, including the work it takes to find them.[1]