This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
More examples in Q# API documentation comments #339
Open
Description
Is your feature request related to a problem? Please describe.
Adding concrete examples to API documentation comments can help clarify how Q# functions and operations are to be used. For example, the documentation for Microsoft.Quantum.Arrays.ElementsAt
lists how the function acts on a variety of arrays:
Where these examples are missing, or where additional examples may help explain complicated functionality, it would be good to add these examples to the Q# source for each function and operation.
List of candidate namespaces for examples:
- Microsoft.Quantum.Arrays
- Microsoft.Quantum.Convert
- Microsoft.Quantum.Measurement
- Microsoft.Quantum.Diagnostics
- Microsoft.Quantum.Logical
- Microsoft.Quantum.Math
For more details, see the API documentation section of the contribution guide.