Skip to main content
QUICK REVIEW

[Paper Review] Open systems dynamics: Simulating master equations in the computer

Carlos Navarrete–Benlloch|arXiv (Cornell University)|Apr 21, 2015
Quantum Information and CryptographyComputer Science25 citations
TL;DR

This paper presents a systematic, implementation-focused guide for numerically simulating open quantum systems using master equations in MATLAB, emphasizing efficient coding of the Liouvillian superoperator via superspace formalism. It demonstrates the method on a three-level cascade system coupled to two optical modes, achieving accurate steady-state solutions and computing logarithmic negativity to quantify entanglement, with results showing weak but non-zero entanglement across subsystems, particularly between the cascade system and the cavity modes.

ABSTRACT

Master equations are probably the most fundamental equations for anyone working in quantum optics in the presence of dissipation. In this context it is then incredibly useful to have efficient ways of coding and simulating such equations in the computer, and in this notes I try to introduce in a comprehensive way how do I do so, focusing on Matlab, but making it general enough so that it can be directly translated to any other language or software of choice. I inherited most of my methods from Juan José García-Ripoll (whose numerical abilities I cannot praise enough), changing them here and there to accommodate them to the way my (fairly limited) numerical brain works, and to connect them as much as possible to how I understand the theory behind them. At present, the notes focus on how to code master equations and find their steady state, but I hope soon I will be able to update them with time evolution methods, including how to deal with time-dependent master equations. During the last 4 years I've tested these methods in various different contexts, including circuit quantum electrodynamics, the laser problem, optical parametric oscillators, and optomechanical systems. Comments and (constructive) criticism are greatly welcome, and will be properly credited and acknowledged.

Motivation & Objective

  • To provide a practical, generalizable framework for numerically solving master equations in open quantum systems using computer simulations.
  • To streamline the implementation of the Liouvillian superoperator in MATLAB by leveraging superspace formalism for efficient matrix construction.
  • To enable accurate computation of steady-state density matrices for complex quantum systems, including those with multiple Hilbert space components.
  • To demonstrate the evaluation of entanglement measures—specifically logarithmic negativity—for various bipartitions of a composite quantum system.
  • To offer a reproducible, extensible computational pipeline applicable to diverse quantum optical systems, such as circuit QED and optomechanical setups.

Proposed method

  • Represent the density matrix as a vector via column-stacking (vectorization), transforming the master equation into a linear ODE system: $ d\vec{\rho}/dt = \mathbb{L}\vec{\rho} $.
  • Construct the Liouvillian matrix $ \mathbb{L} $ using the superspace formalism, which maps operator indices to a single matrix representation.
  • Implement the master equation in the form $ \frac{d\hat{\rho}}{dt} = -i[\hat{H},\hat{\rho}] + \Gamma(2\hat{J}\hat{\rho}\hat{J}^\dagger - \hat{J}^\dagger\hat{J}\hat{\rho} - \hat{\rho}\hat{J}^\dagger\hat{J}) $, with $ \hat{H} $ and $ \hat{J} $ as input operators.
  • Use MATLAB’s built-in functions such as `permute`, `reshape`, and `eig` to handle tensor structure, partial transposition, and eigenvalue analysis for entanglement detection.
  • Compute the logarithmic negativity via the eigenvalues of the partially transposed density matrix: $ E_{\text{LN}} = \log[1 + \sum_n (|\tilde{\lambda}_n| - \tilde{\lambda}_n)] $, to quantify entanglement.
  • Trace out subsystems using matrix multiplication with identity operators in the appropriate subspace to obtain reduced density matrices for bipartite entanglement analysis.

Experimental results

Research questions

  • RQ1How can the Liouvillian superoperator be efficiently and systematically coded in a general-purpose programming language like MATLAB for arbitrary open quantum systems?
  • RQ2What is the most effective way to represent and manipulate the density matrix and its evolution in vectorized form using superspace formalism?
  • RQ3How can steady-state solutions of master equations be computed accurately for composite quantum systems with multiple Hilbert space components?
  • RQ4To what extent does coupling a three-level cascade system to two optical modes induce entanglement, and how is it distributed across different bipartitions?
  • RQ5What numerical techniques allow for reliable computation of entanglement measures such as logarithmic negativity in mixed-state, many-body quantum systems?

Key findings

  • The superspace formalism enables a direct, readable, and efficient implementation of the Liouvillian matrix in MATLAB, with minimal code complexity.
  • The steady-state populations of the cavity modes remain close to their unperturbed values ($ |\alpha|^2 = 400 $, $ |\beta|^2 = 25 $) under strong driving, indicating weak coupling effects.
  • Logarithmic negativity values were computed as: $ 0.00259 - 1.06 \times 10^{-16}i $ (system + cavities), $ 2.03 \times 10^{-7} - 9.71 \times 10^{-17}i $ (cavities only), $ 0.00180 - 1.28 \times 10^{-16}i $ (system + a mode), and $ 9.20 \times 10^{-5} - 1.50 \times 10^{-17}i $ (system + b mode).
  • The largest entanglement is found between the $ \Xi $ system and the cavity modes collectively, while entanglement between the two cavity modes is negligible.
  • Entanglement between the $ \Xi $ system and the $ a $-mode is significantly stronger than with the $ b $-mode, indicating asymmetric coupling effects.
  • All computed logarithmic negativity values are small but non-zero, confirming the presence of weak but non-trivial entanglement across all bipartitions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.