This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
[Api Reference] Mistake in ControlledOnInt
and ApplyControlledOnInt
descriptions
#612
Labels
Area-Documentation
Issue relates to API documentation comments, READMEs, or other documentation in this repo.
Kind-Bug
Something isn't working
Pkg-Standard
Issue relates to the Microsoft.Quantum.Standard package.
In the API Reference, it's specified that
ControlledOnInt
andApplyControlledOnInt
functions should be used with a positive integer, but zero can also be used with these functions.I suggest updating their descriptions from:
"(...) if the control register state corresponds to a specified positive integer." to
"(...) if the control register state corresponds to a specified non-negative integer."
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: