qiskit.algorithms.FasterAmplitudeEstimationResult
class FasterAmplitudeEstimationResult
The result object for the Faster Amplitude Estimation algorithm.
__init__
__init__()
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__ () | Initialize self. |
combine (result) | Any property from the argument that exists in the receiver is updated. |
Attributes
circuit_results | Return the circuit results. |
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 . |
estimation_processed | Return the estimation for the amplitude after the post-processing has been applied. |
num_first_state_steps | Return the number of steps taken in the first step of algorithm. |
num_oracle_queries | Return the number of Grover oracle queries. |
num_steps | Return the total number of steps taken in the algorithm. |
post_processing | Return a handle to the post processing function. |
shots | Return the number of shots used. |
success_probability | Return the success probability of the algorithm. |
theta_intervals | Return the confidence intervals for the angles in each iteration. |
circuit_results
Return the circuit results. Can be a statevector or counts dictionary.
Return type
Union
[ndarray
, Dict
[str
, int
], None
]
combine
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
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 (95% interval by default).
Return type
Tuple
[float
, float
]
estimation
Return the estimation for the amplitude in .
Return type
float
estimation_processed
Return the estimation for the amplitude after the post-processing has been applied.
Return type
float
num_first_state_steps
Return the number of steps taken in the first step of algorithm.
Return type
int
num_oracle_queries
Return the number of Grover oracle queries.
Return type
int
num_steps
Return the total number of steps taken in the algorithm.
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
success_probability
Return the success probability of the algorithm.
Return type
int
theta_intervals
Return the confidence intervals for the angles in each iteration.
Return type
List
[List
[float
]]