circuits / superdense-coding
Superdense Coding
✓FEATUREDSends 2 classical bits using 1 qubit by leveraging a shared Bell pair.
openqasm2q6 gatesdepth 50 views0 saves0 forks0 downloads
Source Code
OPENQASM 2.0;
include "qelib1.inc";
qreg q[2];
creg c[2];
// Create Bell pair
h q[0];
cx q[0],q[1];
// Encode 11
z q[0];
x q[0];
// Decode
cx q[0],q[1];
h q[0];
measure q -> c;Cite this circuit
MITquantumcomputer.dev. "Superdense Coding". quantumcomputer.dev/circuits/superdense-coding. 2026.