Skip to content

Commit

Permalink
Update qiskit/circuit/random/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
  • Loading branch information
akshayp2003 and mtreinish committed Aug 10, 2022
1 parent c365402 commit 41f338c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/circuit/random/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def random_circuit(
shift = 0
condition_int = 0
for part in parts:
ipart = (int)(part)
ipart = int(part)
condition_int += ipart << shift
shift += 16
op.condition = (cr, condition_int)
Expand Down

0 comments on commit 41f338c

Please sign in to comment.