-
Notifications
You must be signed in to change notification settings - Fork 211
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
cannot use @cudaq.kernel in the interpreter: OSError: could not get source code #2593
Comments
Possible solutionThe problem highlighted from @jeffhammond can be solved by using Python 3.13. Unfortunately, CUDA-Q does not support Python 3.13 at the moment (#2228).
|
Required prerequisites
Describe the bug
I tried to run the demo on https://nvidia.github.io/cuda-quantum/latest/applications/python/vqe_advanced.html directly in the interpreter. It fails with the following:
Steps to reproduce the bug
Type this into the interpreter and press return:
Expected behavior
What the documentation describes on the aforementioned page.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
pip install --upgrade cudaq
today.Suggestions
No response
The text was updated successfully, but these errors were encountered: