Fanar (the building with the spiral tower ,located opposite souq wakif). Their url is www dot fanar dot gov dot qa/

Check out the website. In addition to the Fanar building itself, I believe they also arrange guided visits to the state Mosque.