List of list in kernel argument gives error #2627
Labels
bug
Something isn't working
python-lang
Anything related to the Python CUDA Quantum language implementation
Required prerequisites
Describe the bug
running the above code gives this error:
RuntimeError: error: Cannot infer CUDA-Q type from provided
Python type (!cc.stdvec<!cc.stdvec>)
Steps to reproduce the bug
The issue seems to be with actually calling the kernel. Doing a print(kernel) works, and seems to return valid MLIR
Expected behavior
The kernel should be correctly compiled and apply x gate on all qubits and have 11111 state when print counts.
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: