An experiment of adaptive polarization mode dispersion (PMD) compensation for 40-Gb/s return-to-zero (RZ) optical communication system is reported. In the experiment, degree of polarization (DOP) is used as feedback signal and particle swarm optimization (PSO) method is adopted as logic control algo