---
title: EstimatorPubResult (latest version)
description: API reference for qiskit_ibm_runtime.results.EstimatorPubResult in the latest version of qiskit-ibm-runtime
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/qiskit-ibm-runtime/results-estimator-pub-result
---

# EstimatorPubResult

*class* `EstimatorPubResult(data, metadata=None)`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/results/estimator_pub.py#L27-L129)

Bases: [`PubResult`](/docs/api/qiskit/qiskit.primitives.PubResult)

Result of Estimator Pub.

Initialize a pub result.

**Parameters**

- **data** (*DataBin*) – Result data.
- **metadata** (*dict\[str, Any] | None*) – Metadata specific to this pub. Keys are expected to be strings.

## Attributes

### data

Result data for the pub.

### metadata

Metadata for the pub.

## Methods

### draw\_zne\_evs

`draw_zne_evs(indices=None, names=None, num_stds=1, max_mag=10, max_std=0.2, height=500, width=1000, num_cols=4, colorscale='Aggrnyl')`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/results/estimator_pub.py#L30-L80)

Plot the zero noise extrapolation data contained in this estimator pub result.

This method generates a subfigure for each expectation value.

**Parameters**

- **indices** (*Sequence\[tuple\[int, ...]] | None*) – The indices of the expectation values to include in the plot. If `None`, includes all values. See [`ZneOptions`](/docs/api/qiskit-ibm-runtime/options-zne-options "qiskit_ibm_runtime.options.ZneOptions") for information on the indexing scheme.
- **names** (*Sequence\[str] | None*) – The names to assign to the expectation values. If `None`, the names correspond to the indices.
- **num\_stds** (*int*) – The number of standard deviations to include around each fit.
- **max\_mag** (*float*) – The maximum magnitude of expectation values to include. If `evs_extrapolated` has a greater magnitude than this value, the expectation value is omitted from the plot.
- **max\_std** (*float*) – The maximum standard deviation to include. If `stds_extrapolated` is greater than this value for an expectation value and extrapolator, the fit is omitted from the plot.
- **height** (*int*) – The height of the plot in pixels.
- **width** (*int*) – The width of the plot in pixels.
- **num\_cols** (*int*) – The maximum number of columns in the figure.
- **colorscale** (*str*) – The colorscale to use.

**Returns**

A plotly figure.

**Return type**

PlotlyFigure

### draw\_zne\_extrapolators

`draw_zne_extrapolators(indices=None, names=None, num_stds=1, max_mag=10, max_std=0.2, height=500, width=1000, colorscale='Aggrnyl')`

[GitHub](https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.49/qiskit_ibm_runtime/results/estimator_pub.py#L82-L129)

Plot the zero noise extrapolation data contained in this estimator pub result.

This method generates a subfigure for each extrapolator.

**Parameters**

- **indices** (*Sequence\[tuple\[int, ...]] | None*) – The indices of the expectation values to include in the plot. If `None`, includes all values. See [`ZneOptions`](/docs/api/qiskit-ibm-runtime/options-zne-options "qiskit_ibm_runtime.options.ZneOptions") for information on the indexing scheme.
- **names** (*Sequence\[str] | None*) – The names to assign to the expectation values. If `None`, the names correspond to the indices.
- **num\_stds** (*int*) – The number of standard deviations to include around each fit.
- **max\_mag** (*float*) – The maximum magnitude of expectation values to include. If `evs_extrapolated` has a greater magnitude than this value, the expectation value is omitted from the plot.
- **max\_std** (*float*) – The maximum standard deviation to include. If `stds_extrapolated` is greater than this value for an expectation value and extrapolator, the fit is omitted from the plot.
- **height** (*int*) – The height of the plot in pixels.
- **width** (*int*) – The width of the plot in pixels.
- **colorscale** (*str*) – The colorscale to use.

**Returns**

A plotly figure.

**Return type**

PlotlyFigure
