Skip to content

Commit

Permalink
Fixed failed test case Qiskit#13485
Browse files Browse the repository at this point in the history
  • Loading branch information
kibrahim757 committed Dec 5, 2024
1 parent e53fdad commit 9821fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/qasm3/printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def _visit_QuantumBarrier(self, node: ast.QuantumBarrier) -> None:

def _visit_QuantumGlobalBarrier(self, node: ast.QuantumGlobalBarrier) -> None:
self._start_line()
self.stream.write("barrier ")
self.stream.write("barrier")
self._end_statement()

def _visit_ProgramBlock(self, node: ast.ProgramBlock) -> None:
Expand Down

0 comments on commit 9821fac

Please sign in to comment.