The optical phase shifter that constantly rotates the local oscillator is a necessity in continuous-variable quantum key distribution systems with heterodyne detection. In previous experimental implementations, generally regarded as an ideal passive device perfectly of electromagnetic wave $90^\circ$. However, practice introduces imperfections, mainly measurement angular error, which inevitably...