Skip to main content

evolve

Function evolve 

Source
pub fn evolve(
    walk: &SpinWalk,
    psi: &mut [c64],
    steps: usize,
    options: &Options,
    observe: impl FnMut(usize, &[c64]),
) -> Report
Expand description

Runs steps steps from psi (left at the last step) and calls observe(t, ψ) at t = 0, every options.every steps and at the end.