LatentRL-QAS: Transfer via Latent Reinforcement Learning for Quantum Architecture Search
Plakitsi et al. in RL & post-training
Can circuit search transfer as qubits are added?
LatentRL-QAS: Transfer via Latent Reinforcement Learning for Quantum Architecture Search
Why gate-by-gate search resists transfer
Quantum architecture search (QAS) uses reinforcement learning to choose circuit gates. AME means absolutely maximally entangled: every subset of ⌊n/2⌋ qubits is maximally mixed.
Gate-by-gate RL-QAS uses O(Ln2) state entries and O(n2) gate actions; the agent's input and output sizes change with qubit count.
LatentRL-QAS searches a refreshed circuit map

Panels (a–d): a variational autoencoder maps circuits to eight coordinates; the DDQN has 16 moves; discoveries refresh the map, and smaller-system circuits seed larger sizes.
What the agent actually searches
- 1
Canonicalize
Sort commuting or disjoint gates into a fixed order, then encode each as one token.
- 2
Compress with a VAE
A bidirectional GRU maps tokens to eight dimensions; free bits prevent collapse, and 50% word dropout makes the decoder use its code.
- 3
Navigate
For every qubit count, DDQN chooses among 16 moves, each shifting one coordinate by ±0.5.
- 4
Decode and reward
Each point deterministically decodes to a circuit; squared-overlap fidelity earns graded reward and a large solution bonus at F≥0.98.
A random sample misses AME6
Among 40,000 random six-qubit circuits drawn from the paper's gate set, none prepared the AME6 target.
After every 1,000-episode block, the VAE is fine-tuned on agent-found solutions and best partial circuits; no target-preparing circuit is inserted.
Finding is only half the result

Solid: trained policy; dashed: random moves; dotted: prior-sample solution fraction. Final 500-episode greedy success at F≥0.98: AME5 88.8–99.0%, AME6 96.0–99.0% (10/10 seeds each).
How smaller circuits seed the next size
- 1
Relabel and grow
Relabel old qubits to distinct indices, reorder commuting gates, and add each new qubit with H and CZ links to 1–4 random qubits.
- 2
Build the pool
Up to 200 relabelled and 200 grown circuits seed the VAE alongside 2,000 random circuits; the next-target solution is absent.
- 3
Transfer examples, not weights
Only circuit examples transfer, not weights or replay; a fresh DDQN is trained at each qubit count.
Ablations separate discovery from learning
Without transfer, LatentRL-QAS found AME5 in 1/5 seeds and AME6 in 0/5. Gate DDQN from scratch: 0/15 per target across three variants. Its own ladder found AME5 in 5/5 (0–16% last-block solve rate), AME6 in 2/5, never learned.
Given LatentRL-QAS's AME6 pool and CZ actions, gate DDQN found AME6 in 5/5 seeds, but only 1–8 times per seed and did not learn reliable preparation. LatentRL-QAS's separate final greedy evaluation reached 96.0–99.0%.
Refresh spreads solutions across latent dimensions

Read AME6 solutions from the starting VAE (left) to the last refresh (right): participation ratio, an effective dimension count, grows from 2.3 to 7.1; all eight dimensions are active.
The AME ladder under simulated noise
With depolarizing noise only at n=5,6 (p1=0.001, p2=0.01; threshold F≥0.75), AME5: 4/5 seeds, 94.8–97.6% final success; AME6: 5/5, 96.4–98.8%.
With noise at every level, all five seeds found both targets; final success ranged 85.0–100.0% for AME5 and 89.6–97.2% for AME6.
Only one simulated depolarizing-noise strength was tested, not real hardware.
What these results do not establish
AME6 had a head start
The target-independent pool contained a circuit one CZ gate from AME6; AME5 is the cleaner discovery test.
No length penalty
None of 2,998 AME5 solutions was minimal; most AME6 solutions used 17 gates against the 15-gate minimum.
Narrow test bed
Only discrete Clifford gates and graph states were tested; noise was simulated at one strength, with no device-specific model or real hardware.
Why it matters
- AME5 and AME6 were found by all 10/10 seeds each; final greedy success at F≥0.98 was 88.8–99.0% and 96.0–99.0%, respectively.
- The refreshed pool and policy could generate candidate circuits to filter for device connectivity; hardware validation remains necessary.
- Each run yielded hundreds of target-preparing circuits, but transfer to qualitatively different circuit structures remains open.
12 slides, 3 min
5 days ago