Syntax for a negative controlled not #441
Answered
by
GiggleLiu
BoltzmannEntropy
asked this question in
Q&A
-
Hello, I of course know I can implement it with two X gates. |
Beta Was this translation helpful? Give feedback.
Answered by
GiggleLiu
Nov 12, 2022
Replies: 1 comment
-
You can use negative addresses to denote the inverse control qubits. In your plot, it is |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Roger-luo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use negative addresses to denote the inverse control qubits. In your plot, it is
control(6, (-1, 2), 6=>X)
.