You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consult the security policy. If reporting a security vulnerability, do not report the bug using this form. Use the process described in the policy to report the issue.
Make sure you've read the documentation. Your issue may be addressed there.
Search the issue tracker to verify that this hasn't already been reported. +1 or comment there if it has.
If possible, make a PR with a failing test to give us a starting point to work on!
Describe the bug
The following will run an infinite loop:
import cudaq
kernel = cudaq.make_kernel()
qubits = kernel.qalloc(2)
for qubit in qubits:
print(qubit)
Required prerequisites
Describe the bug
The following will run an infinite loop:
which prints
Steps to reproduce the bug
See attached code
Expected behavior
We expect an error or for the loop to terminate properly.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
All latest
Suggestions
No response
The text was updated successfully, but these errors were encountered: