Replies: 1 comment 2 replies
-
Hi @chnixi, This is a bug in CUDA-Q 0.12 that we have identified and fixed (for more details, see here). Could you please try the CUDA-Q nightly Docker image (nvcr.io/nvidia/nightly/cuda-quantum:cu12-latest) to check if it works for you? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
When I am trying to run a multi-body dynamics simulation with the latest CUDA-Q version 0.12, I get an error whenever the Hamiltonian contains a product of two boson.number operators for the 3rd qubit and beyond, for example boson.number(index)*boson.number(index) where index>=2. The error message reads “Error in tensor callback: missing dimension for degree
#ERROR: Exception: #ERROR(CallbackError): External tensor callback function failed with error code 14
RuntimeError: [cudaq] %16 in computeImpl (line 92)”
No such error occurs for qubit index=0,1, or just the number operator itself (without product). The same simulation runs without issues on the older 0.10 version. Below is an example script to reproduce the error:
Beta Was this translation helpful? Give feedback.
All reactions