Abstract We develop a package of numerical simulations implemented in MATLAB to solve complex many-body quantum systems. We focus on widely used examples that include the calculation of the magnetization dynamics for the closed and open Ising model, dynamical quantum phase transition in cavity QED arrays, Markovian dynamics for interacting two-level systems, and the non-Markovian dynamics of the pure-dephasing spin-boson model. These examples will be useful for undergraduate and graduate students with a medium or high-level background in MATLAB, and also for researchers interested in numerical studies applied to quantum optics and condensed matter systems.
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.
Polarizing beam splitter is an important device in quantum information and quantum cryptography. Polarizing beam splitter in the case of single photon input works as single bit gate, that takes a single qubit and transform it into another one. The polarizing beam splitter transformation is similar to Hadamard Gate transformation in quantum information, the two tern basis states into superposition states. This work aimed to simulate a polarizing beam splitter using MATLAB code, by treating the polarizing beam splitter as a Hadamard Gate. And then using it for calculation the Bell's inequality. The obtained results show an excellent average value of Bell's inequality (above 2.7) , and the suitable number of entangled photon pairs used to calculate the Bell's inequality is above 600.