基于量子近似优化算法的最大剪切线性二进制分类器

IF 1.3 4区 物理与天体物理 Q3 PHYSICS, MULTIDISCIPLINARY International Journal of Theoretical Physics Pub Date : 2024-11-22 DOI:10.1007/s10773-024-05826-1
Jiaji Wang, Yuqi Wang, Xi Li, Shiming Liu, Junda Zhuang, Chao Qin
{"title":"基于量子近似优化算法的最大剪切线性二进制分类器","authors":"Jiaji Wang,&nbsp;Yuqi Wang,&nbsp;Xi Li,&nbsp;Shiming Liu,&nbsp;Junda Zhuang,&nbsp;Chao Qin","doi":"10.1007/s10773-024-05826-1","DOIUrl":null,"url":null,"abstract":"<div><p>The rapid development of quantum computing has opened up entirely new possibilities for the field of machine learning. However, for the implementation of many existing quantum classification algorithms, a large number of qubits and quantum circuits with high complexity are still required. To effectively solve this problem, the Quantum Approximate Optimization Algorithm (QAOA) arises as a promising solution due to its comparative advantages. In particular, it can be realized in the case of shallow quantum circuits and a finite small number of qubits. Along these lines, in this work, a Max-Cut linear binary classifier based on QAOA (QAOA-MaxCut-LBC) was proposed. First, the data set was constructed into an undirected weighted graph, and the binary classification task was transformed into a Max-Cut problem. Then, a Variational Quantum Circuit (VQC) was built by using QAOA, and the expected value of the target Hamiltonian was transformed into a loss function. Finally, the circuit parameters were iteratively updated to make the loss function converge. The computational basis state with the maximum probability was taken as the classification result after the measurement. In the experimental study, our algorithm was validated on various datasets and compared with classical linear classifiers. Our scheme can be flexibly adjusted for the number of qubits, possessing the potential to scale to multi-classification tasks. The source code is accessible at the URL: https://github.com/Dullne/QAOA-MaxCut-LBC.</p></div>","PeriodicalId":597,"journal":{"name":"International Journal of Theoretical Physics","volume":"63 11","pages":""},"PeriodicalIF":1.3000,"publicationDate":"2024-11-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Max-Cut Linear Binary Classifier Based on Quantum Approximate Optimization Algorithm\",\"authors\":\"Jiaji Wang,&nbsp;Yuqi Wang,&nbsp;Xi Li,&nbsp;Shiming Liu,&nbsp;Junda Zhuang,&nbsp;Chao Qin\",\"doi\":\"10.1007/s10773-024-05826-1\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>The rapid development of quantum computing has opened up entirely new possibilities for the field of machine learning. However, for the implementation of many existing quantum classification algorithms, a large number of qubits and quantum circuits with high complexity are still required. To effectively solve this problem, the Quantum Approximate Optimization Algorithm (QAOA) arises as a promising solution due to its comparative advantages. In particular, it can be realized in the case of shallow quantum circuits and a finite small number of qubits. Along these lines, in this work, a Max-Cut linear binary classifier based on QAOA (QAOA-MaxCut-LBC) was proposed. First, the data set was constructed into an undirected weighted graph, and the binary classification task was transformed into a Max-Cut problem. Then, a Variational Quantum Circuit (VQC) was built by using QAOA, and the expected value of the target Hamiltonian was transformed into a loss function. Finally, the circuit parameters were iteratively updated to make the loss function converge. The computational basis state with the maximum probability was taken as the classification result after the measurement. In the experimental study, our algorithm was validated on various datasets and compared with classical linear classifiers. Our scheme can be flexibly adjusted for the number of qubits, possessing the potential to scale to multi-classification tasks. The source code is accessible at the URL: https://github.com/Dullne/QAOA-MaxCut-LBC.</p></div>\",\"PeriodicalId\":597,\"journal\":{\"name\":\"International Journal of Theoretical Physics\",\"volume\":\"63 11\",\"pages\":\"\"},\"PeriodicalIF\":1.3000,\"publicationDate\":\"2024-11-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Theoretical Physics\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s10773-024-05826-1\",\"RegionNum\":4,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"PHYSICS, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Theoretical Physics","FirstCategoryId":"101","ListUrlMain":"https://link.springer.com/article/10.1007/s10773-024-05826-1","RegionNum":4,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"PHYSICS, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

量子计算的快速发展为机器学习领域带来了全新的可能性。然而,要实现许多现有的量子分类算法,仍然需要大量量子比特和高复杂度的量子电路。为了有效解决这一问题,量子近似优化算法(QAOA)因其比较优势而成为一种有前途的解决方案。特别是,它可以在浅量子电路和有限少量量子比特的情况下实现。因此,本研究提出了一种基于 QAOA 的 Max-Cut 线性二进制分类器(QAOA-MaxCut-LBC)。首先,将数据集构建为一个无向加权图,并将二进制分类任务转化为一个 Max-Cut 问题。然后,利用 QAOA 建立变分量子电路(VQC),并将目标哈密顿的期望值转化为损失函数。最后,对电路参数进行迭代更新,使损失函数收敛。测量结束后,将概率最大的计算基础状态作为分类结果。在实验研究中,我们的算法在各种数据集上得到了验证,并与经典线性分类器进行了比较。我们的方案可以根据量子比特的数量灵活调整,具有扩展到多分类任务的潜力。源代码可从以下网址获取:https://github.com/Dullne/QAOA-MaxCut-LBC。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Max-Cut Linear Binary Classifier Based on Quantum Approximate Optimization Algorithm

The rapid development of quantum computing has opened up entirely new possibilities for the field of machine learning. However, for the implementation of many existing quantum classification algorithms, a large number of qubits and quantum circuits with high complexity are still required. To effectively solve this problem, the Quantum Approximate Optimization Algorithm (QAOA) arises as a promising solution due to its comparative advantages. In particular, it can be realized in the case of shallow quantum circuits and a finite small number of qubits. Along these lines, in this work, a Max-Cut linear binary classifier based on QAOA (QAOA-MaxCut-LBC) was proposed. First, the data set was constructed into an undirected weighted graph, and the binary classification task was transformed into a Max-Cut problem. Then, a Variational Quantum Circuit (VQC) was built by using QAOA, and the expected value of the target Hamiltonian was transformed into a loss function. Finally, the circuit parameters were iteratively updated to make the loss function converge. The computational basis state with the maximum probability was taken as the classification result after the measurement. In the experimental study, our algorithm was validated on various datasets and compared with classical linear classifiers. Our scheme can be flexibly adjusted for the number of qubits, possessing the potential to scale to multi-classification tasks. The source code is accessible at the URL: https://github.com/Dullne/QAOA-MaxCut-LBC.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
2.50
自引率
21.40%
发文量
258
审稿时长
3.3 months
期刊介绍: International Journal of Theoretical Physics publishes original research and reviews in theoretical physics and neighboring fields. Dedicated to the unification of the latest physics research, this journal seeks to map the direction of future research by original work in traditional physics like general relativity, quantum theory with relativistic quantum field theory,as used in particle physics, and by fresh inquiry into quantum measurement theory, and other similarly fundamental areas, e.g. quantum geometry and quantum logic, etc.
期刊最新文献
Max-Cut Linear Binary Classifier Based on Quantum Approximate Optimization Algorithm Consequences of Gödel’s Theorems on Quantum Gravity Quantum Effects in a Second-Order Coupled Electro-Optomechanical System with Kerr Medium General Boundedness of Energy Exchange as Alternative to the Third Law of Thermodynamics Bifurcation, Chaotic Behavior and Effects of Noise on the Solitons for the Stochastic Jaulent-Miodek Hierarchy Model
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1