[][src]Function qip::state_ops::from_tuples

pub fn from_tuples<P: Precision>(data: &[(P, P)]) -> Vec<Complex<P>>

Make a vector of complex numbers whose reals are given by the first tuple entry in data and whose imaginaries are from the second.