How to obtain $U$ for the amplitude dampening channel?
The behaviour of the amplitude damping channel on the system can be represented by $U$, a unitary matrix which has the following effect:
- $U|00\rangle = |00\rangle$
- $U|11\rangle = |11 \rangle$
- $U|01\rangle = \sqrt{1-p}|01\rangle + i \sqrt{p}|10\rangle$
- $U|10\rangle = i\sqrt{p}|01\rangle + \sqrt{1-p}|10\rangle$
We can then apparently write $U$ as follows: $$U = |00\rangle \langle 00| + \sqrt{1-p} |01\rangle \langle 01| + i \sqrt{p}|01\rangle \langle 10| + i\sqrt{p}|10\rangle \langle 01| + \sqrt{1-p}|10\rangle \langle 10| + |11\rangle \langle 11|$$
I see that each ket of the right hand side of the above four equations is being multiplied by the bra of the state being multiplied by $U$ left hand side, but I don't understand then why they are added together. I partially understand intuitively it is to give the correct positions in the matrix, but I don't understand mathematically how we obtain this result.