f(x) = If[x ≟ 0.5, 1, 0]
Q0: (0.5, 1)
Q1: (0.5, 0)