For an integer n≥1n\geq1, the quaternionic general linear gl(n,H)\mathfrak{gl}(n,\mathbb H) is the real

gl(n,H)=Mn(H),[X,Y]=XY−YX.\mathfrak{gl}(n,\mathbb H)=M_{n}(\mathbb H),\qquad [X,Y]=XY-YX.
Trace and scalar conventions

Quaternionic matrix multiplication is associative, so its commutator is a real . Each quaternionic entry has four real coordinates, giving the displayed dimension.

Quaternionic entries do not make this a over a commutative field H\mathbb H. All scalar-linear categories in this record are over R\mathbb R.