Generating a perfect quantum optical vortex