Free categorical constructions characterise quantum computing as the combination of two copies of a reversible classical model, glued by the complementarity equations of classical structures. This recipe effectively constructs a computationally universal quantum programming language from two copies of Pi, the internal language of rig groupoids. The construction consists of Hughes' arrows. Thus answer positively the question whether a computational effect exists that turns reversible classical computation into quantum computation: the quantum effect. Measurements can be added by layering a further effect on top. Our construction also enables some reasoning about quantum programs (with or without measurement) through a combination of classical reasoning and reasoning about complementarity.
翻译:免费范畴化构造将量子计算描述为两个可逆经典模型的组合,通过经典结构的互补方程粘合在一起,实际上从两个π的拓扑群体(rig groupoids)内部语言中构建了一个计算机通用的量子编程语言。该构造由休斯(Hughes)箭头组成。因此,回答肯定一个问题,即是否存在计算效应将可逆经典计算转化为量子计算:量子效应。通过在其上叠加其他效应,可以添加测量。我们的构造还通过将经典推理和互补推理相结合来实现有关量子程序(包括或不包括测量)的一些推理。