Implementation of the Bernstein-Vazirani Quantum Algorithm Using the Qiskit Framework

A. Tudorache, V. Manta, S. Caraiman
{"title":"Implementation of the Bernstein-Vazirani Quantum Algorithm Using the Qiskit Framework","authors":"A. Tudorache, V. Manta, S. Caraiman","doi":"10.2478/bipie-2021-0009","DOIUrl":null,"url":null,"abstract":"Abstract This paper describes the basics of quantum computing and then focuses on the implementation of the Bernstein-Vazirani algorithm, which can be seen as an extension of the Deutsch-Josza problem (that solves the question on whether a function is balanced or not). The idea behind the B-V algorithm is that someone can find a secret number (sequence of bits) using only one measurement, unlike the classical counter-part, that requires n measurements, where n is the number of bits of the secret number. The implementation of this algorithm, using the Python programming language, along with the Qiskit framework (an open-source library for quantum operations from IBM), illustrates how to create and simulate a circuit for such an algorithm. The circuit is dynamically generated for the required number (which in practice is received from a different source) and is used to measure the probability of each qubit. The algorithm can also be extended for different types of data and can be used for signal or image processing, as well as applications in cryptography.","PeriodicalId":330949,"journal":{"name":"Bulletin of the Polytechnic Institute of Iași. Electrical Engineering, Power Engineering, Electronics Section","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Bulletin of the Polytechnic Institute of Iași. Electrical Engineering, Power Engineering, Electronics Section","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2478/bipie-2021-0009","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Abstract This paper describes the basics of quantum computing and then focuses on the implementation of the Bernstein-Vazirani algorithm, which can be seen as an extension of the Deutsch-Josza problem (that solves the question on whether a function is balanced or not). The idea behind the B-V algorithm is that someone can find a secret number (sequence of bits) using only one measurement, unlike the classical counter-part, that requires n measurements, where n is the number of bits of the secret number. The implementation of this algorithm, using the Python programming language, along with the Qiskit framework (an open-source library for quantum operations from IBM), illustrates how to create and simulate a circuit for such an algorithm. The circuit is dynamically generated for the required number (which in practice is received from a different source) and is used to measure the probability of each qubit. The algorithm can also be extended for different types of data and can be used for signal or image processing, as well as applications in cryptography.
使用Qiskit框架实现Bernstein-Vazirani量子算法
本文介绍了量子计算的基础知识,然后重点介绍了Bernstein-Vazirani算法的实现,该算法可以看作是Deutsch-Josza问题(解决函数是否平衡的问题)的扩展。B-V算法背后的思想是,某人可以只使用一次测量就找到一个秘密数(位序列),而不像经典的对应部分,需要n次测量,其中n是秘密数的位数。该算法的实现使用Python编程语言以及Qiskit框架(IBM用于量子操作的开源库),演示了如何为这种算法创建和模拟电路。电路是为所需的数字动态生成的(实际上是从不同的来源接收的),并用于测量每个量子位的概率。该算法还可以扩展到不同类型的数据,并可用于信号或图像处理,以及在密码学中的应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信