You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
measure operation returns incorrect value when using multi-chunk parallelization (cache blocking) and index qubit is out of chunk qubits.
Steps to reproduce the problem
This issue can be reproduced by using some noise model into a circuit and using cache blocking in statevector simulator.
What is the expected behavior?
Suggested solutions
norm() and trace() returns batched sum for all chunks so the measured value is always [1, 0].
Disable batched sum so that each chunk returns local sum correctly.
The text was updated successfully, but these errors were encountered:
Informations
What is the current behavior?
measure operation returns incorrect value when using multi-chunk parallelization (cache blocking) and index qubit is out of chunk qubits.
Steps to reproduce the problem
This issue can be reproduced by using some noise model into a circuit and using cache blocking in statevector simulator.
What is the expected behavior?
Suggested solutions
norm() and trace() returns batched sum for all chunks so the measured value is always [1, 0].
Disable batched sum so that each chunk returns local sum correctly.
The text was updated successfully, but these errors were encountered: