# LatentRL-QAS: Transfer via Latent Reinforcement Learning for Quantum Architecture Search

> LatentRL-QAS searches circuits in a fixed eight-dimensional code, refreshed with agent discoveries and seeded by smaller-system circuits. It found AME5 and AME6 in all ten seeds per size, with final greedy success of 88.8–99.0% and 96.0–99.0%, respectively, at $F\ge0.98$.

- arXiv: https://arxiv.org/abs/2611.34634
- Authors: Maria Ilektra Plakitsi, Sebastian Feld, Akash Kundu
- Published: 2026-11-27
- Topic: RL & post-training
- Visual carousel: https://instaxiv.com/p/2611.34634
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can circuit search transfer as qubits are added?

**10/10 each** seeds found AME5 and AME6

## Why gate-by-gate search resists transfer

**The task:** Quantum architecture search (QAS) uses reinforcement learning to choose circuit gates. AME means absolutely maximally entangled: every subset of $\lfloor n/2\rfloor$ qubits is maximally mixed.

**The scaling snag:** Gate-by-gate RL-QAS uses $O(Ln^2)$ state entries and $O(n^2)$ gate actions; the agent's input and output sizes change with qubit count.

## LatentRL-QAS searches a refreshed circuit map

![Figure 1](https://cdn.instaxiv.com/figures/2611.34634/figure1.webp)

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. (Figure 1)

## 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 $\pm0.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\ge0.98$.

## A random sample misses AME6

**Random six-qubit circuits:** Among 40,000 random six-qubit circuits drawn from the paper's gate set, none prepared the AME6 target.

**Refresh with discoveries:** 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

![Figure 5](https://cdn.instaxiv.com/figures/2611.34634/figure5.webp)

Solid: trained policy; dashed: random moves; dotted: prior-sample solution fraction. Final 500-episode greedy success at $F\ge0.98$: AME5 88.8–99.0%, AME6 96.0–99.0% (10/10 seeds each). (Figure 5)

## 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

**Ablation baselines:** 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.

**Pool plus latent policy:** 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

![Figure 6](https://cdn.instaxiv.com/figures/2611.34634/figure6.webp)

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. (Figure 6)

## The AME ladder under simulated noise

**Noise at n=5,6:** With depolarizing noise only at $n=5,6$ ($p_1=0.001$, $p_2=0.01$; threshold $F\ge0.75$), AME5: 4/5 seeds, 94.8–97.6% final success; AME6: 5/5, 96.4–98.8%.

**Noise at every level:** 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.

## Key takeaways

- AME5 and AME6 were found by all 10/10 seeds each; final greedy success at $F\ge0.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.

## Links

- arXiv: https://arxiv.org/abs/2611.34634
- PDF: https://arxiv.org/pdf/2611.34634

## Citation

```bibtex
@article{plakitsi2026latentrlqas,
  title   = {LatentRL-QAS: Transfer via Latent Reinforcement Learning for Quantum Architecture Search},
  author  = {Plakitsi, Maria Ilektra and Feld, Sebastian and Kundu, Akash},
  journal = {arXiv preprint arXiv:2611.34634},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.34634}
}
```
