在HPC平台上使用PennyLane Lightning进行混合量子编程
Hybrid quantum programming with PennyLane Lightning on HPC platforms
AI总结:
该研究推出PennyLane的Lightning高性能态矢量模拟器套件,支持多种架构,通过多项优化提升性能,可在单节点模拟30量子比特、多节点模拟41量子比特,在部分场景性能优于同类工具。
摘要:
我们推出PennyLane的Lightning套件,这是一套面向CPU、GPU以及HPC原生架构和工作负载的高性能态矢量模拟器。我们实现了QAOA(量子近似优化算法)、VQE(变分量子本征求解器)等量子应用以及合成工作负载,以展示其支持的经典计算架构,并说明使用我们的工具可模拟的问题规模。我们在支持CPU、NVidia和AMD GPU的后端上对Lightning的性能进行基准测试,并将结果与其他常用的高性能模拟器包进行比较,阐明Lightning的实现具备性能领先优势的场景。我们通过采用显式SIMD intrinsics和多线程提升了CPU性能,实现了跨多GPU的基于批处理的任务执行,以及跨多节点的分布式前向和基于梯度的量子电路执行。我们的数据显示,该工具可轻松模拟多种电路,例如在单个设备或节点上可模拟多达30个量子比特,使用多节点时可模拟多达41个量子比特。
英文摘要:
We introduce PennyLane's Lightning suite, a collection of high-performance state-vector simulators targeting CPU, GPU, and HPC-native architectures and workloads. Quantum applications such as QAOA, VQE, and synthetic workloads are implemented to demonstrate the supported classical computing architectures and showcase the scale of problems that can be simulated using our tooling. We benchmark the performance of Lightning with backends supporting CPUs, as well as NVidia and AMD GPUs, and compare the results to other commonly used high-performance simulator packages, demonstrating where Lightning's implementations give performance leads. We show improved CPU performance by employing explicit SIMD intrinsics and multi-threading, batched task-based execution across multiple GPUs, and distributed forward and gradient-based quantum circuit executions across multiple nodes. Our data shows we can comfortably simulate a variety of circuits, giving examples with up to 30 qubits on a single device or node, and up to 41 qubits using multiple nodes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。