Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

AmplitudeEstimatorResult

class AmplitudeEstimatorResult

GitHub(opens in a new tab)

Bases: qiskit.algorithms.algorithm_result.AlgorithmResult

The results object for amplitude estimation algorithms.


Methods

combine

AmplitudeEstimatorResult.combine(result)

Any property from the argument that exists in the receiver is updated. :type result: AlgorithmResult :param result: Argument result with properties to be set.

Raises

TypeError – Argument is None

Return type

None


Attributes

circuit_results

Return the circuit results. Can be a statevector or counts dictionary.

confidence_interval

Return the confidence interval for the amplitude (95% interval by default).

confidence_interval_processed

Return the post-processed confidence interval (95% interval by default).

estimation

Return the estimation for the amplitude in [0,1][0, 1].

Return type

float

estimation_processed

Return the estimation for the amplitude after the post-processing has been applied.

Return type

float

num_oracle_queries

Return the number of Grover oracle queries.

Return type

int

post_processing

Return a handle to the post processing function.

Return type

Callable[[float], float]

shots

Return the number of shots used. Is 1 for statevector-based simulations.

Return type

int

Was this page helpful?
Report a bug or request content on GitHub.