Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

How to Build a Software Quantum Simulator

Version 1 : Received: 18 September 2024 / Approved: 19 September 2024 / Online: 19 September 2024 (10:54:27 CEST)

How to cite: Díaz, G. J.; Steffenel, L. A.; Barrios, C. J.; Couturier, J. F. How to Build a Software Quantum Simulator. Preprints 2024, 2024091497. https://doi.org/10.20944/preprints202409.1497.v1 Díaz, G. J.; Steffenel, L. A.; Barrios, C. J.; Couturier, J. F. How to Build a Software Quantum Simulator. Preprints 2024, 2024091497. https://doi.org/10.20944/preprints202409.1497.v1

Abstract

Software quantum simulators are the most accessible tools for designing and testing quantum algorithms. This paper presents a comprehensive approach to building a software-based quantum simulator based on classical computing architectures. We explore fundamental quantum computing concepts, including state vector representations, quantum gates, and memory management techniques. The simulator prototype implements various memory optimization strategies, such as full-state representation, dynamic state pruning, and shared memory parallelization with OpenMP and distributed memory models using MPI. Additionally, data compression techniques, like ZFP, are explored to enhance simulation performance by reducing memory footprint. The results are validated through performance comparisons with leading open-source quantum simulators, such as Intel-QS, QuEST, and qsim. Our findings highlight the trade-offs between computational overhead and memory efficiency. This demonstrates that a hybrid approach using distributed memory and compression offers the best scalability for simulating large quantum systems. This work provides a foundation for developing efficient quantum simulators supporting more complex quantum algorithms on classical hardware.

Keywords

Quantum Computing; High-Performance Computing; Parallel Computing

Subject

Computer Science and Mathematics, Computer Science

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.