ae_class

This module contains a general class for solving AE problems using the algorithm classes from QQuantLib.AE library package

Authors: Alberto Pedro Manzano Herrero & Gonzalo Ferro

class QQuantLib.AE.ae_class.AE(oracle=None, target=None, index=None, ae_type=None, **kwargs)

Class for creating and solving an AE problem

Parameters:
  • oracle (QLM gate) – QLM gate with the Oracle for implementing the Grover operator

  • target (list of ints) – python list with the target for the amplitude estimation

  • index (list of ints) – qubits which mark the register to do the amplitude estimation

  • ae_type (string) – string with the desired AE algorithm: MLAE, CQPEAE, IQPEAE, IQAE, RQAE

  • kwargs (dictionary) – dictionary that allows the configuration of the AE algorithm. The different configration keys of the different AE algorithms can be provided.

property ae_type

creating ae_type property

create_ae_solver()

Method for instantiate the AE algorithm class.

run()

Method for running an AE problem