HackerPapers

arXiv:1709.06648quant-ph

Halving the cost of quantum addition

Craig Gidney

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

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.

arXiv comments
6 pages, 5 figures
Journal reference
DOI
doi:10.22331/q-2018-06-18-74
Subjects
quant-phQuantum Physics

On Hacker News

Linked by 1 identifiable commenter in 5 comments across 5 threads, from Nov 2017 to Dec 2024.

Comments linking this paper, per year.

Discussed in comments5 threads

    • There are two major issues with the paper you linked. First, it says if you can't do accurate rotations then you can't factor. But the premise is false. Quantum error correction allows you to do arbitrarily accurate rotations. Specifically, you can achieve arbitrarily accurate…

      StrilancView on HNParent context

  1. What Is Analog Computing? 1 comment
    • No, that's not true at all. For example, a chemistry simulation can be done in first quantization; where the state is a list of superposed 2s-complement integers indicating the positions of the electrons (as opposed to a more direct one-qubit=one-position mapping). And the list…

      StrilancView on HNParent context

    • > Shor's algorithm requires not only the logical qubit to be stable (the superposition of 1 and 0, but also the phase [..] to be noise free to an extraordinary degree. There are rotations in very small angles many, many times in the computation. This is wrong. Those rotations…

      StrilancView on HNParent context

    • For superconducting qubits, without error correction, each operation takes tens of nanoseconds. With error correction... it depends how many spare qubits you have. All the non-trivial operations are done by "magic state distillation", where you produce special states in one part…

      StrilancView on HNParent context

  2. Magic Paper 1 comment
    • > An interesting project would be to create a single environment which can be used for both education and research. This does happen sometimes, by accident. I wrote Quirk [1] as an educational tool for learning about quantum circuits. But then I started finding it useful as a…

      StrilancView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.