qiskit.aqua.components.oracles.Oracle
class Oracle(*args, **kwargs)
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
__init__
abstract __init__(*args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ (*args, **kwargs) | Initialize self. |
construct_circuit () | Construct the oracle circuit. |
Attributes
ancillary_register | returns ancillary register |
circuit | |
output_register | returns output register |
variable_register | returns variable register |
ancillary_register
abstract property ancillary_register
returns ancillary register
circuit
construct_circuit
abstract construct_circuit()
Construct the oracle circuit.
Returns
A quantum circuit for the oracle.
output_register
abstract property output_register
returns output register
variable_register
abstract property variable_register
returns variable register
Was this page helpful?
Report a bug or request content on GitHub.