Skip to content

Commit 7ed744d

Browse files
committed
switch to using standard measurement
1 parent 4ebc574 commit 7ed744d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bloqade/pyqrack/noise/native.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def atom_loss_channel(
9393

9494
for qarg in active_qubits:
9595
if interp.rng_state.uniform() <= stmt.prob:
96-
sim_reg = qarg.ref.sim_reg
97-
sim_reg.force_m(qarg.addr, 0)
96+
qarg.ref.sim_reg.r(qarg.addr)
9897
qarg.drop()
9998

10099
return ()

0 commit comments

Comments
 (0)