Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Runtime Analysis of Quantum Programs: A Formal Approach   In this abstract we study the resource consumption of quantum programs.
Specifically, we focus on the expected runtime of programs and, inspired by
recent methods for probabilistic programs, we develop a calculus \`a la weakest
precondition to formally and systematically derive the (exact) expected runtime
of quantum programs. Notably, the calculus admits a notion of loop runtime
invariant that can be readily used to derive upper bounds of their runtime.
Finally, we show the applicability of our calculus analyzing the runtime of (a
simplified version of) the BB84 quantum key distribution protocol.

8
The categories of this paper are: hep-ex
34
The categories of this paper are: chem-ph
15
The categories of this paper are: nucl-ex
18
The categories of this paper are: econ
37
The categories of this paper are: supr-con
9
The categories of this paper are: nlin
36
The categories of this paper are: cmp-lg
6
The categories of this paper are: astro-ph
19
The categories of this paper are: eess
25
The categories of this paper are: patt-sol
27
The categories of this paper are: comp-gas
23
The categories of this paper are: solv-int
30
The categories of this paper are: q-alg
35
The categories of this paper are: mtrl-th
11
The categories of this paper are: hep-lat
7
The categories of this paper are: hep-th