spinguin.core.liouvillian#
This module provides a function for calculating the Liouvillian.
- sop_L(H: ndarray | csc_array = None, R: ndarray | csc_array = None, K: ndarray | csc_array = None) ndarray | csc_array [source]#
Constructs the Liouvillian superoperator from the Hamiltonian, relaxation superoperator, and exchange superoperator.
- Parameters:
H (ndarray or csc_array) – Hamiltonian superoperator.
R (ndarray or csc_array) – Relaxation superoperator
K (ndarray or csc_array) – Exchange superoperator.
- Returns:
L – Liouvillian superoperator.
- Return type:
ndarray or csc_array