FasterAmplitudeEstimationResult¶
- class FasterAmplitudeEstimationResult[source]¶
Bases :
AmplitudeEstimatorResult
The result object for the Faster Amplitude Estimation algorithm.
Methods
Any property from the argument that exists in the receiver is updated.
Attributes
- circuit_results¶
Return the circuit results. Can be a statevector or counts dictionary.
- Type renvoyé
Union
[ndarray
,Dict
[str
,int
],None
]
- confidence_interval¶
Return the confidence interval for the amplitude (95% interval by default).
- Type renvoyé
Tuple
[float
,float
]
- confidence_interval_processed¶
Return the post-processed confidence interval (95% interval by default).
- Type renvoyé
Tuple
[float
,float
]
- estimation¶
Return the estimation for the amplitude in \([0, 1]\).
- Type renvoyé
float
- estimation_processed¶
Return the estimation for the amplitude after the post-processing has been applied.
- Type renvoyé
float
- num_first_state_steps¶
Return the number of steps taken in the first step of algorithm.
- Type renvoyé
int
- num_oracle_queries¶
Return the number of Grover oracle queries.
- Type renvoyé
int
- num_steps¶
Return the total number of steps taken in the algorithm.
- Type renvoyé
int
- post_processing¶
Return a handle to the post processing function.
- Type renvoyé
Callable
[[float
],float
]
- shots¶
Return the number of shots used. Is 1 for statevector-based simulations.
- Type renvoyé
int
- success_probability¶
Return the success probability of the algorithm.
- Type renvoyé
int
- theta_intervals¶
Return the confidence intervals for the angles in each iteration.
- Type renvoyé
List
[List
[float
]]