qdk_chemistry.algorithms.expectation_estimator.expectation_estimator module
QDK/Chemistry expectation estimator abstractions and utilities.
- class qdk_chemistry.algorithms.expectation_estimator.expectation_estimator.ExpectationEstimator[source]
Bases:
AlgorithmAbstract base class for expectation estimator algorithms.
- run(*args, **kwargs)
Run the algorithm with the provided arguments.
This method wraps the internal _run_impl method to provide a consistent interface for executing the algorithm.
- Parameters:
args – The arguments required to run the algorithm.
kwargs – The keyword arguments required to run the algorithm.
- Returns:
The results of the algorithm
- Return type:
Any
- class qdk_chemistry.algorithms.expectation_estimator.expectation_estimator.ExpectationEstimatorFactory[source]
Bases:
AlgorithmFactoryFactory class for creating ExpectationEstimator instances.