Added quantum cost calculation, roughly...