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 \rightarrow \{0,1\}^m\) where the goal of the algorithm is to determine some property of \(f\).

Oracles are used by Grover and DeutschJozsa algorithms for example.

Oracle Base Class

Oracle

Base class for oracles.

Oracles

LogicalExpressionOracle

The Logical Expression Quantum Oracle.

TruthTableOracle

The Truth Table-based Quantum Oracle.

CustomCircuitOracle

The Custom Circuit-based Quantum Oracle.