QAOADurations¶
- class QAOADurations¶
Total timing breakdown for a QAOA run.
All durations accumulate over every circuit evaluation performed during the classical optimization loop.
Methods
Attributes
Time spent in classical optimization, excluding quantum circuit execution (
total_time - total_response_time).Total wall-clock time from the start to the end of the QAOA run, including both quantum execution and classical optimization overhead.
Sum of response times across all quantum circuit evaluations, where response time is the round-trip time from circuit submission to result receipt.
Sum of execution times across all quantum circuit evaluations, where execution time is the time the quantum hardware (or simulator) was actively running.
- __eq__(other)¶
Return self==value.
- __init__(
- total_time: ~datetime.timedelta = <factory>,
- total_response_time: ~datetime.timedelta = <factory>,
- total_execution_time: ~datetime.timedelta = <factory>,
- __repr__()¶
Return repr(self).
- __dataclass_fields__ = {'total_execution_time': Field(name='total_execution_time',type='timedelta',default=<dataclasses._MISSING_TYPE object>,default_factory=<function QAOADurations.<lambda>>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), 'total_response_time': Field(name='total_response_time',type='timedelta',default=<dataclasses._MISSING_TYPE object>,default_factory=<function QAOADurations.<lambda>>,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=<function QAOADurations.<lambda>>,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=False)¶
- __hash__ = None¶
- __match_args__ = ('total_time', 'total_response_time', 'total_execution_time')¶
- property classical_processing_time: timedelta¶
Time spent in classical optimization, excluding quantum circuit execution (
total_time - total_response_time).
- total_execution_time: timedelta¶
Sum of execution times across all quantum circuit evaluations, where execution time is the time the quantum hardware (or simulator) was actively running.