Skip to content

Commit

Permalink
Fix for_loop measure placement bug
Browse files Browse the repository at this point in the history
  • Loading branch information
enavarro51 committed Sep 23, 2023
1 parent 278f597 commit 1859210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/visualization/circuit/matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def _get_layer_widths(self, node_data, wire_map, outer_circuit, glob_data):
node_data[node].nest_depth = node_data[self._flow_parent].nest_depth + 1

# Build the wire_map to be used by this flow op
flow_wire_map = {}
flow_wire_map = wire_map.copy()
flow_wire_map.update(
{
inner: wire_map[outer]
Expand Down

0 comments on commit 1859210

Please sign in to comment.