一句话:提出基于紧凑排序数组表示与可并行量子操作算法的稀疏态向量模拟器 qblaze,在多核上高效扩展。
经典模拟量子电路对量子算法开发、调试和测试至关重要。许多量子算法的不变量使态向量具有稀疏性,稀疏模拟器只处理非零振幅,可带来渐近加速;但如何将稀疏模拟扩展到现代多核架构仍不清楚。本文提出 qblaze,一个高度优化的稀疏态向量模拟器,采用紧凑的排序数组表示,并为所有量子操作设计了易于并行、可扩展的新算法。大量实验表明,qblaze 即使单线程也常比先前稀疏模拟器快数个数量级,并能良好扩展到大量 CPU 核心,从而将量子算法测试扩展到此前无法达到的输入规模。
Classical simulation of quantum circuits is critical for the development of implementations of quantum algorithms: it does not require access to specialized hardware, facilitates debugging by allowing direct access to the quantum state, and is the only way to test on inputs that are too big for current NISQ computers. Many quantum algorithms rely on invariants that result in sparsity in the state vector. A sparse state vector simulator only computes with non-zero amplitudes. For important classes of algorithms, this results in an asymptotic improvement in simulation time. While promising prior work has investigated ways to exploit sparsity, it is still unclear what is the best way to scale sparse simulation to modern multi-core architectures. In this work, we address this challenge and present qblaze , a highly optimized sparse state vector simulator based on (i) a compact sorted array representation, and (ii) new, easily parallelizable and highly-scalable algorithms for all quantum operations. Our extensive experimental evaluation shows that qblaze is often orders-of-magnitude more efficient than prior sparse state vector simulators even on a single thread, and also that qblaze scales well to a large number of CPU cores. Overall, our work enables testing quantum algorithms on input sizes that were previously out of reach.
@article{paperbot2910,
title = {qblaze: An Efficient and Scalable Sparse Quantum Simulator},
author = {Hristo Venev and Thien Udomsrirungruang and Dimitar Dimitrov and Timon Gehr and Martin Vechev},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {OOPSLA2},
year = {2025},
doi = {10.1145/3763066}
}