qiskit.opflow.expectations.PauliExpectation.compute_variance¶
- PauliExpectation.compute_variance(exp_op)[소스]¶
Compute the variance of the expectation estimator.
- 매개변수
exp_op (OperatorBase) – The full expectation value Operator after sampling.
- 반환
The variances or lists thereof (if exp_op contains ListOps) of the expectation value estimation.
- 반환 형식
Union[list, float, ndarray]