Of course, communion only after confession if in a state of mortal sin. The act of contrition is for the case that one dies before making it to confesison, right? Or better still… as a perfect act of contrition is out of sorrow for the sin, not out of fear of punishment!.. not just for the case that we die, but out of a real sorrow that one has done something that has offended God… telling Him we are sorry, out of the depth of our hearts… and as soon as possible to confession.
(a caution. This is my edit. I myself suffer from scrupulosity. That is, sometimes i think something is a mortal sin but it may not even have been a venial sin. I wonder around and around, can I go to communion or not, should I ask a priest, etc etc…What I write is under the assumption that we do not deal with scrupulosity here, but with real mortal sin. A scrupulous person should usually ask their confessor/spiritual directorfor advice on how to deal with situations when they feel they are in mortal sin.)