Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
konakaji committed Nov 15, 2022
1 parent cdd8011 commit 0748317
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion qwrapper/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def barrier(self):
self.qc.barrier()

def draw(self, output="mpl"):
return self.qc.draw(output=output, style={"name": "bw"})
return self.qc.draw(output=output, style={"name": "bw"}, plot_barriers=False)

def draw_and_show(self):
self.draw()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="qwrapper",
version="0.2.2",
version="0.2.3",
author="kouhei nakaji",
author_email="[email protected]",
description="You can receive the message 'Hello!!!'",
Expand Down
1 change: 1 addition & 0 deletions test/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ def test_draw(self):
qc.rx(0.2, 1)
qc.ry(0.5, 2)
qc.cnot(1, 3)
qc.barrier()
qc.ry(0.5, 3)
qc.draw_and_show()

Expand Down

0 comments on commit 0748317

Please sign in to comment.