diff --git a/qwrapper/circuit.py b/qwrapper/circuit.py index 4dd3764..46f8254 100644 --- a/qwrapper/circuit.py +++ b/qwrapper/circuit.py @@ -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() diff --git a/setup.py b/setup.py index 0586ce0..997fd55 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="qwrapper", - version="0.2.2", + version="0.2.3", author="kouhei nakaji", author_email="nakajijiji@gmail.com", description="You can receive the message 'Hello!!!'", diff --git a/test/circuit.py b/test/circuit.py index 7cfe5eb..4c07561 100644 --- a/test/circuit.py +++ b/test/circuit.py @@ -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()