Oracle¶
-
class
Oracle
(*args, **kwargs)[source]¶ Bases:
abc.ABC
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
Methods
Construct the oracle circuit.
Attributes
-
ancillary_register
¶ returns ancillary register
-
circuit
¶
-
output_register
¶ returns output register
-
variable_register
¶ returns variable register