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

PubResult

class qiskit.primitives.PubResult(data, metadata=None)

GitHub

Bases: object

Result of Primitive Unified Bloc.

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.

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