{"title":"Quantum Circuit Based on Grover’s Algorithm to Solve Exact Cover Problem","authors":"Jehn-Ruey Jiang, Yu-Jie Wang","doi":"10.1109/APWCS60142.2023.10234054","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a quantum circuit based on Grover’s algorithm to solve the exact cover problem (ECP), which is NP-hard. A novel controlled counter is designed and used to implement the ECP oracle to check if every element is covered by a set exactly once. If so, a feasible solution is found. The phase of the qubit state representing a feasible solution is flipped by calling the oracle, and the state’s amplitude is amplified through the diffusion operator o($\\sqrt{2^{n}}$) times, where n is the number of sets given in the ECP. Thanks to Grover’s algorithm, the proposed quantum circuit achieves quadratic speedup compared with the classical algorithm that needs to call the oracle O($2^{n}$) times. To validate our approach, we execute the proposed quantum circuit using the IBM Quantum Lab service.","PeriodicalId":375211,"journal":{"name":"2023 VTS Asia Pacific Wireless Communications Symposium (APWCS)","volume":"42 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 VTS Asia Pacific Wireless Communications Symposium (APWCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/APWCS60142.2023.10234054","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we propose a quantum circuit based on Grover’s algorithm to solve the exact cover problem (ECP), which is NP-hard. A novel controlled counter is designed and used to implement the ECP oracle to check if every element is covered by a set exactly once. If so, a feasible solution is found. The phase of the qubit state representing a feasible solution is flipped by calling the oracle, and the state’s amplitude is amplified through the diffusion operator o($\sqrt{2^{n}}$) times, where n is the number of sets given in the ECP. Thanks to Grover’s algorithm, the proposed quantum circuit achieves quadratic speedup compared with the classical algorithm that needs to call the oracle O($2^{n}$) times. To validate our approach, we execute the proposed quantum circuit using the IBM Quantum Lab service.