Skip to content
Quantum.world

Research

Generative Replay Mitigates Sample Starvation in Quantum Architecture Search

Overview Research area: Quantum computing, specifically reinforcement-learning-based quantum architecture search (RL-QAS), with a focus on experience replay and sample efficiency. Technical level: Adv

Generative Replay Mitigates Sample Starvation in Quantum Architecture Search
arXiv
2609.11248
Published
2026-09-10
Authors
Akash Kundu, Amit Kumar Jaiswal, Sebastian Feld, Prayag Tiwari

AI summary

Overview

  • Research area: Quantum computing, specifically reinforcement-learning-based quantum architecture search (RL-QAS), with a focus on experience replay and sample efficiency.
  • Technical level: Advanced. The paper assumes familiarity with variational quantum algorithms, Double Deep Q-Networks, and tensor networks, though the core idea (generating extra training data instead of only reusing old data) is conceptually simple.
  • Scope: The paper introduces GenQAS, an RL framework that combines a matrix product state (MPS) warm start with a learned generative transition model, and tests whether synthetic transitions can offset the scarcity of useful circuit-building experience as quantum search spaces grow.

What This Paper Is About

When reinforcement learning is used to build quantum circuits gate by gate, good circuit trajectories become extremely rare as the number of qubits grows, a condition the authors call "sample starvation." Standard replay buffers (uniform and prioritized) can only resample transitions the agent has already seen, so they cannot increase the amount of informative experience available for learning. The paper proposes GenQAS, which learns a local model of the environment's one-step dynamics and generates extra synthetic transitions on demand, mixed with real experience during Double-DQN updates, to raise the effective density of useful training signal without additional quantum-classical circuit evaluations.

Key Contributions

  1. A diagnosis of sample starvation with theory behind it. Under stated assumptions about weakly informed exploration and chemical Hamiltonians, Theorems 4.1 and 4.2 show that the probability of encountering an epsilon-accurate low-energy circuit through passive exploration falls rapidly with system size, which formalizes why passive replay alone cannot help in this regime.
  2. GenQAS, a hybrid architecture. The framework keeps the fixed MPS warm start and Double-DQN backbone of TensorRL-QAS and adds a learned local transition model that, given a circuit state and gate action, predicts the next circuit state, the reward, and the termination probability.
  3. Real-anchored generative replay. Synthetic transitions are seeded from real state-action pairs held in replay memory and are never stored persistently; the replay buffer stays grounded in environment interactions, and a generation ratio G_r controls the synthetic fraction of each update batch via B_real = floor((1 - G_r)B) and B_syn = B - B_real.
  4. Empirical validation across problem classes. Tests span molecular Hamiltonians from 6 to 12 qubits, a 15-qubit transverse field Ising model, a noisy 6-qubit BeH2 replay-transfer experiment, and a fully discrete 4-qubit Clifford synthesis task with no variational optimization.

Main Findings

  • Fixed-budget scaling (6000 episodes, five random neural-network initializations): At 6 qubits, uniform replay reaches about 0.57 and prioritized replay about 0.60; GenQAS with G_r = 0.4 reaches 0.88, while G_r = 0.8 drops to 0.28. At 8 qubits the passive baselines reach about 0.54 and 0.55, GenQAS with G_r = 0.4 reaches 0.84 and with G_r = 0.8 reaches 0.34.
  • 10-qubit behavior: Uniform and prioritized baselines reach about 0.51 and 0.55; GenQAS with G_r = 0.4 reaches 0.84 (roughly 1.5x over the strongest passive baseline), while G_r = 0.8 reaches 0.37.
  • 12-qubit reversal: Passive baselines collapse to about 0.10 and 0.11. GenQAS with G_r = 0.4 reaches 0.38 (roughly 3.4x) and G_r = 0.8 reaches 0.77 (roughly 7.0x). The abstract describes this as an improvement from 12% to 77% for the strongest passive baseline. The preferred generation ratio flips with scale: an intermediate synthetic fraction wins at 6 to 10 qubits, but the more synthetic setting wins at 12 qubits.
  • 15-qubit transverse field Ising model: Final energy errors stay in a narrow band from 1.53 x 10^-2 to 1.54 x 10^-2 for every method, so replay does not degrade solution quality. The abstract reports success probability rising from 12% to 21%; the Results section states that the best baseline is 15% with prioritized replay and GenQAS reaches 21%, a 40% relative increase. G_r = 0.4 matches the 10-CNOT count of the uniform baseline while cutting rotations from 8 to 6, and G_r = 0.8 yields a 3-CNOT circuit with 13 rotations.
  • Noisy replay transfer (6-qubit BeH2, depolarizing noise p1 = 0.01 after single-qubit gates and p2 = 0.05 after two-qubit gates): Transferring the uniform buffer cuts TensorRL-QAS steps to chemical accuracy from 13,623 to 9,520 (30.1%) and CNOTs from 13 to 9 (30.8%), leaving rotations at 4 and depth at 10 unchanged. Transferring the generative replay mechanism cuts GenQAS steps from 9,053 to 660 (92.7%), CNOTs from 9 to 6 (33.3%), rotations from 9 to 3 (66.7%), and depth from 8 to 6 (25.0%).
  • Circuit compactness at competitive error: On 6-qubit BeH2, GenQAS with G_r = 0.6 gives the lowest reported error of 2.37 x 10^-5 at depth 5 with 5 CNOTs. On 8-qubit H2O, G_r = 0.4 reaches 1.19 x 10^-3 with 3 CNOTs, 2 rotations and depth 4, versus 14 CNOTs, 6 rotations and depth 8 for uniform TensorRL-QAS. On 10-qubit H2O, G_r = 0.2 matches the prioritized-replay error of 4.17 x 10^-4 using 4 CNOTs, 5 rotations and depth 7. On 12-qubit H2O, uniform TensorRL-QAS holds the lowest error at 2.22 x 10^-2, while GenQAS with G_r = 0.8 gives the most compact circuit (2 CNOTs, 4 rotations, depth 2) at 2.44 x 10^-2, and G_r = 0.4 gives 2.28 x 10^-2 at depth 4.
  • Resource contrast with fixed ansätze: At 12 qubits, UCCSD requires 6,976 CNOTs, 10,628 single-qubit rotations and depth 10,356, against at most tens of gates and depth at most 10 for GenQAS circuits. HEA circuits are far more compact than UCCSD but still less gate-efficient than the compact GenQAS solutions at comparable error.
  • Training-stability diagnostics: At 6 qubits the generator's transition loss falls to near 10^-3 for all tested ratios, and the DDQN Huber loss stays low and bounded. At 10 qubits, G_r = 0.4 shows a late rise in total generator loss driven by the reward and termination components, plus large late Q-loss spikes, whereas G_r = 0.6 and G_r = 0.8 remain more bounded.
  • Discrete Clifford synthesis (4 qubits, gate library {H_q, S_q, S_q^dagger, CNOT_c,t}): With no variational optimization, G_r = 0.2 matches or modestly exceeds the passive baseline, and a generator update frequency of gen_freq = 5 gives the highest average cumulative reward, beating both very infrequent and very frequent generation.

Methodology in Plain English

The agent builds a circuit one gate at a time: at each step it sees the current circuit, picks a gate from the allowed set, and receives a reward based on how close the resulting state is to the target ground state. Before search begins, the authors compute an approximate ground state with a tensor network method (density matrix renormalization group on a matrix product state) and turn it into a starting circuit, which puts the agent near a physically sensible region of circuit space rather than a random one.

The novel step concerns what the agent learns from. Normally the agent stores each transition it experiences and samples from that store, possibly favoring high-error samples. Here a small neural network is trained to imitate the environment's local rule: given the current circuit and the chosen gate, predict the next circuit, the reward, and the chance the episode ends. When the agent updates its value network, it draws real state-action pairs from memory, feeds them to this learned model to produce extra synthetic one-step transitions, and mixes real and synthetic samples in a fixed ratio. The ratio G_r sets the split: G_r = 0.4 means roughly 60% real and 40% synthetic, and G_r = 0.8 means roughly 20% real and 80% synthetic. Synthetic samples are generated fresh each time and are not written into memory, so the replay buffer never drifts away from actual environment experience. The authors compare against the same RL backbone with uniform and prioritized replay, against hardware-efficient ansatz circuits at 1, 2 and 3 layers, and against UCCSD, holding the environment, action space, warm start and training budget fixed so that only the replay mechanism differs.

Why This Matters

  • Research impact: The paper reframes a practical RL bottleneck as a data-coverage problem rather than a sampling-priority problem, and supplies theorems plus signal-density reasoning (rho_mix(N) = (1 - G_r) rho_real(N) + G_r rho_syn(N)) that connect the empirical scaling trend to a mechanism. It also shows the best generation ratio shifts with problem size, which argues against fixed replay mixtures as a default.
  • Quantum chemistry workflows: BeH2 and H2O benchmarks point at molecular electronic structure, relevant to modeling reaction energetics and binding.
  • Materials and condensed-matter modeling: The 15-qubit transverse field Ising experiment targets spin-model ground states, the kind of problem underlying magnetic and phase-transition studies.
  • Near-term hardware compilation: The noisy transfer experiment suggests replay information gathered in simulation can be reused when the evaluation environment becomes noisy, relevant to preparing circuits for real devices under depolarizing error.
  • Fault-tolerant compilation and synthesis: The 4-qubit Clifford task, where circuits must exactly match a target operation with no parameter optimization, is the discrete flavor of compilation and circuit rewriting.

Industry relevance: Companies building quantum software stacks and cloud-accessible quantum services face exactly the stated cost problem, since every candidate architecture requires expensive simulation or hardware evaluation. A method that improves search success at a fixed interaction budget, and that yields circuits with single-digit CNOT counts and shallow depth, maps directly onto compiler and ansatz-design tooling.

Future Directions

  • Adaptive generation scheduling: Because G_r = 0.4 is best at 6 to 10 qubits and G_r = 0.8 is best at 12 qubits, a schedule that raises the synthetic fraction as real-transition density falls is a natural next step; the paper leaves this open.
  • Bounding model bias: Synthetic data helps only while the learned transition model stays faithful to the environment, and the 10-qubit G_r = 0.4 generator-loss rise and Q-loss spikes show stability is not guaranteed. Quantifying an acceptable fidelity threshold remains open.
  • Scaling beyond 15 qubits and beyond the four sampled sizes: The authors state that four system sizes are insufficient to establish an asymptotic scaling law empirically, so extending the sweep is needed to test the predicted trend.
  • Broader task and hardware coverage: Testing transfer across more noise models and on real processors, and combining generative replay with curriculum-based or one-shot QAS methods that address complementary scaling costs, are indicated but not performed here.

Target Audience

Researchers and graduate students working on quantum architecture search, variational quantum algorithms, or RL for scientific discovery, plus quantum software and compiler engineers who want to reduce the number of circuit evaluations needed to find compact, accurate circuits. Readers without a quantum background will find the high-level framing accessible, but the benchmarks, theorem statements and circuit statistics assume comfort with quantum chemistry Hamiltonians and deep RL.

Authors’ abstract

Reinforcement learning (RL) can automate quantum architecture search, but its scalability is limited when useful circuit trajectories become rare in the rapidly expanding search space. Existing replay mechanisms reuse observed transitions; the proposed learned model produces additional predicted one step transitions from real state-action seeds. Here we introduce GenQAS, a tensor network-guided RL framework that combines a fixed matrix product state warm-start with prioritized generative replay. A learned local transition model generates synthetic circuit transitions on demand and mixes them with real experience during Double Deep Q-Network updates. Under a random exploration analysis, near ground state circuits occupy a rapidly shrinking region of the accessible state space. We investigate whether real data anchored synthetic replay can improve the effective training signal in this regime. Across chemical Hamiltonian benchmarks from 6 to 12 qubits, GenQAS improves fixed-budget success probability and identifies compact circuits at competitive energy error. At 12 qubits, it improves final success probability by up to $7.0\times$ over passive replay. On a 15-qubit transverse field Ising model, GenQAS increases success probability from $12\%$ to $21\%$. In a noisy 6-qubit BeH$_2$ transfer experiment, generative replay reduces the steps to chemical accuracy by $92.7\%$. These results show that generative replay can mitigate sample starvation in quantum architecture search and support more resource efficient circuit discovery.

Read the original paper