AbstractOptics has strong potentiality in data processing. Here, quantum Fredkin gate is implemented with the help of switching property of optical nonlinear material and polarization-based encoding and decoding technique of optical signal. The gate is very much useful for quantum computing and communications.