IterativeAmplitudeEstimationResult

class qiskit.algorithms.IterativeAmplitudeEstimationResult[source]

Bases: AmplitudeEstimatorResult

The IterativeAmplitudeEstimation result object.

Attributes

alpha

Return the confidence level \(\alpha\).

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.

epsilon_estimated

Return the estimated half-width of the confidence interval.

epsilon_estimated_processed

Return the post-processed estimated half-width of the confidence interval.

epsilon_target

Return the target half-width of the confidence interval.

estimate_intervals

Return the confidence intervals for the estimate in each iteration.

estimation

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

estimation_processed

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

num_oracle_queries

Return the number of Grover oracle queries.

post_processing

Return a handle to the post processing function.

powers

Return the powers of the Grover operator in each iteration.

ratios

Return the ratios \(K_{i+1}/K_{i}\) for each iteration \(i\).

shots

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

theta_intervals

Return the confidence intervals for the angles in each iteration.

Methods

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