pub fn coherent_state( n_max: usize, alpha: Complex, x_grid: &[f64], omega: f64, mass: f64, hbar: f64, ) -> Vec<Complex>
Generate a coherent state of the harmonic oscillator.