ExpectationFactory

class ExpectationFactory[source]

A factory class for convenient automatic selection of an Expectation based on the Operator to be converted and backend used to sample the expectation value.

Methods

ExpectationFactory.build(operator[, …])

A factory method for convenient automatic selection of an Expectation based on the Operator to be converted and backend used to sample the expectation value.