microsoft/Quantum

"Intro to QSharp" samples

Offen

#422 geöffnet am 01.09.2020

 (2 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Jupyter Notebook (938 Forks)auto 404
Kind-Enhancementgood first issue

Repository-Metriken

Stars
 (4.042 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide