Abstract
This chapter introduces quantum programs with classical control flows in the superposition-of-data paradigm. It first defines the syntax of a quantum extension of a while-language. The operational semantics of the quantum while-language is carefully presented, and the denotational semantics of quantum while-programs is systematically investigated. For convenience of the reader, the basics of lattice theory and domain theory needed in defining the denotational semantics are briefly reviewed. The quantum while-language is further extended by introducing recursion. Several semantics of recursive quantum programs with classical control are studied. As an illustrative example, Grover search is programmed in the language defined in this chapter.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.