Quantum circuit architecture strongly influences the accuracy of variational quantum algorithms. Reinforcement-learning-based quantum architecture search (RL-QAS) builds circuits one gate at a time. Adding a legal gate determines the next circuit exactly, but evaluating its energy requires a costly variational quantum eigensolver (VQE) optimization. Here we introduce DreamQAS, a model-based reinforcement learning framework that learns from past VQE evaluations. DreamQAS applies the exact rules for adding gates and uses an ensemble to predict feedback at each step, allowing the policy to practise multi-step circuit construction without a new VQE optimization at every imagined step. Ensemble disagreement flags uncertain predictions, and selected circuits are verified by VQE. Across five molecular benchmarks, a matched counterpart without imagined training requires 1.5 to 3.4 times as many VQE optimizations as DreamQAS to reach the same task-specific energy-error targets. DreamQAS also achieves the lowest mean energy error among the compared RL-QAS methods on all five tasks under matched training-episode budgets. Controlled comparisons on two LiH tasks favour exact circuit transitions over learned transitions and show that predicted feedback is more effective for multi-step policy training than for the direct circuit selection schemes tested.
翻译:暂无翻译