hespas.estimator.cache

Classes

CacheElement(hw_config, result, ...)

This class is a simple container class for an element within the Estimator's cache, containing the hardware configuration and the estimation result.

class hespas.estimator.cache.CacheElement(hw_config: dict[str, Any], result: EstimatorResult, estimator_name: str, hash: str)

Bases: Serialisable

This class is a simple container class for an element within the Estimator’s cache, containing the hardware configuration and the estimation result.

hw_config: dict[str, Any]
result: EstimatorResult
estimator_name: str
hash: str
__init__(hw_config: dict[str, Any], result: EstimatorResult, estimator_name: str, hash: str) None