Undefined Quantum Gates -X, H, MZ when running CUDA-Q Docker in VS Code #1798
Unanswered
srinjoyganguly
asked this question in
Q&A
Replies: 2 comments
-
For Pylance error(s), can you try adding |
Beta Was this translation helpful? Give feedback.
0 replies
-
The example you are trying doesn't take input argument Try changing |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello everyone,
I am trying to run the Bernstein Vazirani algorithm using VS Code by running the latest CUDA-Q Docker image, but the file shows that the Quantum Gates - X, H and MZ are undefined. I am using Windows for the work.
Can you please help me figure out the problem?
When I run the code, it shows a random output of a quantum circuit having six qubits. When I change the number of qubits, the output does not change and is not according to the number of qubits I gave. Here is the screenshot -
Beta Was this translation helpful? Give feedback.
All reactions