Skip to content

Commit

Permalink
Update src/braket/simulator_v2/simulator.py
Browse files Browse the repository at this point in the history
Co-authored-by: Abe Coull <[email protected]>
  • Loading branch information
krneta and AbeCoull authored May 2, 2024
1 parent b9d23a0 commit 9031d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/braket/simulator_v2/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def run_jaqcd(
for instruction in circuit_ir.instructions
]

if shots > 0 and circuit_ir.basis_rotation_instructions:
if shots and circuit_ir.basis_rotation_instructions:
for instruction in circuit_ir.basis_rotation_instructions:
operations.append(from_braket_instruction(instruction))

Expand Down

0 comments on commit 9031d29

Please sign in to comment.