I have the following definition for CNOT gate form my notes:
I am trying to derive the bracket notation form the matrix version, can someone help me to see where I am going wrong:
$$U ̂_{CNOT} =|00⟩⟨00|+|01⟩⟨01|+|11⟩⟨10|+|10⟩⟨11|$$ $$=?=$$ $$=(|00⟩⟨00|+|01⟩⟨01|) +(|1⟩⟨0| ) $$ $$=(|0⟩⟨0||00⟩⟨00|+|0⟩⟨0||01⟩⟨01|+|0⟩⟨0||10⟩⟨10|+|0⟩⟨0||11⟩⟨11|) +(|1⟩⟨1||0⟩⟨1|+|1⟩⟨1||1⟩⟨0| ) $$ $$=|0⟩⟨0|⊗(|00⟩⟨00|+|01⟩⟨01|+|10⟩⟨10|+|11⟩⟨11|) +|1⟩⟨1|⊗(|0⟩⟨1|+|1⟩⟨0| ) $$ $$U_{CNOT} =|0⟩⟨0|⊗I+|1⟩⟨1|⊗σ_x$$
The above would be make sense if:
$$|1⟩⟨1|⊗(|0⟩⟨1|+|1⟩⟨0| )=(|1⟩⟨1||0⟩⟨1|+|1⟩⟨1||1⟩⟨0| )=?=(|1⟩|0⟩⟨1|⟨1|+|1⟩|1⟩⟨0|⟨1| ) $$
But why would this be correct but not: $$|1⟩⟨1|⊗(|0⟩⟨1|+|1⟩⟨0| )=(|1⟩⟨1||0⟩⟨1|+|1⟩⟨1||1⟩⟨0| )=?=(|1⟩(0)⟨1|+|1⟩(1)⟨0| )=|1⟩⟨0| $$