[][src]Function qip::state_ops::select_matrix_coords

pub fn select_matrix_coords(
    n: u64,
    nindices: u64,
    indices: &[u64],
    row: u64,
    col: u64
) -> (u64, u64)

Given the full matrix row and col, find the given op's row and column using the full n, the op's nindices, the op's `indices'.