发送短信: Optimal quantum circuits for general phase estimation