Skip to main contentIBM Quantum Documentation
This page is from the dev version of Qiskit SDK. Go to the stable version

PrimitiveResult

class qiskit.primitives.PrimitiveResult(pub_results, metadata=None)

GitHub

Bases: Generic[T]

A container for multiple pub results and global metadata.

Parameters

  • pub_results (Iterable[T]) – Pub results.
  • metadata (dict[str, Any] | None) – Metadata that is common to all pub results; metadata specific to particular pubs should be placed in their metadata fields. Keys are expected to be strings.

Attributes

metadata

The metadata of this primitive result.

Was this page helpful?
Report a bug or request content on GitHub.