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
Attributes
ancillary_register
returns ancillary register
circuit
output_register
returns output register
variable_register
returns variable register
Methods
construct_circuit
abstract Oracle.construct_circuit()
Construct the oracle circuit.
Returns
A quantum circuit for the oracle.
Was this page helpful?
Report a bug or request content on GitHub.