Skip to content

Simulation code of time-dependent master equations and quantum trajectories simulations used in my paper with other examples

License

Notifications You must be signed in to change notification settings

kwyip/Time-dependent-master-equations-and-quantum-trajectories

Repository files navigation



Time-dependent master equations and quantum trajectories

License Latest release MATLAB


Table of contents

  1. Motivation
  2. Code description
  3. Tutorial
  4. Reference

Motivation

Simulation codes of time-dependent master equation and quantum trajectories.

Code description

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.

alt text

The master equation is:

alt text alt text

Both ame.m and aqt.m use sparse matrix for computation,

alt text

and perform basis rotation for every ode step.

alt text

aqt.m uses parallel computation, with sorting of jump operators,

alt text

and backtracking for error control.

alt text

Tutorial: UCL's 4-qubit gadgets and a single qubit

UCL's 4-qubit gadgets

The folder tutorial_4_qubit_gadget contains a tutorial on how to run the codes of a time-dependent case of the 4-qubit gadgets below. alt text

Single qubit

A onequbit_demo instruction folder was made for how to run codes on various time-dependent single-qubit Hamiltonian simulation. The pdf file kawacode.pdf contains a presentation on excecutions.

Reference

[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.

About

Simulation code of time-dependent master equations and quantum trajectories simulations used in my paper with other examples

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages