**Input:** An integer $N$.
**Output** : A `Bool` array of length $N$, where each element is chosen at random as `true` or `false` with $50\%$ probability.
> This will be used by both Alice and Bob to choose either the sequence of bits to send or the sequence of bases
> to use when encoding/measuring the bits.microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
katas/content/key_distribution/random_array/index.md
6lines · modepreview