[−][src]Module qip::state_ops
Functions for running ops on states.
Enums
UnitaryOp | Types of unitary ops which can be applied to a state. |
Functions
apply_op | Apply |
apply_ops | Apply |
conj_op | Get conjugate of op. |
from_reals | Make a vector of complex numbers whose reals are given by |
from_tuples | Make a vector of complex numbers whose reals are given by the first tuple entry in |
full_to_sub | Get the index for a submatrix indexed by |
get_index | Get the |
invert_op | Invert a unitary op (equivalent to conjugate transpose). |
make_control_op | Make a Control UnitaryOp |
make_function_op | Make a Function UnitaryOp |
make_matrix_op | Make a Matrix UnitaryOp |
make_op_matrix | Make the full op matrix from |
make_sparse_matrix_from_function | Make a vector of vectors of rows (with |
make_sparse_matrix_op | Make a SparseMatrix UnitaryOp from a vector of rows (with |
make_swap_op | Make a Swap UnitaryOp |
num_indices | Get the number of indices represented by |
select_matrix_coords | Given the full matrix |
sub_to_full | Given the |
transpose_op | Invert a unitary op (equivalent to conjugate transpose). |