Skip to content

ZXForm not recognizing CNOT gate #1

Description

@cjb123321

Hello, thank you for releasing this MaZX. The quantum circuit to ZX ability is very insightful.

I think there is an issue with the release (or I'm doing something wrong).

In the ZXForm demo notebook, I create the quantum circuit using the default example code:

Let[Qubit, S]
qc = QuantumCircuit[S[1, 6], CNOT[S[1], S[2]]]

and it works correctly. . .however, when I try to convert the qc to ZX form, it I get the following error:

ZXform: the current version of ZXform does not recognize the gate CNOT[{S1->1},{S2}]

I'll attached a screen shot as well.

Screen Shot 2024-01-01 at 9 25 36 PM

Is there a new CNOT gate format that ZXform will use correctly?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions