[−][src]Module qip::iterators
Efficient iterators for sparse kronprod matrices.
Structs
ControlledOpIterator | Iterator which provides the indices of nonzero columns for a given row of a COp |
FunctionOpIterator | Iterator which provides the indices of nonzero columns for a given function. |
MatrixOpIterator | Iterator which provides the indices of nonzero columns for a given row of a matrix |
MultiOpIterator | Iterator which provides the indices of nonzero columns for a given row for a collection of ops. |
SparseMatrixOpIterator | Iterator which provides the indices of nonzero columns for a given row of a sparse matrix |
SwapOpIterator | Iterator which provides the indices of nonzero columns for a given row of a SwapOp |
Enums
PrecisionUnitaryOp | A private version of UnitaryOp with variable precision, this is used so we can change the f64 default UnitaryOp to a variable one at the beginning of execution and not at each operation. |
Functions
fold_for_op_cols | Fold across rows hitting nonzero columns. |
precision_get_index | Get the |
precision_num_indices | Get the number of indices represented by |
sum_for_op_cols | Using the function |
sum_for_ops_cols | Like |