Does anyone has (or is aware of) a solution to Nielsen's QCQI 4.36 exercise: construct a circuit to add two-qubit numbers x and y modulo 4 vs $|x,y\rangle \rightarrow |x, x+y \mod 4\rangle$
Asked
Active
Viewed 637 times
0
-
Welcome to Quantum Computing SE! Would you be able to [edit] the question to include details of what you've tried and where exactly you're having problems? – Mithrandir24601 Dec 21 '19 at 11:02
-
Possible duplicate of Constructing a circuit which performs the transformation $|x,y\rangle \to |x, x + y \bmod 4\rangle$ – Sanchayan Dutta Dec 21 '19 at 18:20
-
Thank you for your comments. Two notes here: 1. I consider the question is clearly formulated ! AND 2. Yes, it's a duplicate of the mentioned post (sorry for this omission) – moldos Dec 22 '19 at 06:54
1 Answers
3
The trick is to break down, bit by bit, what the calculation is that you need. You'll see on the right-hand side of the circuit, I've stated what the outcomes need to be. Hopefully, you also recognise some of those outputs (particularly the top qubit), so that rapidly starts to formulate the circuit...

DaftWullie
- 57,689
- 3
- 46
- 124