This is LaTeX code:
[latex]
\det{Q}=\det{(e^A)}=e^{tr(A)}=e^0=1.
[/latex]