Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

AmplitudeEstimationResult

class qiskit.algorithms.AmplitudeEstimationResult

GitHub

Bases: AmplitudeEstimatorResult

The AmplitudeEstimation result object.


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].

estimation_processed

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

max_probability

Return the maximum sampling probability.

measurements

Return the measurements as integers with their measurement probability.

mle

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

mle_processed

Return the post-processed MLE for the amplitude.

num_evaluation_qubits

Returns the number of evaluation qubits.

num_oracle_queries

Return the number of Grover oracle queries.

post_processing

Return a handle to the post processing function.

samples

Return the measurement samples with their measurement probability.

samples_processed

Return the post-processed measurement samples with their measurement probability.

shots

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


Methods

combine

combine(result)

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

Raises

TypeError – Argument is None

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