QiskitJobMeta

class QiskitJobMeta

Metadata for a single Qiskit quantum job.

Attached to each circuit evaluation result when using a Qiskit-based sampler.

Methods

Attributes

circuit

Original (untranspiled) quantum circuit submitted to the sampler.

transpiled_circuit

Transpiled circuit that was actually sent to the backend, or None if no transpilation pass manager was applied.

job_id

IBM Quantum job identifier, useful for tracking jobs on the IBM Quantum platform.

metadata

Raw metadata from the job result object, if available.

metrics

Performance metrics reported by the job, if available (e.g., circuit duration on real hardware).

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

__init__(
circuit: QuantumCircuit,
transpiled_circuit: QuantumCircuit | None,
job_id: str,
metadata: dict | None = None,
metrics: dict | None = None,
) None
__repr__()

Return repr(self).

__dataclass_fields__ = {'circuit': Field(name='circuit',type='QiskitCircuit.T_circuit',default=<dataclasses._MISSING_TYPE object>,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), 'job_id': Field(name='job_id',type='str',default=<dataclasses._MISSING_TYPE object>,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), 'metadata': Field(name='metadata',type='dict | None',default=None,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), 'metrics': Field(name='metrics',type='dict | None',default=None,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), 'transpiled_circuit': Field(name='transpiled_circuit',type='QiskitCircuit.T_circuit | None',default=<dataclasses._MISSING_TYPE object>,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD)}
__dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,order=False,unsafe_hash=False,frozen=True)
__match_args__ = ('circuit', 'transpiled_circuit', 'job_id', 'metadata', 'metrics')
circuit: QuantumCircuit

Original (untranspiled) quantum circuit submitted to the sampler.

job_id: str

IBM Quantum job identifier, useful for tracking jobs on the IBM Quantum platform.

metadata: dict | None

Raw metadata from the job result object, if available.

metrics: dict | None

Performance metrics reported by the job, if available (e.g., circuit duration on real hardware).

transpiled_circuit: QuantumCircuit | None

Transpiled circuit that was actually sent to the backend, or None if no transpilation pass manager was applied.