TPBGroupedWeightedPauliOperator.evaluate_with_statevector

TPBGroupedWeightedPauliOperator.evaluate_with_statevector(quantum_state)
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