Hi,(adsbygoogle = window.adsbygoogle || []).push({});

Can someone explain to me how to write a matrix as a sum of outer products like [tex]\left|\psi\rangle\langle\psi\right|[/tex]?

For example how would I do a CNOT gate? http://en.wikipedia.org/wiki/Controlled_NOT_gate

I assume this is fairly easy since it is always assumed and I have kind of picked up its something to do with associating the rows and columns with the basis vectors.

Thanks

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Writing a matrix as an outer product expansion.

Loading...

Similar Threads - Writing matrix outer | Date |
---|---|

I Why can you write the solution in this form? | Jun 4, 2017 |

How do I write taylor expansion as exponential function? | May 1, 2015 |

How Can I Write an Operator in the Coupled and Uncoupled Basis? | Aug 1, 2014 |

Correct way to write the eigenvector in second quantization | Mar 29, 2014 |

Writing a random 2N by 2N matrix in terms of Pauli Matrices | Oct 2, 2013 |

**Physics Forums - The Fusion of Science and Community**