-
Notifications
You must be signed in to change notification settings - Fork 28
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
Bug (jasp): Error when a function is passed as an argument for a RUS trial_function #114
Comments
There is also a bug when an array is passed as an argument:
Yields:
In this case, make_jaspr does not yield an error. |
Another issue:
Yields:
(There is no error without the control environment.) |
This might be more of a missunderstanding issue. The control qubits of the ControlEnvironment have to be a static list. This is why we convert the QuantumVariable, which is a dynamic quantity. If we know the size is static, we can turn it into the list with a simple static loop. But here, n is a dynamic number. The ctrl state also has to be a static integer. |
Yields:
The text was updated successfully, but these errors were encountered: