用于卷积和基于窗口的图像处理应用的变分量子电路

IF 5.6 2区 物理与天体物理 Q1 PHYSICS, MULTIDISCIPLINARY Quantum Science and Technology Pub Date : 2023-07-03 DOI:10.1088/2058-9565/ace378
Hasan Yetiş, Mehmet Karaköse
{"title":"用于卷积和基于窗口的图像处理应用的变分量子电路","authors":"Hasan Yetiş, Mehmet Karaköse","doi":"10.1088/2058-9565/ace378","DOIUrl":null,"url":null,"abstract":"Quantum information processing is gaining popularity in the fields of machine learning and image processing because of its advantages. Quantum convolution is an interesting topic in this field, and studies on this topic can be divided into value-based and angle-based methods. Although quantum convolution studies on angle-based or variational quantum circuits (VQCs) is called convolution, the circuits work differently from classical convolution. In this study, contrary to the literature, the VQC was trained to imitate classical convolution. The differential evolution algorithm (DEA) was used to optimize the VQCs. The proposed method requires as many qubits as the filter size (N× N). The generated circuits contain N× N× 4 quantum gates and N× N × 3 trainable parameters. The generated circuits were tested in Python environment using Cirq simulator. The Cifar10 and MNIST datasets are used as examples. For 2 × 2 filters with different weights, the convolution was successfully modeled with a mean squared error of less than 0.001. In general, the proposed method imitates classic convolution within ±5% tolerance. In conclusion, VQCs that imitate classical convolution with fewer qubits and quantum gates than value-based methods were obtained.","PeriodicalId":20821,"journal":{"name":"Quantum Science and Technology","volume":"3 1","pages":""},"PeriodicalIF":5.6000,"publicationDate":"2023-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Variational quantum circuits for convolution and window-based image processing applications\",\"authors\":\"Hasan Yetiş, Mehmet Karaköse\",\"doi\":\"10.1088/2058-9565/ace378\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Quantum information processing is gaining popularity in the fields of machine learning and image processing because of its advantages. Quantum convolution is an interesting topic in this field, and studies on this topic can be divided into value-based and angle-based methods. Although quantum convolution studies on angle-based or variational quantum circuits (VQCs) is called convolution, the circuits work differently from classical convolution. In this study, contrary to the literature, the VQC was trained to imitate classical convolution. The differential evolution algorithm (DEA) was used to optimize the VQCs. The proposed method requires as many qubits as the filter size (N× N). The generated circuits contain N× N× 4 quantum gates and N× N × 3 trainable parameters. The generated circuits were tested in Python environment using Cirq simulator. The Cifar10 and MNIST datasets are used as examples. For 2 × 2 filters with different weights, the convolution was successfully modeled with a mean squared error of less than 0.001. In general, the proposed method imitates classic convolution within ±5% tolerance. In conclusion, VQCs that imitate classical convolution with fewer qubits and quantum gates than value-based methods were obtained.\",\"PeriodicalId\":20821,\"journal\":{\"name\":\"Quantum Science and Technology\",\"volume\":\"3 1\",\"pages\":\"\"},\"PeriodicalIF\":5.6000,\"publicationDate\":\"2023-07-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Quantum Science and Technology\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://doi.org/10.1088/2058-9565/ace378\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"PHYSICS, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Quantum Science and Technology","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1088/2058-9565/ace378","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"PHYSICS, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

量子信息处理由于其自身的优势,在机器学习和图像处理领域受到越来越多的关注。量子卷积是该领域的一个有趣课题,对该课题的研究可分为基于值的方法和基于角度的方法。虽然基于角度或变分量子电路(vqc)的量子卷积研究被称为卷积,但其工作原理与经典卷积不同。在本研究中,与文献相反,VQC被训练成模仿经典卷积。采用差分进化算法(DEA)对vqc进行优化。该方法需要与滤波器大小(N× N)相同数量的量子比特,生成的电路包含N× N× 4个量子门和N× N× 3个可训练参数。生成的电路在Python环境下使用Cirq模拟器进行了测试。以Cifar10和MNIST数据集为例。对于不同权重的2 × 2滤波器,成功地建立了卷积模型,均方误差小于0.001。一般来说,该方法在±5%的公差范围内模拟经典卷积。总之,与基于值的方法相比,vqc可以用更少的量子比特和量子门来模拟经典卷积。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Variational quantum circuits for convolution and window-based image processing applications
Quantum information processing is gaining popularity in the fields of machine learning and image processing because of its advantages. Quantum convolution is an interesting topic in this field, and studies on this topic can be divided into value-based and angle-based methods. Although quantum convolution studies on angle-based or variational quantum circuits (VQCs) is called convolution, the circuits work differently from classical convolution. In this study, contrary to the literature, the VQC was trained to imitate classical convolution. The differential evolution algorithm (DEA) was used to optimize the VQCs. The proposed method requires as many qubits as the filter size (N× N). The generated circuits contain N× N× 4 quantum gates and N× N × 3 trainable parameters. The generated circuits were tested in Python environment using Cirq simulator. The Cifar10 and MNIST datasets are used as examples. For 2 × 2 filters with different weights, the convolution was successfully modeled with a mean squared error of less than 0.001. In general, the proposed method imitates classic convolution within ±5% tolerance. In conclusion, VQCs that imitate classical convolution with fewer qubits and quantum gates than value-based methods were obtained.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Quantum Science and Technology
Quantum Science and Technology Materials Science-Materials Science (miscellaneous)
CiteScore
11.20
自引率
3.00%
发文量
133
期刊介绍: Driven by advances in technology and experimental capability, the last decade has seen the emergence of quantum technology: a new praxis for controlling the quantum world. It is now possible to engineer complex, multi-component systems that merge the once distinct fields of quantum optics and condensed matter physics. Quantum Science and Technology is a new multidisciplinary, electronic-only journal, devoted to publishing research of the highest quality and impact covering theoretical and experimental advances in the fundamental science and application of all quantum-enabled technologies.
期刊最新文献
Near-optimal quantum kernel principal component analysis Bayesian optimization for state engineering of quantum gases Ramsey interferometry of nuclear spins in diamond using stimulated Raman adiabatic passage Reducing measurement costs by recycling the Hessian in adaptive variational quantum algorithms Permutation-equivariant quantum convolutional neural networks
×
引用
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