circuits / bell-state

Bell State

FEATURED

Creates a maximally entangled Bell state |Φ+⟩ = (|00⟩ + |11⟩)/√2 using a Hadamard gate followed by a CNOT.

quantumcomputer.dev
openqasm2q2 gatesdepth 20 views0 saves0 forks0 downloads

Source Code

OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
h q[0];
cx q[0],q[1];
measure q -> c;

Cite this circuit

MIT
quantumcomputer.dev. "Bell State". quantumcomputer.dev/circuits/bell-state. 2026.