Both anxiety and palipitations are known and quite common symptoms of hyperthyroidism. And of course, palipatations can lead to anxiety, and anxiety can lead to palipatations - got that?
Of course, there could always be other causes. But, i would do some reading on the Thyroid section of this website. There are some very knowledgable people there, many of which are going through the same thing at this moment, and would be happy to talk with you.
You might notice, that section is more focused on Hypo than Hyper, but still, lot's of knowledge there.
My opinions only, not medical advice. Always follow advice of your Doctor, not what I say here.