arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.18052quant-ph
收藏

门控层次与向量化分析:近-term量子控制的李纳布主方程模拟

Hardware-Aware Performance Characterization of Small Dense Lindblad Propagation for Near-Term Quantum Control

Embry-Riddle Aeronautical University(艾姆伯里-瑞德尔航空大学)

Rylan Malarchick

AI总结:

本文分析了近-term量子控制中李纳布主方程模拟的门控层次与向量化性能,探讨了编译器标志和数据布局对计算效率的影响,提出了优化建议。

摘要:

通过李纳布主方程模拟开放量子系统是近-term量子控制工作流中的计算瓶颈,包括最优脉冲工程(GRAPE)、轨迹基于的鲁棒性分析和反馈控制器设计。对于与近-term量子控制相关的系统规模(单transmon漏泄时d=3,双量子位时d=9,三量子位时d=27),每个时间步的主导成本是一个(d²×d²)复数矩阵-向量乘法:分别对应9×9、81×81或729×729的密集矩阵-向量乘法。工作集大小(1.5 KB、105 KB和8.1 MB)跨越了现代CPU的L1、L2和L3缓存边界,使其成为分析缓存层次性能的理想系统。我们表征了算术强度(在大d极限下约为1/2 FLOP/byte),构建了传播内核的Roofline模型,并系统地调整编译器标志和数据布局以隔离自动向量化、融合乘加和结构化数组(SoA)内存布局的贡献。我们显示,SoA布局结合-O3 -march=native -ffast-math标志可使标量数组-结构基线提升2-4倍,且-ffast-math对于启用GCC自动向量化复数运算至关重要。这些结果为面向近-term系统规模的量子模拟库作者提供了具体的优化建议。

英文摘要:

Dense Lindblad propagation at the Hilbert-space sizes of near-term transmon control ($d = 3$, $9$, $27$) sits in a regime where cache boundaries, launch overhead, and fixed latency decide which hardware is useful, not peak arithmetic rate. This paper characterizes that regime on two x86 CPUs, two NVIDIA GPUs, and a low-cost FPGA. Each implementation is stated as an algorithm in $d$ with an idealized cost built from separately measured ceilings, and the measured gaps are attributed to specific mechanisms: thread fork/join, the strided read of the propagator, PCI Express (PCIe) transfers, and propagator re-upload. An end-to-end gradient-ascent (GRAPE-style) benchmark against released QuTiP 5.2.3 shows that fast propagation does not imply fast control optimization: the C path wins by up to two orders of magnitude at $d = 3$ but loses at $d = 27$, where the dense LU solve inside the Padé propagator build takes over $90\%$ of the cost. The FPGA contributes a deterministic-latency operating point, $95$ cycles per step at a stress-characterized $108$ MHz with zero cycle spread over $1000$ trials, and its Q1.15 fixed-point drift is measured on the device. The results are a map of operating regimes for the measured grid, with the propagator build, not propagation, as the dominant cost at the largest size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑