Abstract
The realm of quantum computing is inherently tied to real numbers. However, quantum simulators nearly always rely on floating-point arithmetic and thus may introduce rounding errors in their calculations. In this work, we show how we can nevertheless trust the computations of simulators under certain conditions where we can rule out that floating-point errors disturb the obtained measurement results. We derive theoretical bounds for the errors of floating-point computations in quantum simulations and use these bounds to extend the implementation of an existing verification tool to show the soundness of the tool’s analysis for a number of well-established quantum algorithms.
This work is part of the SEQUOIA End-to-End project funded by the Ministry of Economic Affairs Baden-Württemberg, Germany.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Beckert, B., Kirsten, M., Klamroth, J., Ulbrich, M.: Modular verification of JML contracts using bounded model checking. In: Margaria, T., Steffen, B. (eds.) ISoLA 2020. LNCS, vol. 12476, pp. 60–80. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-61362-4_4
Boldo, S., Melquiond, G.: Flocq: a unified library for proving floating-point algorithms in Coq. In: 2011 IEEE 20th Symposium on Computer Arithmetic, pp. 243–252. IEEE (2011)
Deutsch, D., Jozsa, R.: Rapid solution of problems by quantum computation. Proc. Math. Phys. Sci. 439(1907), 553–558 (1992)
Fatima, A., Markov, I.L.: Faster schrödinger-style simulation of quantum circuits. In: 2021 IEEE International Symposium on High-Performance Computer Architecture (HPCA), pp. 194–207. IEEE (2021)
Fumex, C., Marché, C., Moy, Y.: Automating the verification of floating-point programs. In: Paskevich, A., Wies, T. (eds.) VSTTE 2017. LNCS, vol. 10712, pp. 102–119. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-72308-2_7
Goldberg, D.: What every computer scientist should know about floating-point arithmetic. ACM Comput. Surv. 23(1), 5–48 (1991)
Grover, L.K.: A fast quantum mechanical algorithm for database search. In: Proceedings of the Twenty-Eighth Annual ACM Symposium on Theory of Computing - STOC 1996, pp. 212–219. ACM Press (1996)
Jacobsen, C., Solovyev, A., Gopalakrishnan, G.: A parameterized floating-point formalizaton in HOL light. Electron. Notes Theor. Comput. Sci. 317, 101–107 (2015)
Klamroth, J., Beckert, B., Scheerer, M., Denninger, O.: QIn: enabling formal methods to deal with quantum circuits. In: 2023 IEEE International Conference on Quantum Software (QSW), pp. 175–185. IEEE (2023)
Muller, J.M., et al.: Handbook of Floating-Point Arithmetic. Springer, Heidelberg (2018). https://doi.org/10.1007/978-3-319-76526-6
Shor, P.W.: Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer. SIAM Rev. 41(2), 303–332 (1999)
Yu, L.: A formal model of IEEE floating point arithmetic. Arch. Formal Proofs 91–104 (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Klamroth, J., Beckert, B. (2024). On Rounding Errors in the Simulation of Quantum Circuits. In: Monti, F., et al. Service-Oriented Computing – ICSOC 2023 Workshops. ICSOC 2023. Lecture Notes in Computer Science, vol 14518. Springer, Singapore. https://doi.org/10.1007/978-981-97-0989-2_11
Download citation
DOI: https://doi.org/10.1007/978-981-97-0989-2_11
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-97-0988-5
Online ISBN: 978-981-97-0989-2
eBook Packages: Computer ScienceComputer Science (R0)