French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

ExpectationFactory

class ExpectationFactory[source]

Bases : object

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 Defined Here

build

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.