Type Definition roqoqo::measurements::OperatorSparseVec[][src]

pub type OperatorSparseVec = Vec<(usize, usize, Complex64)>;
Expand description

Represents Operator acting on Hilbert space as a sparse list of two indices and a value.

The vector contains the triplets of non-zero elements of the sparse matrix representing the operator on the Hilbert space. The first element is the row index, the second the column index and the last the complex value of the non-zero entry.