Site Tools


qutip-master-equation

Table of Contents

Master equation

Master equation is the fundamental differential equation governing open quantum systems. It describes how the density matrix evolves when the system is coupled to an environment:

The first term is unitary (Hamiltonian evolution); the second is the Lindblad dissipator, modeling irreversible processes.

Lindblad form

The dissipator is a sum over Lindblad operators :

Each represents a different decay channel: energy loss, dephasing, spontaneous emission, etc. The dissipator preserves positivity and trace of —necessary for a valid density matrix.

Solving the master equation

QuTiP's mesolve integrates the master equation forward in time. Provide the Hamiltonian, collapse operators, initial state, and time points; get back expectation values of observables.

from qutip import *
import numpy as np

# Two-level system with decay
H = 0.5 * sigmaz()
gamma = 0.1
c_ops = [np.sqrt(gamma) * sigmam()]  # Decay operator

times = np.linspace(0, 10, 100)
psi0 = basis(2, 0)  # Start in ground state
result = mesolve(H, psi0, times, c_ops, [sigmaz(), sigmam()])

# result.expect[0] is <σ_z>(t)
# result.expect[1] is <σ_->(t)

The master equation is the standard framework for open quantum systems. Understanding it and Lindblad operators is essential for any QuTiP work.

qutip-master-equation.md · Last modified: