NormalElimination¶
- class NormalElimination¶
Record of a variable explicitly eliminated during an RQAOA iteration.
Methods
Attributes
The index of the variable selected for elimination.
The term selected for elimination, represented as a tuple of variable indices.
The sign of the selected term, either +1 or -1.
- __eq__(other)¶
Return self==value.
- __repr__()¶
Return repr(self).
- __dataclass_fields__ = {'index': Field(name='index',type='int',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), 'sign': Field(name='sign',type='Literal[1, -1]',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), 'term': Field(name='term',type='tuple[int, ...]',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__ = ('index', 'term', 'sign')¶