qiskit.quantum_info.Statevector.expectation_value¶ Statevector.expectation_value(oper, qargs=None)[source]¶ Compute the expectation value of an operator. Paramètres oper (Operator) – an operator to evaluate expval of. qargs (None or list) – subsystems to apply operator on. Renvoie the expectation value. Type renvoyé complex