ScaffML: A Quantum Behavioral Interface Specification Language for Scaffold
Authors:
- 1 July 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 128-137
Abstract
Ensuring the correctness of quantum programs is crucial for quantum software quality assurance. Although various effective verification methods exist for classical programs, they cannot be applied to quantum programs due to the fundamental differences in their execution logic, such as quantum superposition and entanglement. This calls for new methods to verify the correctness of quantum programs. In this paper, we present a behavioral interface specification language (BISL) called ScaffML for the quantum programming language Scaffold. ScaffML allows the specification of pre- and post-conditions for Scaffold modules and enables the mixing of assertions with Scaffold code, thereby facilitating debugging and verification of quantum programs. This paper discusses the goals and overall approach of ScaffML and describes the basic features of the language through examples. ScaffML provides an easy-to-use specification language for quantum programmers, supporting static analysis, run-time checking, and formal verification of Scaffold programs. Finally, we present several instances to illustrate the workflow and functionalities of ScaffML.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Quipper2013
- Behavioral interface specification languagesACM Computing Surveys, 2012
- Floyd--hoare logic for quantum programsACM Transactions on Programming Languages and Systems, 2011
- CVC32007
- An Overview of Larch/C++: Behavioral Specifications for C++ Modules2007
- Preliminary design of JMLACM SIGSOFT Software Engineering Notes, 2006
- AlloyACM Transactions on Software Engineering and Methodology, 2002
- Larch: Languages and Tools for Formal Specification1993
- Proof of Correctness of Data Representations1978
- An axiomatic basis for computer programmingCommunications of the ACM, 1969