microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
katas/content/oracles/classical_oracles/solution.md
9lines · modecode
| 1 | The binary notation of $7$ is $111_2$. This means that our solution should return `true` if and only if each bit of the input is `true`. |
| 2 | |
| 3 | Notice that in this problem the solution doesn't depend on whether the bit string is converted into an integer using |
| 4 | big endian or little endian notation. In general this is an important distinction that you need to take into account. |
| 5 | |
| 6 | @[solution]({ |
| 7 | "id": "oracles__classical_oracles_solution", |
| 8 | "codePath": "Solution.qs" |
| 9 | }) |
| 10 | |