Simulation codes of adiabatic master equation and quantum trajectories.
These are the codes of adiabatic master equation (ame.m
) and quantum trajectories (aqt.m
) used in this paper [1].
The Hamiltonian is a 8-qubit ferromagnetic Ising spin chain in a transverse field, with annealing schedule attached as DW1_parameters.txt
. This relatively complex problem illustrates a lot of subtle points in the implementation of ame and aqt, and can be easily reduced to smaller and simpler problems.
The master equation is:
Both ame.m
and aqt.m
use sparse matrix for computation,
and perform basis rotation for every ode step.
aqt.m
uses parallel computation, with sorting of jump operators,
and backtracking for error control.
The folder tutorial_4_qubit_gadget contains a tutorial on how to run the codes.
A onequbit_demo instruction folder was made for how to run codes on a single qubit. The pdf file kawacode.pdf contains a presentation on excecutions.
[1] Yip, K.W., Albash, T. and Lidar, D.A., 2018. Quantum trajectories for time-dependent adiabatic master equations. Physical Review A, 97(2), p.022116.