pytc.solver.bug_core.LowRankResult¶
- class pytc.solver.bug_core.LowRankResult(energy, U, S, iterations, converged, stop_reason, rank_hist=<factory>, e_hist=<factory>, t1=None, diagnostics=None)[source]¶
Bases:
objectWhat every BUG solver returns.
The doubles amplitude is
T = U diag(S) U^Tin the pair space (Ushaped(nocc, nvir, rank)or(nov, rank)as the solver keeps it).energyis the correlation energy,Noneonly for amplitude-only building blocks.diagnosticsholds the solver-specific detail (timings, augmentation widths, memory plan, …).Methods
__delattr__Implement delattr(self, name).
__dir__Default dir() implementation.
__eq__Return self==value.
__format__Default object formatter.
__ge__Return self>=value.
__getattribute__Return getattr(self, name).
__getstate__Helper for pickle.
__gt__Return self>value.
__init____init_subclass__This method is called when a class is subclassed.
__le__Return self<=value.
__lt__Return self<value.
__ne__Return self!=value.
__new____reduce__Helper for pickle.
__reduce_ex__Helper for pickle.
__repr__Return repr(self).
__setattr__Implement setattr(self, name, value).
__sizeof__Size of object in memory, in bytes.
__str__Return str(self).
__subclasshook__Abstract classes can override this to customize issubclass().
Attributes
__annotations____dataclass_fields____dataclass_params____dict____doc____hash____match_args____module____weakref__list of weak references to the object
- Parameters:
energy (float | None)
U (Any)
S (Any)
iterations (int)
converged (bool)
stop_reason (Literal['amplitude-step', 'energy-plateau', 'maxiter'])
rank_hist (list[int])
e_hist (list[float])
t1 (Any)
diagnostics (Any)
- energy: float | None¶
- U: Any¶
- S: Any¶
- iterations: int¶
- converged: bool¶
- stop_reason: Literal['amplitude-step', 'energy-plateau', 'maxiter']¶
- rank_hist: list[int]¶
- e_hist: list[float]¶
- t1: Any = None¶
- diagnostics: Any = None¶