Skip to main contentIBM Quantum Documentation Mirror

QuantumProgramResultModel

pydantic model QuantumProgramResultModel

GitHub

Bases: BaseModel

Result from executing a quantum program.

data

field

Type: list[QuantumProgramResultItemModel] [Required]

Resulting data for each quantum program item.

metadata

field

Type: MetadataModel [Required]

Execution metadata pertaining to the job as a whole.

passthrough_data

field

Type: DataTree

Default value: None

Arbitrary nested data passed through execution without modification.

schema_version

field

Type: Literal['v1.0']

Default value: 'v1.0'

Schema version of the result type.

semantic_role

field

Type: str | None

Default value: None

Semantic role indicating how execution results may be post-processed by runtime clients.

Reserved system values include ‘sampler-v2’ and ‘estimator-v2’, and are subject to change without notice. Third party clients should not set or depend on this value.