Nowadays, quantum computers have been proven to solve the complex problem more efficient and process data more security than classical computer. However, the effect of noises and unwanted environments make the needs of quantum error correction code to build the practical quantum information system. Since the quantum computation algorithms need to be verified in classical computer before implement in quantum computers, the novel framework for verification in classical computer has been become essentially and importantly. In this discussion, a novel framework for quantum information system simulation is proposed which is based on MATLAB environment. First, we analysis the basic notation and elementary elements of a quantum system via mathematical model. Then, we introduce the basic elements of Pauli channel model, and two basic quantum error correction codes to stabilize the quantum channel. Hence, the proposed system to simulate the quantum three-repetition codes and quantum Shor codes are discussed.