Отправить по sms: Exact treatment of finite-dimensional and infinite-dimensional quantum systems