In this project which is done as a part of MSc thesis, an efficient method for using weak nonlinearities in micro-cavities for implementing quantum optical gates is proposed. Using micro-cavities and photonic crystals the efficient time of interaction is enhanced and so the desired effect for implementing Hadamard gate is gained.