A qPlus-based scanning probe microscope compatible with optical measurements.