发送短信: Exact treatment of finite-dimensional and infinite-dimensional quantum systems