Mera: Memory Reduction and Acceleration for Quantum Circuit Simulation via Redundancy Exploration
With the development of quantum computing, quantum processor demonstrates the potential supremacy in specific applications, such as Grover's database search and popular quantum neural networks (QNNs). For better calibrating the quantum algorithms and machines, quantum circuit simulation on classical computers becomes crucial. However, as the number of quantum bits (qubits) increases, the memory requirement grows exponentially. In order to reduce memory usage and accelerate simulation, we propose a multi-level optimization, namely Mera, by exploring memory and computation redundancy. First, for a large number of sparse quantum gates, we propose two compressed structures for low-level full-state simulation. The corresponding gate operations are designed for practical implementations, which are relieved from the longtime compression and decompression. Second, for the dense Hadamard gate, which is definitely used to construct the superposition, we design a customized structure for significant memory saving as a regularity-oriented simulation. Meanwhile, an ondemand amplitude updating process is optimized for execution acceleration. Experiments show that our compressed structures increase the number of qubits from 17 to 35, and achieve up to <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$6.9 \times$</tex> acceleration for QNN.
Authors
- Qingfeng Zhuge (ORCID: https://orcid.org/0000-0002-1107-3470)
- Yuhong Song (ORCID: https://orcid.org/0000-0002-4310-2766)
- Edwin H.‐M. Sha (ORCID: https://orcid.org/0000-0001-5605-5631)
- Longshan Xu (ORCID: https://orcid.org/0000-0001-7759-7683)
- Zili Shao (ORCID: https://orcid.org/0000-0002-2173-2847)
Institutions
- Chinese University of Hong Kong (HK)
- East China Normal University (CN)
Publication Details
- Published
- 2024-11-18
- DOI
- https://doi.org/10.1109/iccd63220.2024.00087
- Citations
- 2
- Primary Topic
- Advancements in Semiconductor Devices and Circuit Design
- Type
- article
- Field-Weighted Citation Impact
- 0.42
Funders
- National Natural Science Foundation of China