arXiv:2506.04891quant-phcs.ET2025-06被引 4

针对量子机器学习电路设计了高效仿真器,速度最快提升10倍。

TQml Simulator: optimized simulation of quantum machine learning

  • 按门层特性动态选择最优仿真方法
  • 在不同量子比特数下性能比默认模拟器快10倍
  • 适合研究量子机器学习算法的开发者和实验者

量子机器学习中常用的硬件高效电路通常由交替的均匀门层构成。高速数值模拟器对推动该领域研究至关重要。本文系统评估了通用与特定门类型的模拟技术在作用于量子态向量时的性能,旨在加速量子机器学习算法的整体仿真。分析表明,每层门的最佳模拟方法取决于量子比特数量,且结合多种技术可显著提升电路前向与反向传播效率。基于此,我们开发了名为TQml Simulator的数值模拟器,能为给定电路中的每一层自动选择最高效的模拟方法。我们在采用标准门集(如旋转门和CNOT门)以及IonQ和IBM量子处理器的原生门构建的电路上测试了该模拟器。在多数情况下,其性能比Pennylane的default.qubit模拟器高出1至10倍,具体提升幅度受电路结构、量子比特数、输入数据批量大小及硬件平台影响。

原文摘要 · Abstract (English)

Hardware-efficient circuits employed in Quantum Machine Learning are typically composed of alternating layers of uniformly applied gates. High-speed numerical simulators for such circuits are crucial for advancing research in this field. In this work, we numerically benchmark universal and gate-specific techniques for simulating the action of layers of gates on quantum state vectors, aiming to accelerate the overall simulation of Quantum Machine Learning algorithms. Our analysis shows that the optimal simulation method for a given layer of gates depends on the number of qubits involved, and that a tailored combination of techniques can yield substantial performance gains in the forward and backward passes for a given circuit. Building on these insights, we developed a numerical simulator, named TQml Simulator, that employs the most efficient simulation method for each layer in a given circuit. We evaluated TQml Simulator on circuits constructed from standard gate sets, such as rotations and CNOTs, as well as on native gates from IonQ and IBM quantum processing units. In most cases, our simulator outperforms equivalent Pennylane's default.qubit simulator by up to a factor of 10, depending on the circuit, the number of qubits, the batch size of the input data, and the hardware used.

量子计算机器学习模拟器门优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。