mentpy.utils.calculate_gens(circuit: MBQCircuit)

Calculates the generators of the Lie algebra of a given circuit removing repeated operators