Solve the Lindblad equation:
Solve a single-qubit pure dephasing (NMR T2) where
with T2=1/2γϕ and the initial state
:
Calculate the time-dependent Bloch vector:
Solve a single-qubit spontaneous emission (amplitude damping, NMR T1) where
with σ-={{0,1},{0,0}} and the initial density operator
:
Define a time-dependent Hamiltonian as
:
Set numerical values for Hamiltonian parameters and the final time of simulation:
Set the Lindblad operators as {σ-,σ+}
Solve the Lindblad master equation numerically:
Calculate the Bloch vector and plot its components:
Plot the Bloch vector evolution in the Bloch sphere:
Scope (5)
If no Lindblad operators is given, the solution will be based on only Hamiltonian evolution. Solve the Schrödinger equation for the Hamiltonian
starting from the initial pure state {1,0}:
Calculate the time-dependent Bloch vector:
Define the Hamiltonian for a Λ-configuration atom (a 3-dimensional atom with the states {,,}):
Define jump operators as spontaneous emission to the ground state
and
:
Solve the Lindblad equation for an initial state
:
Define the Hamiltonian for a Λ-configuration atom (a 3-dimensional atom with the states {,,}):
Define jump operator as the differential dephasing
that kills the coherence between and :
Given some numerical values for parameters, solve the Lindblad equation for an initial state
:
Plot the change in the population:
Plot the coherence between states:
Set the Hamiltonian as
:
Set the Lindblad operators:
Given some numerical values for parameters, solve the Lindblad equation:
Plot results:
Model a finite-temperature qubit (generalized amplitude damping), with two jumps:
Options (9)
NDSolve or DSolve options (2)
Use Assumptions to assume the jump rate is positive:
Without the above assumption, the rate will be treated in the most generic sense:
Method (2)
When the independent variable t is given within the range tmin to tmax, if no Method is given, LindbladSolve gives a numerical result:
When the independent variable t is given within the range tmin to tmax, but with the option "Symbolic" for Method, LindbladSolve gives the symbolic result:
AdditionalEquations (4)
Using the option "AdditionalEquations", one can add more equations into DEs. Define a pulse given an operator and a rotation angle:
Define pure dephasing at rate γ plus Larmor precession ω0σz/2:
Given some numerical values for parameters, solve the Lindblad equation by adding pulses at selected times (similar to Hahn spin-echo):
Plot the evolution of the Bloch vector's components:
ReturnEquations (1)
If this option is set to True, it will return the corresponding differential equations:
Possible Issues (3)
Hamiltonian and Lindblad operators should have the same dimensions:
Revise the Lindblad operator to the right dimension:
All Lindblad operators should have the same dimensions:
Revise Lindblad operators to have the same dimension:
The initial state's dimension should match the Hamiltonian:
Revise the state dimension to match the Hamiltonian: