基于近似综合的量子神经网络知识提取
Knowledge Distillation in Quantum Neural Network using Approximate Synthesis
摘要:
最近关于量子神经网络(QNN)在特定机器学习(ML)任务中的潜在优势的断言引发了相当数量的应用研究人员的好奇心。参数化量子线路(PQC)是量子网络的主要组成部分,它由几层单量子比特旋转和多量子比特纠缠操作组成。特定ML任务的PQC层的最佳数量通常是未知的。更大的网络通常在无噪声模拟中提供更好的性能。但是,与较浅的网络相比,它在硬件上的性能可能较差。由于量子器件之间的噪声量不同,PQC的最佳深度可能会有很大差异。此外,由于编译开销,为PQC选择的门可能适用于一种类型的硬件,但不适用于另一种类型的硬件。这使得难以将QNN设计推广到宽范围的硬件和噪声水平。另一种方法是针对每个硬件构建和训练多个QNN模型,这可能是昂贵的。为了避免这些问题,我们引入了知识蒸馏的概念,QNN使用近似合成。所提出的方法将创建一个新的QNN网络,具有(i)减少的层数或(ii)不同的门集,而不必从头开始训练它。对新网络进行几个时期的训练,可以补偿逼近误差造成的损失。通过实证分析,我们证明了约71.4%的电路层减少,并仍然达到约16.2%的噪声下更好的精度。
英文摘要:
Recent assertions of a potential advantage of Quantum Neural Network (QNN) for specific Machine Learning (ML) tasks have sparked the curiosity of a sizable number of application researchers. The parameterized quantum circuit (PQC), a major building block of a QNN, consists of several layers of single-qubit rotations and multi-qubit entanglement operations. The optimum number of PQC layers for a particular ML task is generally unknown. A larger network often provides better performance in noiseless simulations. However, it may perform poorly on hardware compared to a shallower network. Because the amount of noise varies amongst quantum devices, the optimal depth of PQC can vary significantly. Additionally, the gates chosen for the PQC may be suitable for one type of hardware but not for another due to compilation overhead. This makes it difficult to generalize a QNN design to wide range of hardware and noise levels. An alternate approach is to build and train multiple QNN models targeted for each hardware which can be expensive. To circumvent these issues, we introduce the concept of knowledge distillation in QNN using approximate synthesis. The proposed approach will create a new QNN network with (i) a reduced number of layers or (ii) a different gate set without having to train it from scratch. Training the new network for a few epochs can compensate for the loss caused by approximation error. Through empirical analysis, we demonstrate ~71.4% reduction in circuit layers, and still achieve ~16.2% better accuracy under noise.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。