0
$\begingroup$

enter image description here How do I approach on solving the below two problems?

$\endgroup$
1

1 Answer 1

3
$\begingroup$

For (a), and in accordance with the hint:

With controls = 00, the target qubit is not operated on (because all the gates have their controls set to 0 and so they do not affect the target).

With controls = 01, the left $V$ and the middle $V'$ are active but cancel each other, resulting in no change to the target.

With controls = 10, the middle $V'$ and right $V$ are active but cancel each other, resulting in no change to the target.

With controls = 11, the left $V$ and the right $V$ are active resulting in operation: $V^2$.

$\endgroup$
1
  • $\begingroup$ For controls 01 or 10, I think it should be necessary to specify the qubit ordering $\endgroup$ Commented Sep 7, 2023 at 14:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.