Implementing a Grover Oracle
InterviewCodingGrover's algorithmoraclecircuit design
Related module: Search and amplitude amplification
Problem statement
Design an oracle circuit for Grover's algorithm that marks the state (i.e., applies a phase of to and to all other states) for a 3-qubit system.
Write the circuit using only X, H, and multi-controlled Z (CCZ) gates.
Hints
Learn the foundations
The Quantum Computing track covers this topic and more in depth.