ID: quant-ph/9808061

Quantum Carry-Save Arithmetic

August 28, 1998

View on ArXiv
Phil Gossett
Quantum Physics

This paper shows how to design efficient arithmetic elements out of quantum gates using "carry-save" techniques borrowed from classical computer design. This allows bit-parallel evaluation of all the arithmetic elements required for Shor's algorithm, including modular arithmetic, deferring all carry propagation until the end of the entire computation. This reduces the quantum gate delay from O(N^3) to O(N log N) at a cost of increasing the number of qubits required from O(N) to O(N^2).

Similar papers 1

A Comprehensive Study of Quantum Arithmetic Circuits

June 6, 2024

89% Match
Siyi Wang, Xiufan Li, Wei Jie Bryan Lee, Suman Deb, ... , Chattopadhyay Anupam
Emerging Technologies

In recent decades, the field of quantum computing has experienced remarkable progress. This progress is marked by the superior performance of many quantum algorithms compared to their classical counterparts, with Shor's algorithm serving as a prominent illustration. Quantum arithmetic circuits, which are the fundamental building blocks in numerous quantum algorithms, have attracted much attention. Despite extensive exploration of various designs in the existing literature, re...

Find SimilarView on arXiv

An n-bit general implementation of Shor's quantum period-finding algorithm

December 22, 2016

88% Match
J. T. Davies, Christopher J. Rickerd, ... , Guney Durdu O.
Quantum Physics

The goal of this paper is to outline a general-purpose scalable implementation of Shor's period finding algorithm using fundamental quantum gates, and to act as a blueprint for linear optical implementations of Shor's algorithm for both general and specific values of N. This offers a broader view of a problem often overlooked in favour of compiled versions of the algorithm.

Find SimilarView on arXiv

Quantum Networks for Elementary Arithmetic Operations

November 16, 1995

88% Match
V. Vedral, A. Barenco, A. Ekert
Quantum Physics

Quantum computers require quantum arithmetic. We provide an explicit construction of quantum networks effecting basic arithmetic operations: from addition to modular exponentiation. Quantum modular exponentiation seems to be the most difficult (time and space consuming) part of Shor's quantum factorising algorithm. We show that the auxiliary memory required to perform this operation in a reversible way grows linearly with the size of the number to be factorised.

Find SimilarView on arXiv

Quantum implementation of elementary arithmetic operations

March 5, 2004

88% Match
G. Florio, D. Picca
Quantum Physics

Quantum computation has received great attention in recent years for its possible application to difficult problem in classical calculation. Despite the experimental problems of implementing quantum devices, theoretical physicists have tried to conceive some implementations for quantum algorithms. We present here some explicit schemes for executing elementary arithmetic operations.

Find SimilarView on arXiv

High Performance Quantum Modular Multipliers

January 3, 2018

88% Match
Rich Rines, Isaac Chuang
Emerging Technologies

We present a novel set of reversible modular multipliers applicable to quantum computing, derived from three classical techniques: 1) traditional integer division, 2) Montgomery residue arithmetic, and 3) Barrett reduction. Each multiplier computes an exact result for all binary input values, while maintaining the asymptotic resource complexity of a single (non-modular) integer multiplier. We additionally conduct an empirical resource analysis of our designs in order to deter...

Find SimilarView on arXiv

A logarithmic-depth quantum carry-lookahead adder

June 20, 2004

88% Match
Thomas G. Draper, Samuel A. Kutin, ... , Svore Krysta M.
Quantum Physics

We present an efficient addition circuit, borrowing techniques from the classical carry-lookahead arithmetic circuit. Our quantum carry-lookahead (QCLA) adder accepts two n-bit numbers and adds them in O(log n) depth using O(n) ancillary qubits. We present both in-place and out-of-place versions, as well as versions that add modulo 2^n and modulo 2^n - 1. Previously, the linear-depth ripple-carry addition circuit has been the method of choice. Our work reduces the cost of a...

Find SimilarView on arXiv

Factoring using 2n+2 qubits with Toffoli based modular multiplication

November 23, 2016

87% Match
Thomas Häner, Martin Roetteler, Krysta M. Svore
Emerging Technologies

We describe an implementation of Shor's quantum algorithm to factor n-bit integers using only 2n+2 qubits. In contrast to previous space-optimized implementations, ours features a purely Toffoli based modular multiplication circuit. The circuit depth and the overall gate count are in O(n^3) and O(n^3 log(n)), respectively. We thus achieve the same space and time costs as Takahashi et al., while using a purely classical modular multiplication circuit. As a consequence, our app...

Find SimilarView on arXiv

Optimal Toffoli-Depth Quantum Adder

May 4, 2024

87% Match
Siyi Wang, Suman Deb, ... , Chattopadhyay Anupam
Emerging Technologies

Efficient quantum arithmetic circuits are commonly found in numerous quantum algorithms of practical significance. Till date, the logarithmic-depth quantum adders includes a constant coefficient k >= 2 while achieving the Toffoli-Depth of klog n + O(1). In this work, 160 alternative compositions of the carry-propagation structure are comprehensively explored to determine the optimal depth structure for a quantum adder. By extensively studying these structures, it is shown tha...

Find SimilarView on arXiv

Modular Multiplication without Carry Propagation (Algorithm Description)

July 27, 2022

87% Match
Oleg Mazonka
Data Structures and Algorith...

This paper describes a sufficiently simple modular multiplication algorithm, which uses only carry-save addition with bit inspection Boolean logic and without number comparison or carry propagation.

Find SimilarView on arXiv

Fast Quantum Modular Exponentiation

August 1, 2004

87% Match
Meter R. Van, K. M. Itoh
Quantum Physics

We present a detailed analysis of the impact on modular exponentiation of architectural features and possible concurrent gate execution. Various arithmetic algorithms are evaluated for execution time, potential concurrency, and space tradeoffs. We find that, to exponentiate an n-bit number, for storage space 100n (twenty times the minimum 5n), we can execute modular exponentiation two hundred to seven hundred times faster than optimized versions of the basic algorithms, depen...

Find SimilarView on arXiv