TRANSMISSION // 2612.02991v1

Can a small quantum circuit help an agent learn?

Source published

A hybrid quantum–classical agent learned MiniGrid tasks using fewer trainable parameters than some classical models in noiseless simulations, but the results do not establish a hardware advantage.

AI-generated conceptual illustration for Can a small quantum circuit help an agent learn?
AI-generated conceptual illustration; not documentary evidence.

Reinforcement-learning agents improve by trying actions and learning from rewards. A new preprint tests whether a variational quantum circuit can serve as an agent’s main feature extractor—and whether pairing it with a stabilizing learning algorithm helps.

The question: can a quantum circuit help an agent learn?

A reinforcement-learning agent learns through interaction: it observes a situation, chooses an action and adjusts its strategy based on the reward. In complex tasks, conventional agents often use neural networks to turn observations into useful representations. The authors of this preprint ask whether a variational quantum circuit (VQC) can take on that role, and how its performance depends on the reinforcement-learning algorithm around it.

Their proposed system combines a VQC with Proximal Policy Optimization (PPO), a method designed to limit abrupt changes to an agent’s policy during training. They compare it with hybrid agents using Advantage Actor–Critic (A2C) and Double Deep Q-Network (DDQN). This compares complete learning systems; it is not a test of whether quantum hardware computes faster than a classical computer.

How the agent was built

The experiments used MiniGrid, a collection of small grid-world tasks in which an agent navigates toward a goal using partial, symbolic observations. The input combines the agent’s orientation, encoded as four features, with a 7-by-7 view of its surroundings, represented across three channels. Together these make 151 features.

The researchers used amplitude embedding to encode these features into an eight-qubit state. Because eight qubits represent 256 dimensions, they padded the input with zeros to reach that size. The VQC processed the encoded input, and circuit measurements supplied a compact representation to classical actor and critic heads, which respectively select actions and estimate the value of a state. A trainable scaling layer adjusted input features before encoding.

The default VQC agent had 303 trainable parameters: 151 in the scaling layer, 80 in the circuit and 72 in the two output heads. The authors evaluated several MiniGrid settings, including empty grids of different sizes and crossing tasks with narrow routes or hazards. The reported results come from simulation, including noiseless simulation for the parameter-efficiency comparisons—not tests on a quantum processor.

What the experiments found

In the 5-by-5 empty grid, the VQC-based PPO agent reached the task’s theoretical optimal-return level at about 20,000 episodes under a shared 50,000-episode budget. It exceeded the best performance reached by the VQC-based A2C and DDQN agents in fewer than 10,000 episodes. In that comparison, A2C remained below the optimal level at the end of training, while DDQN did not reach it and showed a late decline. The learning curves averaged results across 10 independent seeds.

The researchers also compared the VQC-PPO agent with classical neural-network PPO models. In a shared-hyperparameter comparison, classical models needed 1,240 trainable parameters to reach comparable performance in the 5-by-5 grid, 1,052 in the 6-by-6 and 8-by-8 grids, and 868 in the 16-by-16 grid. With independently tuned hyperparameters, some comparisons changed: classical models narrowed the gap, especially on the largest empty grid. The authors present parameter efficiency as a result of these particular setups, not a universal advantage over classical networks.

Adding qubits had limited effect in smaller empty grids but was associated with improved sample efficiency in the 16-by-16 setting. Crossing-task results varied with difficulty. In LavaCrossing S9N3, the mean return improved gradually, with nearly all seeds reaching a high-return regime by about 110,000 episodes. In the more constrained S11N5 setting, learning was slower and initially more variable; all seeds reached a high-return regime by about 400,000 episodes. These results point to exploration—the challenge of discovering a rewarding route—as an important bottleneck in sparse-reward tasks.

What remains uncertain

In the reported comparison among VQC-based agents, PPO trained more stably and reached the target sooner than A2C and DDQN. That result does not establish a general advantage for PPO across reinforcement learning, nor does it show that the quantum circuit itself caused the difference. The evidence is limited to MiniGrid’s symbolic observations and the tested model and training settings.

There is also a practical hardware gap. Amplitude embedding can require costly state preparation, and the authors note that it may involve substantial circuit depth. Their study does not demonstrate the proposed system running on real quantum hardware or establish how it would perform with hardware noise and other resource constraints. The work is a preprint, so its findings are preliminary and may change with further review or replication.

For now, the study is best read as a simulation-based test of a hybrid architecture: a compact circuit paired with a particular policy-learning method can learn these benchmark tasks, sometimes with fewer trainable parameters than the classical models tested. Whether that translates into a practical benefit on quantum hardware remains an open question.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.