[Paper Review] Memory-Efficient Quantum Circuit Simulation by Using Lossy Data Compression
This paper proposes a memory-efficient quantum circuit simulation framework that uses lossy data compression to reduce the exponential memory growth in simulating large-scale quantum circuits. By applying the SZ lossy compressor to state vector slices with error bounds and normalization, the method achieves up to 445,144× compression for Grover’s search, enabling simulation of 63-qubit systems with 0.8 petabytes of memory—extending beyond the prior 49-qubit limit.
In order to evaluate, validate, and refine the design of new quantum algorithms or quantum computers, researchers and developers need methods to assess their correctness and fidelity. This requires the capabilities of quantum circuit simulations. However, the number of quantum state amplitudes increases exponentially with the number of qubits, leading to the exponential growth of the memory requirement for the simulations. In this work, we present our memory-efficient quantum circuit simulation by using lossy data compression. Our empirical data shows that we reduce the memory requirement to 16.5% and 2.24E-06 of the original requirement for QFT and Grover's search, respectively. This finding further suggests that we can simulate deep quantum circuits up to 63 qubits with 0.8 petabytes memory.
Motivation & Objective
- To overcome the exponential memory growth in full-amplitude-vector quantum circuit simulations that limits simulation to ~49 qubits.
- To enable simulation of deeper and larger quantum circuits by trading computation time for memory space.
- To evaluate the feasibility of using lossy compression with controlled error bounds to maintain simulation fidelity.
- To extend the scalability of quantum circuit simulation beyond the current memory-capacity limits on classical HPC systems.
- To validate the approach on representative quantum algorithms like QFT and Grover’s search, assessing fidelity, compression ratio, and performance overhead.
Proposed method
- The quantum state vector is partitioned into slices, each compressed using the SZ lossy compressor with a user-defined error bound (1% per amplitude).
- During simulation, each slice is decompressed, normalized to maintain unitarity, and processed with quantum gate operations before being recompressed.
- Normalization is applied after decompression to mitigate error propagation from lossy compression.
- The framework integrates with Intel-QS, a distributed HPC quantum simulator, using MPI for parallel processing of multiple slices.
- The compression ratio and fidelity are dynamically monitored to ensure acceptable simulation accuracy under memory constraints.
- The approach allows trade-offs between fidelity and compression ratio, enabling higher compression for algorithms with similar amplitude values.
Experimental results
Research questions
- RQ1Can lossy data compression significantly reduce memory requirements in full-amplitude-vector quantum circuit simulations without sacrificing simulation fidelity?
- RQ2What is the achievable compression ratio and performance overhead for standard quantum algorithms like QFT and Grover’s search under controlled error bounds?
- RQ3How does the compression ratio scale with circuit depth and qubit count, and what is the maximum number of additional qubits that can be simulated with a fixed memory budget?
- RQ4Can the error introduced by lossy compression be bounded and correlated with physical noise in real quantum systems?
- RQ5To what extent can this method extend the simulation capability beyond the current 49-qubit threshold on existing HPC systems?
Key findings
- For the 30-qubit Quantum Fourier Transform (QFT), the method achieved a minimum compression ratio of 6× and 98% fidelity, enabling simulation of 2 additional qubits with the same memory capacity.
- For Grover’s search algorithm on 30 qubits, the method achieved a remarkable compression ratio of 445,144× with 99.75% fidelity, allowing simulation of up to 63 qubits with 0.8 petabytes of memory.
- The performance overhead was 19× for QFT30 and 19× for Grover’s search, indicating that the computational cost is manageable given the substantial memory savings.
- The compression ratio increases significantly for algorithms with highly correlated or uniform amplitude values, such as Grover’s search, due to favorable data characteristics for lossy compression.
- The results suggest that with 0.8 petabytes of memory, the method enables simulation of 63-qubit systems—demonstrating a 14-qubit extension beyond the prior 49-qubit limit.
- The trend indicates that larger simulations may see lower relative performance overhead due to the fixed cost of compression/decompression being amortized over larger data sets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.