Termination of Nondeterministic Quantum Programs
Authors:
Preprint
Abstract
We define a language-independent model of nondeterministic quantum programs in which a quantum program consists of a finite set of quantum processes. These processes are represented by quantum Markov chains over the common state space. An execution of a nondeterministic quantum program is modeled by a sequence of actions of individual processes. These actions are described by super-operators on the state Hilbert space. At each step of an execution, a process is chosen nondeterministically to perform the next action. A characterization of reachable space and a characterization of diverging states of a nondeterministic quantum program are presented. We establish a zero-one law for termination probability of the states in the reachable space of a nondeterministic quantum program. A combination of these results leads to a necessary and sufficient condition for termination of nondeterministic quantum programs. Based on this condition, an algorithm is found for checking termination of nondeterministic quantum programs within a fixed finite-dimensional state space. A striking difference between nondeterministic classical and quantum programs is shown by example: it is possible that each of several quantum programs simulates the same classical program which terminates with probability 1, but the nondeterministic program consisting of them terminates with probability 0 due to the interference carried in the execution of them.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- Floyd--hoare logic for quantum programsACM Transactions on Programming Languages and Systems, 2011
- A Flowchart Language for Quantum ProgrammingIEEE Transactions on Software Engineering, 2010
- Quantum loop programsActa Informatica, 2010
- Quantum programming languages: survey and bibliographyMathematical Structures in Computer Science, 2006
- LQP: the dynamic logic of quantum informationMathematical Structures in Computer Science, 2006
- A layered software architecture for quantum computing design toolsComputer, 2006
- Compiling quantum programsActa Informatica, 2005
- Towards a quantum programming languageMathematical Structures in Computer Science, 2004
- DYNAMIC QUANTUM LOGIC FOR QUANTUM PROGRAMSInternational Journal of Quantum Information, 2004
- Toward an architecture for quantum programmingThe European Physical Journal D, 2003