QSimPy: A Learning-centric Simulation Framework for Quantum Cloud Resource Management (2405.01021v1)
Abstract: Quantum cloud computing is an emerging computing paradigm that allows seamless access to quantum hardware as cloud-based services. However, effective use of quantum resources is challenging and necessitates robust simulation frameworks for effective resource management design and evaluation. To address this need, we proposed QSimPy, a novel discrete-event simulation framework designed with the main focus of facilitating learning-centric approaches for quantum resource management problems in cloud environments. Underpinned by extensibility, compatibility, and reusability principles, QSimPy provides a lightweight simulation environment based on SimPy, a well-known Python-based simulation engine for modeling dynamics of quantum cloud resources and task operations. We integrate the Gymnasium environment into our framework to support the creation of simulated environments for developing and evaluating reinforcement learning-based techniques for optimizing quantum cloud resource management. The QSimPy framework encapsulates the operational intricacies of quantum cloud environments, supporting research in dynamic task allocation and optimization through DRL approaches. We also demonstrate the use of QSimPy in developing reinforcement learning policies for quantum task placement problems, demonstrating its potential as a useful framework for future quantum cloud research.
- M. Zinner, Dahlhausen, J. Ehlers, and Bieske, “Quantum computing’s potential for drug discovery: Early stage industry dynamics,” Drug Discovery Today, vol. 26, pp. 1680–1688, jul 2021.
- Y. Zhang and Q. Ni, “Recent advances in quantum machine learning,” Quantum Engineering, vol. 2, mar 2020.
- M. Lewis and F. Glover, “Quadratic unconstrained binary optimization problem preprocessing: Theory and empirical analysis,” Networks, vol. 70, p. 79–97, jun 2017.
- N. P. de Leon, K. M. Itoh, D. Kim, K. K. Mehta, T. E. Northup, H. Paik, B. S. Palmer, N. Samarth, S. Sangtawesin, and D. W. Steuerman, “Materials challenges and opportunities for quantum computing hardware,” Science, vol. 372, apr 2021.
- H. T. Nguyen, P. Krishnan, D. Krishnaswamy, M. Usman, and R. Buyya, “Quantum cloud computing: A review, open problems, and future directions,” 2024.
- Neumann, “Quantum cloud computing from a user perspective,” in Innovations for Community Services (Krieger, ed.), (Cham), pp. 236–249, Springer Nature Switzerland, 2023.
- G. S. Ravi, Smith, and F. T. Chong, “Adaptive job and resource management for the growing quantum cloud,” in 2021 IEEE International Conference on Quantum Computing and Engineering (QCE), (Broomfield, CO, USA), pp. 301–312, IEEE, oct 2021.
- Qiskit contributors, “Qiskit: An open-source framework for quantum computing,” 2023.
- H. T. Nguyen, M. Usman, and R. Buyya, “Qfaas: A serverless function-as-a-service framework for quantum computing,” Future Generation Computer Systems, vol. 154, p. 281–300, May 2024.
- J. Preskill, “Quantum computing in the NISQ era and beyond,” Quantum, vol. 2, p. 79, aug 2018.
- M. A. Serrano, Cruz-Lemus, and M. Piattini, “Quantum Software Components and Platforms: Overview and Quality Assessment,” ACM Computing Surveys, 2022.
- R. N. Calheiros, R. Ranjan, A. Beloglazov, C. A. F. De Rose, and R. Buyya, “Cloudsim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms,” Software: Practice and Experience, vol. 41, no. 1, pp. 23–50, 2011.
- H. T. Nguyen, M. Usman, and R. Buyya, “iQuantum: A toolkit for modeling and simulation of quantum computing environments,” Software: Practice and Experience, pp. 1–31, 2024.
- Py4J, “Py4j - a bridge between python and java.” https://www.py4j.org/, 2024. Accessed: 2024-04-19.
- S. van der Linde, W. de Kok, T. Bontekoe, and S. Feld, “qgym: A gym for training and benchmarking rl-based quantum compilation,” in 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), (Los Alamitos, CA, USA), pp. 26–30, IEEE Computer Society, sep 2023.
- Y. Fan and Z. Lan, “Dras-cqsim: A reinforcement learning based framework for hpc cluster scheduling,” Software Impacts, vol. 8, p. 100077, may 2021.
- S. N. Agos Jawaddi and A. Ismail, “Integrating openai gym and cloudsim plus: A simulation environment for drl agent training in energy-driven cloud scaling,” Simulation Modelling Practice and Theory, vol. 130, p. 102858, jan 2024.
- SimPy, “Simpy - discrete event simulation for python.” https://simpy.readthedocs.io/en/latest/, 2024. Accessed: 2024-01-02.
- A. W. Cross, L. S. Bishop, J. A. Smolin, and J. M. Gambetta, “Open quantum assembly language,” 2017.
- A. W. Cross, L. S. Bishop, S. Sheldon, P. D. Nation, and J. M. Gambetta, “Validating quantum computers using randomized model circuits,” Phys. Rev. A, vol. 100, p. 032328, Sep 2019.
- A. Wack, H. Paik, A. Javadi-Abhari, P. Jurcevic, I. Faro, J. M. Gambetta, and B. R. Johnson, “Quality, speed, and scale: three key attributes to measure the performance of near-term quantum computers,” 2021.
- London: Springer London, 2015.
- N. Quetschlich, L. Burgholzer, and R. Wille, “MQT Bench: Benchmarking software and design automation tools for quantum computing,” Quantum, 2023. MQT Bench is available at https://www.cda.cit.tum.de/mqtbench/.
- M. Towers, J. K. Terry, A. Kwiatkowski, J. U. Balis, G. d. Cola, T. Deleu, M. Goulão, A. Kallinteris, A. KG, M. Krimmel, R. Perez-Vicente, A. Pierré, S. Schulhoff, J. J. Tai, A. T. J. Shen, and O. G. Younis, “Gymnasium,” mar 2023.
- E. Liang, R. Liaw, R. Nishihara, P. Moritz, R. Fox, K. Goldberg, J. Gonzalez, M. Jordan, and I. Stoica, “RLlib: Abstractions for distributed reinforcement learning,” in Proceedings of the 35th International Conference on Machine Learning (J. Dy and A. Krause, eds.), vol. 80 of Proceedings of Machine Learning Research, pp. 3053–3062, PMLR, 10–15 Jul 2018.
- A. Raffin, A. Hill, A. Gleave, A. Kanervisto, M. Ernestus, and N. Dormann, “Stable-baselines3: Reliable reinforcement learning implementations,” Journal of Machine Learning Research, vol. 22, no. 268, pp. 1–8, 2021.
- J. Weng, H. Chen, D. Yan, K. You, A. Duburcq, M. Zhang, Y. Su, H. Su, and J. Zhu, “Tianshou: A highly modularized deep reinforcement learning library,” Journal of Machine Learning Research, vol. 23, no. 267, pp. 1–6, 2022.
- R. Liaw, E. Liang, R. Nishihara, P. Moritz, J. E. Gonzalez, and I. Stoica, “Tune: A research platform for distributed model selection and training,” 2018. Presented at the 2018 ICML AutoML workshop.
- IBM, “IBM Quantum Computing Services,” 2023.
- V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, S. Petersen, C. Beattie, A. Sadik, I. Antonoglou, H. King, D. Kumaran, D. Wierstra, S. Legg, and D. Hassabis, “Human-level control through deep reinforcement learning,” Nature, vol. 518, p. 529–533, feb 2015.