Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

Oracles

qiskit.aqua.components.oracles

An oracle is a black box operation used as input to another algorithm. They tend to encode a function f:{0,1}n{0,1}mf:\{0,1\}^n \rightarrow \{0,1\}^m where the goal of the algorithm is to determine some property of ff.

Oracles are used by Grover and DeutschJozsa algorithms for example.

Oracle Base Class

OracleBase class for oracles.

Oracles

LogicalExpressionOracleThe Logical Expression Quantum Oracle.
TruthTableOracleThe Truth Table-based Quantum Oracle.
CustomCircuitOracleThe Custom Circuit-based Quantum Oracle.
Was this page helpful?
Report a bug or request content on GitHub.