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

Qcir read give problem in u3 gates #135

Open
dvnoble opened this issue Jun 21, 2024 · 0 comments
Open

Qcir read give problem in u3 gates #135

dvnoble opened this issue Jun 21, 2024 · 0 comments

Comments

@dvnoble
Copy link

dvnoble commented Jun 21, 2024

Hello! I am using version 0.7.0 and I am having a phase problem with circuits with u3 and u2 gates.
u3 gates require 3 parameters but qcir is able to read 1 parameter.
For example:
u3(0,0,0) q[1];
gives the error message
[error] invalid phase on line u3(0,0,0) q[1];!!

However,
u3(0) q[1];
works but this shouldn't work for this gate type.

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

1 participant