Quantum rectifiers from harmonic mixing