SamplingDurations

class SamplingDurations

Timing breakdown for a single quantum circuit sampling call.

Recorded for each call to SamplerProtocol.sampling().

Methods

Attributes

total_time

Total wall-clock time for this sampling call, including local overhead such as circuit transpilation and result decoding.

response_time

Time from circuit submission to result receipt (round-trip latency).

execution_time

Actual quantum hardware (or simulator) execution time.

__eq__(other)

Return self==value.

__hash__()

Return hash(self).

__init__(total_time: timedelta, response_time: timedelta, execution_time: timedelta) None
__repr__()

Return repr(self).

__dataclass_fields__ = {'execution_time': Field(name='execution_time',type='timedelta',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), 'response_time': Field(name='response_time',type='timedelta',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), 'total_time': Field(name='total_time',type='timedelta',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__ = ('total_time', 'response_time', 'execution_time')
execution_time: timedelta

Actual quantum hardware (or simulator) execution time. For simulators this is typically equal to response_time.

response_time: timedelta

Time from circuit submission to result receipt (round-trip latency).

total_time: timedelta

Total wall-clock time for this sampling call, including local overhead such as circuit transpilation and result decoding.