Validating Quantum State Preparation Programs (Extended Version)

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Liyi, Sharma, Anshu, Tagba, Zoukarneini Difaizi, Frett, Sean, Potanin, Alex
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908847890759680
author Li, Liyi
Sharma, Anshu
Tagba, Zoukarneini Difaizi
Frett, Sean
Potanin, Alex
author_facet Li, Liyi
Sharma, Anshu
Tagba, Zoukarneini Difaizi
Frett, Sean
Potanin, Alex
contents One of the key steps in quantum algorithms is to prepare an initial quantum superposition state with different kinds of features. These so-called state preparation algorithms are essential to the behavior of quantum algorithms, and complicated state preparation algorithms are difficult to develop correctly and effectively. This paper presents Pqasm: a high-assurance framework implemented with the Coq proof assistant, allowing us to certify our Pqasm tool to correctly reflect quantum program behaviors. The key in the framework is to reduce the program correctness assurance of a program containing a quantum superposition state to the program correctness assurance for the program state without superposition. The reduction allows the development of an effective testing framework for testing quantum state preparation algorithm implementations on a classical computer - considered to be a hard problem with no clear solution until this point. We utilize the QuickChick property-based testing framework to test state preparation programs. We evaluated the effectiveness of our approach over 5 case studies implemented using Pqasm; such cases are not even simulatable in the current quantum simulators.
format Preprint
id arxiv_https___arxiv_org_abs_2501_05616
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Validating Quantum State Preparation Programs (Extended Version)
Li, Liyi
Sharma, Anshu
Tagba, Zoukarneini Difaizi
Frett, Sean
Potanin, Alex
Quantum Physics
Programming Languages
One of the key steps in quantum algorithms is to prepare an initial quantum superposition state with different kinds of features. These so-called state preparation algorithms are essential to the behavior of quantum algorithms, and complicated state preparation algorithms are difficult to develop correctly and effectively. This paper presents Pqasm: a high-assurance framework implemented with the Coq proof assistant, allowing us to certify our Pqasm tool to correctly reflect quantum program behaviors. The key in the framework is to reduce the program correctness assurance of a program containing a quantum superposition state to the program correctness assurance for the program state without superposition. The reduction allows the development of an effective testing framework for testing quantum state preparation algorithm implementations on a classical computer - considered to be a hard problem with no clear solution until this point. We utilize the QuickChick property-based testing framework to test state preparation programs. We evaluated the effectiveness of our approach over 5 case studies implemented using Pqasm; such cases are not even simulatable in the current quantum simulators.
title Validating Quantum State Preparation Programs (Extended Version)
topic Quantum Physics
Programming Languages
url https://arxiv.org/abs/2501.05616