I am trying to get used to IBM Q by implementing three qubits Grover's algorithm but having difficulty to implement the oracle.
Could you show how to do that or suggest some good resources to get used to IBM Q circuit programming?
What I want to do is to mark one arbitrary state by flipping its sign as the oracle supposed to do.
For example, I have
and I want to mark $|111\rangle$ by flipping its sign to $-|111\rangle$. I somehow understand that CCZ gate would solve the problem but we do not have CCZ gate in IBM Q. The combination of some gates will act the same as CCZ but I am not sure how to do that yet. And I am also struggling for the other cases not only for $|111\rangle$.
Two qubits case is simple enough for me to implement, but three qubits care is still confusing to me.