Open qci-petrenko opened 2 months ago
Hi @qci-petrenko,
Thank you for reporting the issue.
The current nvqc
target doesn't support quantum kernels that return values yet (the returned double
value in random_walk_qpe.cpp
is being ignored).
We'll put this feature in the next release.
Required prerequisites
Describe the bug
When running the random walk phase estimation example (random_walk_qpe.cpp) in WSL (on a Windows 11 machine - CPU simulation) using the 0.7.1 cuda-quantum image, the expected phase is returned:
Phase = 0.487390
.If running through Nvidia's cloud service (
--target nvqc
),Phase = 0.000000
. This is not expected. It's not clear whether this is a GPU simulation issue or something with the cloud service.Steps to reproduce the bug
The full terminal i/o is below:
Expected behavior
I expect to have the local simulation and the cloud simulation return the same result.
Is this a regression? If it is, put the last known working version (or commit) here.
Unknown.
Environment
Suggestions
No response