-1
$\begingroup$

quantum RCA

I am attempting to build a 2-bit ripple-carry adder, using IBM Quantum Experience composer, but I'm confused on how to construct the carry transpose that is shown at the bottom?

$\endgroup$

1 Answer 1

1
$\begingroup$

The $\dagger$ means inverse. Invert the individual operations within $C$ (they are all self-inverse so this is easy) and then run them in reverse order.

$\endgroup$
2
  • $\begingroup$ can I remove it since it does nothing in this case? and do you mean that if I want to implement it then the toffeli gate would be at the end of the carry? $\endgroup$
    – n22
    Commented Apr 1, 2022 at 21:22
  • $\begingroup$ @n22 No you can't remove it. Each operation of $C$ is self-inverse, but you still need to run them in reverse order. $\endgroup$ Commented Apr 1, 2022 at 21:23

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.