Skip to content

Commit 0e7fb7c

Browse files
Merge pull request #464 from quantumlib/align-cirq-0_13_1
Align with Cirq 0.13.1
2 parents d9b5a7b + 2e6e05e commit 0e7fb7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qsimcirq/qsim_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def _sample_measure_results(
305305
current_index = 0
306306
for op in measurement_ops:
307307
gate = op.gate
308-
key = protocols.measurement_key(gate)
308+
key = protocols.measurement_key_name(gate)
309309
meas_ops[key] = op
310310
if key in bounds:
311311
raise ValueError(f"Duplicate MeasurementGate with key {key}")

0 commit comments

Comments
 (0)