microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
dmitryv/select-updated

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/oracles/kth_bit_oracle/solution.md

8lines · modepreview

@[solution]({
    "id": "oracles__kth_bit_oracle_solution",
    "codePath": "solution.qs"
})

Notice how the oracles - both phase and marking - can take extra "classical" parameters.

Another key tool for implementing quantum oracles is allocating auxiliary qubits to assist in a computation.  Below are some exercises where you will practice that.