IterativeAmplitudeEstimationResult¶
-
class
IterativeAmplitudeEstimationResult
[source]¶ Bases:
qiskit.algorithms.amplitude_estimators.amplitude_estimator.AmplitudeEstimatorResult
The
IterativeAmplitudeEstimation
result object.Methods
Any property from the argument that exists in the receiver is updated.
Attributes
-
alpha
¶ Return the confidence level \(\alpha\).
- Return type
float
-
circuit_results
¶ Return the circuit results. Can be a statevector or counts dictionary.
- Return type
Union
[ndarray
,Dict
[str
,int
],None
]
-
confidence_interval
¶ Return the confidence interval for the amplitude (95% interval by default).
- Return type
Tuple
[float
,float
]
-
confidence_interval_processed
¶ Return the post-processed confidence interval.
- Return type
Tuple
[float
,float
]
-
epsilon_estimated
¶ Return the estimated half-width of the confidence interval.
- Return type
float
-
epsilon_estimated_processed
¶ Return the post-processed estimated half-width of the confidence interval.
- Return type
float
-
epsilon_target
¶ Return the target half-width of the confidence interval.
- Return type
float
-
estimate_intervals
¶ Return the confidence intervals for the estimate in each iteration.
- Return type
List
[List
[float
]]
-
estimation
¶ Return the estimation for the amplitude in \([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
]
-
powers
¶ Return the powers of the Grover operator in each iteration.
- Return type
List
[int
]
-
ratios
¶ Return the ratios \(K_{i+1}/K_{i}\) for each iteration \(i\).
- Return type
List
[float
]
-
shots
¶ Return the number of shots used. Is 1 for statevector-based simulations.
- Return type
int
-
theta_intervals
¶ Return the confidence intervals for the angles in each iteration.
- Return type
List
[List
[float
]]
-