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
It seems like that I can get the state vector by using cudaq.get_state(kernel), but can I edit it in-place?
I want to implement a multi-control z gate like z.ctrl(qubits.front(len(qubits)-1), qubits.back()), which only changes the value of state |1111....> theoretically, but it acts on all qubits in cudaq, which isn't supported when using multiple GPUs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like that I can get the state vector by using
cudaq.get_state(kernel)
, but can I edit it in-place?I want to implement a multi-control z gate like
z.ctrl(qubits.front(len(qubits)-1), qubits.back())
, which only changes the value of state |1111....> theoretically, but it acts on all qubits in cudaq, which isn't supported when using multiple GPUs.Beta Was this translation helpful? Give feedback.
All reactions