Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit SDK의 이전 버전입니다. 최신 버전으로 이동

EstimatorResult

class qiskit.primitives.EstimatorResult(values, metadata)

GitHub

Bases: _BasePrimitiveResult

Result of Estimator.

result = estimator.run(circuits, observables, params).result()

where the i-th elements of result correspond to the circuit and observable given by circuits[i], observables[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.

Attributes

values

유형: np.ndarray[Any, np.dtype[np.float64]]

metadata

유형: list[dict[str, Any]]

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.