Zaslat SMS: Exact treatment of finite-dimensional and infinite-dimensional quantum systems