microsoft/Quantum

"Intro to QSharp" samples

开放

#422 创建于 2020年9月1日

 (2 条评论) (2 个反应) (0 位负责人)Jupyter Notebook (938 个派生)auto 404
Kind-Enhancementgood first issue

仓库指标

星标
 (4,042 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

While the samples serve the purpose of demonstrating the usage of the language, it would be useful to have samples that explicitly demonstrate commonly used QSharp syntax, or even demonstrate more advanced syntax examples, without necessarily producing a useful algorithm. The goal is to make it easy for developers who learn by reading other code to pick up the language quickly.

Some examples:

  • within
  • Partial application
  • Adjoint, Controlled and is Adj + Ctl
  • ApplyToEach
  • Arrays, both 1D and 2D
  • Math, e.g. PowD

Based on contributor discussion.

贡献者指南