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

Validate parameter expressions in rzz #2067

Open
yaelbh opened this issue Dec 3, 2024 · 0 comments
Open

Validate parameter expressions in rzz #2067

yaelbh opened this issue Dec 3, 2024 · 0 comments

Comments

@yaelbh
Copy link
Collaborator

yaelbh commented Dec 3, 2024

In rzz gates, all parameter expressions, when evaluated with the corresponding parameter values, must be between 0 and pi/2.

Today we validate only parameters. We scan the circuit to collect a list of parameters that appear in rzz gates, then we check their values. The complexity of the value check is O(number of rzz parameters * number of parameter sets). With parameter expressions, this will increase to O(number of unique rzz parameter expressions * number of parameter sets).

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