Let Alice's two bits be and Bob's bit be . Alice applies
while Bob applies
They then send their qubits to Charlie. Acting on
these operations produce, up to an irrelevant global phase,
The complete encoding table is
where a possible overall minus sign in the two cases has no observable effect.
Charlie performs a projective measurement in the eight-state GHZ basis. The sign or reveals . The basis index reveals according to
He therefore reconstructs Alice's two bits and Bob's one bit with certainty, which is the three-party dense coding with a GHZ state protocol.