pub fn par_indexed_map<F>(state: &mut [Complex64], f: F)
Expand description
Parallel map over state vector elements with index
Apply a function to each element of the state vector in parallel. The function is passed the index and current value of each element.