Skip to main content
Problem List
Q18.3-Qubit Greenberger–Horne–Zeilinger (GHZ) StateMedium

Q18.3-Qubit Greenberger–Horne–Zeilinger (GHZ) State

Quantum EntanglementQubits: 3Q
Generate the genuine tripartite entangled GHZ state GHZ=12(000+111)|\text{GHZ}\rangle = \frac{1}{\sqrt{2}}(|000\rangle + |111\rangle) on 3 qubits.
Target Objective:
Apply a Hadamard gate on Qubit 0, followed by a chain of two CNOT gates (CX(0,1) and CX(1,2)) to cascade maximal entanglement across all 3 qubits.
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
q[2]|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.