How does one get beyond a recently ended relationship with a narcissist especially when after only three weeks a lingering hope wishes that everything was just a mistake and everything will be ok?

Time is your friend. It was a good decision to break up. Our memories tend to focus on things that we wish might have been. Be patient with yourself, stay away from the person and everything will be okay in the future.