qdk_chemistry.algorithms.expectation_estimator.qdk module

QDK/Chemistry expectation estimator abstractions and utilities.

class qdk_chemistry.algorithms.expectation_estimator.qdk.QdkExpectationEstimator[source]

Bases: ExpectationEstimator

QDK implementation of the ExpectationEstimator.

__init__()[source]

Initialize the QdkExpectationEstimator.

type_name()[source]

Return expectation_estimator as the algorithm type name.

Return type:

str

name()[source]

Get the name of the estimator for registry purposes.

Return type:

str

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