Create SpecialF operator for Deutsch's algorithm.