We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example which currently does not produce a correct program:
@aq.main(num_qubits=3) def main(): val = 0.5 for i in aq.range(3): val = val + measure(i) return val
Either need to handle this correctly, or raise an appropriate exception with instructions on how to fix it.
This issue is extracted from amazon-braket/amazon-braket-sdk-python#929, since it was not fixed by the corresponding PR amazon-braket/amazon-braket-sdk-python#930.
A possible starting point for detecting/fixing this can be found on this branch: amazon-braket/amazon-braket-sdk-python@feature/autoqasm...rmshaffer/autoqasm-py-value-iterative-assignment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example which currently does not produce a correct program:
Either need to handle this correctly, or raise an appropriate exception with instructions on how to fix it.
This issue is extracted from amazon-braket/amazon-braket-sdk-python#929, since it was not fixed by the corresponding PR amazon-braket/amazon-braket-sdk-python#930.
A possible starting point for detecting/fixing this can be found on this branch:
amazon-braket/amazon-braket-sdk-python@feature/autoqasm...rmshaffer/autoqasm-py-value-iterative-assignment
The text was updated successfully, but these errors were encountered: