Are there any packages that efficiently compute weight enumerators (and dual weight enumerators) of quantum error correcting codes?
I'm interested in a general method that works for both stabilizer and non-stabilizer codes.
I wrote some code but it is already slow for 11 qubits. I'm sure that there is some very efficient way of doing this (for stabilizer codes just count the number of stabilizer elements so that is especially easy, but I want a general method that also works for non-stabilizer codes)
For example does stim have such a function?