Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QASM is not IBM Q specific #7

Open
Roger-luo opened this issue May 18, 2021 · 2 comments
Open

QASM is not IBM Q specific #7

Roger-luo opened this issue May 18, 2021 · 2 comments

Comments

@Roger-luo
Copy link
Member

# IBMQ Chip only supports ["id", "u1", "u2", "u3", "cx"]

QASM itself is not IBM Q specific, it supports more operations, let's also support conversion from some other gates in YaoBlocks (open a PR, and I can help you on this).

@Sov-trotter
Copy link
Member

I think I might have fixed this(just forgot to remove the comments). I used the IBMQ Circuit Composer(and the generated qasm code) to verify that. But just in case there are more, we can surely have them as well.

@Roger-luo
Copy link
Member Author

OK, as a note here, the other case is we will need to provide a qelib1.inc free version of the target, which means you will only generate U and CNOT, but since YaoBlocks can't inline user defined gates, we prob just don't this for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants