Abstract
Quantum algorithms to solve practical problems in quantum chemistry, materials science, and matrix inversion often involve a significant amount of arithmetic operations which act on a superposition of inputs. These have to be compiled to a set of fault-tolerant low-level operations and throughout this translation process, the compiler aims to come close to the Pareto-optimal front between the number of required qubits and the depth of the resulting circuit. In this paper, we provide quantum circuits for floating-point addition and multiplication which we find using two vastly different approaches. The first approach is to automatically generate circuits from classical Verilog implementations using synthesis tools and the second is to generate and optimize these circuits by hand. We compare our two approaches and provide evidence that floating-point arithmetic is a viable candidate for use in quantum computing, at least for typical scientific applications, where addition operations usually do not dominate the computation. All our circuits were constructed and tested using the software tools LIQ\(Ui|\rangle {}\) and RevKit.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Shor, P.W.: Algorithms for quantum computation: discrete logarithms and factoring. In: 35th Annual Symposium on Foundations of Computer Science, 1994 Proceedings, pp. 124–134. IEEE (1994)
Babbush, R., Berry, D.W., Kivlichan, I.D., Wei, A.Y., Love, P.J., Aspuru-Guzik, A.: Exponentially more precise quantum simulation of fermions in second quantization. New J. Phys. 18(3), 033032 (2016)
Reiher, M., Wiebe, N., Svore, K. M., Wecker, D., Troyer, M.: Elucidating reaction mechanisms on quantum computers. arXiv:1605.03590 (2016)
Harrow, A.W., Hassidim, A., Lloyd, S.: Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 103(15), 150502 (2009)
Steane, A.M.: Overhead and noise threshold of fault-tolerant quantum error correction. Phys. Rev. A 68(4), 042322 (2003)
Soeken, M., Roetteler, M., Wiebe, N., De Micheli, G.: Hierarchical reversible logic synthesis using LUTs. In: Design Automation Conference, pp. 78:1–78:6. ACM (2017)
Cong, J., Ding, Y.: FlowMap: an optimal technology mapping algorithm for delay optimization in lookup-table based FPGA designs. IEEE Trans. CAD Integr. Circ. Syst. 13(1), 1–12 (1994)
Chen, D., Cong, J.: DAOmap: a depth-optimal area optimization mapping algorithm for FPGA designs. In: International Conference on Computer-Aided Design, pp. 752–759 (2004)
Ray, S., Mishchenko, A., Een, N., Brayton, R., Jang, S., Chen, C.: Mapping into LUT structures. In: Design, Automation and Test in Europe, pp. 1579–1584 (2012)
Abdessaied, N., Soeken, M., Drechsler, R.: Technology mapping for single target gate based circuits using Boolean functional decomposition. In: International Conference on Reversible Computation, pp. 219–232 (2015)
Soeken, M., Roetteler, M., Wiebe, N., De Micheli, G.: Design automation and design space exploration for quantum computers. In: Design, Automation and Test in Europe, pp. 470–475. IEEE (2017)
Soeken, Mathias Chattopadhyay, Anupam: Unlocking efficiency and scalability of reversible logic synthesis using conventional logic synthesis. In: Design Automation Conference, pages 149:1–149:6 (2016)
Takahashi, Y., Tani, S., Kunihiro, N.: Quantum addition circuits and unbounded fan-out. arXiv preprint arXiv:0910.2530 (2009)
Häner, T., Roetteler, M., Svore, K.M.: Factoring using 2n+ 2 qubits with Toffoli based modular multiplication. Quantum Inf. Comput. 17(7–8) (2017)
Wecker, D., Svore, K.M.: LIQ\(Ui|\rangle \): A software design architecture and domain-specific language for quantum computing. arXiv:1402.4467 (2014)
Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2000)
Jones, C.: Low-overhead constructions for the fault-tolerant Toffoli gate. Phys. Rev. A 87(2), 022328 (2013)
Nguyen, T.D., Van Meter, R.: A resource-efficient design for a reversible floating point adder in quantum computing. ACM J. Emerg. Technol. Comput. Syst. 11(2), 13:1–13:18 (2014)
Knuth, D.E.: Evaluation of polynomials by computer. Commun. ACM 5(12), 595–599 (1962)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Haener, T., Soeken, M., Roetteler, M., Svore, K.M. (2018). Quantum Circuits for Floating-Point Arithmetic. In: Kari, J., Ulidowski, I. (eds) Reversible Computation. RC 2018. Lecture Notes in Computer Science(), vol 11106. Springer, Cham. https://doi.org/10.1007/978-3-319-99498-7_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-99498-7_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-99497-0
Online ISBN: 978-3-319-99498-7
eBook Packages: Computer ScienceComputer Science (R0)