mm.math.Xmat

math.Xmat(num_modes)

The matrix \(X_n = \begin{bmatrix}0 & I_n\\ I_n & 0\end{bmatrix}.\)

Parameters:

num_modes (int) – positive integer

Returns:

The \(2N\times 2N\) array