Cargando…

A formally certified end-to-end implementation of Shor’s factorization algorithm

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 programm...

Descripción completa

Detalles Bibliográficos
Autores principales: Peng, Yuxiang, Hietala, Kesha, Tao, Runzhou, Li, Liyi, Rand, Robert, Hicks, Michael, Wu, Xiaodi
Formato: Online Artículo Texto
Lenguaje:English
Publicado: National Academy of Sciences 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10214188/
https://www.ncbi.nlm.nih.gov/pubmed/37186832
http://dx.doi.org/10.1073/pnas.2218775120
_version_ 1785145886951604224
author Peng, Yuxiang
Hietala, Kesha
Tao, Runzhou
Li, Liyi
Rand, Robert
Hicks, Michael
Wu, Xiaodi
author_facet Peng, Yuxiang
Hietala, Kesha
Tao, Runzhou
Li, Liyi
Rand, Robert
Hicks, Michael
Wu, Xiaodi
author_sort Peng, Yuxiang
collection PubMed
description 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.
format Online
Article
Text
id pubmed-10214188
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher National Academy of Sciences
record_format MEDLINE/PubMed
spelling pubmed-102141882023-11-15 A formally certified end-to-end implementation of Shor’s factorization algorithm Peng, Yuxiang Hietala, Kesha Tao, Runzhou Li, Liyi Rand, Robert Hicks, Michael Wu, Xiaodi Proc Natl Acad Sci U S A Physical Sciences 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. National Academy of Sciences 2023-05-15 2023-05-23 /pmc/articles/PMC10214188/ /pubmed/37186832 http://dx.doi.org/10.1073/pnas.2218775120 Text en Copyright © 2023 the Author(s). Published by PNAS. https://creativecommons.org/licenses/by-nc-nd/4.0/This article is distributed under Creative Commons Attribution-NonCommercial-NoDerivatives License 4.0 (CC BY-NC-ND) (https://creativecommons.org/licenses/by-nc-nd/4.0/) .
spellingShingle Physical Sciences
Peng, Yuxiang
Hietala, Kesha
Tao, Runzhou
Li, Liyi
Rand, Robert
Hicks, Michael
Wu, Xiaodi
A formally certified end-to-end implementation of Shor’s factorization algorithm
title A formally certified end-to-end implementation of Shor’s factorization algorithm
title_full A formally certified end-to-end implementation of Shor’s factorization algorithm
title_fullStr A formally certified end-to-end implementation of Shor’s factorization algorithm
title_full_unstemmed A formally certified end-to-end implementation of Shor’s factorization algorithm
title_short A formally certified end-to-end implementation of Shor’s factorization algorithm
title_sort formally certified end-to-end implementation of shor’s factorization algorithm
topic Physical Sciences
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10214188/
https://www.ncbi.nlm.nih.gov/pubmed/37186832
http://dx.doi.org/10.1073/pnas.2218775120
work_keys_str_mv AT pengyuxiang aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT hietalakesha aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT taorunzhou aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT liliyi aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT randrobert aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT hicksmichael aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT wuxiaodi aformallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT pengyuxiang formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT hietalakesha formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT taorunzhou formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT liliyi formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT randrobert formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT hicksmichael formallycertifiedendtoendimplementationofshorsfactorizationalgorithm
AT wuxiaodi formallycertifiedendtoendimplementationofshorsfactorizationalgorithm