qubithubghz-state
Creates the 3-qubit Greenberger-Horne-Zeilinger state |GHZ> = (|000> + |111>)/sqrt(2), and generalizes to N qubits. Measured in the Z basis, all qubits always give the same value. Demonstrates multipartite entanglement; the GHZ argument against local hidden variables (Bell's theorem without inequalities) needs X and Y measurements that this circuit does not make.
- Framework
- Qiskit
- Qubits
- 3
- Depth
- 4
- Gate set
- H, CX
- Licence
- Apache-2.0
- Version
- v1
- Updated
- 2 days ago
- Runs
- 5 completed
Circuit
circuit.py · Qiskit · depth 4Loading circuit diagram…
circuit.py · 7.4 KB
Code
Loading circuit.py…
Lineage
Not a fork.
No forks yet.
Suggested citation
@software{qubithub_ghzstate_2026,
author = {QubitHub Circuits},
title = {GHZ State},
year = {2026},
version = {v1},
url = {https://qubithub.co/circuits/c8c9c8cb-4c26-59f4-8694-f3783c8c81a5},
note = {https://qubithub.co/qubithub/ghz-state},
}Generated from this circuit's metadata. QubitHub does not mint DOIs, so this is not a registered identifier. Check it against your venue's requirements before publishing.