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_to_circuit method not supporting u1, u2, u3 gate #23

Closed
Zhaoyilunnn opened this issue Jun 7, 2023 · 0 comments · Fixed by #20
Closed

qasm_to_circuit method not supporting u1, u2, u3 gate #23

Zhaoyilunnn opened this issue Jun 7, 2023 · 0 comments · Fixed by #20

Comments

@Zhaoyilunnn
Copy link
Collaborator

Problem

qasm_to_circuit method not supporting u1, u2, u3 gate

Root Cause

from_openqasm method support u1, u2, u3 gate. (code pointer).

However, u1, u2, u3 gates are not independent classes and are not supported in dagcircuits. (code pointer)

Solution

TBD

Suggestion

Suggest not to deprecate from_openqasm method in QuantumCircuit class, because we need to ensure backward compatibility. We can throw a deprecated warning to guide users to gradually trans to new methods in qfasm.

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

Successfully merging a pull request may close this issue.

1 participant