Halving the cost of quantum addition
We improve the number of T gates needed to perform an n-bit adder from $8n + O(1)$ to $4n + O(1)$. We do so via a "temporary logical-AND" construction which uses four T gates to store the logical-AND of two qubits into an ancilla and zero T gates to later erase the ancilla. This constructi...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften
2018-06-01
|
Series: | Quantum |
Online Access: | https://quantum-journal.org/papers/q-2018-06-18-74/pdf/ |
id |
doaj-7af50108803f4f65bc35d77e52af56ca |
---|---|
record_format |
Article |
spelling |
doaj-7af50108803f4f65bc35d77e52af56ca2020-11-24T21:27:49ZengVerein zur Förderung des Open Access Publizierens in den QuantenwissenschaftenQuantum2521-327X2018-06-0127410.22331/q-2018-06-18-7410.22331/q-2018-06-18-74Halving the cost of quantum additionCraig GidneyWe improve the number of T gates needed to perform an n-bit adder from $8n + O(1)$ to $4n + O(1)$. We do so via a "temporary logical-AND" construction which uses four T gates to store the logical-AND of two qubits into an ancilla and zero T gates to later erase the ancilla. This construction is equivalent to one by Jones, except that our framing makes it clear that the technique is far more widely applicable than previously realized. Temporary logical-ANDs can be applied to integer arithmetic, modular arithmetic, rotation synthesis, the quantum Fourier transform, Shor's algorithm, Grover oracles, and many other circuits. Because T gates dominate the cost of quantum computation based on the surface code, and temporary logical-ANDs are widely applicable, this represents a significant reduction in projected costs of quantum computation. In addition to our n-bit adder, we present an n-bit controlled adder circuit with T-count of $8n + O(1)$, a temporary adder that can be computed for the same cost as the normal adder but whose result can be kept until it is later uncomputed without using T gates, and discuss some other constructions whose T-count is improved by the temporary logical-AND.https://quantum-journal.org/papers/q-2018-06-18-74/pdf/ |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Craig Gidney |
spellingShingle |
Craig Gidney Halving the cost of quantum addition Quantum |
author_facet |
Craig Gidney |
author_sort |
Craig Gidney |
title |
Halving the cost of quantum addition |
title_short |
Halving the cost of quantum addition |
title_full |
Halving the cost of quantum addition |
title_fullStr |
Halving the cost of quantum addition |
title_full_unstemmed |
Halving the cost of quantum addition |
title_sort |
halving the cost of quantum addition |
publisher |
Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften |
series |
Quantum |
issn |
2521-327X |
publishDate |
2018-06-01 |
description |
We improve the number of T gates needed to perform an n-bit adder from $8n + O(1)$ to $4n + O(1)$. We do so via a "temporary logical-AND" construction which uses four T gates to store the logical-AND of two qubits into an ancilla and zero T gates to later erase the ancilla. This construction is equivalent to one by Jones, except that our framing makes it clear that the technique is far more widely applicable than previously realized. Temporary logical-ANDs can be applied to integer arithmetic, modular arithmetic, rotation synthesis, the quantum Fourier transform, Shor's algorithm, Grover oracles, and many other circuits. Because T gates dominate the cost of quantum computation based on the surface code, and temporary logical-ANDs are widely applicable, this represents a significant reduction in projected costs of quantum computation. In addition to our n-bit adder, we present an n-bit controlled adder circuit with T-count of $8n + O(1)$, a temporary adder that can be computed for the same cost as the normal adder but whose result can be kept until it is later uncomputed without using T gates, and discuss some other constructions whose T-count is improved by the temporary logical-AND. |
url |
https://quantum-journal.org/papers/q-2018-06-18-74/pdf/ |
work_keys_str_mv |
AT craiggidney halvingthecostofquantumaddition |
_version_ |
1725973184761561088 |