The calculated distance (air line) between Shahrak-e Emām Ḩasan and Qom is approximately 64 miles respectively 104 kilometers.
By car or train, the actual journey to Qom is certainly longer, as only the direct route (as the crow flies) between Shahrak-e Emām Ḩasan and Qom has been calculated here.
Air line (approximately)
104 kilometers
56 nautical miles