Kernels do not take as input a list[list[int]] type object #1809
Labels
bug
Something isn't working
python-lang
Anything related to the Python CUDA Quantum language implementation
Milestone
Required prerequisites
Describe the bug
When I pass a list[list[int]] to a cudaq kernel, I get the following error:
RuntimeError: error: Cannot infer CUDA-Q type from provided Python type (!cc.stdvec<!cc.stdvec>)
I didn't expect this, since in the documentation there are examples where this type is passed to a kernel.
Steps to reproduce the bug
Expected behavior
I expect to get the output {'011' : 1000}.
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response
The text was updated successfully, but these errors were encountered: