Function qdk_sim::set_vec_to_row_sum [−][src]
pub fn set_vec_to_row_sum(
data: &mut Array1<bool>,
matrix: &Array2<bool>,
idx_source: usize
)
Expand description
Given a one-dimensional array, updates it to be the row-sum of that vector and the given row of a matrix, taking into account the phase product introduced by the binary symplectic product.