C³L (Coupled-Cluster Coupled Lindblad, "C cubed L") applies coupled-cluster theory to non-Markovian impurity dynamics. By representing bath memory with coupled Lindblad pseudomodes, it provides a scalable route to correlated steady states, dynamical Green functions, spectra, and nonequilibrium transport in multiorbital systems with general two-body interactions.
C³L requires Python 3.11 or newer.
python -m pip install c3l
The installation includes JAX and RealTimeBath for bath fitting. In Python, use import c3l.
CPU and GPU calculations use the same installation. On Linux x86-64 and ARM64, CUDA 13 dependencies are installed automatically. GPU execution requires a compatible NVIDIA GPU and driver; see the JAX installation guide.
For some examples using additional utilities, install the optional benchmarking tools:
python -m pip install "c3l[benchmark]"From the root of a downloaded or cloned source tree:
python -m pip install .For developers
For development, use python -m pip install -e ".[test]"; run the tests with python -m pytest.
This CPU example computes a CCSD steady state and its
Show the CCSD and response example
import numpy as np from c3l import FermionicLindbladModel from c3l.cc.factorized import factorized_cc_problem from c3l.cc.component_tensor import ( ComponentStaticProblem, ComponentEOMProblem, component_eom_context, component_eom_sources, ) from c3l.cc.component_solver import solve_component_ccsd from c3l.cc.eom import eom_ccsd_problem from c3l.cc.component_response import ComponentSigmaOperator, component_retarded_green model = FermionicLindbladModel( E=np.array([[-0.6, 0.28, 0.28], [0.28, -1.2, 0.0], [0.28, 0.0, 1.2]]), gamma_loss=np.diag([0.0, 0.06, 0.48]), gamma_gain=np.diag([0.0, 0.48, 0.06]), U=1.2, ) problem = ComponentStaticProblem.compile( factorized_cc_problem(model, "CCSD") ) solution = solve_component_ccsd(problem) print(f"CCSD residual: {solution.packed_residual_norm:.2e}") eom = eom_ccsd_problem(problem.oracle) context = component_eom_context( ComponentEOMProblem.compile(eom, problem, charge=1), solution.amplitudes ) omega = np.linspace(-4.0, 4.0, 81) response = component_retarded_green( ComponentSigmaOperator(context), component_eom_sources(context), omega, eta=0.0 ) np.savez("spectrum.npz", omega=omega, G_R=response.retarded, A=-response.retarded.imag / np.pi)
spectrum.npz contains the impurity Green function and spectral density
See the examples guide for more examples. These optional scripts are provided in the source repository.
If you use C³L in your research, please cite our preprint:
Hao-En Li, Zhen Huang, and Lin Lin, Efficient simulations of spectra and transport for multiorbital quantum impurities, 2026.
@misc{LiHuangLin2026, title={Efficient simulations of spectra and transport for multiorbital quantum impurities}, author={Hao-En Li and Zhen Huang and Lin Lin}, year={2026}, eprint={2611.05185}, archivePrefix={arXiv}, primaryClass={physics.chem-ph}, url={https://arxiv.org/abs/2611.05185}, }
If your calculation employed the bath fitting based on RealTimeBath, cite
Zhen Huang, Gunhee Park, Garnet Kin-Lic Chan, and Lin Lin, Coupled Lindblad Pseudomode Theory for Simulating Open Quantum Systems, Phys. Rev. Lett. 2026, 136, 090403
MIT License. Copyright (c) 2026 Hao-En Li.