OracleToDiscrete function
Warning
This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.
Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.
Namespace: Microsoft.Quantum.Oracles
Package: Microsoft.Quantum.Standard
Given an operation representing a "black-box" oracle, returns a discrete-time oracle which represents the "black-box" oracle repeated multiple times.
function OracleToDiscrete (blackBoxOracle : (Qubit[] => Unit is Adj + Ctl)) : Microsoft.Quantum.Oracles.DiscreteOracle
Input
blackBoxOracle : Qubit[] => Unit is Adj + Ctl
The operation to be exponentiated.
Output : DiscreteOracle
An operation partially applied over the "black-box" oracle representing the discrete-time oracle
Example
OracleToDiscrete(U)(3, target)
is equivalent to U(target)
repeated three times.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for