Sorry this question may be silly as posed by a non-physicist. But, here goes.
In an attempt to conjure up a device that could image extra-solar planets, one faces the daunting task of trying image an object that is separated from a much brighter source (the parent star) by an extremely small angular distance. Airy disks, diffraction related to the wave nature of light spoils the any chance at imaging except in the rare instances of distantly orbiting Jupiter sized planets around dim stars.
But, what about utilizing the quantum nature of light? Picture a long thin chamber with special pinhole at one end which only allows one photon to enter the chamber at a time. I'm not even sure if such a "pinhole" is technologically feasible. However, supposing that this can be done, the other end would have a dense array tiny detectors. The chamber itself would be cooled to near 0, to reduce black body radiation from the side walls of the chamber to avoid contaminating light. The chamber would be made from a special material to reduce the scattering of photons entering the chamber. One could then use signals from the detectors at the other end of the chamber to deduce the angle at which photons enter the chamber, thus distinguishing between photons originating from the planet versus the star. Over a period of time of seconds / minutes perhaps, one could then reconstruct an image (even a accurately positioned dot would be good enough to observe its orbital motions) of the planet separate from the star.
There might be some basic problems with this concept. First, pinhole itself. Knowing the exact position of this "pinhole" might lead to uncertainty in momentum (including incident angle) of the photon entering through it. However, conversely, making a detection at the other end (assuming one could measure the position of the detection event on the opposite end precisely enough) does constrain the incident angle of the entering photon knowing that it could only have entered through one point in the chamber.
Secondly, there would be real issues with scattering within the chamber itself.