effective Method to calculate n-th power



Hi,

is there any efficient way to calculate for a given g^x and given n in a group G with order q, the value: g^{x^n}?

Thanks in advance,
Zsuzsanne
.