qiskit.aqua.components.oracles.Oracle¶
-
class
Oracle
(*args, **kwargs)[Quellcode]¶ Base class for oracles.
This method should initialize the module and use an exception if a component of the module is not available.
- Parameter
args (list) – args
kwargs (dict) – kwargs
-
abstract
__init__
(*args, **kwargs)[Quellcode]¶ 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
()[Quellcode]¶ Construct the oracle circuit.
- Rückgabe
A quantum circuit for the oracle.
-
abstract property
output_register
¶ returns output register
-
abstract property
variable_register
¶ returns variable register