NVIDIA / cuda-quantum

C++ and Python support for the CUDA Quantum programming model for heterogeneous quantum-classical workflows
https://nvidia.github.io/cuda-quantum/
Other
486 stars 179 forks source link

trotter example not running on remote simulators #2210

Closed annagrin closed 1 week ago

annagrin commented 2 weeks ago

Required prerequisites

Describe the bug

The following command is failing with a segmentation fault with the new launch kernel:

nvq++ --enable-mlir -v trotter_kernel_mode.cpp -o trotter.x  --target remote-mqpu -fkernel-exec-kind=2 && ./trotter.x

Steps to reproduce the bug

see trotter_kernel_mode.cpp

Command to run:

nvq++ --enable-mlir -v trotter_kernel_mode.cpp -o trotter.x --target remote-mqpu -fkernel-exec-kind=2 && ./trotter.x

Expected behavior

Run successfully

Is this a regression? If it is, put the last known working version (or commit) here.

Not a regression

Environment

Suggestions

No response