Skip to main content
Problem List
Q37.Phase Oracle Inversion for |00⟩Medium

Q37.Phase Oracle Inversion for |00⟩

Amplitude AmplificationQubits: 2Q
Implement the phase oracle U0=I20000U_0 = I - 2|00\rangle\langle 00| that marks 00|00\rangle with a 1-1 relative phase.
Target Objective:
Put qubits in superposition, wrap CZ with Pauli-X on both qubits, and verify the resulting statevector.
Judge Acceptance Criteria:

Statevector fidelity must reach ≥ 99.9% with the target unitary solution.

Gates:
q[0]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
q[1]|0⟩
S0
S1
S2
S3
S4
S5
S6
S7
Click slot to place selected gate. Right-click to remove.0 gates in circuit
Click "Submit" in the top bar to run automated test cases against your circuit.