On two mathematical problems of canonical quantization. IV