[Paper Review] Approximate encoded permutations and piecewise quantum adders
This paper introduces approximate encoded permutations and oblivious carry runways to construct quantum adders with reduced spacetime volume and asymptotic depth of $O(\lg\lg n)$. By allowing controlled errors in carry propagation through encoded representations, the method achieves lower resource costs than prior approaches while maintaining trace distance bounds of $2\sqrt{\epsilon}$ for deviation $\epsilon$, making it highly efficient for Shor’s algorithm-scale computations.
We present a paradigm for constructing approximate quantum circuits from reversible classical circuits that operate on many possible encodings of an input and send almost all encodings of that input to an encoding of the correct output. We introduce oblivious carry runways, which use piecewise addition circuits to perform approximate encoded additions and reduce the asymptotic depth of addition to $O(\lg \lg n)$. We show that the coset representation of modular integers (Zalka 2006) is an approximate encoded modular addition, and that it can be used in combination with oblivious carry runways. We prove error bounds on these approximate representations, and use them to construct 2s-complement adders and modular adders with lower costs than in previous work at register sizes relevant in practice.
Motivation & Objective
- To formalize Zalka’s notion of algorithmic error into a rigorous framework for approximate quantum circuits with provable error bounds.
- To reduce the spacetime volume and measurement depth of quantum adders by exploiting approximate representations of addition that tolerate truncated carry propagation.
- To demonstrate that approximate adders using oblivious carry runways achieve $O(\lg\lg n)$ depth, significantly improving over previous $O(\lg n)$ designs.
- To show that combining oblivious carry runways with the coset representation of modular integers enables efficient modular addition with lower resource costs.
- To provide error bounds via the concept of deviation in approximate encoded permutations, linking deviation $\epsilon$ to a maximum trace distance of $2\sqrt{\epsilon}$.
Proposed method
- Proposes the concept of an approximate encoded permutation, where a desired unitary $u$ is implemented via a cheaper permutation $v$ on an encoded space with multiple possible encodings per input.
- Defines deviation as the maximum fraction of coset values that map inputs to incorrect output encodings, and proves that deviation $\epsilon$ implies a trace distance of at most $2\sqrt{\epsilon}$.
- Introduces oblivious carry runways—piecewise addition circuits that simulate approximate addition by truncating carry propagation beyond a runway length, with deviation $2^{-m}$ for runway length $m$.
- Applies the coset representation of modular integers (Zalka, 2006) as an approximate encoded permutation for modular addition with deviation $2^{-m}$, where $m$ is the number of padding bits.
- Uses a cost model based on Toffoli count, duration (from measurement depth and control overhead), and ancilla usage to compute spacetime volume, amortized over $n^2$ additions.
- Employs time-optimal computation and a CCZ factory model with 50% routing/Clifford overhead and code distance 31 to estimate practical resource usage.
Experimental results
Research questions
- RQ1Can algorithmic error—neglecting rare carry propagation—be formalized into a provably bounded approximation framework for quantum circuits?
- RQ2What is the trace distance between the output of an approximate encoded permutation and the ideal unitary, given a deviation $\epsilon$?
- RQ3Can piecewise addition via oblivious carry runways reduce the depth of quantum adders to $O(\lg\lg n)$ while maintaining acceptable error?
- RQ4How does the combination of oblivious carry runways and the coset representation of modular integers compare to traditional modular adder constructions in terms of spacetime volume?
- RQ5At sizes relevant to Shor’s algorithm, do approximate adders with bounded error achieve lower resource costs than existing designs?
Key findings
- The trace distance between the output of an approximate encoded permutation and the ideal unitary is at most $2\sqrt{\epsilon}$, where $\epsilon$ is the deviation.
- Deviation is subadditive under composition and concatenation, enabling modular construction of complex circuits with bounded error.
- Oblivious carry runways achieve an asymptotic depth of $O(\lg\lg n)$ for addition, significantly improving over the $O(\lg n)$ depth of unencoded carry-lookahead adders.
- For register sizes relevant to Shor’s algorithm, approximate adders with runways placed every 256 or 512 bits achieve the lowest spacetime volume among tested designs.
- Modular adders using the coset representation with oblivious carry runways outperform constructions based on repeated non-modular adders and comparisons, especially at larger sizes.
- The method reduces ancilla and Toffoli resource usage by eliminating the need for uncomputation of padding registers, as demonstrated in applications like Karatsuba multiplication.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.