AmplitudeEstimationResult¶
- class AmplitudeEstimationResult[código fonte]¶
Bases:
AmplitudeEstimatorResult
The
AmplitudeEstimation
result object.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.
- Tipo de retorno
Union
[ndarray
,Dict
[str
,int
],None
]
- confidence_interval¶
Return the confidence interval for the amplitude (95% interval by default).
- Tipo de retorno
Tuple
[float
,float
]
- confidence_interval_processed¶
Return the post-processed confidence interval (95% interval by default).
- Tipo de retorno
Tuple
[float
,float
]
- estimation¶
Return the estimation for the amplitude in \([0, 1]\).
- Tipo de retorno
float
- estimation_processed¶
Return the estimation for the amplitude after the post-processing has been applied.
- Tipo de retorno
float
- max_probability¶
Return the maximum sampling probability.
- Tipo de retorno
float
- measurements¶
Return the measurements as integers with their measurement probability.
- Tipo de retorno
Dict
[int
,float
]
- mle¶
Return the MLE for the amplitude, in $[0, 1]$.
- Tipo de retorno
float
- mle_processed¶
Return the post-processed MLE for the amplitude.
- Tipo de retorno
float
- num_evaluation_qubits¶
Returns the number of evaluation qubits.
- Tipo de retorno
int
- num_oracle_queries¶
Return the number of Grover oracle queries.
- Tipo de retorno
int
- post_processing¶
Return a handle to the post processing function.
- Tipo de retorno
Callable
[[float
],float
]
- samples¶
Return the measurement samples with their measurement probability.
- Tipo de retorno
Dict
[float
,float
]
- samples_processed¶
Return the post-processed measurement samples with their measurement probability.
- Tipo de retorno
Dict
[float
,float
]
- shots¶
Return the number of shots used. Is 1 for statevector-based simulations.
- Tipo de retorno
int