We introduce a first-order quantum programming language, named FOQ, whose terminating programs are reversible. We restrict FOQ to a strict and tractable subset, named PFOQ, of terminating programs with bounded width, that provides a first programming language-based characterization of the quantum complexity class FBQP. Finally, we present a tractable semantics-preserving algorithm compiling a PFOQ program to a quantum circuit of size polynomial in the number of input qubits.
翻译:我们引入了名为FOQ的第一阶量子编程语言,名为FOQ,其终止程序是可逆的。我们将FOQ限制在一个严格和可移植的子集,即PFOQ,即封闭宽度终止程序,为量子复杂等级FBQP提供第一个基于语言的量子编程特征描述。最后,我们提出了一个可移植的语义保存算法,将PFOQ程序编译成一个输入量子数的量子集。