I've recently tried to build a Random generator using 5 hadamard gates (shown as U2 below) measured to 5 classical bits in parallel as shown in the circuit image.
I've executed this circuit for 8192 shots (and repeated this many times) hoping to get somehow flat histogram of every of 32 possible states. Yet, instead i've found that probability decreases in almost linear fassion from |00000> -> |11111> which is bizare. I'm very new to quantum computing - could someone explain me why there is visible such strong linear dependence? Or maybe this is expected, but why?
What I tried up til now:
- I've tried to change measurment order and using/not using barrier before measurements. Everything was calculated on ibmq_burlington mashine.
- I've also tried error mitigation (CompleteMeasFitter prepared and applied to results, with no luck - as before I can see a strong linear relation).
Can anybody help me to understand this behaviour?
Regards Konrad