Open Zhaoyilunnn opened 2 months ago
Actually the simulator returns the correct counts
.
The reason of this bug is due to the dependency of state vector to calculate the ideal probability distribution.
However, for dynamic circuit current implementation does not support this as it simulate same circuit for multiple times, thus the probability only reflects the last execution resutls.
Expect results of qc1 to have four cases 001, 011, 101, 111. But only output 111