Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version

EstimatorResult

class EstimatorResult(values, metadata)

GitHub

Bases: object

Result of Estimator

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.
Was this page helpful?
Report a bug or request content on GitHub.