Skip to main content

wigner_function

Function wigner_function 

Source
pub fn wigner_function(
    psi: &[Complex],
    x_grid: &[f64],
    p_grid: &[f64],
    dx: f64,
    hbar: f64,
) -> Vec<Vec<f64>>
Expand description

Compute the Wigner quasi-probability distribution.