跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1402.5172 (cs)
[提交于 2014年2月20日]

标题:Alternation in Quantum Programming: From Superposition of Data to Superposition of Programs

作者:Mingsheng Ying, Nengkun Yu, Yuan Feng
查看论文《Alternation in Quantum Programming: From Superposition of Data to Superposition of Programs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We extract a novel quantum programming paradigm - superposition of programs - from the design idea of a popular class of quantum algorithms, namely quantum walk-based algorithms. The generality of this paradigm is guaranteed by the universality of quantum walks as a computational model. A new quantum programming language QGCL is then proposed to support the paradigm of superposition of programs. This language can be seen as a quantum extension of Dijkstra's GCL (Guarded Command Language). Surprisingly, alternation in GCL splits into two different notions in the quantum setting: classical alternation (of quantum programs) and quantum alternation, with the latter being introduced in QGCL for the first time. Quantum alternation is the key program construct for realizing the paradigm of superposition of programs. The denotational semantics of QGCL are defined by introducing a new mathematical tool called the guarded composition of operator-valued functions. Then the weakest precondition semantics of QGCL can straightforwardly derived. Another very useful program construct in realizing the quantum programming paradigm of superposition of programs, called quantum choice, can be easily defined in terms of quantum alternation. The relation between quantum choices and probabilistic choices is clarified through defining the notion of local variables. We derive a family of algebraic laws for QGCL programs that can be used in program verification, transformations and compilation. The expressive power of QGCL is illustrated by several examples where various variants and generalizations of quantum walks are conveniently expressed using quantum alternation and quantum choice. We believe that quantum programming with quantum alternation and choice will play an important role in further exploiting the power of quantum computing.
评论: arXiv admin note: substantial text overlap with arXiv:1209.4379
主题: 程序设计语言 (cs.PL); 计算机科学中的逻辑 (cs.LO); 量子物理 (quant-ph)
引用方式: arXiv:1402.5172 [cs.PL]
  (或者 arXiv:1402.5172v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1402.5172

提交历史

来自:Mingsheng Ying
[v1] 2014年2月20日 星期四 23:35:58 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-02
切换浏览方式为:
cs
cs.LO
quant-ph

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站