RQAOAHistoryItem¶
- class RQAOAHistoryItem¶
ベースクラス:
Generic[SamplingMeta_co]Record of a single iteration during RQAOA optimization.
Methods
Attributes
Elapsed time from the start of optimization to when this iteration completed.
The objective function at this iteration.
The result of the QAOA evaluation performed at this iteration, if any.
Information about the variable elimination performed at this iteration, if any.
- __eq__(other)¶
Return self==value.
- __init__(
- timestamp: timedelta,
- model: Poly,
- qaoa_result: QAOAResult[SamplingMeta_co] | None,
- elimination_info: EliminationInfo | None,
- __repr__()¶
Return repr(self).
- __dataclass_fields__ = {'elimination_info': Field(name='elimination_info',type='EliminationInfo | 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), 'model': Field(name='model',type='Poly',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), 'qaoa_result': Field(name='qaoa_result',type='QAOAResult[SamplingMeta_co] | 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), 'timestamp': Field(name='timestamp',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=False)¶
- __hash__ = None¶
- __match_args__ = ('timestamp', 'model', 'qaoa_result', 'elimination_info')¶
- elimination_info: EliminationInfo | None¶
Information about the variable elimination performed at this iteration, if any.
- qaoa_result: QAOAResult[SamplingMeta_co] | None¶
The result of the QAOA evaluation performed at this iteration, if any.
- timestamp: timedelta¶
Elapsed time from the start of optimization to when this iteration completed.