Open annagrin opened 1 month ago
This will require refactoring the platofrm/qpu interface along with the caching of Python kernels done in these layers. Specifically, this is caching a lower variant of the kernel with the expectation that the arguments will be provided late. The new argument synthesis takes the opposite approach: arguments are synthesized earlier. #2338 will help with many of the problems, but it will never support cudaq::state
since that cannot be synthesized in the compiler.
Required prerequisites
Describe the bug
Python code using states as arguments fails to synthesize on quantum targets and remote sim due to the new launch kernel not being invoked (old synthesis message is displayed)
Steps to reproduce the bug
Code
Output
Expected behavior
For remote sim, the code should run successfully. For quantinuum, the code should run successfully after https://github.com/NVIDIA/cuda-quantum/pull/2291
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
Suggestions
No response