Extending CUDAQ with a new Simulator: nvqir_add_backend Error #3099
-
Hi! I'm trying to run the MySimulator example to add a new simulator Backend to CUDA-Q.
I run into the following error:
As I'm unaware of the behavior of Some details on what I've done: Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@Maxime-pixel Thank you for the question. Indeed, the CMakeLists.txt snippet is not up to date. A correct usage should be: Additionally, the code snippet for In the meantime, the code snippet below should compile
You could also refer to CUDA-Q simulator implementations (https://github.com/NVIDIA/cuda-quantum/tree/main/runtime/nvqir) for reference. |
Beta Was this translation helpful? Give feedback.
There was a bug in the
nvqir_add_backend
CMake function, which is fixed in #3164.Could you please try it again with the latest CUDA-Q
main
or the 'nightly' Docker image?