How to find $$\frac{\partial}{\partial \mathbf{Q}}\left(x_2^\intercal (\mathbf{I}_T\otimes \mathbf{Q})^{-1}x_2\right)$$?
Q is symmetric
I'm thinking we could use some sort of chain rule getting $$ x_2 x_2^\intercal \frac{\partial}{\partial \mathbf{Q}}(\mathbf{I}_T\otimes \mathbf{Q}^{-1})$$
However, being the derivative of a scalar function w.r.t a matrix, I would expect it to have the same dimensions as Q, but I'm not getting them...