Based on the excellent control of single photons realized by atom‐photon‐chiral couplings,a novel quantum‐optics scheme for supervised learning is proposed. The single‐photon rotating and phase‐shift operations, which can be controlled by another single photon, are realized by proper atom‐photon‐chiral couplings. Then, an algorithm to perform the supervised learning tasks, composed by integrating the realized gates, and implemented by the tunable gate parameters, is realized.