Solution (source code)

= Solution

An <orthogonal matrix> satisfies $A^TA=I$. Taking <determinants> and using $\det A^T=\det A$ gives $(\det A)^2=1$, so
$$
\boxed{\det A=+1\quad\text{or}\quad\det A=-1.}
$$
This calculation remains valid over the <complex numbers>: orthogonality uses the <transpose>, whereas a <unitary matrix> uses the <conjugate transpose>.