Generative Replay Mitigates Sample Starvation in Quantum Architecture Search

Akash Kundu, Amit Kumar Jaiswal, Sebastian Feld, Prayag TiwariarXiv 2026

TL;DR

Quantum Architecture Search (QAS) using reinforcement learning is a powerful tool for designing optimized quantum circuits, but it suffers from "sample starvation" as the search space expands exponentially with qubit count. To solve this, GenQAS combines a tensor-network warm-start with a learned local transition model that generates synthetic circuit transitions on demand. This generative replay mechanism dramatically improves sample efficiency, boosting the success rate of finding compact, low-error quantum circuits by up to 7.0× on larger systems.

What Problem Does This Paper Address?

To run quantum algorithms on near-term noisy hardware, researchers need to design highly optimized, compact Parameterized Quantum Circuits (PQCs). Doing this manually is incredibly difficult, so researchers turn to Reinforcement Learning (RL) to automate Quantum Architecture Search (QAS).

However, RL-based QAS hits a massive wall when scaling up. As the number of qubits ($N$) grows, the circuit search space explodes combinatorially. High-quality, low-energy circuits become exceptionally rare—a challenge the authors mathematically define as super-exponential sparsity. In this regime, standard RL agents suffer from sample starvation: they simply cannot find enough high-quality trajectories to learn from. Traditional experience replay buffers (which store and resample past transitions) fail because re-weighting old data cannot fix the underlying problem of never encountering good data in the first place.

Methods

GenQAS converts passive experience replay into an active, data-densifying mechanism. The framework relies on two main pillars:

  1. Tensor Network Warm-Start: Before the RL agent even begins, the framework uses a Matrix Product State (MPS) approximation of the target ground state (calculated via classical DMRG). This MPS is mapped onto a shallow brickwork circuit prefix that remains fixed throughout training. This clever initialization ensures the agent starts its search in a physically meaningful, low-energy region of the Hilbert space.
  2. Prioritized Generative Replay: Instead of merely saving real environment interactions, GenQAS trains a neural dynamics model (a multilayer perceptron with separate heads for transition, reward, and termination predictions) exclusively on real transitions. During training updates, GenQAS samples real state-action pairs as "seeds" and uses this local transition model to simulate synthetic, one-step transitions on the fly.

These real and synthetic experiences are mixed into mini-batches based on a tuned generation ratio ($G_r$) to update a Double Deep Q-Network (DDQN) agent. Crucially, synthetic transitions are generated on demand and never stored permanently, keeping the replay buffer grounded in real data.

Fig. 1: GenQAS converts passive replay into active experience generation. a, Under weakly informed exploration, high-quality circuit trajectories become increasingly sparse as the system size grows. b, Uniform and prioritized replay can only resample previously observed transitions, so the density of useful experience declines as the search space expands. c, GenQAS starts from an MPS-derived circuit, retains real transitions, learns a local transition model and generates synthetic transitions on the fly. Real and generated samples are mixed during Double-DQN updates, supporting the search for low-error circuits with fewer entangling gates.

Datasets

The authors evaluated GenQAS across three distinct problem classes:

  • Molecular Electronic-Structure Hamiltonians: 6-qubit $\text{BeH}_2$, alongside 8-, 10-, and 12-qubit $\text{H}_2\text{O}$ molecular benchmarks generated using the quantum chemistry module of PennyLane.
  • Spin Models: A 15-qubit Transverse Field Ising Model (TFIM) to test performance on non-molecular ground state preparation.
  • Discrete Synthesis: A 4-qubit Clifford synthesis task using target circuits from the QCircuitBench dataset, evaluating the model in a fully discrete setting without variational optimization.

Key Insights and Ideas

  • The Geometry of Sample Starvation: The authors prove theoretically that under random exploration, the volume of near-ground-state circuits shrinks exponentially with the dimension of the accessible Hilbert space. This mathematically validates why passive replay baselines degrade so sharply as system sizes increase.
  • Counterfactual Densification: Generative replay acts as a form of counterfactual reasoning. By generating synthetic transitions around known good real seeds, it effectively "densifies" the training signal in high-fidelity regions without requiring expensive quantum-classical evaluations.
  • The Generation Ratio Trade-Off: The optimal mix of real vs. synthetic data changes with problem scale. For smaller systems (6–10 qubits), a moderate generation ratio ($G_r = 0.4$) yields the best results because real data is still sufficient to anchor the model. For larger systems (12 qubits), real data is so severely depleted that a high synthetic ratio ($G_r = 0.8$) is required to stabilize and drive successful learning.

Key Results

  • 7.0× Success Multiplier: On the 12-qubit $\text{H}_2\text{O}$ benchmark, GenQAS boosted the final success probability from 11% (for the best passive baseline) to 77%.
  • 92.7% Reduction in Noisy Search Steps: In a noisy 6-qubit $\text{BeH}_2$ transfer experiment under depolarizing noise, transferring a generatively augmented replay buffer slashed the number of search steps required to reach chemical accuracy from 9,053 down to just 660.
  • Extreme Gate Efficiency: Across all molecular benchmarks, GenQAS discovered highly compact circuits. For instance, at 12 qubits, it found a circuit using just 2 CNOT gates and 4 rotations that achieved comparable energy errors to standard UCCSD baselines which require nearly 7,000 CNOT gates.
Fig. 2: Fixed-budget performance and training dynamics of GenQAS. (a) At a fixed budget of 6000 training episodes, GenQAS consistently outperforms TensorRL-QAS with uniform and PER replay across N ∈ {6, 8, 10, 12}, while passive baselines degrade sharply with system size. The observed gains increase with qubit number, reaching the strongest advantage at 12 qubits and showing an increasing relative advantage over the evaluated 6 to 12 qubit range, consistent with the proposed signal-density mechanism. (b) Training trajectories for 6, 8, 10 and 12 qubits show that GenQAS converges faster and attains higher success probability than TensorRL- QAS baselines. The Gr = 0.8 setting is the most robust at larger system sizes, maintaining high success even at 12 qubits.

Limitations and Future Work

While promising, GenQAS has a few limitations that open up interesting avenues for future research:

  • Simulation Constraints: The framework was validated using classical state-vector simulations and simplified depolarizing noise models. Testing it against finite-shot noise and real quantum hardware remains an open task.
  • Entanglement Area-Law Dependency: The MPS warm-start relies on locality and entanglement assumptions that might not hold for arbitrary, highly chaotic Hamiltonians.
  • Rigid Action Spaces: The agent currently inserts gates one by one. The authors note that augmenting the action space with learned composite operations ("gadgets") could drastically shorten the search horizon and improve scalability even further.

Summary updated

BibTeX
@misc{kundu2026generative,
  author = {Akash Kundu and Amit Kumar Jaiswal and Sebastian Feld and Prayag Tiwari},
  title = {{Generative Replay Mitigates Sample Starvation in Quantum Architecture Search}},
  year = {2026},
  eprint = {2609.11248},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.11248},
}
Figure