Microsoft.Quantum.Oracles namespace

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.

This namespace provides user-defined types to decorate various kinds of oracles by their intended use in quantum algorithms such as phase estimation and amplitude amplification.

Functions

Name Summary
DeterministicStateOracleFromStateOracle Converts an oracle of type StateOracle to DeterministicStateOracle.
ObliviousOracleFromDeterministicStateOracle Combines the oracles DeterministicStateOracle and ObliviousOracle.
OracleToDiscrete Given an operation representing a "black-box" oracle, returns a discrete-time oracle which represents the "black-box" oracle repeated multiple times.
ReflectionOracleFromDeterministicStateOracle Constructs reflection about a given state from an oracle.
StateOracleFromDeterministicStateOracle Converts an oracle of type DeterministicStateOracle to StateOracle.

User-defined types

Name Summary
ContinuousOracle Represents a continuous-time oracle.
DeterministicStateOracle Represents an oracle for deterministic state preparation.
DiscreteOracle Represents a discrete-time oracle.
ObliviousOracle Represents an oracle for oblivious amplitude amplification.
ReflectionOracle Represents a reflection oracle.
StateOracle Represents an oracle for state preparation.