TRANSMISSION // 2612.05973v1
An AI agent searches for shorter quantum state-preparation circuits
Source published
A reinforcement-learning agent builds quantum circuits one gate at a time, aiming to approximate target states with fewer gates. Simulations show promising results, but the method’s performance varies by state and training run.

Preparing a quantum computer in a desired starting state can take many operations. A new search method uses reinforcement learning and a step-by-step training curriculum to look for shorter circuits, with tests on familiar quantum states and randomly generated ones.
Why search for a circuit?
Many quantum algorithms begin by preparing qubits in a particular state. A quantum circuit—a sequence of operations called gates—transforms a simple starting state into the desired one. Finding a compact sequence is difficult: the number of possible circuits grows rapidly as more qubits are added.
Marco Mordacci and Michele Amoretti propose a way to automate that search. Their preprint describes an agent that builds circuits gate by gate, with two goals: approximate a target state closely and avoid unnecessary gates. The approach is designed to trade a small amount of accuracy for a potentially simpler circuit.
How the agent learns
The agent uses reinforcement learning, in which a computer program tries actions and receives feedback about their results. Here, each action adds a single-qubit rotation or a two-qubit CNOT gate to the circuit. After adding a gate, the method uses a classical optimization routine to adjust the rotation angles, then evaluates how close the resulting quantum state is to the target.
That closeness is measured using fidelity, a score for how well two quantum states match. The experiments set a target infidelity of 10⁻². In plain terms, the agent is not required to reproduce the target exactly. Its reward reflects progress toward the target and penalizes circuit length; it also receives extra rewards when it reaches accuracy milestones.
The learning strategy includes a curriculum: rather than beginning with the largest problem, the agent tackles smaller versions first. For structured targets such as W states and Dicke states, it carries a solution forward as the number of qubits increases, adding a new qubit and searching for the extra gates required. For randomly generated states, the researchers use a sequence of smaller targets derived from a mathematical decomposition of the state. The agent also transfers some of its learned policy-network weights between stages.
What the simulations found
The researchers tested W states of up to 13 qubits, Dicke states of up to 10, and random states of up to 7. They ran the method in simulation and compared its circuits with selected existing constructions. The reported comparisons included gate count, CNOT count and circuit depth—the length of the longest chain of operations that must run one after another.
For W states, the best circuits the agent found used 4n − 5 gates through 12 qubits and 48 gates at 13 qubits. The paper reports 23 CNOT gates at 13 qubits, compared with 36 in the cited exact construction. For 10-qubit Dicke states, the best discovered circuit used 107 gates, compared with 147 in the selected exact construction. The authors also report lower resource counts for their best random-state circuits than for two reference methods, including a shorter circuit depth at seven qubits.
These are results for the best circuits found in the experiments, not a guarantee that every training run finds them. The distinction matters: for Dicke states, for example, the average circuit at 10 qubits came close to the reference method’s gate count, even though the best circuit was smaller. Random-state training also reached the experiment’s three-day time limit from six qubits onward, so those results reflect the best circuits found within that budget.
Accuracy, noise and open questions
The comparisons do not always ask the same thing of each method. Several reference constructions prepare states exactly, while the agent is allowed an infidelity of 10⁻². A shorter circuit may therefore omit small details of the target state. The authors describe the results as a trade-off between circuit resources and accuracy, not evidence that the agent can always match an exact method on equal terms.
The paper also evaluates circuits under noise models based on two IBM device backends, using simulated rather than physical hardware. Some of the agent’s circuits achieve higher simulated fidelity than the chosen references for certain state sizes, but the pattern varies: the exact methods do better in some cases, and the advantage is not uniform across targets and devices. These simulations do not establish how the circuits would perform on an actual quantum processor.
The method still relies on repeated classical optimization of circuit parameters, and training can be costly. The authors identify learning gate sequences and their parameters together, testing hardware-specific gates and connectivity, and optimizing directly for noisy performance as future directions.
This work is an arXiv preprint, not a peer-reviewed publication. Its findings are simulation-based and depend on the selected targets, comparison methods, accuracy threshold and training budget. The paper presents a promising search approach, but broader tests are needed to determine where it is reliable and useful.
- quantum computing
- quantum circuits
- reinforcement learning
- quantum state preparation
- curriculum learning
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Teaching Quantum Circuit Search to Scale
Shared method: Both papers use reinforcement learning to search for quantum circuits across qubit counts. The source paper’s curriculum carries a circuit and compatible policy weights to larger systems; LatentRL-QAS instead transfers a circuit representation through a refreshed latent space, not network weights or past experience. Their different agents and transfer mechanisms limit the comparison to this shared search approach.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.05973v1 — Original paper
Excerpt reference:
static/papers/2612.05973v1.md:447-493
Basis: Paper text
Source file SHA-256:df938229f3c283c748c996c9c443dd4d02507960a026a470ffc796643615b7902612.05973v1 — Original paper
Excerpt reference:
static/papers/2612.05973v1.md:1143-1239
Basis: Paper text
Source file SHA-256:df938229f3c283c748c996c9c443dd4d02507960a026a470ffc796643615b7902611.34634v1 — Original paper
Excerpt reference:
static/papers/2611.34634v1.md:170-212
Basis: Paper text
Source file SHA-256:71865fe8ad1e8d4dcba56f5697516e3e3eab0996caf49f3961a76e63874cff1b2611.34634v1 — Original paper
Excerpt reference:
static/papers/2611.34634v1.md:1991-2037
Basis: Paper text
Source file SHA-256:71865fe8ad1e8d4dcba56f5697516e3e3eab0996caf49f3961a76e63874cff1b
Teaching AI to Search for Extreme Quantum Entanglement
Shared method: Both papers use reinforcement learning to construct state-preparation circuits by selecting gates sequentially, and both describe PPO-based agents. The source paper prepares specified W, Dicke and random targets with an approximation threshold; the target paper searches for AME or extremal entanglement using entanglement-based rewards, so this is a methodological connection rather than evidence of equivalent performance.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.05973v1 — Original paper
Excerpt reference:
static/papers/2612.05973v1.md:1143-1239
Basis: Paper text
Source file SHA-256:df938229f3c283c748c996c9c443dd4d02507960a026a470ffc796643615b7902612.05973v1 — Original paper
Excerpt reference:
static/papers/2612.05973v1.md:13-39
Basis: Paper text
Source file SHA-256:df938229f3c283c748c996c9c443dd4d02507960a026a470ffc796643615b7902612.03319v1 — Original paper
Excerpt reference:
static/papers/2612.03319v1.md:60-115
Basis: Paper text
Source file SHA-256:79a09d9985e84641c08f53fe59cc02bb4766aafffd546f0196449325e598c53e2612.03319v1 — Original paper
Excerpt reference:
static/papers/2612.03319v1.md:12-59
Basis: Paper text
Source file SHA-256:79a09d9985e84641c08f53fe59cc02bb4766aafffd546f0196449325e598c53e
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Equivalent quantum circuits, different lab results
Source published
Shared keywords: quantum circuits, quantum computing, quantum state preparation
Quantum memory helps track changing solutions, but does not guarantee cheaper computation
Source published
Shared keywords: quantum computing, quantum state preparation
RubriQ teaches AI to favor cheaper correct quantum circuits
Source published
Shared keywords: quantum circuits, quantum computing, reinforcement learning
Quantum error correction that adapts as noise drifts
Source published
Shared keywords: quantum circuits, quantum computing, reinforcement learning
Teaching AI Sudoku one difficulty step at a time
Source published
Shared keywords: curriculum learning, reinforcement learning