Quantum CORDIC -- Arcsine on a Budget
Pith reviewed 2026-05-23 17:57 UTC · model grok-4.3
The pith
A reversible quantum CORDIC algorithm computes the arcsine function using O(n) qubits for n-bit precision.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The authors detail multiple approaches to calculate the arcsine function reversibly with CORDIC, establishing that for n bits of precision the method requires order n qubits, order n log n layers, and order n squared CNOTs while avoiding non-reversible operations.
What carries the argument
The reversible CORDIC iteration adapted for quantum circuits, which uses bit shifts and additions implemented reversibly to approximate trigonometric functions.
If this is right
- Provides a required step for the Harrow-Hassidim-Lloyd algorithm.
- Supports quantum digital-to-analog conversion.
- Simplifies quantum speed-ups for Monte-Carlo methods.
- Enables direct applications in quantum estimation of Shapley values.
Where Pith is reading between the lines
- Similar reversible adaptations could apply to other elementary functions computable by CORDIC such as arctangent or square root.
- The stated bounds allow direct substitution into larger quantum circuits without changing their leading asymptotic costs.
- Hardware implementations could test the layer and CNOT counts on small-scale quantum processors for moderate n.
Load-bearing premise
Non-reversible operations in classical CORDIC can be replaced by fully reversible quantum equivalents without increasing the asymptotic resource counts.
What would settle it
An explicit circuit construction or simulation for small n that requires more than O(n squared) CNOTs or fails to achieve the claimed precision would falsify the resource claims.
Figures
read the original abstract
This work introduces a quantum algorithm for computing the function arcsine, with arbitrary accuracy. We leverage a technique from embedded computing and Field-Programmable Gate Arrays, called COordinate Rotation DIgital Computer (CORDIC). CORDIC is a family of iterative algorithms that, in a classical context, can approximate various trigonometric, hyperbolic, and elementary functions using only bit shifts and additions. Adapting CORDIC to the quantum context is non-trivial, as the algorithm traditionally uses several non-reversible operations. We detail a method for CORDIC that avoids such non-reversible operations. We propose multiple approaches to calculate the arcsine function reversibly with CORDIC. For n bits of precision, our method has space complexity of order n qubits, a layer count in the order of n times log n, and a CNOT count in the order of n squared. This primitive function is a required step for the Harrow-Hassidim-Lloyd (HHL) algorithm, is necessary for quantum digital-to-analog conversion, can simplify a quantum speed-up for Monte-Carlo methods, and has direct applications in the quantum estimation of Shapley values.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript introduces a reversible quantum adaptation of the classical CORDIC algorithm to compute the arcsine function to arbitrary precision. It asserts that multiple reversible approaches exist and claims that, for n bits of precision, the construction uses O(n) qubits, O(n log n) layers, and O(n²) CNOT gates. The work positions this primitive as relevant to HHL, quantum digital-to-analog conversion, Monte-Carlo speed-ups, and Shapley-value estimation.
Significance. If the stated resource bounds can be rigorously established, the result would supply a useful, asymptotically efficient quantum primitive for arcsine that avoids the overhead of general function-approximation techniques. The applications listed are standard motivations for such a primitive.
major comments (2)
- [Abstract] Abstract: the central complexity claim (O(n) qubits, O(n log n) layers, O(n²) CNOTs) is asserted without any explicit reversible circuit construction, gate-sequence accounting, or analysis of ancilla overhead and uncomputation costs required to replace the classical non-reversible conditional rotations and sign decisions.
- [Abstract] Abstract: the statement that 'multiple approaches' exist to make CORDIC fully reversible is not accompanied by even a high-level description of how the iterative shifts, adds, and decision logic are realized reversibly while preserving the claimed asymptotics; without this, the load-bearing step from classical CORDIC to the quoted quantum costs cannot be verified.
Simulated Author's Rebuttal
We thank the referee for the detailed review and for highlighting opportunities to improve clarity in the abstract. The full manuscript contains explicit reversible circuit constructions, gate accounting, and ancilla analysis in Sections 3–5; the abstract was intentionally kept concise. We will revise the abstract to incorporate high-level descriptions and section references while preserving the stated asymptotics, which follow directly from the constructions provided.
read point-by-point responses
-
Referee: [Abstract] Abstract: the central complexity claim (O(n) qubits, O(n log n) layers, O(n²) CNOTs) is asserted without any explicit reversible circuit construction, gate-sequence accounting, or analysis of ancilla overhead and uncomputation costs required to replace the classical non-reversible conditional rotations and sign decisions.
Authors: The body of the manuscript (Sections 3 and 4) supplies the explicit reversible constructions, including the handling of conditional rotations via reversible sign decisions, the uncomputation of ancillae after each iteration, and the precise CNOT and layer counts that establish the O(n), O(n log n), and O(n²) bounds. To make these claims verifiable from the abstract alone, we will add a single sentence summarizing the reversible adaptations and directing readers to the relevant sections. revision: yes
-
Referee: [Abstract] Abstract: the statement that 'multiple approaches' exist to make CORDIC fully reversible is not accompanied by even a high-level description of how the iterative shifts, adds, and decision logic are realized reversibly while preserving the claimed asymptotics; without this, the load-bearing step from classical CORDIC to the quoted quantum costs cannot be verified.
Authors: We agree that the abstract would benefit from a brief high-level outline of the reversible realizations. The manuscript already details two distinct approaches (one based on reversible comparison and one using controlled phase rotations) in Section 3, with the asymptotic analysis in Section 5 showing that both preserve the claimed resource bounds. In revision we will insert a short clause in the abstract describing the core reversible primitives (reversible shifts via bit-permutation networks, additions via ripple-carry or carry-lookahead, and decisions via reversible comparators) and reference the sections containing the full accounting. revision: yes
Circularity Check
No circularity; resource claims are constructive estimates from proposed reversible circuits
full rationale
The paper presents an algorithmic construction for a reversible quantum CORDIC implementation to compute arcsine. The stated asymptotic resource counts (O(n) qubits, O(n log n) layers, O(n²) CNOTs) are forward-looking estimates derived from the described circuit primitives and reversibility adaptations, not from any fitted parameters, self-definitional equations, or load-bearing self-citations. No equations or derivations in the provided text reduce the output claims to the inputs by construction. The work is self-contained as a proposal for circuit design, with the central premise being the existence of reversible equivalents rather than a tautological renaming or fit.
Axiom & Free-Parameter Ledger
Lean theorems connected to this paper
-
IndisputableMonolith/Constants.leanphi_golden_ratio echoes?
echoesECHOES: this paper passage has the same mathematical shape or conceptual pattern as the Recognition theorem, but is not a direct formal dependency.
#iter← 5φ^{-mn} ▷ φ = (1 + √5)/2 ; F←[1,1,2,3,5,8,13,…] Fibonacci Sequence
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
Quantum algorithms for shapley value calculation
Iain Burge, Michel Barbeau, and Joaquin Garcia-Alfaro. Quantum algorithms for shapley value calculation. In 2023 IEEE International Conference on Quantum Computing and Engineering (QCE), volume 1, pages 1–9. IEEE, 2023
work page 2023
-
[2]
Quantum cordic algorithm implementation, companion github repository, Oct
Iain Burge, Michel Barbeau, and Joaquin Garcia-Alfaro. Quantum cordic algorithm implementation, companion github repository, Oct
-
[3]
https://github.com/iain-burge/QuantumCORDIC
-
[4]
Vittorio Giovannetti, Seth Lloyd, and Lorenzo Maccone. Quantum random access memory. Physical review letters, 100(16):160501, 2008
work page 2008
-
[5]
Optimizing Quantum Circuits for Arithmetic
Thomas H ¨aner, Martin Roetteler, and Krysta M Svore. Optimizing quantum circuits for arithmetic. arXiv preprint arXiv:1805.12445, 2018
work page internal anchor Pith review Pith/arXiv arXiv 2018
-
[6]
Quantum algorithm for linear systems of equations
Aram W Harrow, Avinatan Hassidim, and Seth Lloyd. Quantum algorithm for linear systems of equations. Physical review letters , 103(15):150502, 2009
work page 2009
-
[7]
Computing functions cos/sup-1/and sin/sup-1/using cordic
Christophe Mazenc, Xavier Merrheim, and J-M Muller. Computing functions cos/sup-1/and sin/sup-1/using cordic. IEEE Transactions on Computers, 42(1):118–122, 1993
work page 1993
-
[8]
Quantum analog-digital conversion
Kosuke Mitarai, Masahiro Kitagawa, and Keisuke Fujii. Quantum analog-digital conversion. Physical Review A , 99(1):012301, 2019
work page 2019
-
[9]
Quantum speedup of monte carlo methods
Ashley Montanaro. Quantum speedup of monte carlo methods. Pro- ceedings of the Royal Society A: Mathematical, Physical and Engineer- ing Sciences, 471(2181):20150301, 2015
work page 2015
-
[10]
Quantum Addition Circuits and Unbounded Fan-Out
Yasuhiro Takahashi, Seiichiro Tani, and Noboru Kunihiro. Quantum ad- dition circuits and unbounded fan-out. arXiv preprint arXiv:0910.2530, 2009
work page internal anchor Pith review Pith/arXiv arXiv 2009
-
[11]
The cordic trigonometric computing technique
Jack E V older. The cordic trigonometric computing technique. IRE Transactions on electronic computers , (3):330–334, 1959
work page 1959
-
[12]
A unified algorithm for elementary functions
John Stephen Walther. A unified algorithm for elementary functions. In Proceedings of the May 18-20, 1971, spring joint computer conference , pages 379–385, 1971
work page 1971
-
[13]
Shengbin Wang, Zhimin Wang, Wendong Li, Lixin Fan, Guolong Cui, Zhiqiang Wei, and Yongjian Gu. Quantum circuits design for evaluating transcendental functions based on a function-value binary expansion method. Quantum Information Processing , 19:1–31, 2020. APPENDIX A. MU L T FUNCTION To understand the Mult algorithm, it is most simple to considered its i...
work page 2020
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.