pith. sign in

arxiv: 1209.4379 · v1 · pith:OZOZEA27new · submitted 2012-09-19 · 🪐 quant-ph · cs.LO· cs.PL

Defining Quantum Control Flow

classification 🪐 quant-ph cs.LOcs.PL
keywords quantumcontrolflowclassicaldefiningchoicesdifferenceflows
0
0 comments X p. Extension
pith:OZOZEA27 Add to your LaTeX paper What is a Pith Number?
\usepackage{pith}
\pithnumber{OZOZEA27}

Prints a linked pith:OZOZEA27 badge after your title and writes the identifier into PDF metadata. Compiles on arXiv with no extra files. Learn more

read the original abstract

A remarkable difference between quantum and classical programs is that the control flow of the former can be either classical or quantum. One of the key issues in the theory of quantum programming languages is defining and understanding quantum control flow. A functional language with quantum control flow was defined by Altenkirch and Grattage [\textit{Proc. LICS'05}, pp. 249-258]. This paper extends their work, and we introduce a general quantum control structure by defining three new quantum program constructs, namely quantum guarded command, quantum choice and quantum recursion. We clarify the relation between quantum choices and probabilistic choices. An interesting difference between quantum recursions with classical control flows and with quantum control flows is revealed.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.