circuits / ghz-state-3
GHZ State (3 qubits)
✓FEATUREDCreates a 3-qubit GHZ state |GHZ⟩ = (|000⟩ + |111⟩)/√2, extending entanglement across three qubits.
openqasm3q3 gatesdepth 30 views0 saves0 forks0 downloads
Source Code
OPENQASM 2.0;
include "qelib1.inc";
qreg q[3];
creg c[3];
h q[0];
cx q[0],q[1];
cx q[0],q[2];
measure q -> c;Cite this circuit
MITquantumcomputer.dev. "GHZ State (3 qubits)". quantumcomputer.dev/circuits/ghz-state-3. 2026.