## LaTeX wordpress problems solved

Since my earlier post about problems with LaTeX appears to be getting a lot of hits, I thought I would follow up with my solution, so that at least there wouldn’t be misinformation out there about LaTeX. I made a few minor modifications to my workflow, and now both the latex/wordpress plugin and the latex2wp program are working without any problems. Here’s what I had to do.

- No fancy classes of LaTeX: I’m a huge fan of the tufte-latex class, since it makes everything look so dang pretty. Haven’t tried revtex, my second favorite, but I assume that’s out as well.
- No macros. This was a huge sacrifice, since I normally define special macros for everything in quantum, especially bras and kets. However, I found that the extra typing of “\left|i\right>” wasn’t that awful when I got down to it.
- No eqnarray environments. I’ve learned to use normal equations plus the array environment, which doesn’t work quite as well.

What I typically do is write the post in LaTeX, convert it with latex2wp, open the html in emacs, and post do the blog in the HTML mode of the wordpress window. If I stick to the above rules, everything seems to be working well.

## Nielsen and Chuang Exercise 2.30

Exercise 2.30Show that is Hermitian if are Hermitian.

Thus is Hermitian.

## Nielsen and Chuang Exercise 2.29

Exercise 2.29Show that is unitary if are unitary.

Thus is unitary.

## Nielsen and Chuang Exercise 2.28

Exercise 2.28Show that the transpose, complex conjugate, and adjoint operations distribute over the tensor product.

You take the transpose of a block matrix of this form by first transposing the blocks, and then transposing within a block. Thus,

## Nielsen and Chuang Exercise 2.27

Exercise 2.27Calculate the matrix representation of the tensor products of the Pauli operators , , . Is the tensor product commutative?

The tensor product does not commute.

1comment