Skip to main content

apply_local

Function apply_local 

Source
pub fn apply_local(
    psi: &mut [c64],
    nn: usize,
    comps: usize,
    blocks: &[(usize, CMat)],
)
Expand description

Multiplies the wave function (ψ[site + n²·c]) by a block on each listed site.