Comprobando

> op(Q);

[Maple Math]

> H:=evalm(inverse(Q)&*B&*Q);

[Maple Math]