This project is archived

Qiskit Finance is no longer maintained and this documentation is no longer updated. It is kept online for reference only, and the code it describes may not work with current versions of Qiskit. See the project repository for more information.

EstimationApplication#

class EstimationApplication[source]#

Bases: ABC

An abstract class for estimation applications

Methods

abstract interpret(result)[source]#

Convert the calculation result of the problem (qiskit_algorithms.AmplitudeEstimatorResult) to the answer of the problem.

Parameters:

result (AmplitudeEstimatorResult) – The calculated result of the problem

Return type:

float

abstract to_estimation_problem()[source]#

Convert a problem instance into a qiskit_algorithms.EstimationProblem

Return type:

EstimationProblem