基于角度-振幅混合编码的量子神经网络及其应用研究

Quantum neural networks based on angle-amplitude mixed encoding and its applications

  • 摘要: 传统量子神经网络与自注意机制结合的模型需消耗较高的量子位资源,针对其在当前NISQ设备上运行效率低和设计复杂性高的问题,提出了一种混合编码方式,将数据集特征通过特定的方式嵌入到量子态中,从而实现角度编码与振幅编码的有效混合;基于此编码方法设计出一种结构独特的双环Ansatz,借鉴自注意机制中的分而治之思想,构建出具备更高表现力的量子神经网络。在鸢尾花分类任务中训练损失值收敛于0,证明模型有效捕捉到鸢尾花特征之间的内在联系;在文本分类任务中与已有方法相比,分类精确度平均提升了8.9%,且在保证效果良好的前提下,成功减少了训练参数的数量。基于角度-振幅混合编码的量子神经网络的轻量化和低复杂度特性使其更适用于当前的NISQ设备。

     

    Abstract: Models combining traditional quantum neural networks with the self-attention mechanism require a high consumption of qubit resources. In response to the issues of low operational efficiency and high design complexity on current NISQ devices, this paper proposes a mixed encoding method that embeds dataset features into quantum states in a specific manner, achieving an effective mix of angle encoding and amplitude encoding. Based on this encoding method, a unique double-ring Ansatz structure is designed, drawing on the divide-and-conquer strategy of the self-attention mechanism, to construct a quantum neural network with higher expressiveness. In the Iris classification task, the training loss converges to 0, proving that the model effectively captures the intrinsic relationships between the Iris features. In the text classification task, the classification accuracy improves by an average of 8.9% compared to existing methods, while also significantly reducing the number of training parameters without compromising performance. The lightweight and low-complexity characteristics of the quantum neural network based on angle-amplitude hybrid encoding make it more suitable for current NISQ devices.

     

/

返回文章
返回