hqs_spin_mapper.extract_couplings
Determine the matrix- and tensor descriptions of the effective spin-bath model.
Functions
  | 
Extract the coupling constants from the quadratic terms in the effective model Hamiltonian.  | 
  | 
Extract the coupling constants from the quartic terms in the effective model Hamiltonian.  | 
- hqs_spin_mapper.extract_couplings.extract_quadratic(transformable_system: Supports_SW_Transformation) Tuple[ndarray, ndarray, ndarray]
 Extract the coupling constants from the quadratic terms in the effective model Hamiltonian.
- Parameters:
 transformable_system (Supports_SW_Transformation) – Container object for the transformed system data
- Returns:
 Tuple of matrices for the coupling constants.
- Return type:
 Tuple[np.ndarray, np.ndarray, np.ndarray]
- Raises:
 ValueError – Encountered invalid operator
- hqs_spin_mapper.extract_couplings.extract_quartic(transformable_system: Supports_SW_Transformation) ndarray
 Extract the coupling constants from the quartic terms in the effective model Hamiltonian.
- Parameters:
 transformable_system (Supports_SW_Transformation) – Container object for the transformed system data
- Returns:
 Rank-4-Tensor of coupling constants (\(c^{\dagger}_{\uparrow} c^{\dagger}_{\downarrow} c_{\downarrow} c_{\uparrow}\)).
- Return type:
 np.ndarray