A formally certified end-to-end implementation of Shor’s factorization algorithm
- Department of Computer Science, University of Maryland, College Park, MD 20740, Joint Center for Quantum Information and Computer Science, University of Maryland, College Park, MD 20740
- Department of Computer Science, University of Maryland, College Park, MD 20740
- Department of Computer Science, Columbia University, New York, NY 10027
- Department of Computer Science, University of Chicago, Chicago, IL 60637
Quantum computing technology may soon deliver revolutionary improvements in algorithmic performance, but it is useful only if computed answers are correct. While hardware-level decoherence errors have garnered significant attention, a less recognized obstacle to correctness is that of human programming errors—“bugs.” Techniques familiar to most programmers from the classical domain for avoiding, discovering, and diagnosing bugs do not easily transfer, at scale, to the quantum domain because of its unique characteristics. To address this problem, we have been working to adapt formal methods to quantum programming. With such methods, a programmer writes a mathematical specification alongside the program and semiautomatically proves the program correct with respect to it. The proof’s validity is automatically confirmed—certified—by a “proof assistant.” Formal methods have successfully yielded high-assurance classical software artifacts, and the underlying technology has produced certified proofs of major mathematical theorems. As a demonstration of the feasibility of applying formal methods to quantum programming, we present a formally certified end-to-end implementation of Shor’s prime factorization algorithm, developed as part of a framework for applying the certified approach to general applications. By leveraging our framework, one can significantly reduce the effects of human errors and obtain a high-assurance implementation of large-scale quantum applications in a principled way.
- Research Organization:
- Univ. of Maryland, College Park, MD (United States)
- Sponsoring Organization:
- USDOE; USDOE Office of Science (SC)
- Grant/Contract Number:
- SC0019040
- OSTI ID:
- 1973705
- Alternate ID(s):
- OSTI ID: 2420912
- Journal Information:
- Proceedings of the National Academy of Sciences of the United States of America, Journal Name: Proceedings of the National Academy of Sciences of the United States of America Vol. 120 Journal Issue: 21; ISSN 0027-8424
- Publisher:
- Proceedings of the National Academy of SciencesCopyright Statement
- Country of Publication:
- United States
- Language:
- English
Similar Records
Effects of dynamical phases in Shor's factoring algorithm with operational delays
Lightweight and Statistical Techniques for Petascale Debugging: Correctness on Petascale Systems (CoPS) Preliminry Report