0

I have been using Qiskit CircuitSampler class to calculate the expectation values of operators as described here. Now it turns out that when it is used with statevector_simulator it ignores the number of shots specified. How does CircuitSampler calculate expectation value of an operator in this case and otherwise?

bisarch
  • 189
  • 1
  • 7

0 Answers0