Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I am trying to flip the phase of the solution state in an oracle for Grover's algorithm. I am wondering if an MCZ gate will flip the target qubit of |0> if the control qubits are in their correct states. Thanks