qiskit.aqua.operators.legacy.WeightedPauliOperator.evaluate_with_statevector¶ WeightedPauliOperator.evaluate_with_statevector(quantum_state)[source]¶ Parameters quantum_state (numpy.ndarray) – a quantum state. Returns the mean value float: the standard deviation Return type float Raises AquaError – if Operator is empty