Empty Tuple Code Sample in Entanglement Tutorial
kchatr opened this issue · 3 comments
kchatr commented
While explaining the Unit
keyword, it made a reference to an empty tuple in Python which was followed by this code sample:
(Tuple[()])
. However, this is incorrect, as an empty tuple can be initialized by either tuple()
or tuple([])
, but not Tuple[()]
This is a relatively minor issue, but considering the nature of the documentation and rigour of the material, I feel like this is a valid albeit inconsequential issue.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: f0f20167-a5ab-1b18-feca-17f4ffd7d1e3
- Version Independent ID: ef2aa8d4-af46-57ee-567e-12f23eeb0822
- Content: Explore entanglement with Q# - Microsoft Quantum
- Content Source: articles/tutorials/explore-entanglement.md
- Product: quantum
- GitHub Login: @geduardo
- Microsoft Alias: v-edsanc@microsoft.com
cgranade commented