An Improved QFT-Based Quantum Comparator and Extended Modular Arithmetic Using One Ancilla Qubit

Quantum comparators and modular arithmetic are fundamental in many quantum algorithms. Current research mainly focuses on operations between two quantum states. However, various applications, such as integer factorization, optimization, option pricing, and risk analysis, commonly require one of the...

Full description

Saved in:
Bibliographic Details
Main Authors Yuan, Yewei, Wang, Chao, Wang, Bei, Chen, Zhao-Yun, Dou, Meng-Han, Wu, Yu-Chun, Guo, Guo-Ping
Format Journal Article
LanguageEnglish
Published 15.05.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Quantum comparators and modular arithmetic are fundamental in many quantum algorithms. Current research mainly focuses on operations between two quantum states. However, various applications, such as integer factorization, optimization, option pricing, and risk analysis, commonly require one of the inputs to be classical. It requires many ancillary qubits, especially when subsequent computations are involved. In this paper, we propose a quantum-classical comparator based on the quantum Fourier transform (QFT). Then we extend it to compare two quantum integers and modular arithmetic. Proposed operators only require one ancilla qubit, which is optimal for qubit resources. We analyze limitations in the current modular addition circuit and develop it to process arbitrary quantum states in the entire $n$-qubit space. The proposed algorithms reduce computing resources and make them valuable for Noisy Intermediate-Scale Quantum (NISQ) computers.
DOI:10.48550/arxiv.2305.09106