arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.07719quant-phcs.AIcs.DCcs.LG
收藏

用于分类的可扩展量子神经网络

Scalable Quantum Neural Networks for Classification

William & Mary(威廉与玛丽学院)

Jindi Wu, Zeyi Tao, Qun Li

摘要:

许多最近的机器学习任务求助于量子计算,通过利用量子力学来提高分类精度和训练效率,称为量子机器学习(QML)。变分量子线路(VQC)常被用来构造量子神经网络(QNN),它是传统神经网络的一种对应形式。然而,由于硬件的限制,目前的量子设备只允许使用很少的量子比特来表示数据并执行简单的量子计算。单个量子器件上有限的量子资源降低了数据使用率,限制了量子线路的规模,在一定程度上阻碍了量子优势的发挥。为了缓解这一限制,我们提出了一种方法来实现一个可扩展的量子神经网络(SQNN),通过利用多个小尺寸的量子设备的量子资源合作。在SQNN系统中,几个量子设备被用作量子特征提取器,并行地从输入实例中提取局部特征,并且量子设备用作量子预测器,对通过经典通信信道收集的局部特征执行预测。SQNN系统中的量子特征提取器彼此独立,因此可以灵活地使用不同大小的量子设备,较大的量子设备提取更多的局部特征。特别地,SQNN可以以模块化方式在单个量子设备上执行。我们的工作是探索性的,并使用TensorFlow Quantum库在量子系统模拟器上进行。该评估对MNIST数据集进行了二进制分类。它表明,SQNN模型实现了可比的分类精度相同规模的常规QNN模型。此外,它表明,更多的量子资源的SQNN模型可以显着提高分类精度。

英文摘要:

Many recent machine learning tasks resort to quantum computing to improve classification accuracy and training efficiency by taking advantage of quantum mechanics, known as quantum machine learning (QML). The variational quantum circuit (VQC) is frequently utilized to build a quantum neural network (QNN), which is a counterpart to the conventional neural network. Due to hardware limitations, however, current quantum devices only allow one to use few qubits to represent data and perform simple quantum computations. The limited quantum resource on a single quantum device degrades the data usage and limits the scale of the quantum circuits, preventing quantum advantage to some extent. To alleviate this constraint, we propose an approach to implementing a scalable quantum neural network (SQNN) by utilizing the quantum resource of multiple small-size quantum devices cooperatively. In an SQNN system, several quantum devices are used as quantum feature extractors, extracting local features from an input instance in parallel, and a quantum device works as a quantum predictor, performing prediction over the local features collected through classical communication channels. The quantum feature extractors in the SQNN system are independent of each other, so one can flexibly use quantum devices of varying sizes, with larger quantum devices extracting more local features. Especially, the SQNN can be performed on a single quantum device in a modular fashion. Our work is exploratory and carried out on a quantum system simulator using the TensorFlow Quantum library. The evaluation conducts a binary classification on the MNIST dataset. It shows that the SQNN model achieves a comparable classification accuracy to a regular QNN model of the same scale. Furthermore, it demonstrates that the SQNN model with more quantum resources can significantly improve classification accuracy.

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

↑