hespas.estimator.cache
Classes
|
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:
SerialisableThis 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