template class DoAllBits<class OperatorType>

This class allows any operator to work on all bits of a state.

This will only work for single bit operators requiring no parameters (i.e. this will not work with RotQubit which requires an angle theta)

Concepts/Code by: Rafal Podeszwa, Christopher Dawson, Peter Belkner, Yan Pritzker

Members

Public
void operator() (QState &q)




Return To Index