- changed status to resolved
Latex display with phases
Issue #8
resolved
When displaying superpositions, imaginary phases do not get displayed accurately. For example
S | H | pyqc.Ket(0)
should display \frac{|0\rangle + i |1\rangle}{\sqrt{2}}, but instead it displays \frac{|0\rangle + |1\rangle}{\sqrt{2}}. The imaginary phase is dropped. The internal display is correct, as the qobj returned by the above expression, correctly contains the imaginary part.
Comments (1)
-
repo owner - Log in to comment
Hello, I applied the patch for this sent to me by Durward McDonell many, many years ago in f489346 and agree that it fixed the issue =)