Skip to main content

cloude_coherency_matrix

Function cloude_coherency_matrix 

Source
pub fn cloude_coherency_matrix(
    m: &[[f64; 4]; 4],
) -> ([[f64; 4]; 4], [[f64; 4]; 4])
Expand description

Builds Cloude 4x4 Hermitian coherency matrix H(M) = (1/4) sum_{k,l} M_{kl} (sigma_k otimes sigma_l^*), returning (real_4x4, imag_4x4) with trace equal to M[0][0].