I was watching some lectures on qubits. They were talking about how to generate a Bell state. They described it as follows:
- Prepare state 00: $$\left |0 \right> \otimes \left |0 \right>$$
- Apply the Hadamard: $$ (H \otimes I)(\left |0 \right> \otimes \left |0 \right> ) = \left |+0 \right> = \frac{\left|00 \right> + \left |10 \right>}{\sqrt{2}}$$
- Apply CNOT to go from state 00 + 10 to state 00 + 11, $$ CNOT = \left |0 \right> \left <0 \right| \otimes I + \left |1 \right> \left<1 \right| \otimes X $$ such that: $$CNOT\times\frac{\left|00 \right> + \left |10 \right>}{\sqrt{2}}=\frac{\left |0 \right> \left <0|0 \right> \otimes I \left |0 \right> + \left |0 \right> \left <0|1 \right> \otimes I\left |1 \right> + \left |1 \right> \left <1|0 \right> \otimes X \left |0 \right> + \left |1 \right> \left <1|1 \right> \otimes X \left |0 \right> }{\sqrt{2}} = \left | \Omega \right >$$
I am not sure I can follow how the product of the CNOT and the state $\left|00 \right> + \left |10 \right>$ can be expanded out as written above. Hope you guys can help me out.