Suppose a perfect Bell pair is used for quantum teleportation, but the sender cannot distinguish the and Bell-basis measurement outcomes and guesses their labels uniformly. Each of the four actual outcomes has probability . Either ambiguous outcome gives an incorrect Pauli Z gate correction with conditional probability , so the total phase-flip probability is . The unconditional output is therefore the displayed phase-flip channel. For , its teleportation fidelity is . It ranges from on the Bloch sphere equator to at its poles. This averages the output density operators, including the ambiguous rounds.
A two-qubit parity phase gate multiplies odd-parity computational vectors by and fixes even-parity ones. With ,
The first controlled-NOT gate computes in the second wire, the phase gate multiplies by , and the last controlled-NOT gate restores the original bits. This compute-phase-uncompute construction leaves the data unchanged except for the desired phases. The more general Pauli-string phase by parity computation uses the same mechanism. In terms of the Pauli Z gate, ; the scalar factor ensures equality as a matrix, rather than only up to global phase.
The zero-total- eigenspace of two spin one-half systems stores one logical qubit. Both basis states satisfy , so every collective dephasing rotation acts as the identity operator on their span. Also and , so simultaneous Pauli Z gates preserve every encoded density matrix. For independent rotations, the logical amplitudes instead acquire phases and , which generally alter their relative phase. The code is not a two-dimensional decoherence-free subspace for arbitrary collective rotations about all axes; the invariant two-spin singlet alone is only one-dimensional.