Code duplication
Remove duplicate code!
operators.hpp
and state_operators.hpp
have a lot of things in common,
-
BaseStateOperator<double>
andBaseOperator
are exactly the same. Retain the templated version. -
Rt_Operator
,R_operator
,Effort
andG_Operator
classes are unused after the templated versions were included. -
Remove moot input_vec
class used only insingle_pipe
demo. -
utils.hpp
has twodiagonalBlock
functions, one forBaseOperator
and another forBaseStateOperator
. After the above is done, they can be united.
Edited by Ashwin Nayak