I need to type something like x^{x^x} in LaTeX, but I keep getting the error
! Double superscript.
l.820 ...}(1)_t^{z_{11}}\mathcal{Q}(1)_t^{\prime}^
{y_{11}}\mathcal{Q}(2)_t^{...
How do I get this solved?

