QuMAsim: A Quantum Architecture Simulation and Verification Platform