Q24.Deutsch-Jozsa Constant Oracle (f(x) = 0)
Quantum ParallelismQubits: 2Q
Implement the Deutsch-Jozsa test for a Constant-0 function (identity oracle).
Target Objective:
Initialize input Q0 and ancilla Q1 into superposition/phase kickback states, apply no gate for , and apply final Hadamard interference on Q0 so measurement yields |0⟩ with 100% confidence.
Judge Acceptance Criteria:
Measurement probability for designated basis state must reach ≥ 95%.
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.