Qandle:利用门矩阵缓存与电路分割加速态矢量模拟
Qandle: Accelerating State Vector Simulation Using Gate-Matrix Caching and Circuit Splitting
AI总结:
针对量子电路态矢量模拟计算复杂度高的问题,提出结合门矩阵缓存与电路分割技术,基于PyTorch实现的开源模拟器Qandle可兼容现有机器学习工作流与OpenQASM格式,性能优于同类PyTorch兼容量子态矢量模拟器。
摘要:
为解决量子电路态矢量模拟相关的计算复杂度问题,我们提出结合多种先进技术来加速电路执行。量子门矩阵缓存通过为每个门存储分解后的部分矩阵,减少了将门矩阵应用于态矢量时重复执行克罗内克积的开销。电路分割通过构建依赖图将电路划分为门数更少的子电路,从而支持在态矢量的不相交子集上并行或顺序执行。这些技术基于PyTorch机器学习框架实现。我们通过将所提方法与其他兼容PyTorch的量子态矢量模拟器进行对比,验证了其性能。我们的实现名为Qandle,旨在与现有机器学习工作流无缝集成,提供易用的API并兼容OpenQASM格式。Qandle是开源项目,托管于GitHub https://github.com/gstenzel/qandle 和PyPI https://pypi.org/project/qandle/ 。
英文摘要:
To address the computational complexity associated with state-vector simulation for quantum circuits, we propose a combination of advanced techniques to accelerate circuit execution. Quantum gate matrix caching reduces the overhead of repeated applications of the Kronecker product when applying a gate matrix to the state vector by storing decomposed partial matrices for each gate. Circuit splitting divides the circuit into sub-circuits with fewer gates by constructing a dependency graph, enabling parallel or sequential execution on disjoint subsets of the state vector. These techniques are implemented using the PyTorch machine learning framework. We demonstrate the performance of our approach by comparing it to other PyTorch-compatible quantum state-vector simulators. Our implementation, named Qandle, is designed to seamlessly integrate with existing machine learning workflows, providing a user-friendly API and compatibility with the OpenQASM format. Qandle is an open-source project hosted on GitHub https://github.com/gstenzel/qandle and PyPI https://pypi.org/project/qandle/ .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。