Code for the manuscript "Topological Entanglement Stabilization in Superconducting Quantum Circuits".