qiskit.aqua.components.oracles.Oracle¶
-
class
Oracle
(*args, **kwargs)[source]¶ Base class for oracles.
This method should initialize the module and use an exception if a component of the module is not available.
- Parameters
args (list) – args
kwargs (dict) – kwargs
-
abstract
__init__
(*args, **kwargs)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(*args, **kwargs)Initialize self.
Construct the oracle circuit.
Attributes
returns ancillary register
returns output register
returns variable register
-
abstract property
ancillary_register
¶ returns ancillary register
-
property
circuit
¶
-
abstract
construct_circuit
()[source]¶ Construct the oracle circuit.
- Returns
A quantum circuit for the oracle.
-
abstract property
output_register
¶ returns output register
-
abstract property
variable_register
¶ returns variable register