ObliviousOracleFromDeterministicStateOracle 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

Combines the oracles DeterministicStateOracle and ObliviousOracle.

function ObliviousOracleFromDeterministicStateOracle (ancillaOracle : Microsoft.Quantum.Oracles.DeterministicStateOracle, signalOracle : Microsoft.Quantum.Oracles.ObliviousOracle) : Microsoft.Quantum.Oracles.ObliviousOracle

Input

ancillaOracle : DeterministicStateOracle

A state preparation oracle $A$ of type DeterministicStateOracle acting on register $a$.

signalOracle : ObliviousOracle

A oracle $U$ of type ObliviousOracle acting jointly on register $a,s$.

Output : ObliviousOracle

An oracle $O=UA$ of type ObliviousOracle.

See Also