-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix macros.measure with backendv2 (#9987)
* create measuregrouping class * add meas_map.setter in MeasureGrouping class * macros.measure * get_qubit_groups * generate_schedule * target.add_measuregrouping in backend_compat * target.add_measuregrouping in backend_converter * reformat and add docs * on the way of working on generate_schedule_in_measure * split measure into measure_v1 and measure_v2 macros.py target delete raise statement in measure_v2 modify instructions.Acquire to Acquire * macros.py * test_measuregrouping * bug fix schedule with backendV2 for 0.25.0 * modify comments * fix name of schedule in test_macros * delete meas_map as a Target attribute * minor changes in macros.py * add test to test_macros.py * make schedule_remapping_memory_slot private * delete since field from deprecate_arg * delete deprecate depcorator * black macros.py * revert about target * modify implementation of qubit_mem_slots * change the definition of meas_group_set * black macros.py * fix meas_group_set * fix qubit_mem_slots * reno * modify unassigned_qubit_indices * remove list() from unassigned_qubit_indices and unassigned_reg_indices
- Loading branch information
Showing
3 changed files
with
242 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
releasenotes/notes/fix-macros-measure-with-backendV2-4354f00ab4f1cd3e.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
fixes: | ||
- | | ||
Fixed failure in using :func:`~qiskit.pulse.macros.measure` | ||
with :class:`.BackendV2` backends. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters