LatentRL-QAS builds on smaller circuits to design larger quantum systems

Maria Ilektra Plakitsi, Sebastian Feld and Akash Kundu of Delft University of Technology have developed LatentRL-QAS, a framework that transfers learning across different qubit numbers for automated quantum circuit design. The approach uses a circuit variational autoencoder, encoding each gate as a single token and mapping circuits of any size into a shared “latent space”.

This innovation allows a reinforcement learning agent to navigate circuit design without its state, actions, or network growing with qubit count. LatentRL-QAS successfully discovered five- and six-qubit absolutely maximally entangled (AME) states, a resource for quantum error correction, with 89-99% reliability, outperforming baseline methods using networks 10 to 17 times larger.

LatentRL-QAS: Transfer Learning for Quantum Circuit Design

The representation of quantum circuits, not the reinforcement learning agent’s learned weights, is the key to scaling automated quantum circuit design, according to a new framework called LatentRL-QAS. By operating within this consistent latent space, the reinforcement learning agent’s state, actions, and neural network remain the same size regardless of the number of qubits, circumventing a major obstacle in quantum architecture search. The system discovered five- and six-qubit AME states without prior examples, achieving successful preparation in 89-99% of evaluation episodes.

This contrasts sharply with baseline reinforcement learning methods, which failed to solve the same problem even with networks 10 to 17 times larger, highlighting the efficiency gains from transferring circuit representations rather than learned parameters. The framework’s architecture consists of four interconnected modules, with each step’s input dependent on the output of the previous one.

The periodic refreshing of the latent space with newly discovered circuits and the ability to build a latent space for larger systems from solutions found in smaller ones are central to the transfer learning process. “What is transferred is therefore the representation of circuits, not network weights or past experience,” the researchers state, emphasizing a departure from conventional reinforcement learning techniques. This innovation allows for a more scalable approach to quantum architecture search, potentially accelerating the development of more complex and robust quantum computing systems.

Variational Autoencoder Encodes Circuits into a Fixed Latent Space

A variational autoencoder (VAE) forms the core of a new framework, mapping quantum circuits to a fixed-dimension latent space regardless of qubit number. The VAE encodes each circuit into a continuous, low-dimensional representation, allowing the agent to navigate this space rather than directly manipulating quantum gates. This method ensures the agent’s observations and actions remain consistent in size, regardless of the complexity of the circuit being designed, and represents a step toward scalable quantum architecture search.

Latent Space Refresh Enables Growth to Larger Systems

Incorporating a cyclical process of refinement, retraining the circuit variational autoencoder on circuits discovered by the reinforcement learning agent, effectively closes the loop between agent action and latent space definition, is the architecture of LatentRL-QAS. LatentRL-QAS discovers the five- and six-qubit AME states without being shown them and prepares them with 89-99% of evaluation episodes, whereas the baseline RL-QAS fails to solve it with the same budget even with a network of size 10 to 17 times larger. This approach allows the agent to explore increasingly complex designs without the prohibitive growth in state and action spaces that plagues traditional reinforcement learning methods.

LatentRL-QAS Discovers AME States Without Prior Examples

LatentRL-QAS achieved 89-99% success in preparing five-qubit absolutely maximally entangled (AME) states without prior examples, a feat that eluded a baseline reinforcement learning approach even with a network over ten times larger. This success extends to six-qubit AME states, where the system achieved 96-99% preparation rates, while the comparison agent failed to solve the task in 30 independent runs, regardless of whether it used transferred circuits or its own training curriculum.

The core of this performance lies in the framework’s ability to operate with a fixed-dimension latent space, using all eight dimensions consistently across different qubit counts. The system’s efficiency is further highlighted by its parameter count. LatentRL-QAS solved the six-qubit problem with 2626 parameters, a significant reduction compared to the 25,785 and 43,350 parameters required by the gate-based agent at five and six qubits respectively.

The evaluation of circuit performance relies on a precise simulation of the resulting state vector, measuring the overlap with the target state to determine fidelity, with the exception of noise ablation studies. The framework’s capacity to build upon its own discoveries is also notable; a pool of circuits generated by LatentRL-QAS was used to train a gate-based agent, but the latter still struggled to replicate the results.

To provide a fair comparison, the gate-based agent was then tasked with building its own “ladder” of solutions, starting with three-qubit GHZ states and progressing to AME5 and AME6 states, but it still failed to consistently learn to prepare AME6. This performance advantage stems from an approach mirroring techniques used in classical neural architecture search, where discrete architectures are mapped into a continuous space for more efficient exploration.

Robustness to Depolarizing Noise on Quantum Hardware

This resilience stems from the framework’s design, which evaluates circuit fidelity under simulated gate noise during the learning process, demonstrating an ability to function effectively in realistic, imperfect quantum environments. The system’s noise awareness extends to all target circuits it discovers and learns, suggesting a potential pathway toward more reliable quantum computations. The encoding of quantum circuits, using a single token per gate, contributes to this robustness by creating a constant qubit overhead regardless of system size.

This approach contrasts with conventional methods where the state, action space, and neural network all expand with increasing qubit counts, creating computational bottlenecks. By decoupling the reinforcement learning agent from the number of qubits, LatentRL-QAS enables the reuse of learned circuit representations from smaller problems, establishing a foundation for transferable circuit design across diverse quantum optimization challenges. The framework also introduces an operation-level encoding, where the size of the encoding depends on the number of gates rather than the number of qubits, further enhancing its scalability and adaptability to complex designs.

Decoupling RL Agent from Qubit Count for Reusability

This approach contrasts with typical reinforcement learning methods where both the state and action spaces expand with increasing qubit numbers, creating a significant computational bottleneck. The system uses a circuit variational autoencoder, which encodes a circuit as one token per gate and maps circuits on any number of qubits into the same latent space. The latent space is periodically refreshed with newly discovered solutions, amplifying their impact on subsequent searches.

Limitations of Existing Reinforcement Learning for QAS

Deep reinforcement learning approaches to quantum architecture search often struggle with scalability, as the agent’s network or stored experience must grow with each added qubit. This work addresses this limitation by focusing on what is transferred during learning, rather than how it is transferred. Previous methods primarily moved either network weights or past experience between qubit levels, creating a bottleneck as system size increases. The current framework instead prioritizes transferring a representation of the circuits themselves, decoupling learning from the specific network architecture or accumulated experience.

The effectiveness of this approach is partially demonstrated by the system’s performance on absolutely maximally entangled (AME) states. While the six-qubit level benefited from a transfer pool containing a circuit nearly identical to the target AME6 state, making discovery easier, the five-qubit level provided a more rigorous test of the agent’s ability to explore and find solutions.

The five-qubit level’s initial pool circuits were more than three gates away from the target, demanding genuine discovery rather than refinement of a near-optimal solution. Ten random seeds were used at each level to account for the inherent variability in deep reinforcement learning results, a practice recommended for thorough study.

Hardware-Efficient and Problem-Inspired Ansatz Challenges

Fixed ansatz structures, common in variational quantum algorithms, present a trade-off between hardware compatibility and problem specificity. Hardware-efficient ansätze prioritize shallow circuits suited to current devices, but lack adaptation to the problem at hand, with usefulness dependent on whether input entanglement follows an area law. Conversely, problem-inspired ansätze, like the UCCSD method used in quantum chemistry, incorporate target knowledge but generate circuits that quickly become too deep for practical implementation.

The weight of qubit operators representing the fermionic problem grows with the number of qubits, scaling as O(n) with Jordan-Wigner encoding and O(log n) with Bravyi-Kitaev encoding. This inherent limitation, either circuits are too shallow to accurately represent the target state or too deep and prone to noise, motivates a search for more adaptable circuit designs. The challenge lies in finding structures that balance expressiveness with hardware constraints, a task that becomes increasingly difficult as the number of qubits increases.

A fixed structure, therefore, is often either insufficient to capture the target’s complexity or introduces unnecessary depth and susceptibility to errors. The limitations of both hardware-efficient and problem-inspired approaches highlight the need for automated circuit design. Existing methods often rely on optimizing parameters within a pre-defined structure, but a truly effective solution requires a system capable of discovering novel circuit architectures. The researchers state, highlighting the need for a dynamic approach to quantum circuit construction. This pursuit of adaptable designs is central to advancing the capabilities of near-term quantum computing.

👉 More information
🗞 LatentRL-QAS: Transfer via Latent Reinforcement Learning for Quantum Architecture Search
✍️ Akash Kundu (QuTech and Faculty of Electrical Engineering, Mathematics and Computer Science); Maria Ilektra Plakitsi and Sebastian Feld
🧠 ArXiv: http://arxiv.org/abs/2611.34634v1

Stay current

See today’s quantum computing news on Quantum Zeitgeist for the latest breakthroughs in qubits, hardware, algorithms, and industry deals.

Avatar of Dr. Donovan

Latest Posts by Dr. Donovan: