Skip to content

plot error? #439

@Wangwei-Lan

Description

@Wangwei-Lan

Hello,

I plotted a circuit in jupyter notebook in one cell, it worked fine. However, I continue to plot another circuit in the next cell, it always give me error. See below
circuit1 = chain(1, put(1=>H)); plot(circuit1)
circuit2 = chain(1, put(1=>X)); plot(circuit2)
The first one gives me the correct H gate, but I run the second code, circuit2 always gives me the same plot as circuit1, which is incorrect since it is an X gate. I am not quite sure whether it is a bug or it is because the setup on my computer is wrong. Could you help me verify that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions