Skip to main content
Problem List
Q19.3-Qubit GHZ Parity VerificationMedium

Q19.3-Qubit GHZ Parity Verification

Quantum EntanglementQubits: 3Q
Generate the 3-qubit GHZ state and verify computational basis measurements strictly yield only ∣000⟩|000\rangle or ∣111⟩|111\rangle.
Target Objective:
Construct GHZ ∣GHZ⟩=12(∣000⟩+∣111⟩)|\text{GHZ}\rangle = \frac{1}{\sqrt{2}}(|000\rangle + |111\rangle) and verify measurement probability of 000 is ~50%.
Judge Acceptance Criteria:

Measurement probability for designated basis state must reach ≥ 45%.

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
Live Python / Qiskit Code (Edit to Update Circuit)
 
Type Qiskit Python code above to update gates on wires automatically0 gates · 3Q
0 gates placed3 Qubits · 8 Steps
State Measurement Distribution:8 non-zero basis states
|100⟩0.0%
|101⟩0.0%
|110⟩0.0%
|111⟩0.0%
|000⟩100.0%
|001⟩0.0%
|010⟩0.0%
|011⟩0.0%