@Vogel612 In this case though, I suppose you could say that, when f(x) = 1, it does a bit flip, but this bit flip is a basis-dependent operation, so when you apply it to |->, what you get is -|-> - but then if you have some state |a->, you get -|a->, so it's acting on 'both', if that makes sense?