def _eval_anticommutator_YGate(self, other, **hints): return Integer(2)*IdentityGate(self.targets[0])