circuits / superdense-coding

Superdense Coding

FEATURED

Sends 2 classical bits using 1 qubit by leveraging a shared Bell pair.

quantumcomputer.dev
openqasm2q6 gatesdepth515 views0 saves0 forks0 downloads
1OPENQASM 2.0;
2include "qelib1.inc";
3qreg q[2];
4creg c[2];
5// Create Bell pair
6h q[0];
7cx q[0],q[1];
8// Encode 11
9z q[0];
10x q[0];
11// Decode
12cx q[0],q[1];
13h q[0];
14measure q -> c;

Cite this circuit

MIT
quantumcomputer.dev. "Superdense Coding". quantumcomputer.dev/circuits/superdense-coding. 2026.