diff --git a/qc.py b/qc.py index 57b8fd2..88009d0 100644 --- a/qc.py +++ b/qc.py @@ -109,11 +109,9 @@ def statevcector_normalization(): def results(): print("results:") graphchar = '\N{Black Circle}' - b = 0 # evens then odds for n in chain(range(0, qc.COUNT, 2), range(1, qc.COUNT, 2)): - print(f'{b:02b}: [{qc.z[n]}] {qc.z[n] * graphchar}') - b += 1 + print(f'{n:02b}: [{qc.z[n]}] {qc.z[n] * graphchar}') def main(): shots = 28