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

Attributes

Oracle.ancillary_register

returns ancillary register

Oracle.circuit

Oracle.output_register

returns output register

Oracle.variable_register

returns variable register

Methods

Oracle.construct_circuit()

Construct the oracle circuit.