# Error with IBM's Quantum Composer Qiskit Histogram when Resets are involved?

I am having trouble understanding what IBM's histogram is doing.

I have independently verified, in agreement with the statevector given from IBM, that after all these steps the statevector should be in the state:

$$|\psi\rangle = \left(\frac{1}{\sqrt{6}}\> \frac{1}{\sqrt{6}}\>\frac{1}{\sqrt{6}}\>0\>\frac{1}{\sqrt{6}}\>\frac{1}{\sqrt{6}}\>\frac{1}{\sqrt{6}}\> 0 \> \ldots 0\right)^T$$

Where the dots stand in for 23 more 0's. When simulating measurement, I acquire the following Histogram:

Which matches up exactly with the absolute value of the squares amplitudes, which is what I believe the histogram should generate, especially after this answer confirmed as much.

However IBM does not generate this histogram, it generates the following histogram:

which is exactly the histogram I generate independently when I ignore the resets.

Does IBM have an error when dealing with Resets, or am I misunderstanding something?

• Apologies for the barrage of clarifying questions: Is it possible to simulate this without having an ancillary qubit the whole time? All my probabilities work out when I introduce a $|0\rangle$ ancilla to swap and emulate a reset. However at some point I would like to dispose of the ancilla, unfortunately this would get rid of some probability. My Naive thought is to simply re-normalize after discarding but that probably violate the no-communication theorem. Any help/resources would be greatly appreciated Jan 12 at 2:49