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
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)
root@f4bab51c0fb2:/workspaces/cuda-quantum# python3 python/tests/mlir/target/tmp.py --target quantinuum
error: 'func.func' op synthesis: unsupported argument type for remote devices and simulators: state*
error: 'func.func' op We cannot synthesize argument(s) of this type.
RuntimeError: Could not successfully apply quake-synth.
Expected behavior
For remote sim, the code should run successfully. For quantinuum, the code should run successfully after #2291
Is this a regression? If it is, put the last known working version (or commit) here.
Not a regression
Environment
CUDA Quantum version:
Python version:
C++ compiler:
Operating system:
Suggestions
No response
The text was updated successfully, but these errors were encountered:
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 #2291
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: