qiskit-documentation/docs/api/qiskit/0.44/qiskit.algorithms.Amplitude...

121 lines
3.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: AmplitudeEstimationResult
description: API reference for qiskit.algorithms.AmplitudeEstimationResult
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.algorithms.AmplitudeEstimationResult
---
# AmplitudeEstimationResult
<Class id="qiskit.algorithms.AmplitudeEstimationResult" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.25/qiskit/algorithms/amplitude_estimators/ae.py" signature="qiskit.algorithms.AmplitudeEstimationResult" modifiers="class">
Bases: [`AmplitudeEstimatorResult`](qiskit.algorithms.AmplitudeEstimatorResult "qiskit.algorithms.amplitude_estimators.amplitude_estimator.AmplitudeEstimatorResult")
The `AmplitudeEstimation` result object.
## Attributes
### circuit\_results
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.circuit_results">
Return the circuit results. Can be a statevector or counts dictionary.
</Attribute>
### confidence\_interval
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.confidence_interval">
Return the confidence interval for the amplitude (95% interval by default).
</Attribute>
### confidence\_interval\_processed
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.confidence_interval_processed">
Return the post-processed confidence interval (95% interval by default).
</Attribute>
### estimation
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.estimation">
Return the estimation for the amplitude in $[0, 1]$.
</Attribute>
### estimation\_processed
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.estimation_processed">
Return the estimation for the amplitude after the post-processing has been applied.
</Attribute>
### max\_probability
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.max_probability">
Return the maximum sampling probability.
</Attribute>
### measurements
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.measurements">
Return the measurements as integers with their measurement probability.
</Attribute>
### mle
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.mle">
Return the MLE for the amplitude, in $\[0, 1]\$.
</Attribute>
### mle\_processed
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.mle_processed">
Return the post-processed MLE for the amplitude.
</Attribute>
### num\_evaluation\_qubits
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.num_evaluation_qubits">
Returns the number of evaluation qubits.
</Attribute>
### num\_oracle\_queries
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.num_oracle_queries">
Return the number of Grover oracle queries.
</Attribute>
### post\_processing
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.post_processing">
Return a handle to the post processing function.
</Attribute>
### samples
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.samples">
Return the measurement samples with their measurement probability.
</Attribute>
### samples\_processed
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.samples_processed">
Return the post-processed measurement samples with their measurement probability.
</Attribute>
### shots
<Attribute id="qiskit.algorithms.AmplitudeEstimationResult.shots">
Return the number of shots used. Is 1 for statevector-based simulations.
</Attribute>
## Methods
### combine
<Function id="qiskit.algorithms.AmplitudeEstimationResult.combine" signature="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**](https://docs.python.org/3/library/exceptions.html#TypeError "(in Python v3.12)") Argument is None
</Function>
</Class>