Skip to main content
Problem List
Q43.Controlled-Z Synthesis from CNOT & HadamardsMedium

Q43.Controlled-Z Synthesis from CNOT & Hadamards

Circuit IdentitiesQubits: 2Q
Synthesize a Controlled-Z gate between Qubit 0 and Qubit 1 using only Hadamard gates and a standard CNOT.
Target Objective:
Apply Hadamards on Qubit 1 before and after CNOT(0->1) on state 11|11\rangle to flip its phase to 11-|11\rangle.
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.