The computer-based model of quantum measurements