Is gypsum a carbonate?

No. Gypsum is a calcium sulfate dihydrate.