Quantum computing promises to execute some tasks exponentially faster than classical computers. Quantum compilation, which transforms algorithms into executable quantum circuits, involves solving the initial mapping problem, crucial for optimizing qubit assignment and minimizing
...
Quantum computing promises to execute some tasks exponentially faster than classical computers. Quantum compilation, which transforms algorithms into executable quantum circuits, involves solving the initial mapping problem, crucial for optimizing qubit assignment and minimizing gate error rates. This study explores Deep Reinforcement Learning (DRL) for initial mapping across various qubit topologies, considering fixed gate error rates. Previous DRL approaches have succeeded but didn’t account for fixed error rates, used only one algorithm (PPO), and focused on a single topology with 20 qubits. The trial-and-error nature of Reinforcement Learning makes it ideal for initial mapping. DRL agents, using multiple policy gradient algorithms (A2C, PPO with and without action masking, and TRPO), compute high-quality mappings for small- and medium-scale quantum architectures. While effective, their efficiency decreases with larger systems, necessitating further optimization. Fine-tuning hyperparameters and action masking prevent illegal actions and enhance accuracy. Although currently not surpassing tools like Qiskit or achieving scalability for larger systems, this study highlights DRL’s potential for initial mapping in quantum computing, encouraging further innovation and refinement.