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.

貢獻者指南