论文标题
量子程序中的无界循环:类别和虚弱的循环
Unbounded loops in quantum programs: categories and weak while loops
论文作者
论文摘要
量子程序的控制流通常分为两个不同的类:经典和量子。具有经典控制流量的量子程序的条件分支由测量的经典结果和这些崩溃量子数据决定。相反,量子控制流相干,即不会扰动量子数据;基于量子步行的算法是相干量子反馈起主要作用的实际示例。该论文有两个主要贡献:(i)对相干量子迭代的分类研究,以及(ii)循环的弱引入。 (i)目标是将量子过程类别赋予可追溯的单体结构,能够对迭代量子回路进行建模。为此,通过执行公式计算形态的痕迹,这加大了控制流的所有可能路径的贡献。 Haghverdi的独特分解类别被普遍化以接收添加剂逆,并配备了使用基本拓扑结构的收敛标准。在这种情况下,可以证明执行公式的有效性是在某些类别的量子过程中的分类跟踪。 (ii)弱循环是一个经典的控制流原始性,在每次迭代引起的崩溃与获得的信息量之间提供了权衡。可以通过调整参数来调整权衡,在某些情况下,可以设置其值,以便我们可以控制算法而不牺牲其量子加速。例如,可以证明可以在循环时使用弱的搜索问题来实现,并保持与标准Grover的算法相同的时间复杂性(如Mizel先前所示)。
Control flow of quantum programs is often divided into two different classes: classical and quantum. Quantum programs with classical control flow have their conditional branching determined by the classical outcome of measurements, and these collapse quantum data. Conversely, quantum control flow is coherent, i.e. it does not perturb quantum data; quantum walk-based algorithms are practical examples where coherent quantum feedback plays a major role. This dissertation has two main contributions: (i) a categorical study of coherent quantum iteration and (ii) the introduction of weak while loops. (i) The objective is to endow categories of quantum processes with a traced monoidal structure capable of modelling iterative quantum loops. To this end, the trace of a morphism is calculated via the execution formula, which adds up the contribution of all possible paths of the control flow. Haghverdi's unique decomposition categories are generalised to admit additive inverses and equipped with convergence criteria using basic topology. In this setting, it is possible to prove the validity of the execution formula as a categorical trace on certain categories of quantum processes. (ii) A weak while loop is a classical control flow primitive that offers a trade-off between the collapse caused on each iteration and the amount of information gained. The trade-off may be adjusted by tuning a parameter and, in certain situations, it is possible to set its value so that we may control the algorithm without sacrificing its quantum speed-up. As an example, it is shown that Grover's search problem can be implemented using a weak while loop, maintaining the same time complexity as the standard Grover's algorithm (as previously shown by Mizel).