# enumerating-distillation-protocols
Enumerating all bilocal Clifford distillation protocols through symmetry reduction.
MAIN FILES

**Transversal.ipynb**: Given an input (n > 1), this file creates a transversal of right cosets of the subgroup that preserves distillation statistics in the Clifford group.
This is done in the binary picture.

**Distillation_statistics.ipynb**: Given a transversal and the corresponding n > 1, this file calculates the distillation statistics (success probability and fidelity).
The function sucprob_fid_lists returns all possible combinations of success probability and fidelity that can be obtained.

**dejmps_optimality.ipynb**: Checks analytically that DEJMPS achieves the highest fidelity for a double tensor product of the same bell-diagonal state.

DATA

**2_transversal_inv.sobj**: Transversal for n = 2. The inverse symplectic matrices are saved here.

**3_transversal_inv.sobj**: Transversal for n = 3.

**4_transversal_inv.sobj**: Transversal for n = 4.

All notebooks were run on SageMath 9.0, using Python 3.7.3 and NumPy 1.16.1.