28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
---
|
||
title: EstimatorResult
|
||
description: API reference for qiskit.primitives.EstimatorResult
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.primitives.EstimatorResult
|
||
---
|
||
|
||
# EstimatorResult
|
||
|
||
<Class id="qiskit.primitives.EstimatorResult" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.20/qiskit/primitives/estimator_result.py" signature="EstimatorResult(values, metadata)" modifiers="class">
|
||
Bases: `object`
|
||
|
||
Result of Estimator
|
||
|
||
```python
|
||
result = estimator(circuits, observables, params)
|
||
```
|
||
|
||
where the i-th elements of `result` correspond to the circuit and observable given by `circuit_indices[i]`, `observable_indices[i]`, and the parameter\_values bounds by `params[i]`. For example, `results.values[i]` gives the expectation value, and `result.metadata[i]` is a metadata dictionary for this circuit and parameters.
|
||
|
||
**Parameters**
|
||
|
||
* **values** (*np.ndarray*) – the array of the expectation values.
|
||
* **metadata** (*list\[dict]*) – list of the metadata.
|
||
</Class>
|
||
|