Quantum mechanical solutions of the laser masterequation