计算机科学 > 程序设计语言
[提交于 2020年5月17日 (v1),最后修订于 2020年12月12日 (此版本, v2)]
标题:A tutorial introduction to quantum circuit programming in dependently typed Proto-Quipper
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce dependently typed Proto-Quipper, or Proto-Quipper-D for short, an experimental quantum circuit programming language with linear dependent types. We give several examples to illustrate how linear dependent types can help in the construction of correct quantum circuits. Specifically, we show how dependent types enable programming families of circuits, and how dependent types solve the problem of type-safe uncomputation of garbage qubits. We also discuss other language features along the way.