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