The Arabic term for the canal is qanat. The extra U in quanat is just a blunder.

In Persian q borrowed from Arabic is usually pronounced gh, whence ghanat is specifically the Persian form.