seemps.expectation.product_expectation# seemps.expectation.product_expectation(state: MPS, operator_list: list[TypeAliasForwardRef('~seemps.typing.Operator')]) → Weight[source]# Expectation value of a product of local operators \(\langle\psi|O_0 O_1 \cdots O_{N-1}|\psi\rangle\). Parameters: stateMPSState \(\psi\) onto which the expectation values are computed. operator_listlist[Operator]List of operators, with the same length len(operator_list) == len(state) Returns: float | complexExpectation value.