Solution (source code)

= Solution

For real even $\theta_k$, the <Bogoliubov transformation> gives
$$
[\alpha_k,\alpha_q^\dagger]=(\cosh^2\theta_k-\sinh^2\theta_k)\delta_{kq}=\delta_{kq},\qquad[\alpha_k,\alpha_q]=0.
$$
Equivalently, its Nambu matrix obeys \b[$T_k\sigma_zT_k^\dagger=\sigma_z$]. The bosonic canonical metric is preserved; $T$ need not be unitary in the ordinary positive-definite metric.