A framework for optimization of entanglement purification circuits based on the BPGates.jl simulator, following methods published in "Optimized Entanglement Purification" and "Faster-than-Clifford simulations of entanglement purification circuits and their full-stack optimization".
The examples folder contains a Pluto notebook with a user-friendly UI for generating optimized entanglement distillation circuits and lists how the public API of this library is to be used.