Skip to content

Commit

Permalink
fix meas_map input in measure_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
to24toro committed May 26, 2023
1 parent 3cd1192 commit 4ae58e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/pulse/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def measure(
return _measure_v2(
qubits=qubits,
target=backend.target,
meas_map=meas_map or getattr(backend, "meas_map", [list(range(backend.num_qubits))]),
meas_map=meas_map or backend.meas_map,
qubit_mem_slots=qubit_mem_slots or dict(zip(qubits, range(len(qubits)))),
measure_name=measure_name,
)
Expand Down

0 comments on commit 4ae58e7

Please sign in to comment.