||For designing quantum information processing (QIP) schemes, optical resources [cross-Kerr nonlinearity (XKNL) and quantum dot (QD)] have the possibilities to implement quantum control gates or operations. The parity gate which consists of XKNLs, quantum bus (qubus) beams, and photon-number-resolving (PNR) measurement, is the fundamental gate for quantum control, and can be extended to various controlled gates. Also, the parity gate employing XKNLs, qubus beams, and PNR measurement can obtain the immunity against decoherence effect (dephasing and photon loss) through the formularization of master equation. The interaction between a photons and an electron in QD within optical cavity (QD-cavity system) induces the differences in reflectances and phase shifts of the reflected photon. Thus, the basically controlled gates using the interaction of QD-cavity system can be utilized for the realization of various QIP.